1s autopkgtest [05:30:02]: starting date and time: 2025-01-06 05:30:02+0000 1s autopkgtest [05:30:02]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 1s autopkgtest [05:30:02]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.pwp1xkqd/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:libselinux --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-arm64-55.secgroup --name adt-plucky-arm64-glib2.0-20250106-053000-juju-7f2275-prod-proposed-migration-environment-2-3cafd1be-66b1-45f6-ad6d-31b3b17e5b2f --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 204s autopkgtest [05:33:25]: testbed dpkg architecture: arm64 205s autopkgtest [05:33:26]: testbed apt version: 2.9.18 205s autopkgtest [05:33:26]: @@@@@@@@@@@@@@@@@@@@ test bed setup 205s autopkgtest [05:33:26]: testbed release detected to be: None 207s autopkgtest [05:33:28]: updating testbed package index (apt update) 207s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 207s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 207s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 207s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 207s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [99.2 kB] 207s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 207s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [749 kB] 208s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [16.5 kB] 208s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [181 kB] 208s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 208s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [823 kB] 208s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [22.5 kB] 208s Fetched 2033 kB in 1s (2146 kB/s) 209s Reading package lists... 210s Reading package lists... 210s Building dependency tree... 210s Reading state information... 211s Calculating upgrade... 211s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 211s Reading package lists... 212s Building dependency tree... 212s Reading state information... 212s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 212s autopkgtest [05:33:33]: upgrading testbed (apt dist-upgrade and autopurge) 213s Reading package lists... 213s Building dependency tree... 213s Reading state information... 214s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 214s Starting 2 pkgProblemResolver with broken count: 0 214s Done 214s Entering ResolveByKeep 215s 215s The following packages will be upgraded: 215s libselinux1 215s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 215s Need to get 81.7 kB of archives. 215s After this operation, 1024 B of additional disk space will be used. 215s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libselinux1 arm64 3.7-3ubuntu2 [81.7 kB] 216s Fetched 81.7 kB in 0s (284 kB/s) 216s (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 ... 80185 files and directories currently installed.) 216s Preparing to unpack .../libselinux1_3.7-3ubuntu2_arm64.deb ... 216s Unpacking libselinux1:arm64 (3.7-3ubuntu2) over (3.7-3ubuntu1) ... 216s Setting up libselinux1:arm64 (3.7-3ubuntu2) ... 216s Processing triggers for libc-bin (2.40-4ubuntu1) ... 217s Reading package lists... 218s Building dependency tree... 218s Reading state information... 218s Starting pkgProblemResolver with broken count: 0 219s Starting 2 pkgProblemResolver with broken count: 0 219s Done 220s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 224s autopkgtest [05:33:45]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 224s autopkgtest [05:33:45]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 237s Get:1 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (dsc) [4921 B] 237s Get:2 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (tar) [263 kB] 237s Get:3 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (tar) [5557 kB] 237s Get:4 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (diff) [135 kB] 237s gpgv: Signature made Fri Dec 13 13:58:26 2024 UTC 237s gpgv: using RSA key 7A073AD1AE694FA25BFF62E5235C099D3EB33076 237s gpgv: Can't check signature: No public key 237s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.82.4-1.dsc: no acceptable signature found 238s autopkgtest [05:33:59]: testing package glib2.0 version 2.82.4-1 246s autopkgtest [05:34:07]: build not needed 260s autopkgtest [05:34:21]: test build: preparing testbed 260s Reading package lists... 260s Building dependency tree... 260s Reading state information... 261s Starting pkgProblemResolver with broken count: 0 261s Starting 2 pkgProblemResolver with broken count: 0 261s Done 262s The following NEW packages will be installed: 262s build-essential cpp cpp-14 cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu 262s g++ g++-14 g++-14-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-14 262s gcc-14-aarch64-linux-gnu gcc-aarch64-linux-gnu libasan8 libblkid-dev 262s libcc1-0 libffi-dev libgcc-14-dev libgio-2.0-dev libgomp1 libhwasan0 262s libisl23 libitm1 liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 262s libpcre2-dev libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev 262s libstdc++-14-dev libsysprof-capture-4-dev libtsan2 libubsan1 pkgconf 262s pkgconf-bin uuid-dev zlib1g-dev 262s 0 upgraded, 41 newly installed, 0 to remove and 0 not upgraded. 262s Need to get 64.9 MB of archives. 262s After this operation, 228 MB of additional disk space will be used. 262s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libisl23 arm64 0.27-1 [676 kB] 262s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libmpc3 arm64 1.3.1-1build2 [56.8 kB] 262s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14-aarch64-linux-gnu arm64 14.2.0-12ubuntu1 [10.6 MB] 262s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14 arm64 14.2.0-12ubuntu1 [1032 B] 262s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [5452 B] 262s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp arm64 4:14.1.0-2ubuntu1 [22.5 kB] 262s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 libcc1-0 arm64 14.2.0-12ubuntu1 [49.6 kB] 262s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 libgomp1 arm64 14.2.0-12ubuntu1 [145 kB] 262s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 libitm1 arm64 14.2.0-12ubuntu1 [27.7 kB] 262s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libasan8 arm64 14.2.0-12ubuntu1 [2896 kB] 263s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 liblsan0 arm64 14.2.0-12ubuntu1 [1283 kB] 263s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 libtsan2 arm64 14.2.0-12ubuntu1 [2687 kB] 263s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libubsan1 arm64 14.2.0-12ubuntu1 [1152 kB] 263s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libhwasan0 arm64 14.2.0-12ubuntu1 [1598 kB] 263s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libgcc-14-dev arm64 14.2.0-12ubuntu1 [2596 kB] 263s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14-aarch64-linux-gnu arm64 14.2.0-12ubuntu1 [20.9 MB] 263s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14 arm64 14.2.0-12ubuntu1 [522 kB] 263s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [1200 B] 263s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc arm64 4:14.1.0-2ubuntu1 [4994 B] 263s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libstdc++-14-dev arm64 14.2.0-12ubuntu1 [2500 kB] 263s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14-aarch64-linux-gnu arm64 14.2.0-12ubuntu1 [12.1 MB] 264s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14 arm64 14.2.0-12ubuntu1 [20.2 kB] 264s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [958 B] 264s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 g++ arm64 4:14.1.0-2ubuntu1 [1080 B] 264s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 build-essential arm64 12.10ubuntu1 [4932 B] 264s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 libffi-dev arm64 3.4.6-1build1 [59.5 kB] 264s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 uuid-dev arm64 2.40.2-1ubuntu2 [53.8 kB] 264s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 libblkid-dev arm64 2.40.2-1ubuntu2 [241 kB] 264s Get:29 http://ftpmaster.internal/ubuntu plucky/main arm64 libsepol-dev arm64 3.7-1 [416 kB] 264s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-16-0 arm64 10.42-4ubuntu3 [200 kB] 264s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-32-0 arm64 10.42-4ubuntu3 [187 kB] 264s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-posix3 arm64 10.42-4ubuntu3 [6704 B] 264s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-dev arm64 10.42-4ubuntu3 [694 kB] 264s Get:34 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libselinux1-dev arm64 3.7-3ubuntu2 [174 kB] 264s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 libmount-dev arm64 2.40.2-1ubuntu2 [33.2 kB] 264s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 libsysprof-capture-4-dev arm64 47.2-1 [54.7 kB] 264s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 libpkgconf3 arm64 1.8.1-4 [31.4 kB] 264s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 pkgconf-bin arm64 1.8.1-4 [20.9 kB] 264s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 pkgconf arm64 1.8.1-4 [16.7 kB] 264s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 zlib1g-dev arm64 1:1.3.dfsg+really1.3.1-1ubuntu1 [894 kB] 264s Get:41 http://ftpmaster.internal/ubuntu plucky/main arm64 libgio-2.0-dev arm64 2.82.4-1 [1908 kB] 264s Fetched 64.9 MB in 2s (29.0 MB/s) 264s Selecting previously unselected package libisl23:arm64. 264s (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 ... 80185 files and directories currently installed.) 264s Preparing to unpack .../00-libisl23_0.27-1_arm64.deb ... 264s Unpacking libisl23:arm64 (0.27-1) ... 264s Selecting previously unselected package libmpc3:arm64. 264s Preparing to unpack .../01-libmpc3_1.3.1-1build2_arm64.deb ... 264s Unpacking libmpc3:arm64 (1.3.1-1build2) ... 264s Selecting previously unselected package cpp-14-aarch64-linux-gnu. 264s Preparing to unpack .../02-cpp-14-aarch64-linux-gnu_14.2.0-12ubuntu1_arm64.deb ... 264s Unpacking cpp-14-aarch64-linux-gnu (14.2.0-12ubuntu1) ... 265s Selecting previously unselected package cpp-14. 265s Preparing to unpack .../03-cpp-14_14.2.0-12ubuntu1_arm64.deb ... 265s Unpacking cpp-14 (14.2.0-12ubuntu1) ... 265s Selecting previously unselected package cpp-aarch64-linux-gnu. 265s Preparing to unpack .../04-cpp-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 265s Unpacking cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 265s Selecting previously unselected package cpp. 265s Preparing to unpack .../05-cpp_4%3a14.1.0-2ubuntu1_arm64.deb ... 265s Unpacking cpp (4:14.1.0-2ubuntu1) ... 265s Selecting previously unselected package libcc1-0:arm64. 265s Preparing to unpack .../06-libcc1-0_14.2.0-12ubuntu1_arm64.deb ... 265s Unpacking libcc1-0:arm64 (14.2.0-12ubuntu1) ... 265s Selecting previously unselected package libgomp1:arm64. 265s Preparing to unpack .../07-libgomp1_14.2.0-12ubuntu1_arm64.deb ... 265s Unpacking libgomp1:arm64 (14.2.0-12ubuntu1) ... 265s Selecting previously unselected package libitm1:arm64. 265s Preparing to unpack .../08-libitm1_14.2.0-12ubuntu1_arm64.deb ... 265s Unpacking libitm1:arm64 (14.2.0-12ubuntu1) ... 265s Selecting previously unselected package libasan8:arm64. 265s Preparing to unpack .../09-libasan8_14.2.0-12ubuntu1_arm64.deb ... 265s Unpacking libasan8:arm64 (14.2.0-12ubuntu1) ... 265s Selecting previously unselected package liblsan0:arm64. 265s Preparing to unpack .../10-liblsan0_14.2.0-12ubuntu1_arm64.deb ... 265s Unpacking liblsan0:arm64 (14.2.0-12ubuntu1) ... 265s Selecting previously unselected package libtsan2:arm64. 265s Preparing to unpack .../11-libtsan2_14.2.0-12ubuntu1_arm64.deb ... 265s Unpacking libtsan2:arm64 (14.2.0-12ubuntu1) ... 265s Selecting previously unselected package libubsan1:arm64. 265s Preparing to unpack .../12-libubsan1_14.2.0-12ubuntu1_arm64.deb ... 265s Unpacking libubsan1:arm64 (14.2.0-12ubuntu1) ... 265s Selecting previously unselected package libhwasan0:arm64. 265s Preparing to unpack .../13-libhwasan0_14.2.0-12ubuntu1_arm64.deb ... 265s Unpacking libhwasan0:arm64 (14.2.0-12ubuntu1) ... 265s Selecting previously unselected package libgcc-14-dev:arm64. 265s Preparing to unpack .../14-libgcc-14-dev_14.2.0-12ubuntu1_arm64.deb ... 265s Unpacking libgcc-14-dev:arm64 (14.2.0-12ubuntu1) ... 265s Selecting previously unselected package gcc-14-aarch64-linux-gnu. 265s Preparing to unpack .../15-gcc-14-aarch64-linux-gnu_14.2.0-12ubuntu1_arm64.deb ... 265s Unpacking gcc-14-aarch64-linux-gnu (14.2.0-12ubuntu1) ... 266s Selecting previously unselected package gcc-14. 266s Preparing to unpack .../16-gcc-14_14.2.0-12ubuntu1_arm64.deb ... 266s Unpacking gcc-14 (14.2.0-12ubuntu1) ... 266s Selecting previously unselected package gcc-aarch64-linux-gnu. 266s Preparing to unpack .../17-gcc-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 266s Unpacking gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 266s Selecting previously unselected package gcc. 266s Preparing to unpack .../18-gcc_4%3a14.1.0-2ubuntu1_arm64.deb ... 266s Unpacking gcc (4:14.1.0-2ubuntu1) ... 266s Selecting previously unselected package libstdc++-14-dev:arm64. 266s Preparing to unpack .../19-libstdc++-14-dev_14.2.0-12ubuntu1_arm64.deb ... 266s Unpacking libstdc++-14-dev:arm64 (14.2.0-12ubuntu1) ... 266s Selecting previously unselected package g++-14-aarch64-linux-gnu. 266s Preparing to unpack .../20-g++-14-aarch64-linux-gnu_14.2.0-12ubuntu1_arm64.deb ... 266s Unpacking g++-14-aarch64-linux-gnu (14.2.0-12ubuntu1) ... 266s Selecting previously unselected package g++-14. 266s Preparing to unpack .../21-g++-14_14.2.0-12ubuntu1_arm64.deb ... 266s Unpacking g++-14 (14.2.0-12ubuntu1) ... 266s Selecting previously unselected package g++-aarch64-linux-gnu. 266s Preparing to unpack .../22-g++-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 266s Unpacking g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 266s Selecting previously unselected package g++. 266s Preparing to unpack .../23-g++_4%3a14.1.0-2ubuntu1_arm64.deb ... 266s Unpacking g++ (4:14.1.0-2ubuntu1) ... 266s Selecting previously unselected package build-essential. 266s Preparing to unpack .../24-build-essential_12.10ubuntu1_arm64.deb ... 266s Unpacking build-essential (12.10ubuntu1) ... 266s Selecting previously unselected package libffi-dev:arm64. 267s Preparing to unpack .../25-libffi-dev_3.4.6-1build1_arm64.deb ... 267s Unpacking libffi-dev:arm64 (3.4.6-1build1) ... 267s Selecting previously unselected package uuid-dev:arm64. 267s Preparing to unpack .../26-uuid-dev_2.40.2-1ubuntu2_arm64.deb ... 267s Unpacking uuid-dev:arm64 (2.40.2-1ubuntu2) ... 267s Selecting previously unselected package libblkid-dev:arm64. 267s Preparing to unpack .../27-libblkid-dev_2.40.2-1ubuntu2_arm64.deb ... 267s Unpacking libblkid-dev:arm64 (2.40.2-1ubuntu2) ... 267s Selecting previously unselected package libsepol-dev:arm64. 267s Preparing to unpack .../28-libsepol-dev_3.7-1_arm64.deb ... 267s Unpacking libsepol-dev:arm64 (3.7-1) ... 267s Selecting previously unselected package libpcre2-16-0:arm64. 267s Preparing to unpack .../29-libpcre2-16-0_10.42-4ubuntu3_arm64.deb ... 267s Unpacking libpcre2-16-0:arm64 (10.42-4ubuntu3) ... 267s Selecting previously unselected package libpcre2-32-0:arm64. 267s Preparing to unpack .../30-libpcre2-32-0_10.42-4ubuntu3_arm64.deb ... 267s Unpacking libpcre2-32-0:arm64 (10.42-4ubuntu3) ... 267s Selecting previously unselected package libpcre2-posix3:arm64. 267s Preparing to unpack .../31-libpcre2-posix3_10.42-4ubuntu3_arm64.deb ... 267s Unpacking libpcre2-posix3:arm64 (10.42-4ubuntu3) ... 267s Selecting previously unselected package libpcre2-dev:arm64. 267s Preparing to unpack .../32-libpcre2-dev_10.42-4ubuntu3_arm64.deb ... 267s Unpacking libpcre2-dev:arm64 (10.42-4ubuntu3) ... 267s Selecting previously unselected package libselinux1-dev:arm64. 267s Preparing to unpack .../33-libselinux1-dev_3.7-3ubuntu2_arm64.deb ... 267s Unpacking libselinux1-dev:arm64 (3.7-3ubuntu2) ... 267s Selecting previously unselected package libmount-dev:arm64. 267s Preparing to unpack .../34-libmount-dev_2.40.2-1ubuntu2_arm64.deb ... 267s Unpacking libmount-dev:arm64 (2.40.2-1ubuntu2) ... 267s Selecting previously unselected package libsysprof-capture-4-dev:arm64. 267s Preparing to unpack .../35-libsysprof-capture-4-dev_47.2-1_arm64.deb ... 267s Unpacking libsysprof-capture-4-dev:arm64 (47.2-1) ... 267s Selecting previously unselected package libpkgconf3:arm64. 267s Preparing to unpack .../36-libpkgconf3_1.8.1-4_arm64.deb ... 267s Unpacking libpkgconf3:arm64 (1.8.1-4) ... 267s Selecting previously unselected package pkgconf-bin. 267s Preparing to unpack .../37-pkgconf-bin_1.8.1-4_arm64.deb ... 267s Unpacking pkgconf-bin (1.8.1-4) ... 267s Selecting previously unselected package pkgconf:arm64. 267s Preparing to unpack .../38-pkgconf_1.8.1-4_arm64.deb ... 267s Unpacking pkgconf:arm64 (1.8.1-4) ... 267s Selecting previously unselected package zlib1g-dev:arm64. 267s Preparing to unpack .../39-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_arm64.deb ... 267s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 267s Selecting previously unselected package libgio-2.0-dev:arm64. 267s Preparing to unpack .../40-libgio-2.0-dev_2.82.4-1_arm64.deb ... 267s Unpacking libgio-2.0-dev:arm64 (2.82.4-1) ... 267s Setting up libgomp1:arm64 (14.2.0-12ubuntu1) ... 267s Setting up libffi-dev:arm64 (3.4.6-1build1) ... 267s Setting up libpcre2-16-0:arm64 (10.42-4ubuntu3) ... 267s Setting up libsysprof-capture-4-dev:arm64 (47.2-1) ... 267s Setting up libpcre2-32-0:arm64 (10.42-4ubuntu3) ... 267s Setting up libpkgconf3:arm64 (1.8.1-4) ... 267s Setting up uuid-dev:arm64 (2.40.2-1ubuntu2) ... 267s Setting up libmpc3:arm64 (1.3.1-1build2) ... 267s Setting up libsepol-dev:arm64 (3.7-1) ... 267s Setting up pkgconf-bin (1.8.1-4) ... 267s Setting up libubsan1:arm64 (14.2.0-12ubuntu1) ... 267s Setting up zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 267s Setting up libpcre2-posix3:arm64 (10.42-4ubuntu3) ... 267s Setting up libhwasan0:arm64 (14.2.0-12ubuntu1) ... 267s Setting up libasan8:arm64 (14.2.0-12ubuntu1) ... 267s Setting up libtsan2:arm64 (14.2.0-12ubuntu1) ... 267s Setting up libisl23:arm64 (0.27-1) ... 267s Setting up libcc1-0:arm64 (14.2.0-12ubuntu1) ... 267s Setting up liblsan0:arm64 (14.2.0-12ubuntu1) ... 267s Setting up libitm1:arm64 (14.2.0-12ubuntu1) ... 267s Setting up libblkid-dev:arm64 (2.40.2-1ubuntu2) ... 267s Setting up libpcre2-dev:arm64 (10.42-4ubuntu3) ... 267s Setting up libselinux1-dev:arm64 (3.7-3ubuntu2) ... 267s Setting up pkgconf:arm64 (1.8.1-4) ... 267s Setting up cpp-14-aarch64-linux-gnu (14.2.0-12ubuntu1) ... 267s Setting up libgcc-14-dev:arm64 (14.2.0-12ubuntu1) ... 267s Setting up libstdc++-14-dev:arm64 (14.2.0-12ubuntu1) ... 267s Setting up libmount-dev:arm64 (2.40.2-1ubuntu2) ... 267s Setting up libgio-2.0-dev:arm64 (2.82.4-1) ... 267s Setting up cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 267s Setting up cpp-14 (14.2.0-12ubuntu1) ... 267s Setting up cpp (4:14.1.0-2ubuntu1) ... 267s Setting up gcc-14-aarch64-linux-gnu (14.2.0-12ubuntu1) ... 267s Setting up gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 267s Setting up g++-14-aarch64-linux-gnu (14.2.0-12ubuntu1) ... 267s Setting up gcc-14 (14.2.0-12ubuntu1) ... 267s Setting up g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 267s Setting up g++-14 (14.2.0-12ubuntu1) ... 267s Setting up gcc (4:14.1.0-2ubuntu1) ... 267s Setting up g++ (4:14.1.0-2ubuntu1) ... 267s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 267s Setting up build-essential (12.10ubuntu1) ... 267s Processing triggers for libc-bin (2.40-4ubuntu1) ... 267s Processing triggers for man-db (2.13.0-1) ... 269s Processing triggers for libglib2.0-0t64:arm64 (2.82.4-1) ... 269s No schema files found: doing nothing. 269s Processing triggers for install-info (7.1.1-1) ... 270s autopkgtest [05:34:31]: test build: [----------------------- 270s + mode=dynamic 270s + getopt -o --long static -n debian/tests/build -- 270s + getopt_temp= -- 270s + eval set -- -- 270s + set -- -- 270s + true 270s + shift 270s + break 270s + mktemp -d 270s + WORKDIR=/tmp/tmp.3RyZAkwxv1 270s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 270s + cd /tmp/tmp.3RyZAkwxv1 270s + [ -n ] 270s + CROSS_COMPILE= 270s + cat 270s + cat 270s + cat 270s + cat 270s + cat 270s + cat 270s + cflags= 270s + pcflags= 270s + packages=glib-2.0 270s + pkg-config --cflags --libs glib-2.0 270s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 270s + echo build (glib, dynamic): OK 270s + [ -x glib-dynamic ] 270s + foo=bar ./glib-dynamic 270s build (glib, dynamic): OK 270s run (glib, dynamic): OK 270s + echo run (glib, dynamic): OK 270s + cflags= 270s + pcflags= 270s + packages=gobject-2.0 270s + pkg-config --cflags --libs gobject-2.0 270s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 270s build (gobject, dynamic): OK 270s run (gobject, dynamic): OK 270s + echo build (gobject, dynamic): OK 270s + [ -x gobject-dynamic ] 270s + foo=bar ./gobject-dynamic 270s + echo run (gobject, dynamic): OK 270s + cflags= 270s + pcflags= 270s + packages=gio-2.0 270s + pkg-config --cflags --libs gio-2.0 270s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 271s build (gio, dynamic): OK 271s run (gio, dynamic): OK 271s + echo build (gio, dynamic): OK 271s + [ -x gio-dynamic ] 271s + foo=bar ./gio-dynamic 271s + echo run (gio, dynamic): OK 271s + cflags= 271s + pcflags= 271s + packages=gio-unix-2.0 271s + pkg-config --cflags --libs gio-unix-2.0 271s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 271s + echo build (gio-unix, dynamic): OK 271s + [ -x gio-unix-dynamic ] 271s + foo=bar ./gio-unix-dynamic 271s + echo run (gio-unix, dynamic): OK 271s + cflags= 271s + pcflags= 271s + packages=gmodule-2.0 271s + pkg-config --cflags --libs gmodule-2.0 271s build (gio-unix, dynamic): OK 271s run (gio-unix, dynamic): OK 271s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 271s build (gmodule, dynamic): OK 271s run (gmodule, dynamic): OK 271s + echo build (gmodule, dynamic): OK 271s + [ -x gmodule-dynamic ] 271s + foo=bar ./gmodule-dynamic 271s + echo run (gmodule, dynamic): OK 271s + cflags= 271s + pcflags= 271s + packages=gthread-2.0 271s + pkg-config --cflags --libs gthread-2.0 271s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 271s + echo build (gthread, dynamic): OK 271s + [ -x gthread-dynamic ] 271s + foo=bar ./gthread-dynamic 271s build (gthread, dynamic): OK 271s + echo run (gthread, dynamic): OK 271s + rm -rf /tmp/tmp.3RyZAkwxv1 271s run (gthread, dynamic): OK 271s autopkgtest [05:34:32]: test build: -----------------------] 272s build PASS (superficial) 272s autopkgtest [05:34:33]: test build: - - - - - - - - - - results - - - - - - - - - - 272s autopkgtest [05:34:33]: test build-static: preparing testbed 273s Reading package lists... 273s Building dependency tree... 273s Reading state information... 273s Starting pkgProblemResolver with broken count: 0 273s Starting 2 pkgProblemResolver with broken count: 0 273s Done 274s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 275s autopkgtest [05:34:36]: test build-static: [----------------------- 275s + mode=dynamic 275s + getopt -o --long static -n debian/tests/build -- --static 275s + getopt_temp= --static -- 275s + eval set -- --static -- 275s + set -- --static -- 275s + true 275s + mode=static 275s + shift 275s + continue 275s + true 275s + shift 275s + break 275s + mktemp -d 275s + WORKDIR=/tmp/tmp.zpvpPdY65X 275s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 275s + cd /tmp/tmp.zpvpPdY65X 275s + [ -n ] 275s + CROSS_COMPILE= 275s + cat 275s + cat 275s + cat 275s + cat 275s + cat 275s + cat 275s + cflags= 275s + pcflags= 275s + packages=glib-2.0 275s + cflags=-static 275s + pcflags=--static 275s + pkg-config --static --cflags --libs glib-2.0 275s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 275s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 275s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 275s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 275s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 276s + echo build (glib, static): OK 276s + [ -x glib-static ] 276s + foo=bar ./glib-static 276s build (glib, static): OK 276s run (glib, static): OK 276s + echo run (glib, static): OK 276s + cflags= 276s + pcflags= 276s + packages=gobject-2.0 276s + cflags=-static 276s + pcflags=--static 276s + pkg-config --static --cflags --libs gobject-2.0 276s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi 276s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 276s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 276s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 276s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 276s build (gobject, static): OK 276s + echo build (gobject, static): OK 276s + [ -x gobject-static ] 276s + foo=bar ./gobject-static 276s + run (gobject, static): OK 276s echo run (gobject, static): OK 276s + cflags= 276s + pcflags= 276s + packages=gio-2.0 276s + cflags=-static 276s + pcflags=--static 276s + continue 276s + cflags= 276s + pcflags= 276s + packages=gio-unix-2.0 276s + cflags=-static 276s + pcflags=--static 276s + continue 276s + cflags= 276s + pcflags= 276s + packages=gmodule-2.0 276s + cflags=-static 276s + pcflags=--static 276s + pkg-config --static --cflags --libs gmodule-2.0 276s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 276s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 276s (.text+0x604): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 276s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 276s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 276s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 276s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 276s build (gmodule, static): OK 276s + echo build (gmodule, static): OK 276s + [ -x gmodule-static ] 276s + foo=bar ./gmodule-static 276s + echo run (gmodule, static): OK 276s + cflags= 276s + pcflags= 276s + packages=gthread-2.0 276s + cflags=-static 276s + pcflags=--static 276s run (gmodule, static): OK 276s + pkg-config --static --cflags --libs gthread-2.0 276s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 276s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 276s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 276s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 276s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 277s build (gthread, static): OK 277s + echo build (gthread, static): OK 277s + [ -x gthread-static ] 277s + foo=bar ./gthread-static 277s + echo run (gthread, static): OK 277s + rm -rf /tmp/tmp.zpvpPdY65X 277s run (gthread, static): OK 277s autopkgtest [05:34:38]: test build-static: -----------------------] 277s autopkgtest [05:34:38]: test build-static: - - - - - - - - - - results - - - - - - - - - - 277s build-static PASS (superficial) 278s autopkgtest [05:34:39]: test girepository-tools: preparing testbed 410s autopkgtest [05:36:51]: testbed dpkg architecture: arm64 411s autopkgtest [05:36:52]: testbed apt version: 2.9.18 411s autopkgtest [05:36:52]: @@@@@@@@@@@@@@@@@@@@ test bed setup 412s autopkgtest [05:36:52]: testbed release detected to be: plucky 413s autopkgtest [05:36:54]: updating testbed package index (apt update) 414s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 414s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 414s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 414s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 414s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [749 kB] 414s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [99.2 kB] 414s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [16.5 kB] 414s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 414s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [181 kB] 415s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 415s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [823 kB] 415s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [22.5 kB] 415s Fetched 2033 kB in 2s (1329 kB/s) 416s Reading package lists... 417s Reading package lists... 417s Building dependency tree... 417s Reading state information... 417s Calculating upgrade... 418s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 418s Reading package lists... 418s Building dependency tree... 418s Reading state information... 419s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 419s autopkgtest [05:37:00]: upgrading testbed (apt dist-upgrade and autopurge) 419s Reading package lists... 420s Building dependency tree... 420s Reading state information... 420s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 420s Starting 2 pkgProblemResolver with broken count: 0 420s Done 421s Entering ResolveByKeep 422s 422s The following packages will be upgraded: 422s libselinux1 422s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 422s Need to get 81.7 kB of archives. 422s After this operation, 1024 B of additional disk space will be used. 422s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libselinux1 arm64 3.7-3ubuntu2 [81.7 kB] 423s Fetched 81.7 kB in 0s (292 kB/s) 423s (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 ... 80185 files and directories currently installed.) 423s Preparing to unpack .../libselinux1_3.7-3ubuntu2_arm64.deb ... 423s Unpacking libselinux1:arm64 (3.7-3ubuntu2) over (3.7-3ubuntu1) ... 423s Setting up libselinux1:arm64 (3.7-3ubuntu2) ... 423s Processing triggers for libc-bin (2.40-4ubuntu1) ... 423s Reading package lists... 424s Building dependency tree... 424s Reading state information... 424s Starting pkgProblemResolver with broken count: 0 424s Starting 2 pkgProblemResolver with broken count: 0 424s Done 425s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 428s Reading package lists... 429s Building dependency tree... 429s Reading state information... 429s Starting pkgProblemResolver with broken count: 0 429s Starting 2 pkgProblemResolver with broken count: 0 429s Done 430s The following NEW packages will be installed: 430s gir1.2-glib-2.0-dev girepository-tools libgirepository-2.0-0 430s native-architecture 430s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 430s Need to get 1030 kB of archives. 430s After this operation, 12.6 MB of additional disk space will be used. 430s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 gir1.2-glib-2.0-dev arm64 2.82.4-1 [853 kB] 431s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 native-architecture all 0.2.3 [1990 B] 431s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 libgirepository-2.0-0 arm64 2.82.4-1 [72.2 kB] 431s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 girepository-tools arm64 2.82.4-1 [103 kB] 431s Fetched 1030 kB in 1s (1187 kB/s) 431s Selecting previously unselected package gir1.2-glib-2.0-dev:arm64. 431s (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 ... 80185 files and directories currently installed.) 431s Preparing to unpack .../gir1.2-glib-2.0-dev_2.82.4-1_arm64.deb ... 431s Unpacking gir1.2-glib-2.0-dev:arm64 (2.82.4-1) ... 432s Selecting previously unselected package native-architecture. 432s Preparing to unpack .../native-architecture_0.2.3_all.deb ... 432s Unpacking native-architecture (0.2.3) ... 432s Selecting previously unselected package libgirepository-2.0-0:arm64. 432s Preparing to unpack .../libgirepository-2.0-0_2.82.4-1_arm64.deb ... 432s Unpacking libgirepository-2.0-0:arm64 (2.82.4-1) ... 432s Selecting previously unselected package girepository-tools:arm64. 432s Preparing to unpack .../girepository-tools_2.82.4-1_arm64.deb ... 432s Unpacking girepository-tools:arm64 (2.82.4-1) ... 432s Setting up native-architecture (0.2.3) ... 432s Setting up libgirepository-2.0-0:arm64 (2.82.4-1) ... 432s Setting up gir1.2-glib-2.0-dev:arm64 (2.82.4-1) ... 432s Setting up girepository-tools:arm64 (2.82.4-1) ... 432s Processing triggers for man-db (2.13.0-1) ... 432s Processing triggers for libc-bin (2.40-4ubuntu1) ... 437s autopkgtest [05:37:18]: test girepository-tools: [----------------------- 437s + cd /tmp/autopkgtest.bJtNpb/autopkgtest_tmp 437s + dpkg-architecture -qDEB_HOST_GNU_TYPE 437s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 437s + DEB_HOST_GNU_TYPE=aarch64-linux-gnu 437s + dpkg-architecture -qDEB_HOST_MULTIARCH 437s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 437s + DEB_HOST_MULTIARCH=aarch64-linux-gnu 437s + aarch64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 437s typelib: GLib-2.0 437s + aarch64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir 437s + aarch64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 438s autopkgtest [05:37:19]: test girepository-tools: -----------------------] 438s girepository-tools PASS (superficial) 438s autopkgtest [05:37:19]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 439s autopkgtest [05:37:20]: test libgio-2.0-dev-bin: preparing testbed 545s autopkgtest [05:39:06]: testbed dpkg architecture: arm64 545s autopkgtest [05:39:06]: testbed apt version: 2.9.18 545s autopkgtest [05:39:06]: @@@@@@@@@@@@@@@@@@@@ test bed setup 546s autopkgtest [05:39:07]: testbed release detected to be: plucky 546s autopkgtest [05:39:07]: updating testbed package index (apt update) 547s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 547s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 547s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 547s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 547s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 547s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [749 kB] 547s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [99.2 kB] 547s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [16.5 kB] 547s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [181 kB] 547s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 547s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [823 kB] 547s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [22.5 kB] 548s Fetched 2033 kB in 1s (2164 kB/s) 549s Reading package lists... 550s Reading package lists... 550s Building dependency tree... 550s Reading state information... 551s Calculating upgrade... 551s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 551s Reading package lists... 551s Building dependency tree... 551s Reading state information... 552s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 552s autopkgtest [05:39:13]: upgrading testbed (apt dist-upgrade and autopurge) 553s Reading package lists... 553s Building dependency tree... 553s Reading state information... 553s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 554s Starting 2 pkgProblemResolver with broken count: 0 554s Done 554s Entering ResolveByKeep 555s 555s The following packages will be upgraded: 555s libselinux1 555s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 555s Need to get 81.7 kB of archives. 555s After this operation, 1024 B of additional disk space will be used. 555s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libselinux1 arm64 3.7-3ubuntu2 [81.7 kB] 556s Fetched 81.7 kB in 0s (287 kB/s) 556s (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 ... 80185 files and directories currently installed.) 556s Preparing to unpack .../libselinux1_3.7-3ubuntu2_arm64.deb ... 556s Unpacking libselinux1:arm64 (3.7-3ubuntu2) over (3.7-3ubuntu1) ... 556s Setting up libselinux1:arm64 (3.7-3ubuntu2) ... 556s Processing triggers for libc-bin (2.40-4ubuntu1) ... 557s Reading package lists... 557s Building dependency tree... 557s Reading state information... 557s Starting pkgProblemResolver with broken count: 0 557s Starting 2 pkgProblemResolver with broken count: 0 558s Done 558s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 562s Reading package lists... 562s Building dependency tree... 562s Reading state information... 562s Starting pkgProblemResolver with broken count: 0 562s Starting 2 pkgProblemResolver with broken count: 0 562s Done 563s The following NEW packages will be installed: 563s libgio-2.0-dev-bin python3-packaging 563s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 563s Need to get 180 kB of archives. 563s After this operation, 1067 kB of additional disk space will be used. 563s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.2-1 [51.5 kB] 564s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libgio-2.0-dev-bin arm64 2.82.4-1 [129 kB] 564s Fetched 180 kB in 0s (444 kB/s) 564s Selecting previously unselected package python3-packaging. 564s (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 ... 80185 files and directories currently installed.) 564s Preparing to unpack .../python3-packaging_24.2-1_all.deb ... 564s Unpacking python3-packaging (24.2-1) ... 564s Selecting previously unselected package libgio-2.0-dev-bin. 564s Preparing to unpack .../libgio-2.0-dev-bin_2.82.4-1_arm64.deb ... 564s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 564s Setting up python3-packaging (24.2-1) ... 564s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 565s Processing triggers for man-db (2.13.0-1) ... 570s autopkgtest [05:39:31]: test libgio-2.0-dev-bin: [----------------------- 570s + gdbus-codegen --help 570s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 570s [--c-namespace NAMESPACE] [--c-generate-object-manager] 570s [--c-generate-autocleanup {none,objects,all}] 570s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 570s [--generate-rst OUTFILES] [--pragma-once] 570s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 570s [--glib-min-required VERSION] 570s [--glib-max-allowed VERSION] 570s [--symbol-decorator SYMBOL_DECORATOR] 570s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 570s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 570s [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 570s [--output FILE | --output-directory OUTDIR] 570s FILE [FILE ...] 570s 570s D-Bus code and documentation generator 570s 570s positional arguments: 570s FILE D-Bus introspection XML file 570s 570s options: 570s -h, --help show this help message and exit 570s --interface-prefix PREFIX 570s String to strip from D-Bus interface names for code 570s and docs 570s --c-namespace NAMESPACE 570s The namespace to use for generated C code 570s --c-generate-object-manager 570s Generate a GDBusObjectManagerClient subclass when 570s generating C code 570s --c-generate-autocleanup {none,objects,all} 570s Generate autocleanup support 570s --generate-docbook OUTFILES 570s Generate Docbook in OUTFILES-org.Project.IFace.xml 570s --generate-md OUTFILES 570s Generate Markdown in OUTFILES-org.Project.IFace.md 570s --generate-rst OUTFILES 570s Generate reStructuredText in OUTFILES- 570s org.Project.IFace.rst 570s --pragma-once Use "pragma once" as the inclusion guard 570s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 570s Add annotation (may be used several times) 570s --glib-min-required VERSION 570s Minimum version of GLib to be supported by the 570s outputted code (default: 2.30) 570s --glib-max-allowed VERSION 570s Maximum version of GLib to be used by the outputted 570s code (default: current GLib version) 570s --symbol-decorator SYMBOL_DECORATOR 570s Macro used to decorate a symbol in the outputted 570s header, possibly to export symbols 570s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 570s Additional header required for decorator specified by 570s --symbol-decorator 570s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 570s Additional define required for decorator specified by 570s --symbol-decorator 570s --generate-c-code OUTFILES 570s Generate C code in OUTFILES.[ch] 570s --header Generate C headers 570s --body Generate C code 570s --interface-info-header 570s Generate GDBusInterfaceInfo C header 570s --interface-info-body 570s Generate GDBusInterfaceInfo C code 570s --output FILE Write output into the specified file 570s --output-directory OUTDIR 570s Location to output generated files 570s + glib-compile-resources --version 570s 2.82.4 570s + glib-genmarshal --version 570s glib-genmarshal version 2.82.4 570s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 570s You may redistribute copies of glib-genmarshal under the terms of 570s the GNU General Public License which can be found in the 570s GLib source package. Sources, examples and contact 570s information are available at http://www.gtk.org 570s + glib-gettextize --version 570s /usr/bin/glib-gettextize (GNU glib) 2.82.4 570s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 570s This is free software; see the source for copying conditions. There is NO 570s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 570s Written by Ulrich Drepper 570s + glib-mkenums --version 570s glib-mkenums version 2.82.4 570s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 570s You may redistribute copies of glib-mkenums under the terms of 570s the GNU General Public License which can be found in the 570s GLib source package. Sources, examples and contact 570s information are available at http://www.gtk.org 570s + gobject-query tree 570s + gtester --version 570s GObject 570s gtester version 2.82.4 570s + gtester-report --version 570s gtester-report (GLib utils) version 2.82.4. 571s autopkgtest [05:39:32]: test libgio-2.0-dev-bin: -----------------------] 571s autopkgtest [05:39:32]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 571s libgio-2.0-dev-bin PASS (superficial) 572s autopkgtest [05:39:33]: test libglib2.0-dev: preparing testbed 658s autopkgtest [05:40:59]: testbed dpkg architecture: arm64 658s autopkgtest [05:40:59]: testbed apt version: 2.9.18 659s autopkgtest [05:41:00]: @@@@@@@@@@@@@@@@@@@@ test bed setup 659s autopkgtest [05:41:00]: testbed release detected to be: plucky 661s autopkgtest [05:41:02]: updating testbed package index (apt update) 661s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 662s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 662s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 662s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 662s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [749 kB] 662s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [16.5 kB] 662s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [99.2 kB] 662s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 662s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [181 kB] 662s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 662s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [823 kB] 662s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [22.5 kB] 662s Fetched 2033 kB in 1s (2130 kB/s) 663s Reading package lists... 664s Reading package lists... 664s Building dependency tree... 664s Reading state information... 665s Calculating upgrade... 665s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 666s Reading package lists... 666s Building dependency tree... 666s Reading state information... 667s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 667s autopkgtest [05:41:08]: upgrading testbed (apt dist-upgrade and autopurge) 667s Reading package lists... 667s Building dependency tree... 667s Reading state information... 668s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 668s Starting 2 pkgProblemResolver with broken count: 0 668s Done 668s Entering ResolveByKeep 669s 669s The following packages will be upgraded: 669s libselinux1 669s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 669s Need to get 81.7 kB of archives. 669s After this operation, 1024 B of additional disk space will be used. 669s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libselinux1 arm64 3.7-3ubuntu2 [81.7 kB] 670s Fetched 81.7 kB in 0s (290 kB/s) 670s (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 ... 80185 files and directories currently installed.) 670s Preparing to unpack .../libselinux1_3.7-3ubuntu2_arm64.deb ... 670s Unpacking libselinux1:arm64 (3.7-3ubuntu2) over (3.7-3ubuntu1) ... 670s Setting up libselinux1:arm64 (3.7-3ubuntu2) ... 670s Processing triggers for libc-bin (2.40-4ubuntu1) ... 671s Reading package lists... 671s Building dependency tree... 671s Reading state information... 671s Starting pkgProblemResolver with broken count: 0 672s Starting 2 pkgProblemResolver with broken count: 0 672s Done 672s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 677s Reading package lists... 677s Building dependency tree... 677s Reading state information... 678s Starting pkgProblemResolver with broken count: 0 678s Starting 2 pkgProblemResolver with broken count: 0 678s Done 679s The following NEW packages will be installed: 679s build-essential cpp cpp-14 cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu 679s g++ g++-14 g++-14-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-14 679s gcc-14-aarch64-linux-gnu gcc-aarch64-linux-gnu gir1.2-glib-2.0-dev 679s girepository-tools libasan8 libblkid-dev libcc1-0 libffi-dev libgcc-14-dev 679s libgio-2.0-dev libgio-2.0-dev-bin libgirepository-2.0-0 libglib2.0-bin 679s libglib2.0-dev libglib2.0-dev-bin libgomp1 libhwasan0 libisl23 libitm1 679s liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 679s libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev libstdc++-14-dev 679s libsysprof-capture-4-dev libtsan2 libubsan1 native-architecture pkgconf 679s pkgconf-bin python3-packaging uuid-dev zlib1g-dev 679s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded. 679s Need to get 66.2 MB of archives. 679s After this operation, 243 MB of additional disk space will be used. 679s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libisl23 arm64 0.27-1 [676 kB] 679s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libmpc3 arm64 1.3.1-1build2 [56.8 kB] 679s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14-aarch64-linux-gnu arm64 14.2.0-12ubuntu1 [10.6 MB] 679s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14 arm64 14.2.0-12ubuntu1 [1032 B] 679s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [5452 B] 679s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp arm64 4:14.1.0-2ubuntu1 [22.5 kB] 679s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 libcc1-0 arm64 14.2.0-12ubuntu1 [49.6 kB] 679s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 libgomp1 arm64 14.2.0-12ubuntu1 [145 kB] 679s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 libitm1 arm64 14.2.0-12ubuntu1 [27.7 kB] 679s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libasan8 arm64 14.2.0-12ubuntu1 [2896 kB] 680s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 liblsan0 arm64 14.2.0-12ubuntu1 [1283 kB] 680s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 libtsan2 arm64 14.2.0-12ubuntu1 [2687 kB] 680s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libubsan1 arm64 14.2.0-12ubuntu1 [1152 kB] 680s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libhwasan0 arm64 14.2.0-12ubuntu1 [1598 kB] 680s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libgcc-14-dev arm64 14.2.0-12ubuntu1 [2596 kB] 680s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14-aarch64-linux-gnu arm64 14.2.0-12ubuntu1 [20.9 MB] 680s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14 arm64 14.2.0-12ubuntu1 [522 kB] 680s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [1200 B] 680s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc arm64 4:14.1.0-2ubuntu1 [4994 B] 680s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libstdc++-14-dev arm64 14.2.0-12ubuntu1 [2500 kB] 680s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14-aarch64-linux-gnu arm64 14.2.0-12ubuntu1 [12.1 MB] 681s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14 arm64 14.2.0-12ubuntu1 [20.2 kB] 681s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [958 B] 681s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 g++ arm64 4:14.1.0-2ubuntu1 [1080 B] 681s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 build-essential arm64 12.10ubuntu1 [4932 B] 681s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 gir1.2-glib-2.0-dev arm64 2.82.4-1 [853 kB] 681s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 native-architecture all 0.2.3 [1990 B] 681s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 libgirepository-2.0-0 arm64 2.82.4-1 [72.2 kB] 681s Get:29 http://ftpmaster.internal/ubuntu plucky/main arm64 girepository-tools arm64 2.82.4-1 [103 kB] 681s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 libffi-dev arm64 3.4.6-1build1 [59.5 kB] 681s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 uuid-dev arm64 2.40.2-1ubuntu2 [53.8 kB] 681s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 libblkid-dev arm64 2.40.2-1ubuntu2 [241 kB] 681s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 libsepol-dev arm64 3.7-1 [416 kB] 681s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-16-0 arm64 10.42-4ubuntu3 [200 kB] 681s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-32-0 arm64 10.42-4ubuntu3 [187 kB] 681s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-posix3 arm64 10.42-4ubuntu3 [6704 B] 681s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcre2-dev arm64 10.42-4ubuntu3 [694 kB] 681s Get:38 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libselinux1-dev arm64 3.7-3ubuntu2 [174 kB] 681s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 libmount-dev arm64 2.40.2-1ubuntu2 [33.2 kB] 681s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 libsysprof-capture-4-dev arm64 47.2-1 [54.7 kB] 681s Get:41 http://ftpmaster.internal/ubuntu plucky/main arm64 libpkgconf3 arm64 1.8.1-4 [31.4 kB] 681s Get:42 http://ftpmaster.internal/ubuntu plucky/main arm64 pkgconf-bin arm64 1.8.1-4 [20.9 kB] 681s Get:43 http://ftpmaster.internal/ubuntu plucky/main arm64 pkgconf arm64 1.8.1-4 [16.7 kB] 681s Get:44 http://ftpmaster.internal/ubuntu plucky/main arm64 zlib1g-dev arm64 1:1.3.dfsg+really1.3.1-1ubuntu1 [894 kB] 681s Get:45 http://ftpmaster.internal/ubuntu plucky/main arm64 libgio-2.0-dev arm64 2.82.4-1 [1908 kB] 681s Get:46 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.2-1 [51.5 kB] 681s Get:47 http://ftpmaster.internal/ubuntu plucky/main arm64 libgio-2.0-dev-bin arm64 2.82.4-1 [129 kB] 681s Get:48 http://ftpmaster.internal/ubuntu plucky/main arm64 libglib2.0-bin arm64 2.82.4-1 [97.8 kB] 681s Get:49 http://ftpmaster.internal/ubuntu plucky/main arm64 libglib2.0-dev-bin arm64 2.82.4-1 [18.1 kB] 681s Get:50 http://ftpmaster.internal/ubuntu plucky/main arm64 libglib2.0-dev arm64 2.82.4-1 [18.8 kB] 682s Fetched 66.2 MB in 3s (26.4 MB/s) 682s Selecting previously unselected package libisl23:arm64. 682s (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 ... 80185 files and directories currently installed.) 682s Preparing to unpack .../00-libisl23_0.27-1_arm64.deb ... 682s Unpacking libisl23:arm64 (0.27-1) ... 682s Selecting previously unselected package libmpc3:arm64. 682s Preparing to unpack .../01-libmpc3_1.3.1-1build2_arm64.deb ... 682s Unpacking libmpc3:arm64 (1.3.1-1build2) ... 682s Selecting previously unselected package cpp-14-aarch64-linux-gnu. 682s Preparing to unpack .../02-cpp-14-aarch64-linux-gnu_14.2.0-12ubuntu1_arm64.deb ... 682s Unpacking cpp-14-aarch64-linux-gnu (14.2.0-12ubuntu1) ... 682s Selecting previously unselected package cpp-14. 682s Preparing to unpack .../03-cpp-14_14.2.0-12ubuntu1_arm64.deb ... 682s Unpacking cpp-14 (14.2.0-12ubuntu1) ... 682s Selecting previously unselected package cpp-aarch64-linux-gnu. 682s Preparing to unpack .../04-cpp-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 682s Unpacking cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 682s Selecting previously unselected package cpp. 682s Preparing to unpack .../05-cpp_4%3a14.1.0-2ubuntu1_arm64.deb ... 682s Unpacking cpp (4:14.1.0-2ubuntu1) ... 682s Selecting previously unselected package libcc1-0:arm64. 682s Preparing to unpack .../06-libcc1-0_14.2.0-12ubuntu1_arm64.deb ... 682s Unpacking libcc1-0:arm64 (14.2.0-12ubuntu1) ... 682s Selecting previously unselected package libgomp1:arm64. 682s Preparing to unpack .../07-libgomp1_14.2.0-12ubuntu1_arm64.deb ... 682s Unpacking libgomp1:arm64 (14.2.0-12ubuntu1) ... 682s Selecting previously unselected package libitm1:arm64. 682s Preparing to unpack .../08-libitm1_14.2.0-12ubuntu1_arm64.deb ... 682s Unpacking libitm1:arm64 (14.2.0-12ubuntu1) ... 682s Selecting previously unselected package libasan8:arm64. 682s Preparing to unpack .../09-libasan8_14.2.0-12ubuntu1_arm64.deb ... 682s Unpacking libasan8:arm64 (14.2.0-12ubuntu1) ... 682s Selecting previously unselected package liblsan0:arm64. 682s Preparing to unpack .../10-liblsan0_14.2.0-12ubuntu1_arm64.deb ... 682s Unpacking liblsan0:arm64 (14.2.0-12ubuntu1) ... 682s Selecting previously unselected package libtsan2:arm64. 682s Preparing to unpack .../11-libtsan2_14.2.0-12ubuntu1_arm64.deb ... 682s Unpacking libtsan2:arm64 (14.2.0-12ubuntu1) ... 682s Selecting previously unselected package libubsan1:arm64. 682s Preparing to unpack .../12-libubsan1_14.2.0-12ubuntu1_arm64.deb ... 682s Unpacking libubsan1:arm64 (14.2.0-12ubuntu1) ... 682s Selecting previously unselected package libhwasan0:arm64. 682s Preparing to unpack .../13-libhwasan0_14.2.0-12ubuntu1_arm64.deb ... 682s Unpacking libhwasan0:arm64 (14.2.0-12ubuntu1) ... 683s Selecting previously unselected package libgcc-14-dev:arm64. 683s Preparing to unpack .../14-libgcc-14-dev_14.2.0-12ubuntu1_arm64.deb ... 683s Unpacking libgcc-14-dev:arm64 (14.2.0-12ubuntu1) ... 683s Selecting previously unselected package gcc-14-aarch64-linux-gnu. 683s Preparing to unpack .../15-gcc-14-aarch64-linux-gnu_14.2.0-12ubuntu1_arm64.deb ... 683s Unpacking gcc-14-aarch64-linux-gnu (14.2.0-12ubuntu1) ... 683s Selecting previously unselected package gcc-14. 683s Preparing to unpack .../16-gcc-14_14.2.0-12ubuntu1_arm64.deb ... 683s Unpacking gcc-14 (14.2.0-12ubuntu1) ... 683s Selecting previously unselected package gcc-aarch64-linux-gnu. 683s Preparing to unpack .../17-gcc-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 683s Unpacking gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 683s Selecting previously unselected package gcc. 683s Preparing to unpack .../18-gcc_4%3a14.1.0-2ubuntu1_arm64.deb ... 683s Unpacking gcc (4:14.1.0-2ubuntu1) ... 684s Selecting previously unselected package libstdc++-14-dev:arm64. 684s Preparing to unpack .../19-libstdc++-14-dev_14.2.0-12ubuntu1_arm64.deb ... 684s Unpacking libstdc++-14-dev:arm64 (14.2.0-12ubuntu1) ... 684s Selecting previously unselected package g++-14-aarch64-linux-gnu. 684s Preparing to unpack .../20-g++-14-aarch64-linux-gnu_14.2.0-12ubuntu1_arm64.deb ... 684s Unpacking g++-14-aarch64-linux-gnu (14.2.0-12ubuntu1) ... 684s Selecting previously unselected package g++-14. 684s Preparing to unpack .../21-g++-14_14.2.0-12ubuntu1_arm64.deb ... 684s Unpacking g++-14 (14.2.0-12ubuntu1) ... 684s Selecting previously unselected package g++-aarch64-linux-gnu. 684s Preparing to unpack .../22-g++-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 684s Unpacking g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 684s Selecting previously unselected package g++. 684s Preparing to unpack .../23-g++_4%3a14.1.0-2ubuntu1_arm64.deb ... 684s Unpacking g++ (4:14.1.0-2ubuntu1) ... 684s Selecting previously unselected package build-essential. 684s Preparing to unpack .../24-build-essential_12.10ubuntu1_arm64.deb ... 684s Unpacking build-essential (12.10ubuntu1) ... 684s Selecting previously unselected package gir1.2-glib-2.0-dev:arm64. 684s Preparing to unpack .../25-gir1.2-glib-2.0-dev_2.82.4-1_arm64.deb ... 684s Unpacking gir1.2-glib-2.0-dev:arm64 (2.82.4-1) ... 684s Selecting previously unselected package native-architecture. 684s Preparing to unpack .../26-native-architecture_0.2.3_all.deb ... 684s Unpacking native-architecture (0.2.3) ... 684s Selecting previously unselected package libgirepository-2.0-0:arm64. 684s Preparing to unpack .../27-libgirepository-2.0-0_2.82.4-1_arm64.deb ... 684s Unpacking libgirepository-2.0-0:arm64 (2.82.4-1) ... 684s Selecting previously unselected package girepository-tools:arm64. 684s Preparing to unpack .../28-girepository-tools_2.82.4-1_arm64.deb ... 684s Unpacking girepository-tools:arm64 (2.82.4-1) ... 684s Selecting previously unselected package libffi-dev:arm64. 684s Preparing to unpack .../29-libffi-dev_3.4.6-1build1_arm64.deb ... 684s Unpacking libffi-dev:arm64 (3.4.6-1build1) ... 684s Selecting previously unselected package uuid-dev:arm64. 684s Preparing to unpack .../30-uuid-dev_2.40.2-1ubuntu2_arm64.deb ... 684s Unpacking uuid-dev:arm64 (2.40.2-1ubuntu2) ... 685s Selecting previously unselected package libblkid-dev:arm64. 685s Preparing to unpack .../31-libblkid-dev_2.40.2-1ubuntu2_arm64.deb ... 685s Unpacking libblkid-dev:arm64 (2.40.2-1ubuntu2) ... 685s Selecting previously unselected package libsepol-dev:arm64. 685s Preparing to unpack .../32-libsepol-dev_3.7-1_arm64.deb ... 685s Unpacking libsepol-dev:arm64 (3.7-1) ... 685s Selecting previously unselected package libpcre2-16-0:arm64. 685s Preparing to unpack .../33-libpcre2-16-0_10.42-4ubuntu3_arm64.deb ... 685s Unpacking libpcre2-16-0:arm64 (10.42-4ubuntu3) ... 685s Selecting previously unselected package libpcre2-32-0:arm64. 685s Preparing to unpack .../34-libpcre2-32-0_10.42-4ubuntu3_arm64.deb ... 685s Unpacking libpcre2-32-0:arm64 (10.42-4ubuntu3) ... 685s Selecting previously unselected package libpcre2-posix3:arm64. 685s Preparing to unpack .../35-libpcre2-posix3_10.42-4ubuntu3_arm64.deb ... 685s Unpacking libpcre2-posix3:arm64 (10.42-4ubuntu3) ... 685s Selecting previously unselected package libpcre2-dev:arm64. 685s Preparing to unpack .../36-libpcre2-dev_10.42-4ubuntu3_arm64.deb ... 685s Unpacking libpcre2-dev:arm64 (10.42-4ubuntu3) ... 685s Selecting previously unselected package libselinux1-dev:arm64. 685s Preparing to unpack .../37-libselinux1-dev_3.7-3ubuntu2_arm64.deb ... 685s Unpacking libselinux1-dev:arm64 (3.7-3ubuntu2) ... 685s Selecting previously unselected package libmount-dev:arm64. 685s Preparing to unpack .../38-libmount-dev_2.40.2-1ubuntu2_arm64.deb ... 685s Unpacking libmount-dev:arm64 (2.40.2-1ubuntu2) ... 685s Selecting previously unselected package libsysprof-capture-4-dev:arm64. 685s Preparing to unpack .../39-libsysprof-capture-4-dev_47.2-1_arm64.deb ... 685s Unpacking libsysprof-capture-4-dev:arm64 (47.2-1) ... 685s Selecting previously unselected package libpkgconf3:arm64. 685s Preparing to unpack .../40-libpkgconf3_1.8.1-4_arm64.deb ... 685s Unpacking libpkgconf3:arm64 (1.8.1-4) ... 685s Selecting previously unselected package pkgconf-bin. 685s Preparing to unpack .../41-pkgconf-bin_1.8.1-4_arm64.deb ... 685s Unpacking pkgconf-bin (1.8.1-4) ... 685s Selecting previously unselected package pkgconf:arm64. 685s Preparing to unpack .../42-pkgconf_1.8.1-4_arm64.deb ... 685s Unpacking pkgconf:arm64 (1.8.1-4) ... 685s Selecting previously unselected package zlib1g-dev:arm64. 685s Preparing to unpack .../43-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_arm64.deb ... 685s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 685s Selecting previously unselected package libgio-2.0-dev:arm64. 685s Preparing to unpack .../44-libgio-2.0-dev_2.82.4-1_arm64.deb ... 685s Unpacking libgio-2.0-dev:arm64 (2.82.4-1) ... 685s Selecting previously unselected package python3-packaging. 685s Preparing to unpack .../45-python3-packaging_24.2-1_all.deb ... 685s Unpacking python3-packaging (24.2-1) ... 685s Selecting previously unselected package libgio-2.0-dev-bin. 685s Preparing to unpack .../46-libgio-2.0-dev-bin_2.82.4-1_arm64.deb ... 685s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 685s Selecting previously unselected package libglib2.0-bin. 685s Preparing to unpack .../47-libglib2.0-bin_2.82.4-1_arm64.deb ... 685s Unpacking libglib2.0-bin (2.82.4-1) ... 685s Selecting previously unselected package libglib2.0-dev-bin. 685s Preparing to unpack .../48-libglib2.0-dev-bin_2.82.4-1_arm64.deb ... 685s Unpacking libglib2.0-dev-bin (2.82.4-1) ... 685s Selecting previously unselected package libglib2.0-dev:arm64. 685s Preparing to unpack .../49-libglib2.0-dev_2.82.4-1_arm64.deb ... 685s Unpacking libglib2.0-dev:arm64 (2.82.4-1) ... 686s Setting up native-architecture (0.2.3) ... 686s Setting up libgirepository-2.0-0:arm64 (2.82.4-1) ... 686s Setting up libglib2.0-bin (2.82.4-1) ... 686s Setting up libgomp1:arm64 (14.2.0-12ubuntu1) ... 686s Setting up libffi-dev:arm64 (3.4.6-1build1) ... 686s Setting up libpcre2-16-0:arm64 (10.42-4ubuntu3) ... 686s Setting up libsysprof-capture-4-dev:arm64 (47.2-1) ... 686s Setting up libpcre2-32-0:arm64 (10.42-4ubuntu3) ... 686s Setting up python3-packaging (24.2-1) ... 686s Setting up libpkgconf3:arm64 (1.8.1-4) ... 686s Setting up uuid-dev:arm64 (2.40.2-1ubuntu2) ... 686s Setting up libmpc3:arm64 (1.3.1-1build2) ... 686s Setting up libsepol-dev:arm64 (3.7-1) ... 686s Setting up pkgconf-bin (1.8.1-4) ... 686s Setting up libubsan1:arm64 (14.2.0-12ubuntu1) ... 686s Setting up zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 686s Setting up libpcre2-posix3:arm64 (10.42-4ubuntu3) ... 686s Setting up gir1.2-glib-2.0-dev:arm64 (2.82.4-1) ... 686s Setting up libhwasan0:arm64 (14.2.0-12ubuntu1) ... 686s Setting up libasan8:arm64 (14.2.0-12ubuntu1) ... 686s Setting up libtsan2:arm64 (14.2.0-12ubuntu1) ... 686s Setting up libisl23:arm64 (0.27-1) ... 686s Setting up libcc1-0:arm64 (14.2.0-12ubuntu1) ... 686s Setting up liblsan0:arm64 (14.2.0-12ubuntu1) ... 686s Setting up libitm1:arm64 (14.2.0-12ubuntu1) ... 686s Setting up libblkid-dev:arm64 (2.40.2-1ubuntu2) ... 686s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 686s Setting up girepository-tools:arm64 (2.82.4-1) ... 686s Setting up libpcre2-dev:arm64 (10.42-4ubuntu3) ... 686s Setting up libselinux1-dev:arm64 (3.7-3ubuntu2) ... 686s Setting up pkgconf:arm64 (1.8.1-4) ... 686s Setting up cpp-14-aarch64-linux-gnu (14.2.0-12ubuntu1) ... 686s Setting up libgcc-14-dev:arm64 (14.2.0-12ubuntu1) ... 686s Setting up libstdc++-14-dev:arm64 (14.2.0-12ubuntu1) ... 686s Setting up libmount-dev:arm64 (2.40.2-1ubuntu2) ... 686s Setting up libglib2.0-dev-bin (2.82.4-1) ... 686s Setting up libgio-2.0-dev:arm64 (2.82.4-1) ... 686s Setting up cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 686s Setting up cpp-14 (14.2.0-12ubuntu1) ... 686s Setting up cpp (4:14.1.0-2ubuntu1) ... 686s Setting up gcc-14-aarch64-linux-gnu (14.2.0-12ubuntu1) ... 686s Setting up gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 686s Setting up g++-14-aarch64-linux-gnu (14.2.0-12ubuntu1) ... 686s Setting up gcc-14 (14.2.0-12ubuntu1) ... 686s Setting up g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 686s Setting up g++-14 (14.2.0-12ubuntu1) ... 686s Setting up gcc (4:14.1.0-2ubuntu1) ... 686s Setting up g++ (4:14.1.0-2ubuntu1) ... 686s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 686s Setting up build-essential (12.10ubuntu1) ... 686s Processing triggers for install-info (7.1.1-1) ... 686s Processing triggers for libc-bin (2.40-4ubuntu1) ... 686s Processing triggers for man-db (2.13.0-1) ... 688s Processing triggers for libglib2.0-0t64:arm64 (2.82.4-1) ... 688s No schema files found: doing nothing. 688s Setting up libglib2.0-dev:arm64 (2.82.4-1) ... 699s autopkgtest [05:41:40]: test libglib2.0-dev: [----------------------- 699s + debian/tests/build 699s + mode=dynamic 699s + getopt -o --long static -n debian/tests/build -- 699s + getopt_temp= -- 699s + eval set -- -- 699s + set -- -- 699s + true 699s + shift 699s + break 699s + mktemp -d 699s + WORKDIR=/tmp/tmp.JaRckxdZ28 699s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 699s + cd /tmp/tmp.JaRckxdZ28 699s + [ -n ] 699s + CROSS_COMPILE= 699s + cat 699s + cat 699s + cat 699s + cat 699s + cat 699s + cat 699s + cflags= 699s + pcflags= 699s + packages=glib-2.0 699s + pkg-config --cflags --libs glib-2.0 699s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 700s + echo build (glib, dynamic): OK 700s + [ -x glib-dynamic ] 700s + foo=bar ./glib-dynamic 700s + echo run (glib, dynamic): OK 700s + cflags= 700s + pcflags= 700s + packages=gobject-2.0 700s + pkg-config --cflags --libs gobject-2.0 700s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 700s build (glib, dynamic): OK 700s run (glib, dynamic): OK 700s + echo build (gobject, dynamic): OK 700s + [ -x gobject-dynamic ] 700s + foo=bar ./gobject-dynamic 700s + echo run (gobject, dynamic): OK 700s + cflags= 700s + pcflags= 700s + packages=gio-2.0 700s + pkg-config --cflags --libs gio-2.0 700s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 700s build (gobject, dynamic): OK 700s run (gobject, dynamic): OK 700s build (gio, dynamic): OK 700s run (gio, dynamic): OK 700s + echo build (gio, dynamic): OK 700s + [ -x gio-dynamic ] 700s + foo=bar ./gio-dynamic 700s + echo run (gio, dynamic): OK 700s + cflags= 700s + pcflags= 700s + packages=gio-unix-2.0 700s + pkg-config --cflags --libs gio-unix-2.0 700s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 700s build (gio-unix, dynamic): OK 700s + echo build (gio-unix, dynamic): OK 700s + [ -x gio-unix-dynamic ] 700s + foo=bar ./gio-unix-dynamic 700s run (gio-unix, dynamic): OK 700s + echo run (gio-unix, dynamic): OK 700s + cflags= 700s + pcflags= 700s + packages=gmodule-2.0 700s + pkg-config --cflags --libs gmodule-2.0 700s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 700s build (gmodule, dynamic): OK 700s run (gmodule, dynamic): OK 700s + echo build (gmodule, dynamic): OK 700s + [ -x gmodule-dynamic ] 700s + foo=bar ./gmodule-dynamic 700s + echo run (gmodule, dynamic): OK 700s + cflags= 700s + pcflags= 700s + packages=gthread-2.0 700s + pkg-config --cflags --libs gthread-2.0 700s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 700s build (gthread, dynamic): OK 700s run (gthread, dynamic): OK 700s + echo build (gthread, dynamic): OK 700s + [ -x gthread-dynamic ] 700s + foo=bar ./gthread-dynamic 700s + echo run (gthread, dynamic): OK 700s + rm -rf /tmp/tmp.JaRckxdZ28 700s + debian/tests/build-static 700s + mode=dynamic 700s + getopt -o --long static -n debian/tests/build -- --static 700s + getopt_temp= --static -- 700s + eval set -- --static -- 700s + set -- --static -- 700s + true 700s + mode=static 700s + shift 700s + continue 700s + true 700s + shift 700s + break 700s + mktemp -d 700s + WORKDIR=/tmp/tmp.dMSgmf1xVm 700s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 700s + cd /tmp/tmp.dMSgmf1xVm 700s + [ -n ] 700s + CROSS_COMPILE= 700s + cat 700s + cat 700s + cat 700s + cat 700s + cat 700s + cat 700s + cflags= 700s + pcflags= 700s + packages=glib-2.0 700s + cflags=-static 700s + pcflags=--static 700s + pkg-config --static --cflags --libs glib-2.0 700s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 700s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 700s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 700s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 700s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 701s build (glib, static): OK 701s run (glib, static): OK 701s + echo build (glib, static): OK 701s + [ -x glib-static ] 701s + foo=bar ./glib-static 701s + echo run (glib, static): OK 701s + cflags= 701s + pcflags= 701s + packages=gobject-2.0 701s + cflags=-static 701s + pcflags=--static 701s + pkg-config --static --cflags --libs gobject-2.0 701s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi 701s build (gobject, static): OK 701s run (gobject, static): OK 701s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 701s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 701s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 701s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 701s + echo build (gobject, static): OK 701s + [ -x gobject-static ] 701s + foo=bar ./gobject-static 701s + echo run (gobject, static): OK 701s + cflags= 701s + pcflags= 701s + packages=gio-2.0 701s + cflags=-static 701s + pcflags=--static 701s + continue 701s + cflags= 701s + pcflags= 701s + packages=gio-unix-2.0 701s + cflags=-static 701s + pcflags=--static 701s + continue 701s + cflags= 701s + pcflags= 701s + packages=gmodule-2.0 701s + cflags=-static 701s + pcflags=--static 701s + pkg-config --static --cflags --libs gmodule-2.0 701s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 701s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 701s (.text+0x604): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 701s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 701s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 701s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 701s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 701s build (gmodule, static): OK 701s run (gmodule, static): OK 701s + echo build (gmodule, static): OK 701s + [ -x gmodule-static ] 701s + foo=bar ./gmodule-static 701s + echo run (gmodule, static): OK 701s + cflags= 701s + pcflags= 701s + packages=gthread-2.0 701s + cflags=-static 701s + pcflags=--static 701s + pkg-config --static --cflags --libs gthread-2.0 701s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 701s /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 701s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 701s /usr/bin/ld: (.text+0x2a0): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 701s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 701s build (gthread, static): OK 701s run (gthread, static): OK 701s + echo build (gthread, static): OK 701s + [ -x gthread-static ] 701s + foo=bar ./gthread-static 701s + echo run (gthread, static): OK 701s + rm -rf /tmp/tmp.dMSgmf1xVm 701s + debian/tests/girepository-tools 701s + cd /tmp/autopkgtest.bJtNpb/autopkgtest_tmp 701s + dpkg-architecture -qDEB_HOST_GNU_TYPE 701s + DEB_HOST_GNU_TYPE=aarch64-linux-gnu 701s + dpkg-architecture -qDEB_HOST_MULTIARCH 701s typelib: GLib-2.0 701s + DEB_HOST_MULTIARCH=aarch64-linux-gnu 701s + aarch64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 701s + aarch64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir 701s + aarch64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 701s + debian/tests/libgio-2.0-dev-bin 701s + gdbus-codegen --help 702s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 702s [--c-namespace NAMESPACE] [--c-generate-object-manager] 702s [--c-generate-autocleanup {none,objects,all}] 702s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 702s [--generate-rst OUTFILES] [--pragma-once] 702s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 702s [--glib-min-required VERSION] 702s [--glib-max-allowed VERSION] 702s [--symbol-decorator SYMBOL_DECORATOR] 702s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 702s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 702s [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 702s [--output FILE | --output-directory OUTDIR] 702s FILE [FILE ...] 702s 702s D-Bus code and documentation generator 702s 702s positional arguments: 702s FILE D-Bus introspection XML file 702s 702s options: 702s -h, --help show this help message and exit 702s --interface-prefix PREFIX 702s String to strip from D-Bus interface names for code 702s and docs 702s --c-namespace NAMESPACE 702s The namespace to use for generated C code 702s --c-generate-object-manager 702s Generate a GDBusObjectManagerClient subclass when 702s generating C code 702s --c-generate-autocleanup {none,objects,all} 702s Generate autocleanup support 702s --generate-docbook OUTFILES 702s Generate Docbook in OUTFILES-org.Project.IFace.xml 702s --generate-md OUTFILES 702s Generate Markdown in OUTFILES-org.Project.IFace.md 702s --generate-rst OUTFILES 702s Generate reStructuredText in OUTFILES- 702s org.Project.IFace.rst 702s --pragma-once Use "pragma once" as the inclusion guard 702s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 702s Add annotation (may be used several times) 702s --glib-min-required VERSION 702s Minimum version of GLib to be supported by the 702s outputted code (default: 2.30) 702s --glib-max-allowed VERSION 702s Maximum version of GLib to be used by the outputted 702s code (default: current GLib version) 702s --symbol-decorator SYMBOL_DECORATOR 702s Macro used to decorate a symbol in the outputted 702s header, possibly to export symbols 702s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 702s Additional header required for decorator specified by 702s --symbol-decorator 702s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 702s Additional define required for decorator specified by 702s --symbol-decorator 702s --generate-c-code OUTFILES 702s Generate C code in OUTFILES.[ch] 702s --header Generate C headers 702s --body Generate C code 702s --interface-info-header 702s Generate GDBusInterfaceInfo C header 702s --interface-info-body 702s Generate GDBusInterfaceInfo C code 702s --output FILE Write output into the specified file 702s --output-directory OUTDIR 702s Location to output generated files 702s 2.82.4 702s + glib-compile-resources --version 702s + glib-genmarshal --version 702s glib-genmarshal version 2.82.4 702s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 702s You may redistribute copies of glib-genmarshal under the terms of 702s the GNU General Public License which can be found in the 702s GLib source package. Sources, examples and contact 702s information are available at http://www.gtk.org 702s /usr/bin/glib-gettextize (GNU glib) 2.82.4 702s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 702s This is free software; see the source for copying conditions. There is NO 702s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 702s Written by Ulrich Drepper 702s + glib-gettextize --version 702s + glib-mkenums --version 702s glib-mkenums version 2.82.4 702s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 702s You may redistribute copies of glib-mkenums under the terms of 702s the GNU General Public License which can be found in the 702s GLib source package. Sources, examples and contact 702s information are available at http://www.gtk.org 702s GObject 702s gtester version 2.82.4 702s + gobject-query tree 702s + gtester --version 702s + gtester-report --version 702s gtester-report (GLib utils) version 2.82.4. 702s + cd /tmp/autopkgtest.bJtNpb/autopkgtest_tmp 702s + dpkg-architecture -qDEB_HOST_MULTIARCH 702s typelib: GLib-2.0 702s + DEB_HOST_MULTIARCH=aarch64-linux-gnu 702s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 702s + gi-compile-repository -o GLib.typelib /usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir 702s + gi-decompile-typelib -o GLib.gir GLib.typelib 702s autopkgtest [05:41:43]: test libglib2.0-dev: -----------------------] 703s autopkgtest [05:41:44]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 703s libglib2.0-dev PASS (superficial) 704s autopkgtest [05:41:45]: test installed-tests: preparing testbed 840s autopkgtest [05:44:01]: testbed dpkg architecture: arm64 840s autopkgtest [05:44:01]: testbed apt version: 2.9.18 841s autopkgtest [05:44:02]: @@@@@@@@@@@@@@@@@@@@ test bed setup 841s autopkgtest [05:44:02]: testbed release detected to be: plucky 842s autopkgtest [05:44:03]: updating testbed package index (apt update) 842s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 842s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 843s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 843s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 843s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 843s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [99.2 kB] 843s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [749 kB] 843s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [16.5 kB] 843s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [181 kB] 843s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 843s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [823 kB] 843s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [22.5 kB] 843s Fetched 2033 kB in 1s (2198 kB/s) 844s Reading package lists... 845s Reading package lists... 846s Building dependency tree... 846s Reading state information... 848s Calculating upgrade... 849s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 849s Reading package lists... 850s Building dependency tree... 850s Reading state information... 852s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 852s autopkgtest [05:44:13]: upgrading testbed (apt dist-upgrade and autopurge) 852s Reading package lists... 852s Building dependency tree... 852s Reading state information... 853s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 853s Starting 2 pkgProblemResolver with broken count: 0 853s Done 854s Entering ResolveByKeep 854s 855s The following packages will be upgraded: 855s libselinux1 855s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 855s Need to get 81.7 kB of archives. 855s After this operation, 1024 B of additional disk space will be used. 855s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libselinux1 arm64 3.7-3ubuntu2 [81.7 kB] 856s Fetched 81.7 kB in 0s (300 kB/s) 856s (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 ... 80185 files and directories currently installed.) 856s Preparing to unpack .../libselinux1_3.7-3ubuntu2_arm64.deb ... 856s Unpacking libselinux1:arm64 (3.7-3ubuntu2) over (3.7-3ubuntu1) ... 856s Setting up libselinux1:arm64 (3.7-3ubuntu2) ... 856s Processing triggers for libc-bin (2.40-4ubuntu1) ... 856s Reading package lists... 857s Building dependency tree... 857s Reading state information... 857s Starting pkgProblemResolver with broken count: 0 857s Starting 2 pkgProblemResolver with broken count: 0 857s Done 858s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 862s Reading package lists... 862s Building dependency tree... 862s Reading state information... 862s Starting pkgProblemResolver with broken count: 0 862s Starting 2 pkgProblemResolver with broken count: 0 862s Done 863s The following NEW packages will be installed: 863s dbus-x11 desktop-file-utils girepository-tools gnome-desktop-testing 863s libdrm-radeon1 libfontenc1 libgbm1 libgio-2.0-dev-bin libgirepository-2.0-0 863s libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin libglib2.0-dev-bin 863s libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 libpixman-1-0 libsm6 863s libvulkan1 libwayland-server0 libx11-xcb1 libxaw7 libxcb-dri2-0 863s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 863s libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxpm4 863s libxrandr2 libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 mesa-libgallium 863s native-architecture python3-dbusmock python3-packaging tzdata-legacy 863s x11-common x11-xkb-utils xserver-common xvfb 863s 0 upgraded, 52 newly installed, 0 to remove and 0 not upgraded. 863s Need to get 14.7 MB of archives. 863s After this operation, 80.9 MB of additional disk space will be used. 863s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 dbus-x11 arm64 1.14.10-4ubuntu5 [23.2 kB] 864s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 desktop-file-utils arm64 0.28-1 [53.6 kB] 864s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 native-architecture all 0.2.3 [1990 B] 864s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libgirepository-2.0-0 arm64 2.82.4-1 [72.2 kB] 864s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 girepository-tools arm64 2.82.4-1 [103 kB] 864s Get:6 http://ftpmaster.internal/ubuntu plucky/universe arm64 gnome-desktop-testing arm64 2021.1-4 [16.2 kB] 864s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 libdrm-radeon1 arm64 2.4.123-1 [20.8 kB] 864s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 libfontenc1 arm64 1:1.1.8-1build1 [13.9 kB] 864s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 libwayland-server0 arm64 1.23.0-1 [35.7 kB] 864s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-randr0 arm64 1.17.0-2 [18.5 kB] 864s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 libglapi-mesa arm64 24.2.8-1ubuntu1 [60.0 kB] 864s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 libx11-xcb1 arm64 2:1.8.10-2 [8020 B] 864s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-dri2-0 arm64 1.17.0-2 [7418 B] 864s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-dri3-0 arm64 1.17.0-2 [7606 B] 864s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-present0 arm64 1.17.0-2 [6224 B] 864s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-sync1 arm64 1.17.0-2 [9688 B] 864s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-xfixes0 arm64 1.17.0-2 [10.6 kB] 864s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 libxshmfence1 arm64 1.3-1build5 [4938 B] 864s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 mesa-libgallium arm64 24.2.8-1ubuntu1 [9039 kB] 864s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libgbm1 arm64 24.2.8-1ubuntu1 [32.9 kB] 864s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.2-1 [51.5 kB] 864s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 libgio-2.0-dev-bin arm64 2.82.4-1 [129 kB] 864s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 libvulkan1 arm64 1.3.296.0-1 [153 kB] 864s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 libgl1-mesa-dri arm64 24.2.8-1ubuntu1 [33.5 kB] 864s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 libglib2.0-bin arm64 2.82.4-1 [97.8 kB] 864s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 libglib2.0-dev-bin arm64 2.82.4-1 [18.1 kB] 864s Get:27 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-dbusmock all 0.34.0-1 [92.2 kB] 864s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 tzdata-legacy all 2024b-4ubuntu1 [99.2 kB] 864s Get:29 http://ftpmaster.internal/ubuntu plucky/universe arm64 libglib2.0-tests arm64 2.82.4-1 [2088 kB] 864s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-glx0 arm64 1.17.0-2 [25.5 kB] 864s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-shm0 arm64 1.17.0-2 [5884 B] 864s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 libxfixes3 arm64 1:6.0.0-2build1 [11.2 kB] 864s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 libxxf86vm1 arm64 1:1.1.4-1build4 [9130 B] 864s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 libglx-mesa0 arm64 24.2.8-1ubuntu1 [164 kB] 864s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 x11-common all 1:7.7+23ubuntu3 [21.7 kB] 864s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 libice6 arm64 2:1.1.1-1 [42.3 kB] 864s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 libpixman-1-0 arm64 0.44.0-3 [197 kB] 864s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 libsm6 arm64 2:1.2.4-1 [16.4 kB] 865s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 libxt6t64 arm64 1:1.2.1-1.2build1 [168 kB] 865s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 libxmu6 arm64 2:1.1.3-3build2 [47.5 kB] 865s Get:41 http://ftpmaster.internal/ubuntu plucky/main arm64 libxpm4 arm64 1:3.5.17-1build2 [35.1 kB] 865s Get:42 http://ftpmaster.internal/ubuntu plucky/main arm64 libxaw7 arm64 2:1.0.16-1 [184 kB] 865s Get:43 http://ftpmaster.internal/ubuntu plucky/main arm64 libxfont2 arm64 1:2.0.6-1build1 [88.7 kB] 865s Get:44 http://ftpmaster.internal/ubuntu plucky/main arm64 libxkbfile1 arm64 1:1.1.0-1build4 [69.4 kB] 865s Get:45 http://ftpmaster.internal/ubuntu plucky/main arm64 libxrender1 arm64 1:0.9.10-1.1build1 [18.8 kB] 865s Get:46 http://ftpmaster.internal/ubuntu plucky/main arm64 libxrandr2 arm64 2:1.5.4-1 [19.6 kB] 865s Get:47 http://ftpmaster.internal/ubuntu plucky/main arm64 x11-xkb-utils arm64 7.7+9 [165 kB] 865s Get:48 http://ftpmaster.internal/ubuntu plucky/main arm64 xserver-common all 2:21.1.14-2ubuntu1 [33.7 kB] 865s Get:49 http://ftpmaster.internal/ubuntu plucky/main arm64 libglvnd0 arm64 1.7.0-1build1 [60.6 kB] 865s Get:50 http://ftpmaster.internal/ubuntu plucky/main arm64 libglx0 arm64 1.7.0-1build1 [33.2 kB] 865s Get:51 http://ftpmaster.internal/ubuntu plucky/main arm64 libgl1 arm64 1.7.0-1build1 [106 kB] 865s Get:52 http://ftpmaster.internal/ubuntu plucky/universe arm64 xvfb arm64 2:21.1.14-2ubuntu1 [868 kB] 865s Fetched 14.7 MB in 1s (11.1 MB/s) 865s Selecting previously unselected package dbus-x11. 865s (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 ... 80185 files and directories currently installed.) 865s Preparing to unpack .../00-dbus-x11_1.14.10-4ubuntu5_arm64.deb ... 865s Unpacking dbus-x11 (1.14.10-4ubuntu5) ... 865s Selecting previously unselected package desktop-file-utils. 865s Preparing to unpack .../01-desktop-file-utils_0.28-1_arm64.deb ... 865s Unpacking desktop-file-utils (0.28-1) ... 865s Selecting previously unselected package native-architecture. 865s Preparing to unpack .../02-native-architecture_0.2.3_all.deb ... 865s Unpacking native-architecture (0.2.3) ... 865s Selecting previously unselected package libgirepository-2.0-0:arm64. 865s Preparing to unpack .../03-libgirepository-2.0-0_2.82.4-1_arm64.deb ... 865s Unpacking libgirepository-2.0-0:arm64 (2.82.4-1) ... 865s Selecting previously unselected package girepository-tools:arm64. 865s Preparing to unpack .../04-girepository-tools_2.82.4-1_arm64.deb ... 865s Unpacking girepository-tools:arm64 (2.82.4-1) ... 865s Selecting previously unselected package gnome-desktop-testing. 865s Preparing to unpack .../05-gnome-desktop-testing_2021.1-4_arm64.deb ... 865s Unpacking gnome-desktop-testing (2021.1-4) ... 865s Selecting previously unselected package libdrm-radeon1:arm64. 865s Preparing to unpack .../06-libdrm-radeon1_2.4.123-1_arm64.deb ... 865s Unpacking libdrm-radeon1:arm64 (2.4.123-1) ... 865s Selecting previously unselected package libfontenc1:arm64. 865s Preparing to unpack .../07-libfontenc1_1%3a1.1.8-1build1_arm64.deb ... 865s Unpacking libfontenc1:arm64 (1:1.1.8-1build1) ... 865s Selecting previously unselected package libwayland-server0:arm64. 865s Preparing to unpack .../08-libwayland-server0_1.23.0-1_arm64.deb ... 865s Unpacking libwayland-server0:arm64 (1.23.0-1) ... 866s Selecting previously unselected package libxcb-randr0:arm64. 866s Preparing to unpack .../09-libxcb-randr0_1.17.0-2_arm64.deb ... 866s Unpacking libxcb-randr0:arm64 (1.17.0-2) ... 866s Selecting previously unselected package libglapi-mesa:arm64. 866s Preparing to unpack .../10-libglapi-mesa_24.2.8-1ubuntu1_arm64.deb ... 866s Unpacking libglapi-mesa:arm64 (24.2.8-1ubuntu1) ... 866s Selecting previously unselected package libx11-xcb1:arm64. 866s Preparing to unpack .../11-libx11-xcb1_2%3a1.8.10-2_arm64.deb ... 866s Unpacking libx11-xcb1:arm64 (2:1.8.10-2) ... 866s Selecting previously unselected package libxcb-dri2-0:arm64. 866s Preparing to unpack .../12-libxcb-dri2-0_1.17.0-2_arm64.deb ... 866s Unpacking libxcb-dri2-0:arm64 (1.17.0-2) ... 866s Selecting previously unselected package libxcb-dri3-0:arm64. 866s Preparing to unpack .../13-libxcb-dri3-0_1.17.0-2_arm64.deb ... 866s Unpacking libxcb-dri3-0:arm64 (1.17.0-2) ... 866s Selecting previously unselected package libxcb-present0:arm64. 866s Preparing to unpack .../14-libxcb-present0_1.17.0-2_arm64.deb ... 866s Unpacking libxcb-present0:arm64 (1.17.0-2) ... 866s Selecting previously unselected package libxcb-sync1:arm64. 866s Preparing to unpack .../15-libxcb-sync1_1.17.0-2_arm64.deb ... 866s Unpacking libxcb-sync1:arm64 (1.17.0-2) ... 866s Selecting previously unselected package libxcb-xfixes0:arm64. 866s Preparing to unpack .../16-libxcb-xfixes0_1.17.0-2_arm64.deb ... 866s Unpacking libxcb-xfixes0:arm64 (1.17.0-2) ... 866s Selecting previously unselected package libxshmfence1:arm64. 866s Preparing to unpack .../17-libxshmfence1_1.3-1build5_arm64.deb ... 866s Unpacking libxshmfence1:arm64 (1.3-1build5) ... 866s Selecting previously unselected package mesa-libgallium:arm64. 866s Preparing to unpack .../18-mesa-libgallium_24.2.8-1ubuntu1_arm64.deb ... 866s Unpacking mesa-libgallium:arm64 (24.2.8-1ubuntu1) ... 866s Selecting previously unselected package libgbm1:arm64. 866s Preparing to unpack .../19-libgbm1_24.2.8-1ubuntu1_arm64.deb ... 866s Unpacking libgbm1:arm64 (24.2.8-1ubuntu1) ... 866s Selecting previously unselected package python3-packaging. 866s Preparing to unpack .../20-python3-packaging_24.2-1_all.deb ... 866s Unpacking python3-packaging (24.2-1) ... 866s Selecting previously unselected package libgio-2.0-dev-bin. 866s Preparing to unpack .../21-libgio-2.0-dev-bin_2.82.4-1_arm64.deb ... 866s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 866s Selecting previously unselected package libvulkan1:arm64. 866s Preparing to unpack .../22-libvulkan1_1.3.296.0-1_arm64.deb ... 866s Unpacking libvulkan1:arm64 (1.3.296.0-1) ... 866s Selecting previously unselected package libgl1-mesa-dri:arm64. 866s Preparing to unpack .../23-libgl1-mesa-dri_24.2.8-1ubuntu1_arm64.deb ... 866s Unpacking libgl1-mesa-dri:arm64 (24.2.8-1ubuntu1) ... 866s Selecting previously unselected package libglib2.0-bin. 866s Preparing to unpack .../24-libglib2.0-bin_2.82.4-1_arm64.deb ... 866s Unpacking libglib2.0-bin (2.82.4-1) ... 867s Selecting previously unselected package libglib2.0-dev-bin. 867s Preparing to unpack .../25-libglib2.0-dev-bin_2.82.4-1_arm64.deb ... 867s Unpacking libglib2.0-dev-bin (2.82.4-1) ... 867s Selecting previously unselected package python3-dbusmock. 867s Preparing to unpack .../26-python3-dbusmock_0.34.0-1_all.deb ... 867s Unpacking python3-dbusmock (0.34.0-1) ... 867s Selecting previously unselected package tzdata-legacy. 867s Preparing to unpack .../27-tzdata-legacy_2024b-4ubuntu1_all.deb ... 867s Unpacking tzdata-legacy (2024b-4ubuntu1) ... 867s Selecting previously unselected package libglib2.0-tests. 867s Preparing to unpack .../28-libglib2.0-tests_2.82.4-1_arm64.deb ... 867s Unpacking libglib2.0-tests (2.82.4-1) ... 867s Selecting previously unselected package libxcb-glx0:arm64. 867s Preparing to unpack .../29-libxcb-glx0_1.17.0-2_arm64.deb ... 867s Unpacking libxcb-glx0:arm64 (1.17.0-2) ... 867s Selecting previously unselected package libxcb-shm0:arm64. 867s Preparing to unpack .../30-libxcb-shm0_1.17.0-2_arm64.deb ... 867s Unpacking libxcb-shm0:arm64 (1.17.0-2) ... 867s Selecting previously unselected package libxfixes3:arm64. 867s Preparing to unpack .../31-libxfixes3_1%3a6.0.0-2build1_arm64.deb ... 867s Unpacking libxfixes3:arm64 (1:6.0.0-2build1) ... 867s Selecting previously unselected package libxxf86vm1:arm64. 867s Preparing to unpack .../32-libxxf86vm1_1%3a1.1.4-1build4_arm64.deb ... 867s Unpacking libxxf86vm1:arm64 (1:1.1.4-1build4) ... 867s Selecting previously unselected package libglx-mesa0:arm64. 867s Preparing to unpack .../33-libglx-mesa0_24.2.8-1ubuntu1_arm64.deb ... 867s Unpacking libglx-mesa0:arm64 (24.2.8-1ubuntu1) ... 867s Selecting previously unselected package x11-common. 867s Preparing to unpack .../34-x11-common_1%3a7.7+23ubuntu3_all.deb ... 867s Unpacking x11-common (1:7.7+23ubuntu3) ... 868s Selecting previously unselected package libice6:arm64. 868s Preparing to unpack .../35-libice6_2%3a1.1.1-1_arm64.deb ... 868s Unpacking libice6:arm64 (2:1.1.1-1) ... 868s Selecting previously unselected package libpixman-1-0:arm64. 868s Preparing to unpack .../36-libpixman-1-0_0.44.0-3_arm64.deb ... 868s Unpacking libpixman-1-0:arm64 (0.44.0-3) ... 868s Selecting previously unselected package libsm6:arm64. 868s Preparing to unpack .../37-libsm6_2%3a1.2.4-1_arm64.deb ... 868s Unpacking libsm6:arm64 (2:1.2.4-1) ... 868s Selecting previously unselected package libxt6t64:arm64. 868s Preparing to unpack .../38-libxt6t64_1%3a1.2.1-1.2build1_arm64.deb ... 868s Unpacking libxt6t64:arm64 (1:1.2.1-1.2build1) ... 868s Selecting previously unselected package libxmu6:arm64. 868s Preparing to unpack .../39-libxmu6_2%3a1.1.3-3build2_arm64.deb ... 868s Unpacking libxmu6:arm64 (2:1.1.3-3build2) ... 868s Selecting previously unselected package libxpm4:arm64. 868s Preparing to unpack .../40-libxpm4_1%3a3.5.17-1build2_arm64.deb ... 868s Unpacking libxpm4:arm64 (1:3.5.17-1build2) ... 868s Selecting previously unselected package libxaw7:arm64. 868s Preparing to unpack .../41-libxaw7_2%3a1.0.16-1_arm64.deb ... 868s Unpacking libxaw7:arm64 (2:1.0.16-1) ... 868s Selecting previously unselected package libxfont2:arm64. 868s Preparing to unpack .../42-libxfont2_1%3a2.0.6-1build1_arm64.deb ... 868s Unpacking libxfont2:arm64 (1:2.0.6-1build1) ... 868s Selecting previously unselected package libxkbfile1:arm64. 868s Preparing to unpack .../43-libxkbfile1_1%3a1.1.0-1build4_arm64.deb ... 868s Unpacking libxkbfile1:arm64 (1:1.1.0-1build4) ... 868s Selecting previously unselected package libxrender1:arm64. 868s Preparing to unpack .../44-libxrender1_1%3a0.9.10-1.1build1_arm64.deb ... 868s Unpacking libxrender1:arm64 (1:0.9.10-1.1build1) ... 868s Selecting previously unselected package libxrandr2:arm64. 868s Preparing to unpack .../45-libxrandr2_2%3a1.5.4-1_arm64.deb ... 868s Unpacking libxrandr2:arm64 (2:1.5.4-1) ... 868s Selecting previously unselected package x11-xkb-utils. 868s Preparing to unpack .../46-x11-xkb-utils_7.7+9_arm64.deb ... 868s Unpacking x11-xkb-utils (7.7+9) ... 868s Selecting previously unselected package xserver-common. 868s Preparing to unpack .../47-xserver-common_2%3a21.1.14-2ubuntu1_all.deb ... 868s Unpacking xserver-common (2:21.1.14-2ubuntu1) ... 868s Selecting previously unselected package libglvnd0:arm64. 868s Preparing to unpack .../48-libglvnd0_1.7.0-1build1_arm64.deb ... 868s Unpacking libglvnd0:arm64 (1.7.0-1build1) ... 869s Selecting previously unselected package libglx0:arm64. 869s Preparing to unpack .../49-libglx0_1.7.0-1build1_arm64.deb ... 869s Unpacking libglx0:arm64 (1.7.0-1build1) ... 869s Selecting previously unselected package libgl1:arm64. 869s Preparing to unpack .../50-libgl1_1.7.0-1build1_arm64.deb ... 869s Unpacking libgl1:arm64 (1.7.0-1build1) ... 869s Selecting previously unselected package xvfb. 869s Preparing to unpack .../51-xvfb_2%3a21.1.14-2ubuntu1_arm64.deb ... 869s Unpacking xvfb (2:21.1.14-2ubuntu1) ... 869s Setting up gnome-desktop-testing (2021.1-4) ... 869s Setting up libxcb-dri3-0:arm64 (1.17.0-2) ... 869s Setting up libpixman-1-0:arm64 (0.44.0-3) ... 869s Setting up libwayland-server0:arm64 (1.23.0-1) ... 869s Setting up libx11-xcb1:arm64 (2:1.8.10-2) ... 869s Setting up native-architecture (0.2.3) ... 869s Setting up libxcb-xfixes0:arm64 (1.17.0-2) ... 869s Setting up desktop-file-utils (0.28-1) ... 869s Setting up libxpm4:arm64 (1:3.5.17-1build2) ... 869s Setting up libxrender1:arm64 (1:0.9.10-1.1build1) ... 869s Setting up libgirepository-2.0-0:arm64 (2.82.4-1) ... 869s Setting up libdrm-radeon1:arm64 (2.4.123-1) ... 869s Setting up libglvnd0:arm64 (1.7.0-1build1) ... 869s Setting up libxcb-glx0:arm64 (1.17.0-2) ... 869s Setting up x11-common (1:7.7+23ubuntu3) ... 869s Setting up libglib2.0-bin (2.82.4-1) ... 869s Setting up libxcb-shm0:arm64 (1.17.0-2) ... 869s Setting up python3-dbusmock (0.34.0-1) ... 869s Setting up tzdata-legacy (2024b-4ubuntu1) ... 869s Setting up libxxf86vm1:arm64 (1:1.1.4-1build4) ... 869s Setting up libxcb-present0:arm64 (1.17.0-2) ... 869s Setting up libfontenc1:arm64 (1:1.1.8-1build1) ... 869s Setting up python3-packaging (24.2-1) ... 870s Setting up libxfixes3:arm64 (1:6.0.0-2build1) ... 870s Setting up libxcb-sync1:arm64 (1.17.0-2) ... 870s Setting up libxrandr2:arm64 (2:1.5.4-1) ... 870s Setting up libglapi-mesa:arm64 (24.2.8-1ubuntu1) ... 870s Setting up libvulkan1:arm64 (1.3.296.0-1) ... 870s Setting up libxcb-dri2-0:arm64 (1.17.0-2) ... 870s Setting up libxshmfence1:arm64 (1.3-1build5) ... 870s Setting up dbus-x11 (1.14.10-4ubuntu5) ... 870s Setting up libxcb-randr0:arm64 (1.17.0-2) ... 870s Setting up libxkbfile1:arm64 (1:1.1.0-1build4) ... 870s Setting up libxfont2:arm64 (1:2.0.6-1build1) ... 870s Setting up libice6:arm64 (2:1.1.1-1) ... 870s Setting up mesa-libgallium:arm64 (24.2.8-1ubuntu1) ... 870s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 870s Setting up girepository-tools:arm64 (2.82.4-1) ... 870s Setting up libgbm1:arm64 (24.2.8-1ubuntu1) ... 870s Setting up libgl1-mesa-dri:arm64 (24.2.8-1ubuntu1) ... 870s Setting up libsm6:arm64 (2:1.2.4-1) ... 870s Setting up libglib2.0-dev-bin (2.82.4-1) ... 870s Setting up libglx-mesa0:arm64 (24.2.8-1ubuntu1) ... 870s Setting up libglx0:arm64 (1.7.0-1build1) ... 870s Setting up libgl1:arm64 (1.7.0-1build1) ... 870s Setting up libxt6t64:arm64 (1:1.2.1-1.2build1) ... 870s Setting up libglib2.0-tests (2.82.4-1) ... 870s Setting up libxmu6:arm64 (2:1.1.3-3build2) ... 870s Setting up libxaw7:arm64 (2:1.0.16-1) ... 870s Setting up x11-xkb-utils (7.7+9) ... 870s Setting up xserver-common (2:21.1.14-2ubuntu1) ... 870s Setting up xvfb (2:21.1.14-2ubuntu1) ... 870s Processing triggers for man-db (2.13.0-1) ... 871s Processing triggers for libc-bin (2.40-4ubuntu1) ... 878s autopkgtest [05:44:39]: test installed-tests: [----------------------- 878s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd) 878s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 878s group entry: ubuntu:x:1000: 878s Environment: 878s ADTTMP=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp 878s ADT_ARTIFACTS=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts 878s ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 878s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts 878s AUTOPKGTEST_TESTBED_ARCH=arm64 878s AUTOPKGTEST_TEST_ARCH=arm64 878s AUTOPKGTEST_TMP=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp 878s DEBIAN_FRONTEND=noninteractive 878s DEB_BUILD_OPTIONS=parallel=2 878s GIO_USE_VFS=local 878s GIO_USE_VOLUME_MONITOR=unix 878s HOME=/home/ubuntu 878s LANG=C.UTF-8 878s LOGNAME=ubuntu 878s MAIL=/var/mail/ubuntu 878s OLDPWD=/home/ubuntu 878s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 878s PWD=/tmp/autopkgtest.bJtNpb/build.D3s/src 878s SHELL=/bin/bash 878s SHLVL=1 878s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests 878s SUDO_GID=1000 878s SUDO_UID=1000 878s SUDO_USER=ubuntu 878s TERM=linux 878s USER=ubuntu 878s XDG_RUNTIME_DIR=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp 878s http_proxy=http://squid.internal:3128 878s https_proxy=http://squid.internal:3128 878s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com 879s run-with-locales: de_DE=ISO-8859-1... 879s Character set: ISO-8859-1 879s Source file: de_DE 879s Output: /tmp/tmp.rUNxmdMWEW/de_DE 879s run-with-locales: de_DE.utf8... 879s Character set: UTF-8 879s Source file: de_DE 879s Output: /tmp/tmp.rUNxmdMWEW/de_DE.utf8 882s run-with-locales: de_DE@euro.utf8... 882s Character set: UTF-8 882s Source file: de_DE@euro 882s Output: /tmp/tmp.rUNxmdMWEW/de_DE@euro.utf8 884s run-with-locales: el_GR.utf8... 884s Character set: UTF-8 884s Source file: el_GR 884s Output: /tmp/tmp.rUNxmdMWEW/el_GR.utf8 887s run-with-locales: en_GB=ISO-8859-1... 887s Character set: ISO-8859-1 887s Source file: en_GB 887s Output: /tmp/tmp.rUNxmdMWEW/en_GB 887s run-with-locales: en_GB.utf8... 887s Character set: UTF-8 887s Source file: en_GB 887s Output: /tmp/tmp.rUNxmdMWEW/en_GB.utf8 889s run-with-locales: en_US=ISO-8859-1... 889s Character set: ISO-8859-1 889s Source file: en_US 889s Output: /tmp/tmp.rUNxmdMWEW/en_US 890s run-with-locales: en_US.utf8... 890s Character set: UTF-8 890s Source file: en_US 890s Output: /tmp/tmp.rUNxmdMWEW/en_US.utf8 893s run-with-locales: es_ES.utf8... 893s Character set: UTF-8 893s Source file: es_ES 893s Output: /tmp/tmp.rUNxmdMWEW/es_ES.utf8 896s run-with-locales: fa_IR=UTF-8... 896s Character set: UTF-8 896s Source file: fa_IR 896s Output: /tmp/tmp.rUNxmdMWEW/fa_IR 899s run-with-locales: fa_IR.utf8... 899s Character set: UTF-8 899s Source file: fa_IR 899s Output: /tmp/tmp.rUNxmdMWEW/fa_IR.utf8 902s run-with-locales: fr_FR.utf8... 902s Character set: UTF-8 902s Source file: fr_FR 902s Output: /tmp/tmp.rUNxmdMWEW/fr_FR.utf8 904s run-with-locales: hr_HR.utf8... 904s Character set: UTF-8 904s Source file: hr_HR 904s Output: /tmp/tmp.rUNxmdMWEW/hr_HR.utf8 910s run-with-locales: ja_JP.utf8... 910s Character set: UTF-8 910s Source file: ja_JP 910s Output: /tmp/tmp.rUNxmdMWEW/ja_JP.utf8 911s run-with-locales: ja_JP.EUC-JP... 911s Character set: EUC-JP 911s Source file: ja_JP 911s Output: /tmp/tmp.rUNxmdMWEW/ja_JP.eucjp 912s run-with-locales: lt_LT.utf8... 912s Character set: UTF-8 912s Source file: lt_LT 912s Output: /tmp/tmp.rUNxmdMWEW/lt_LT.utf8 917s run-with-locales: pl_PL=ISO-8859-2... 917s Character set: ISO-8859-2 917s Source file: pl_PL 917s Output: /tmp/tmp.rUNxmdMWEW/pl_PL 918s run-with-locales: pl_PL.ISO-8859-2... 918s Character set: ISO-8859-2 918s Source file: pl_PL 918s Output: /tmp/tmp.rUNxmdMWEW/pl_PL.iso88592 918s run-with-locales: pl_PL.utf8... 918s Character set: UTF-8 918s Source file: pl_PL 918s Output: /tmp/tmp.rUNxmdMWEW/pl_PL.utf8 920s run-with-locales: ru_RU=ISO-8859-5... 920s Character set: ISO-8859-5 920s Source file: ru_RU 920s Output: /tmp/tmp.rUNxmdMWEW/ru_RU 921s run-with-locales: ru_RU.utf8... 921s Character set: UTF-8 921s Source file: ru_RU 921s Output: /tmp/tmp.rUNxmdMWEW/ru_RU.utf8 930s run-with-locales: sr_RS=UTF-8... 930s Character set: UTF-8 930s Source file: sr_RS 930s Output: /tmp/tmp.rUNxmdMWEW/sr_RS 932s run-with-locales: sr_RS@latin=UTF-8... 932s Character set: UTF-8 932s Source file: sr_RS@latin 932s Output: /tmp/tmp.rUNxmdMWEW/sr_RS@latin 936s run-with-locales: sv_SE=ISO-8859-1... 936s Character set: ISO-8859-1 936s Source file: sv_SE 936s Output: /tmp/tmp.rUNxmdMWEW/sv_SE 937s run-with-locales: sv_SE.utf8... 937s Character set: UTF-8 937s Source file: sv_SE 937s Output: /tmp/tmp.rUNxmdMWEW/sv_SE.utf8 941s run-with-locales: tr_TR=ISO-8859-9... 941s Character set: ISO-8859-9 941s Source file: tr_TR 941s Output: /tmp/tmp.rUNxmdMWEW/tr_TR 942s run-with-locales: tr_TR.utf8... 942s Character set: UTF-8 942s Source file: tr_TR 942s Output: /tmp/tmp.rUNxmdMWEW/tr_TR.utf8 946s run-with-locales: tt_RU=UTF-8... 946s Character set: UTF-8 946s Source file: tt_RU 946s Output: /tmp/tmp.rUNxmdMWEW/tt_RU 953s run-with-locales: tt_RU.utf8... 953s Character set: UTF-8 953s Source file: tt_RU 953s Output: /tmp/tmp.rUNxmdMWEW/tt_RU.utf8 958s run-with-locales: tt_RU@iqtelif=UTF-8... 958s Character set: UTF-8 958s Source file: tt_RU@iqtelif 958s Output: /tmp/tmp.rUNxmdMWEW/tt_RU@iqtelif 962s /tmp/tmp.rUNxmdMWEW 962s /tmp/tmp.rUNxmdMWEW/hr_HR.utf8 962s /tmp/tmp.rUNxmdMWEW/hr_HR.utf8/LC_MEASUREMENT 962s /tmp/tmp.rUNxmdMWEW/hr_HR.utf8/LC_IDENTIFICATION 962s /tmp/tmp.rUNxmdMWEW/hr_HR.utf8/LC_PAPER 962s /tmp/tmp.rUNxmdMWEW/hr_HR.utf8/LC_CTYPE 962s /tmp/tmp.rUNxmdMWEW/hr_HR.utf8/LC_TELEPHONE 962s /tmp/tmp.rUNxmdMWEW/hr_HR.utf8/LC_ADDRESS 962s /tmp/tmp.rUNxmdMWEW/hr_HR.utf8/LC_NUMERIC 962s /tmp/tmp.rUNxmdMWEW/hr_HR.utf8/LC_MONETARY 962s /tmp/tmp.rUNxmdMWEW/hr_HR.utf8/LC_TIME 962s /tmp/tmp.rUNxmdMWEW/hr_HR.utf8/LC_COLLATE 962s /tmp/tmp.rUNxmdMWEW/hr_HR.utf8/LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/hr_HR.utf8/LC_NAME 962s /tmp/tmp.rUNxmdMWEW/sv_SE 962s /tmp/tmp.rUNxmdMWEW/sv_SE/LC_MEASUREMENT 962s /tmp/tmp.rUNxmdMWEW/sv_SE/LC_IDENTIFICATION 962s /tmp/tmp.rUNxmdMWEW/sv_SE/LC_PAPER 962s /tmp/tmp.rUNxmdMWEW/sv_SE/LC_CTYPE 962s /tmp/tmp.rUNxmdMWEW/sv_SE/LC_TELEPHONE 962s /tmp/tmp.rUNxmdMWEW/sv_SE/LC_ADDRESS 962s /tmp/tmp.rUNxmdMWEW/sv_SE/LC_NUMERIC 962s /tmp/tmp.rUNxmdMWEW/sv_SE/LC_MONETARY 962s /tmp/tmp.rUNxmdMWEW/sv_SE/LC_TIME 962s /tmp/tmp.rUNxmdMWEW/sv_SE/LC_COLLATE 962s /tmp/tmp.rUNxmdMWEW/sv_SE/LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/sv_SE/LC_NAME 962s /tmp/tmp.rUNxmdMWEW/el_GR.utf8 962s /tmp/tmp.rUNxmdMWEW/el_GR.utf8/LC_MEASUREMENT 962s /tmp/tmp.rUNxmdMWEW/el_GR.utf8/LC_IDENTIFICATION 962s /tmp/tmp.rUNxmdMWEW/el_GR.utf8/LC_PAPER 962s /tmp/tmp.rUNxmdMWEW/el_GR.utf8/LC_CTYPE 962s /tmp/tmp.rUNxmdMWEW/el_GR.utf8/LC_TELEPHONE 962s /tmp/tmp.rUNxmdMWEW/el_GR.utf8/LC_ADDRESS 962s /tmp/tmp.rUNxmdMWEW/el_GR.utf8/LC_NUMERIC 962s /tmp/tmp.rUNxmdMWEW/el_GR.utf8/LC_MONETARY 962s /tmp/tmp.rUNxmdMWEW/el_GR.utf8/LC_TIME 962s /tmp/tmp.rUNxmdMWEW/el_GR.utf8/LC_COLLATE 962s /tmp/tmp.rUNxmdMWEW/el_GR.utf8/LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/el_GR.utf8/LC_NAME 962s /tmp/tmp.rUNxmdMWEW/tt_RU 962s /tmp/tmp.rUNxmdMWEW/tt_RU/LC_MEASUREMENT 962s /tmp/tmp.rUNxmdMWEW/tt_RU/LC_IDENTIFICATION 962s /tmp/tmp.rUNxmdMWEW/tt_RU/LC_PAPER 962s /tmp/tmp.rUNxmdMWEW/tt_RU/LC_CTYPE 962s /tmp/tmp.rUNxmdMWEW/tt_RU/LC_TELEPHONE 962s /tmp/tmp.rUNxmdMWEW/tt_RU/LC_ADDRESS 962s /tmp/tmp.rUNxmdMWEW/tt_RU/LC_NUMERIC 962s /tmp/tmp.rUNxmdMWEW/tt_RU/LC_MONETARY 962s /tmp/tmp.rUNxmdMWEW/tt_RU/LC_TIME 962s /tmp/tmp.rUNxmdMWEW/tt_RU/LC_COLLATE 962s /tmp/tmp.rUNxmdMWEW/tt_RU/LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/tt_RU/LC_NAME 962s /tmp/tmp.rUNxmdMWEW/de_DE 962s /tmp/tmp.rUNxmdMWEW/de_DE/LC_MEASUREMENT 962s /tmp/tmp.rUNxmdMWEW/de_DE/LC_IDENTIFICATION 962s /tmp/tmp.rUNxmdMWEW/de_DE/LC_PAPER 962s /tmp/tmp.rUNxmdMWEW/de_DE/LC_CTYPE 962s /tmp/tmp.rUNxmdMWEW/de_DE/LC_TELEPHONE 962s /tmp/tmp.rUNxmdMWEW/de_DE/LC_ADDRESS 962s /tmp/tmp.rUNxmdMWEW/de_DE/LC_NUMERIC 962s /tmp/tmp.rUNxmdMWEW/de_DE/LC_MONETARY 962s /tmp/tmp.rUNxmdMWEW/de_DE/LC_TIME 962s /tmp/tmp.rUNxmdMWEW/de_DE/LC_COLLATE 962s /tmp/tmp.rUNxmdMWEW/de_DE/LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/de_DE/LC_NAME 962s /tmp/tmp.rUNxmdMWEW/es_ES.utf8 962s /tmp/tmp.rUNxmdMWEW/es_ES.utf8/LC_MEASUREMENT 962s /tmp/tmp.rUNxmdMWEW/es_ES.utf8/LC_IDENTIFICATION 962s /tmp/tmp.rUNxmdMWEW/es_ES.utf8/LC_PAPER 962s /tmp/tmp.rUNxmdMWEW/es_ES.utf8/LC_CTYPE 962s /tmp/tmp.rUNxmdMWEW/es_ES.utf8/LC_TELEPHONE 962s /tmp/tmp.rUNxmdMWEW/es_ES.utf8/LC_ADDRESS 962s /tmp/tmp.rUNxmdMWEW/es_ES.utf8/LC_NUMERIC 962s /tmp/tmp.rUNxmdMWEW/es_ES.utf8/LC_MONETARY 962s /tmp/tmp.rUNxmdMWEW/es_ES.utf8/LC_TIME 962s /tmp/tmp.rUNxmdMWEW/es_ES.utf8/LC_COLLATE 962s /tmp/tmp.rUNxmdMWEW/es_ES.utf8/LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/es_ES.utf8/LC_NAME 962s /tmp/tmp.rUNxmdMWEW/sr_RS 962s /tmp/tmp.rUNxmdMWEW/sr_RS/LC_MEASUREMENT 962s /tmp/tmp.rUNxmdMWEW/sr_RS/LC_IDENTIFICATION 962s /tmp/tmp.rUNxmdMWEW/sr_RS/LC_PAPER 962s /tmp/tmp.rUNxmdMWEW/sr_RS/LC_CTYPE 962s /tmp/tmp.rUNxmdMWEW/sr_RS/LC_TELEPHONE 962s /tmp/tmp.rUNxmdMWEW/sr_RS/LC_ADDRESS 962s /tmp/tmp.rUNxmdMWEW/sr_RS/LC_NUMERIC 962s /tmp/tmp.rUNxmdMWEW/sr_RS/LC_MONETARY 962s /tmp/tmp.rUNxmdMWEW/sr_RS/LC_TIME 962s /tmp/tmp.rUNxmdMWEW/sr_RS/LC_COLLATE 962s /tmp/tmp.rUNxmdMWEW/sr_RS/LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/sr_RS/LC_NAME 962s /tmp/tmp.rUNxmdMWEW/en_US 962s /tmp/tmp.rUNxmdMWEW/en_US/LC_MEASUREMENT 962s /tmp/tmp.rUNxmdMWEW/en_US/LC_IDENTIFICATION 962s /tmp/tmp.rUNxmdMWEW/en_US/LC_PAPER 962s /tmp/tmp.rUNxmdMWEW/en_US/LC_CTYPE 962s /tmp/tmp.rUNxmdMWEW/en_US/LC_TELEPHONE 962s /tmp/tmp.rUNxmdMWEW/en_US/LC_ADDRESS 962s /tmp/tmp.rUNxmdMWEW/en_US/LC_NUMERIC 962s /tmp/tmp.rUNxmdMWEW/en_US/LC_MONETARY 962s /tmp/tmp.rUNxmdMWEW/en_US/LC_TIME 962s /tmp/tmp.rUNxmdMWEW/en_US/LC_COLLATE 962s /tmp/tmp.rUNxmdMWEW/en_US/LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/en_US/LC_MESSAGES/SYS_LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/en_US/LC_NAME 962s /tmp/tmp.rUNxmdMWEW/pl_PL 962s /tmp/tmp.rUNxmdMWEW/pl_PL/LC_MEASUREMENT 962s /tmp/tmp.rUNxmdMWEW/pl_PL/LC_IDENTIFICATION 962s /tmp/tmp.rUNxmdMWEW/pl_PL/LC_PAPER 962s /tmp/tmp.rUNxmdMWEW/pl_PL/LC_CTYPE 962s /tmp/tmp.rUNxmdMWEW/pl_PL/LC_TELEPHONE 962s /tmp/tmp.rUNxmdMWEW/pl_PL/LC_ADDRESS 962s /tmp/tmp.rUNxmdMWEW/pl_PL/LC_NUMERIC 962s /tmp/tmp.rUNxmdMWEW/pl_PL/LC_MONETARY 962s /tmp/tmp.rUNxmdMWEW/pl_PL/LC_TIME 962s /tmp/tmp.rUNxmdMWEW/pl_PL/LC_COLLATE 962s /tmp/tmp.rUNxmdMWEW/pl_PL/LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/pl_PL/LC_NAME 962s /tmp/tmp.rUNxmdMWEW/fr_FR.utf8 962s /tmp/tmp.rUNxmdMWEW/fr_FR.utf8/LC_MEASUREMENT 962s /tmp/tmp.rUNxmdMWEW/fr_FR.utf8/LC_IDENTIFICATION 962s /tmp/tmp.rUNxmdMWEW/fr_FR.utf8/LC_PAPER 962s /tmp/tmp.rUNxmdMWEW/fr_FR.utf8/LC_CTYPE 962s /tmp/tmp.rUNxmdMWEW/fr_FR.utf8/LC_TELEPHONE 962s /tmp/tmp.rUNxmdMWEW/fr_FR.utf8/LC_ADDRESS 962s /tmp/tmp.rUNxmdMWEW/fr_FR.utf8/LC_NUMERIC 962s /tmp/tmp.rUNxmdMWEW/fr_FR.utf8/LC_MONETARY 962s /tmp/tmp.rUNxmdMWEW/fr_FR.utf8/LC_TIME 962s /tmp/tmp.rUNxmdMWEW/fr_FR.utf8/LC_COLLATE 962s /tmp/tmp.rUNxmdMWEW/fr_FR.utf8/LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/fr_FR.utf8/LC_NAME 962s /tmp/tmp.rUNxmdMWEW/ja_JP.utf8 962s /tmp/tmp.rUNxmdMWEW/ja_JP.utf8/LC_MEASUREMENT 962s /tmp/tmp.rUNxmdMWEW/ja_JP.utf8/LC_IDENTIFICATION 962s /tmp/tmp.rUNxmdMWEW/ja_JP.utf8/LC_PAPER 962s /tmp/tmp.rUNxmdMWEW/ja_JP.utf8/LC_CTYPE 962s /tmp/tmp.rUNxmdMWEW/ja_JP.utf8/LC_TELEPHONE 962s /tmp/tmp.rUNxmdMWEW/ja_JP.utf8/LC_ADDRESS 962s /tmp/tmp.rUNxmdMWEW/ja_JP.utf8/LC_NUMERIC 962s /tmp/tmp.rUNxmdMWEW/ja_JP.utf8/LC_MONETARY 962s /tmp/tmp.rUNxmdMWEW/ja_JP.utf8/LC_TIME 962s /tmp/tmp.rUNxmdMWEW/ja_JP.utf8/LC_COLLATE 962s /tmp/tmp.rUNxmdMWEW/ja_JP.utf8/LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/ja_JP.utf8/LC_NAME 962s /tmp/tmp.rUNxmdMWEW/sv_SE.utf8 962s /tmp/tmp.rUNxmdMWEW/sv_SE.utf8/LC_MEASUREMENT 962s /tmp/tmp.rUNxmdMWEW/sv_SE.utf8/LC_IDENTIFICATION 962s /tmp/tmp.rUNxmdMWEW/sv_SE.utf8/LC_PAPER 962s /tmp/tmp.rUNxmdMWEW/sv_SE.utf8/LC_CTYPE 962s /tmp/tmp.rUNxmdMWEW/sv_SE.utf8/LC_TELEPHONE 962s /tmp/tmp.rUNxmdMWEW/sv_SE.utf8/LC_ADDRESS 962s /tmp/tmp.rUNxmdMWEW/sv_SE.utf8/LC_NUMERIC 962s /tmp/tmp.rUNxmdMWEW/sv_SE.utf8/LC_MONETARY 962s /tmp/tmp.rUNxmdMWEW/sv_SE.utf8/LC_TIME 962s /tmp/tmp.rUNxmdMWEW/sv_SE.utf8/LC_COLLATE 962s /tmp/tmp.rUNxmdMWEW/sv_SE.utf8/LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/sv_SE.utf8/LC_NAME 962s /tmp/tmp.rUNxmdMWEW/en_GB 962s /tmp/tmp.rUNxmdMWEW/en_GB/LC_MEASUREMENT 962s /tmp/tmp.rUNxmdMWEW/en_GB/LC_IDENTIFICATION 962s /tmp/tmp.rUNxmdMWEW/en_GB/LC_PAPER 962s /tmp/tmp.rUNxmdMWEW/en_GB/LC_CTYPE 962s /tmp/tmp.rUNxmdMWEW/en_GB/LC_TELEPHONE 962s /tmp/tmp.rUNxmdMWEW/en_GB/LC_ADDRESS 962s /tmp/tmp.rUNxmdMWEW/en_GB/LC_NUMERIC 962s /tmp/tmp.rUNxmdMWEW/en_GB/LC_MONETARY 962s /tmp/tmp.rUNxmdMWEW/en_GB/LC_TIME 962s /tmp/tmp.rUNxmdMWEW/en_GB/LC_COLLATE 962s /tmp/tmp.rUNxmdMWEW/en_GB/LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/en_GB/LC_NAME 962s /tmp/tmp.rUNxmdMWEW/fa_IR.utf8 962s /tmp/tmp.rUNxmdMWEW/fa_IR.utf8/LC_MEASUREMENT 962s /tmp/tmp.rUNxmdMWEW/fa_IR.utf8/LC_IDENTIFICATION 962s /tmp/tmp.rUNxmdMWEW/fa_IR.utf8/LC_PAPER 962s /tmp/tmp.rUNxmdMWEW/fa_IR.utf8/LC_CTYPE 962s /tmp/tmp.rUNxmdMWEW/fa_IR.utf8/LC_TELEPHONE 962s /tmp/tmp.rUNxmdMWEW/fa_IR.utf8/LC_ADDRESS 962s /tmp/tmp.rUNxmdMWEW/fa_IR.utf8/LC_NUMERIC 962s /tmp/tmp.rUNxmdMWEW/fa_IR.utf8/LC_MONETARY 962s /tmp/tmp.rUNxmdMWEW/fa_IR.utf8/LC_TIME 962s /tmp/tmp.rUNxmdMWEW/fa_IR.utf8/LC_COLLATE 962s /tmp/tmp.rUNxmdMWEW/fa_IR.utf8/LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/fa_IR.utf8/LC_NAME 962s /tmp/tmp.rUNxmdMWEW/tr_TR 962s /tmp/tmp.rUNxmdMWEW/tr_TR/LC_MEASUREMENT 962s /tmp/tmp.rUNxmdMWEW/tr_TR/LC_IDENTIFICATION 962s /tmp/tmp.rUNxmdMWEW/tr_TR/LC_PAPER 962s /tmp/tmp.rUNxmdMWEW/tr_TR/LC_CTYPE 962s /tmp/tmp.rUNxmdMWEW/tr_TR/LC_TELEPHONE 962s /tmp/tmp.rUNxmdMWEW/tr_TR/LC_ADDRESS 962s /tmp/tmp.rUNxmdMWEW/tr_TR/LC_NUMERIC 962s /tmp/tmp.rUNxmdMWEW/tr_TR/LC_MONETARY 962s /tmp/tmp.rUNxmdMWEW/tr_TR/LC_TIME 962s /tmp/tmp.rUNxmdMWEW/tr_TR/LC_COLLATE 962s /tmp/tmp.rUNxmdMWEW/tr_TR/LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/tr_TR/LC_NAME 962s /tmp/tmp.rUNxmdMWEW/pl_PL.utf8 962s /tmp/tmp.rUNxmdMWEW/pl_PL.utf8/LC_MEASUREMENT 962s /tmp/tmp.rUNxmdMWEW/pl_PL.utf8/LC_IDENTIFICATION 962s /tmp/tmp.rUNxmdMWEW/pl_PL.utf8/LC_PAPER 962s /tmp/tmp.rUNxmdMWEW/pl_PL.utf8/LC_CTYPE 962s /tmp/tmp.rUNxmdMWEW/pl_PL.utf8/LC_TELEPHONE 962s /tmp/tmp.rUNxmdMWEW/pl_PL.utf8/LC_ADDRESS 962s /tmp/tmp.rUNxmdMWEW/pl_PL.utf8/LC_NUMERIC 962s /tmp/tmp.rUNxmdMWEW/pl_PL.utf8/LC_MONETARY 962s /tmp/tmp.rUNxmdMWEW/pl_PL.utf8/LC_TIME 962s /tmp/tmp.rUNxmdMWEW/pl_PL.utf8/LC_COLLATE 962s /tmp/tmp.rUNxmdMWEW/pl_PL.utf8/LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/pl_PL.utf8/LC_NAME 962s /tmp/tmp.rUNxmdMWEW/tt_RU.utf8 962s /tmp/tmp.rUNxmdMWEW/tt_RU.utf8/LC_MEASUREMENT 962s /tmp/tmp.rUNxmdMWEW/tt_RU.utf8/LC_IDENTIFICATION 962s /tmp/tmp.rUNxmdMWEW/tt_RU.utf8/LC_PAPER 962s /tmp/tmp.rUNxmdMWEW/tt_RU.utf8/LC_CTYPE 962s /tmp/tmp.rUNxmdMWEW/tt_RU.utf8/LC_TELEPHONE 962s /tmp/tmp.rUNxmdMWEW/tt_RU.utf8/LC_ADDRESS 962s /tmp/tmp.rUNxmdMWEW/tt_RU.utf8/LC_NUMERIC 962s /tmp/tmp.rUNxmdMWEW/tt_RU.utf8/LC_MONETARY 962s /tmp/tmp.rUNxmdMWEW/tt_RU.utf8/LC_TIME 962s /tmp/tmp.rUNxmdMWEW/tt_RU.utf8/LC_COLLATE 962s /tmp/tmp.rUNxmdMWEW/tt_RU.utf8/LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/tt_RU.utf8/LC_NAME 962s /tmp/tmp.rUNxmdMWEW/tt_RU@iqtelif 962s /tmp/tmp.rUNxmdMWEW/tt_RU@iqtelif/LC_MEASUREMENT 962s /tmp/tmp.rUNxmdMWEW/tt_RU@iqtelif/LC_IDENTIFICATION 962s /tmp/tmp.rUNxmdMWEW/tt_RU@iqtelif/LC_PAPER 962s /tmp/tmp.rUNxmdMWEW/tt_RU@iqtelif/LC_CTYPE 962s /tmp/tmp.rUNxmdMWEW/tt_RU@iqtelif/LC_TELEPHONE 962s /tmp/tmp.rUNxmdMWEW/tt_RU@iqtelif/LC_ADDRESS 962s /tmp/tmp.rUNxmdMWEW/tt_RU@iqtelif/LC_NUMERIC 962s /tmp/tmp.rUNxmdMWEW/tt_RU@iqtelif/LC_MONETARY 962s /tmp/tmp.rUNxmdMWEW/tt_RU@iqtelif/LC_TIME 962s /tmp/tmp.rUNxmdMWEW/tt_RU@iqtelif/LC_COLLATE 962s /tmp/tmp.rUNxmdMWEW/tt_RU@iqtelif/LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/tt_RU@iqtelif/LC_NAME 962s /tmp/tmp.rUNxmdMWEW/sr_RS@latin 962s /tmp/tmp.rUNxmdMWEW/sr_RS@latin/LC_MEASUREMENT 962s /tmp/tmp.rUNxmdMWEW/sr_RS@latin/LC_IDENTIFICATION 962s /tmp/tmp.rUNxmdMWEW/sr_RS@latin/LC_PAPER 962s /tmp/tmp.rUNxmdMWEW/sr_RS@latin/LC_CTYPE 962s /tmp/tmp.rUNxmdMWEW/sr_RS@latin/LC_TELEPHONE 962s /tmp/tmp.rUNxmdMWEW/sr_RS@latin/LC_ADDRESS 962s /tmp/tmp.rUNxmdMWEW/sr_RS@latin/LC_NUMERIC 962s /tmp/tmp.rUNxmdMWEW/sr_RS@latin/LC_MONETARY 962s /tmp/tmp.rUNxmdMWEW/sr_RS@latin/LC_TIME 962s /tmp/tmp.rUNxmdMWEW/sr_RS@latin/LC_COLLATE 962s /tmp/tmp.rUNxmdMWEW/sr_RS@latin/LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/sr_RS@latin/LC_NAME 962s /tmp/tmp.rUNxmdMWEW/de_DE@euro.utf8 962s /tmp/tmp.rUNxmdMWEW/de_DE@euro.utf8/LC_MEASUREMENT 962s /tmp/tmp.rUNxmdMWEW/de_DE@euro.utf8/LC_IDENTIFICATION 962s /tmp/tmp.rUNxmdMWEW/de_DE@euro.utf8/LC_PAPER 962s /tmp/tmp.rUNxmdMWEW/de_DE@euro.utf8/LC_CTYPE 962s /tmp/tmp.rUNxmdMWEW/de_DE@euro.utf8/LC_TELEPHONE 962s /tmp/tmp.rUNxmdMWEW/de_DE@euro.utf8/LC_ADDRESS 962s /tmp/tmp.rUNxmdMWEW/de_DE@euro.utf8/LC_NUMERIC 962s /tmp/tmp.rUNxmdMWEW/de_DE@euro.utf8/LC_MONETARY 962s /tmp/tmp.rUNxmdMWEW/de_DE@euro.utf8/LC_TIME 962s /tmp/tmp.rUNxmdMWEW/de_DE@euro.utf8/LC_COLLATE 962s /tmp/tmp.rUNxmdMWEW/de_DE@euro.utf8/LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/de_DE@euro.utf8/LC_NAME 962s /tmp/tmp.rUNxmdMWEW/fa_IR 962s /tmp/tmp.rUNxmdMWEW/fa_IR/LC_MEASUREMENT 962s /tmp/tmp.rUNxmdMWEW/fa_IR/LC_IDENTIFICATION 962s /tmp/tmp.rUNxmdMWEW/fa_IR/LC_PAPER 962s /tmp/tmp.rUNxmdMWEW/fa_IR/LC_CTYPE 962s /tmp/tmp.rUNxmdMWEW/fa_IR/LC_TELEPHONE 962s /tmp/tmp.rUNxmdMWEW/fa_IR/LC_ADDRESS 962s /tmp/tmp.rUNxmdMWEW/fa_IR/LC_NUMERIC 962s /tmp/tmp.rUNxmdMWEW/fa_IR/LC_MONETARY 962s /tmp/tmp.rUNxmdMWEW/fa_IR/LC_TIME 962s /tmp/tmp.rUNxmdMWEW/fa_IR/LC_COLLATE 962s /tmp/tmp.rUNxmdMWEW/fa_IR/LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/fa_IR/LC_NAME 962s /tmp/tmp.rUNxmdMWEW/en_US.utf8 962s /tmp/tmp.rUNxmdMWEW/en_US.utf8/LC_MEASUREMENT 962s /tmp/tmp.rUNxmdMWEW/en_US.utf8/LC_IDENTIFICATION 962s /tmp/tmp.rUNxmdMWEW/en_US.utf8/LC_PAPER 962s /tmp/tmp.rUNxmdMWEW/en_US.utf8/LC_CTYPE 962s /tmp/tmp.rUNxmdMWEW/en_US.utf8/LC_TELEPHONE 962s /tmp/tmp.rUNxmdMWEW/en_US.utf8/LC_ADDRESS 962s /tmp/tmp.rUNxmdMWEW/en_US.utf8/LC_NUMERIC 962s /tmp/tmp.rUNxmdMWEW/en_US.utf8/LC_MONETARY 962s /tmp/tmp.rUNxmdMWEW/en_US.utf8/LC_TIME 962s /tmp/tmp.rUNxmdMWEW/en_US.utf8/LC_COLLATE 962s /tmp/tmp.rUNxmdMWEW/en_US.utf8/LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/en_US.utf8/LC_NAME 962s /tmp/tmp.rUNxmdMWEW/tr_TR.utf8 962s /tmp/tmp.rUNxmdMWEW/tr_TR.utf8/LC_MEASUREMENT 962s /tmp/tmp.rUNxmdMWEW/tr_TR.utf8/LC_IDENTIFICATION 962s /tmp/tmp.rUNxmdMWEW/tr_TR.utf8/LC_PAPER 962s /tmp/tmp.rUNxmdMWEW/tr_TR.utf8/LC_CTYPE 962s /tmp/tmp.rUNxmdMWEW/tr_TR.utf8/LC_TELEPHONE 962s /tmp/tmp.rUNxmdMWEW/tr_TR.utf8/LC_ADDRESS 962s /tmp/tmp.rUNxmdMWEW/tr_TR.utf8/LC_NUMERIC 962s /tmp/tmp.rUNxmdMWEW/tr_TR.utf8/LC_MONETARY 962s /tmp/tmp.rUNxmdMWEW/tr_TR.utf8/LC_TIME 962s /tmp/tmp.rUNxmdMWEW/tr_TR.utf8/LC_COLLATE 962s /tmp/tmp.rUNxmdMWEW/tr_TR.utf8/LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/tr_TR.utf8/LC_NAME 962s /tmp/tmp.rUNxmdMWEW/lt_LT.utf8 962s /tmp/tmp.rUNxmdMWEW/lt_LT.utf8/LC_MEASUREMENT 962s /tmp/tmp.rUNxmdMWEW/lt_LT.utf8/LC_IDENTIFICATION 962s /tmp/tmp.rUNxmdMWEW/lt_LT.utf8/LC_PAPER 962s /tmp/tmp.rUNxmdMWEW/lt_LT.utf8/LC_CTYPE 962s /tmp/tmp.rUNxmdMWEW/lt_LT.utf8/LC_TELEPHONE 962s /tmp/tmp.rUNxmdMWEW/lt_LT.utf8/LC_ADDRESS 962s /tmp/tmp.rUNxmdMWEW/lt_LT.utf8/LC_NUMERIC 962s /tmp/tmp.rUNxmdMWEW/lt_LT.utf8/LC_MONETARY 962s /tmp/tmp.rUNxmdMWEW/lt_LT.utf8/LC_TIME 962s /tmp/tmp.rUNxmdMWEW/lt_LT.utf8/LC_COLLATE 962s /tmp/tmp.rUNxmdMWEW/lt_LT.utf8/LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/lt_LT.utf8/LC_NAME 962s /tmp/tmp.rUNxmdMWEW/ja_JP.eucjp 962s /tmp/tmp.rUNxmdMWEW/ja_JP.eucjp/LC_MEASUREMENT 962s /tmp/tmp.rUNxmdMWEW/ja_JP.eucjp/LC_IDENTIFICATION 962s /tmp/tmp.rUNxmdMWEW/ja_JP.eucjp/LC_PAPER 962s /tmp/tmp.rUNxmdMWEW/ja_JP.eucjp/LC_CTYPE 962s /tmp/tmp.rUNxmdMWEW/ja_JP.eucjp/LC_TELEPHONE 962s /tmp/tmp.rUNxmdMWEW/ja_JP.eucjp/LC_ADDRESS 962s /tmp/tmp.rUNxmdMWEW/ja_JP.eucjp/LC_NUMERIC 962s /tmp/tmp.rUNxmdMWEW/ja_JP.eucjp/LC_MONETARY 962s /tmp/tmp.rUNxmdMWEW/ja_JP.eucjp/LC_TIME 962s /tmp/tmp.rUNxmdMWEW/ja_JP.eucjp/LC_COLLATE 962s /tmp/tmp.rUNxmdMWEW/ja_JP.eucjp/LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/ja_JP.eucjp/LC_NAME 962s /tmp/tmp.rUNxmdMWEW/ru_RU.utf8 962s /tmp/tmp.rUNxmdMWEW/ru_RU.utf8/LC_MEASUREMENT 962s /tmp/tmp.rUNxmdMWEW/ru_RU.utf8/LC_IDENTIFICATION 962s /tmp/tmp.rUNxmdMWEW/ru_RU.utf8/LC_PAPER 962s /tmp/tmp.rUNxmdMWEW/ru_RU.utf8/LC_CTYPE 962s /tmp/tmp.rUNxmdMWEW/ru_RU.utf8/LC_TELEPHONE 962s /tmp/tmp.rUNxmdMWEW/ru_RU.utf8/LC_ADDRESS 962s /tmp/tmp.rUNxmdMWEW/ru_RU.utf8/LC_NUMERIC 962s /tmp/tmp.rUNxmdMWEW/ru_RU.utf8/LC_MONETARY 962s /tmp/tmp.rUNxmdMWEW/ru_RU.utf8/LC_TIME 962s /tmp/tmp.rUNxmdMWEW/ru_RU.utf8/LC_COLLATE 962s /tmp/tmp.rUNxmdMWEW/ru_RU.utf8/LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/ru_RU.utf8/LC_NAME 962s /tmp/tmp.rUNxmdMWEW/de_DE.utf8 962s /tmp/tmp.rUNxmdMWEW/de_DE.utf8/LC_MEASUREMENT 962s /tmp/tmp.rUNxmdMWEW/de_DE.utf8/LC_IDENTIFICATION 962s /tmp/tmp.rUNxmdMWEW/de_DE.utf8/LC_PAPER 962s /tmp/tmp.rUNxmdMWEW/de_DE.utf8/LC_CTYPE 962s /tmp/tmp.rUNxmdMWEW/de_DE.utf8/LC_TELEPHONE 962s /tmp/tmp.rUNxmdMWEW/de_DE.utf8/LC_ADDRESS 962s /tmp/tmp.rUNxmdMWEW/de_DE.utf8/LC_NUMERIC 962s /tmp/tmp.rUNxmdMWEW/de_DE.utf8/LC_MONETARY 962s /tmp/tmp.rUNxmdMWEW/de_DE.utf8/LC_TIME 962s /tmp/tmp.rUNxmdMWEW/de_DE.utf8/LC_COLLATE 962s /tmp/tmp.rUNxmdMWEW/de_DE.utf8/LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/de_DE.utf8/LC_NAME 962s /tmp/tmp.rUNxmdMWEW/ru_RU 962s /tmp/tmp.rUNxmdMWEW/ru_RU/LC_MEASUREMENT 962s /tmp/tmp.rUNxmdMWEW/ru_RU/LC_IDENTIFICATION 962s /tmp/tmp.rUNxmdMWEW/ru_RU/LC_PAPER 962s /tmp/tmp.rUNxmdMWEW/ru_RU/LC_CTYPE 962s /tmp/tmp.rUNxmdMWEW/ru_RU/LC_TELEPHONE 962s /tmp/tmp.rUNxmdMWEW/ru_RU/LC_ADDRESS 962s /tmp/tmp.rUNxmdMWEW/ru_RU/LC_NUMERIC 962s /tmp/tmp.rUNxmdMWEW/ru_RU/LC_MONETARY 962s /tmp/tmp.rUNxmdMWEW/ru_RU/LC_TIME 962s /tmp/tmp.rUNxmdMWEW/ru_RU/LC_COLLATE 962s /tmp/tmp.rUNxmdMWEW/ru_RU/LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/ru_RU/LC_NAME 962s /tmp/tmp.rUNxmdMWEW/pl_PL.iso88592 962s /tmp/tmp.rUNxmdMWEW/pl_PL.iso88592/LC_MEASUREMENT 962s /tmp/tmp.rUNxmdMWEW/pl_PL.iso88592/LC_IDENTIFICATION 962s /tmp/tmp.rUNxmdMWEW/pl_PL.iso88592/LC_PAPER 962s /tmp/tmp.rUNxmdMWEW/pl_PL.iso88592/LC_CTYPE 962s /tmp/tmp.rUNxmdMWEW/pl_PL.iso88592/LC_TELEPHONE 962s /tmp/tmp.rUNxmdMWEW/pl_PL.iso88592/LC_ADDRESS 962s /tmp/tmp.rUNxmdMWEW/pl_PL.iso88592/LC_NUMERIC 962s /tmp/tmp.rUNxmdMWEW/pl_PL.iso88592/LC_MONETARY 962s /tmp/tmp.rUNxmdMWEW/pl_PL.iso88592/LC_TIME 962s /tmp/tmp.rUNxmdMWEW/pl_PL.iso88592/LC_COLLATE 962s /tmp/tmp.rUNxmdMWEW/pl_PL.iso88592/LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/pl_PL.iso88592/LC_NAME 962s /tmp/tmp.rUNxmdMWEW/en_GB.utf8 962s /tmp/tmp.rUNxmdMWEW/en_GB.utf8/LC_MEASUREMENT 962s /tmp/tmp.rUNxmdMWEW/en_GB.utf8/LC_IDENTIFICATION 962s /tmp/tmp.rUNxmdMWEW/en_GB.utf8/LC_PAPER 962s /tmp/tmp.rUNxmdMWEW/en_GB.utf8/LC_CTYPE 962s /tmp/tmp.rUNxmdMWEW/en_GB.utf8/LC_TELEPHONE 962s /tmp/tmp.rUNxmdMWEW/en_GB.utf8/LC_ADDRESS 962s /tmp/tmp.rUNxmdMWEW/en_GB.utf8/LC_NUMERIC 962s /tmp/tmp.rUNxmdMWEW/en_GB.utf8/LC_MONETARY 962s /tmp/tmp.rUNxmdMWEW/en_GB.utf8/LC_TIME 962s /tmp/tmp.rUNxmdMWEW/en_GB.utf8/LC_COLLATE 962s /tmp/tmp.rUNxmdMWEW/en_GB.utf8/LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 962s /tmp/tmp.rUNxmdMWEW/en_GB.utf8/LC_NAME 962s 1..319 962s # Running test: glib/date.test 962s TAP version 14 962s # random seed: R02Sdb4e5b83aa1ae874951307dfe363e5cb 962s 1..121 962s # Start of date tests 962s ok 1 /date/basic 962s ok 2 /date/empty 962s ok 3 /date/dmy 962s ok 4 /date/julian 962s ok 5 /date/compare 962s ok 6 /date/dates 962s ok 7 /date/strftime 962s ok 8 /date/two-digit-years 962s ok 9 /date/parse 962s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 962s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 962s ok 11 /date/month_substring 962s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 962s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 962s ok 13 /date/clamp 962s ok 14 /date/order 962s ok 15 /date/copy 962s # Vector 0: 0000-00-00, invalid 962s # Vector 1: 0001-01-01, valid 962s # Vector 2: 0000-01-01, invalid 962s # Vector 3: 2000-02-30, invalid 962s # Vector 4: 2000-02-29, valid 962s # Vector 5: 2001-02-29, invalid 962s # Vector 6: 65535-01-01, valid 962s ok 16 /date/valid-dmy 962s # Start of parse tests 962s # Test 0 962s # Test 1 962s ok 17 /date/parse/invalid 962s # End of parse tests 962s # Start of year tests 962s ok 18 /date/year/1 962s ok 19 /date/year/2 962s ok 20 /date/year/3 962s ok 21 /date/year/4 962s ok 22 /date/year/5 962s ok 23 /date/year/6 962s ok 24 /date/year/7 962s ok 25 /date/year/8 962s ok 26 /date/year/9 962s ok 27 /date/year/10 962s ok 28 /date/year/11 962s ok 29 /date/year/12 962s ok 30 /date/year/13 962s ok 31 /date/year/14 962s ok 32 /date/year/98 962s ok 33 /date/year/99 962s ok 34 /date/year/100 962s ok 35 /date/year/101 962s ok 36 /date/year/102 962s ok 37 /date/year/103 962s ok 38 /date/year/397 962s ok 39 /date/year/398 962s ok 40 /date/year/399 962s ok 41 /date/year/400 962s ok 42 /date/year/401 962s ok 43 /date/year/402 962s ok 44 /date/year/403 962s ok 45 /date/year/404 962s ok 46 /date/year/405 962s ok 47 /date/year/406 962s ok 48 /date/year/1598 962s ok 49 /date/year/1599 962s ok 50 /date/year/1600 962s ok 51 /date/year/1601 962s ok 52 /date/year/1602 962s ok 53 /date/year/1650 962s ok 54 /date/year/1651 962s ok 55 /date/year/1897 962s ok 56 /date/year/1898 962s ok 57 /date/year/1899 962s ok 58 /date/year/1900 962s ok 59 /date/year/1901 962s ok 60 /date/year/1902 962s ok 61 /date/year/1903 962s ok 62 /date/year/1961 962s ok 63 /date/year/1962 962s ok 64 /date/year/1963 962s ok 65 /date/year/1964 962s ok 66 /date/year/1965 962s ok 67 /date/year/1967 962s ok 68 /date/year/1968 962s ok 69 /date/year/1969 962s ok 70 /date/year/1970 962s ok 71 /date/year/1971 962s ok 72 /date/year/1972 962s ok 73 /date/year/1973 962s ok 74 /date/year/1974 962s ok 75 /date/year/1975 962s ok 76 /date/year/1976 962s ok 77 /date/year/1977 962s ok 78 /date/year/1978 962s ok 79 /date/year/1979 962s ok 80 /date/year/1980 962s ok 81 /date/year/1981 962s ok 82 /date/year/1982 962s ok 83 /date/year/1983 962s ok 84 /date/year/1984 962s ok 85 /date/year/1985 962s ok 86 /date/year/1986 962s ok 87 /date/year/1987 962s ok 88 /date/year/1988 962s ok 89 /date/year/1989 962s ok 90 /date/year/1990 962s ok 91 /date/year/1991 962s ok 92 /date/year/1992 962s ok 93 /date/year/1993 962s ok 94 /date/year/1994 962s ok 95 /date/year/1995 962s ok 96 /date/year/1996 962s ok 97 /date/year/1997 962s ok 98 /date/year/1998 962s ok 99 /date/year/1999 962s ok 100 /date/year/2000 962s ok 101 /date/year/2001 962s ok 102 /date/year/2002 962s ok 103 /date/year/2003 962s ok 104 /date/year/2004 962s ok 105 /date/year/2005 962s ok 106 /date/year/2006 962s ok 107 /date/year/2007 962s ok 108 /date/year/2008 962s ok 109 /date/year/2009 962s ok 110 /date/year/2010 962s ok 111 /date/year/2011 962s ok 112 /date/year/2012 963s ok 113 /date/year/3000 963s ok 114 /date/year/3001 963s ok 115 /date/year/3002 963s ok 116 /date/year/3998 963s ok 117 /date/year/3999 963s ok 118 /date/year/4000 963s ok 119 /date/year/4001 963s ok 120 /date/year/4002 963s ok 121 /date/year/4003 963s # End of year tests 963s # End of date tests 963s ok - glib/date.test 963s # Running test: glib/hostutils.test 963s TAP version 14 963s # random seed: R02Sd643b40b30880947fdf941309127ca0c 963s 1..3 963s # Start of hostutils tests 963s ok 1 /hostutils/to_ascii 963s ok 2 /hostutils/to_unicode 963s ok 3 /hostutils/is_ip_addr 963s # End of hostutils tests 963s ok - glib/hostutils.test 963s # Running test: glib/tls-interaction.test 963s TAP version 14 963s # random seed: R02Sc23e410c108f907ba7e79724f1133964 963s 1..42 963s # Start of tls-interaction tests 963s # Start of ask-password tests 963s # Start of invoke-with-loop tests 963s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 963s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 963s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 963s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 963s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 963s # End of invoke-with-loop tests 963s # Start of invoke-without-loop tests 963s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 963s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 963s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 963s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 963s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 963s # End of invoke-without-loop tests 963s # Start of invoke-in-loop tests 963s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 963s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 963s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 963s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 963s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 963s # End of invoke-in-loop tests 963s # Start of sync tests 963s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 963s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 963s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 963s # End of sync tests 963s # Start of async tests 963s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 963s ok 20 /tls-interaction/ask-password/async/async-implementation-success 963s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 963s # End of async tests 963s # End of ask-password tests 963s # Start of request-certificate tests 963s # Start of invoke-with-loop tests 963s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 963s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 963s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 963s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 963s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 963s # End of invoke-with-loop tests 963s # Start of invoke-without-loop tests 963s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 963s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 963s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 963s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 963s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 963s # End of invoke-without-loop tests 963s # Start of invoke-in-loop tests 963s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 963s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 963s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 963s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 963s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 963s # End of invoke-in-loop tests 963s # Start of sync tests 963s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 963s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 963s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 963s # End of sync tests 963s # Start of async tests 963s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 963s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 963s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 963s # End of async tests 963s # End of request-certificate tests 963s # End of tls-interaction tests 963s ok - glib/tls-interaction.test 963s # Running test: glib/gdbus-subscribe.test 963s TAP version 14 963s # random seed: R02S700d23e3b7d0c2cea4489dddf973bd0f 963s 1..24 963s # Start of gdbus tests 963s # Start of subscribe tests 963s # Start of conn tests 963s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/simple/.dirs/home 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/simple/.dirs/cache 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/simple/.dirs/system-config2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/simple/.dirs/config 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/simple/.dirs/system-data2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/simple/.dirs/data 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/simple/.dirs/state 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/simple/.dirs/runtime 963s # subscriber is :1.0 963s # service is :1.1 963s # service 2 is :1.2 963s # attacker is :1.3 963s # Waiting for AddMatch to be processed 963s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 963s # Step 0: emitting signal 963s # Sender: service 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Step 1: adding subscription 963s # Sender: (any) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Subscribing via connection 963s # Waiting for AddMatch to be processed 963s # Step 2: emitting signal 963s # Sender: service 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via connection 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 2 963s # Received Finished signal from subscriber :1.0 963s # Received Finished signal from service :1.1 963s # Received Finished signal from service 2 :1.2 963s # Received Finished signal from attacker :1.3 963s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 963s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s ok 1 /gdbus/subscribe/conn/simple 963s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 963s # subscriber is :1.0 963s # service is :1.1 963s # service 2 is :1.2 963s # attacker is :1.3 963s # Waiting for AddMatch to be processed 963s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 963s # Step 0: adding subscription 963s # Sender: (any) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Subscribing via connection 963s # Waiting for AddMatch to be processed 963s # Step 1: emitting signal 963s # Sender: service 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Step 2: emitting signal 963s # Sender: service 2 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Step 3: emitting signal 963s # Sender: service 963s # Destination: subscriber :1.0 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Step 4: emitting signal 963s # Sender: service 2 963s # Destination: subscriber :1.0 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via connection 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 1 963s # Signal received from service 2 :1.2 963s # Signal received from service 2 :1.2 via connection 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 2 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via connection 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 3 963s # Signal received from service 2 :1.2 963s # Signal received from service 2 :1.2 via connection 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 4 963s # Received Finished signal from subscriber :1.0 963s # Received Finished signal from service :1.1 963s # Received Finished signal from service 2 :1.2 963s # Received Finished signal from attacker :1.3 963s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 963s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 963s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 963s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 963s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/match_twice/.dirs/home 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/match_twice/.dirs/cache 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/match_twice/.dirs/system-config2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/match_twice/.dirs/config 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/match_twice/.dirs/system-data2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/match_twice/.dirs/data 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/match_twice/.dirs/state 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/match_twice/.dirs/runtime 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 963s # subscriber is :1.0 963s # service is :1.1 963s # service 2 is :1.2 963s # attacker is :1.3 963s # Waiting for AddMatch to be processed 963s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 963s # Step 0: adding subscription 963s # Sender: service :1.1 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Subscribing via connection 963s # Waiting for AddMatch to be processed 963s # Step 1: adding subscription 963s # Sender: (any) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: (any) 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Subscribing via connection 963s # Waiting for AddMatch to be processed 963s # Step 2: adding subscription 963s # Sender: (any) 963s # Path: (any) 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Subscribing via connection 963s # Waiting for AddMatch to be processed 963s # Step 3: adding subscription 963s # Sender: service :1.1 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Subscribing via connection 963s # Waiting for AddMatch to be processed 963s # Step 4: emitting signal 963s # Sender: service 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via connection 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 4 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via connection 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 4 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via connection 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 4 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via connection 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 4 963s # Received Finished signal from subscriber :1.0 963s # Received Finished signal from service :1.1 963s # Received Finished signal from service 2 :1.2 963s # Received Finished signal from attacker :1.3 963s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s ok 3 /gdbus/subscribe/conn/match_twice 963s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 963s # subscriber is :1.0 963s # service is :1.1 963s # service 2 is :1.2 963s # attacker is :1.3 963s # Waiting for AddMatch to be processed 963s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 963s # Step 0: adding subscription 963s # Sender: service :1.1 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Subscribing via connection 963s # Waiting for AddMatch to be processed 963s # Step 1: emitting signal 963s # Sender: attacker 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Step 2: emitting signal 963s # Sender: attacker 963s # Destination: subscriber :1.0 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Step 3: emitting signal 963s # Sender: service 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via connection 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 3 963s # Received Finished signal from subscriber :1.0 963s # Received Finished signal from service :1.1 963s # Received Finished signal from service 2 :1.2 963s # Received Finished signal from attacker :1.3 963s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 963s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 963s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 963s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 963s # subscriber is :1.0 963s # service is :1.1 963s # service 2 is :1.2 963s # attacker is :1.3 963s # Waiting for AddMatch to be processed 963s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 963s # Step 0: adding subscription 963s # Sender: :0.this.had.better.not.exist 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Subscribing via connection 963s # Waiting for AddMatch to be processed 963s # Step 1: emitting signal 963s # Sender: attacker 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Step 2: emitting signal 963s # Sender: attacker 963s # Destination: subscriber :1.0 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Received Finished signal from subscriber :1.0 963s # Received Finished signal from service :1.1 963s # Received Finished signal from service 2 :1.2 963s # Received Finished signal from attacker :1.3 963s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 963s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 963s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 963s # subscriber is :1.0 963s # service is :1.1 963s # service 2 is :1.2 963s # attacker is :1.3 963s # Waiting for AddMatch to be processed 963s # /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 963s # Step 0: claiming bus name 963s # Name: org.gtk.Test.AlreadyOwned 963s # Owner: service 963s # Step 1: adding subscription 963s # Sender: org.gtk.Test.AlreadyOwned 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Subscribing via connection 963s # Waiting for AddMatch to be processed 963s # Step 2: adding subscription 963s # Sender: org.gtk.Test.OwnedLater 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Subscribing via connection 963s # Waiting for AddMatch to be processed 963s # Step 3: emitting signal 963s # Sender: attacker 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Step 4: emitting signal 963s # Sender: attacker 963s # Destination: subscriber :1.0 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Step 5: emitting signal 963s # Sender: service 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Step 6: claiming bus name 963s # Name: org.gtk.Test.OwnedLater 963s # Owner: service 963s # Step 7: emitting signal 963s # Sender: service 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via connection 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 5 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via connection 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 7 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via connection 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 7 963s # Received Finished signal from subscriber :1.0 963s # Received Finished signal from service :1.1 963s # Received Finished signal from service 2 :1.2 963s # Received Finished signal from attacker :1.3 963s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 963s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 963s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 963s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 963s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 963s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 963s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 963s # subscriber is :1.0 963s # service is :1.1 963s # service 2 is :1.2 963s # attacker is :1.3 963s # Waiting for AddMatch to be processed 963s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 963s # Step 0: adding subscription 963s # Sender: org.freedesktop.DBus 963s # Path: /org/freedesktop/DBus 963s # Interface: org.freedesktop.DBus 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Subscribing via connection 963s # Waiting for AddMatch to be processed 963s # Step 1: emitting signal 963s # Sender: attacker 963s # Destination: (broadcast) 963s # Path: /org/freedesktop/DBus 963s # Interface: org.freedesktop.DBus 963s # Member: NameOwnerChanged 963s # String argument 0: would I lie to you? 963s # Waiting for signal to reach message bus 963s # Step 2: emitting signal 963s # Sender: attacker 963s # Destination: subscriber :1.0 963s # Path: /org/freedesktop/DBus 963s # Interface: org.freedesktop.DBus 963s # Member: NameOwnerChanged 963s # Waiting for signal to reach message bus 963s # Step 3: claiming bus name 963s # Name: org.gtk.Test.OwnedLater 963s # Owner: service 963s # Signal received from message bus org.freedesktop.DBus 963s # Signal received from (unused) org.freedesktop.DBus via connection 963s # Path: /org/freedesktop/DBus 963s # Interface: org.freedesktop.DBus 963s # Member: NameOwnerChanged 963s # Received Finished signal from subscriber :1.0 963s # Received Finished signal from service :1.1 963s # Received Finished signal from service 2 :1.2 963s # Received Finished signal from attacker :1.3 963s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 963s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 963s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 963s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 963s # subscriber is :1.0 963s # service is :1.1 963s # service 2 is :1.2 963s # attacker is :1.3 963s # Waiting for AddMatch to be processed 963s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 963s # Step 0: claiming bus name 963s # Name: org.gtk.Test.AlreadyOwned 963s # Owner: service 963s # Step 1: adding subscription 963s # Sender: org.gtk.Test.AlreadyOwned 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Subscribing via connection 963s # Immediately unsubscribing 963s # Waiting for AddMatch to be processed 963s # Step 2: emitting signal 963s # Sender: service 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Received Finished signal from subscriber :1.0 963s # Received Finished signal from service :1.1 963s # Received Finished signal from service 2 :1.2 963s # Received Finished signal from attacker :1.3 963s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 963s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 963s # End of conn tests 963s # Start of proxy tests 963s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/simple/.dirs/home 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/simple/.dirs/cache 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/simple/.dirs/system-config2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/simple/.dirs/config 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/simple/.dirs/system-data2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/simple/.dirs/data 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/simple/.dirs/state 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/simple/.dirs/runtime 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 963s # subscriber is :1.0 963s # service is :1.1 963s # service 2 is :1.2 963s # attacker is :1.3 963s # Waiting for AddMatch to be processed 963s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 963s # Step 0: emitting signal 963s # Sender: service 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Step 1: adding subscription 963s # Sender: (any) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Cannot subscribe via proxy: no bus name 963s # Waiting for AddMatch to be processed 963s # Step 2: emitting signal 963s # Sender: service 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Received Finished signal from subscriber :1.0 963s # Received Finished signal from service :1.1 963s # Received Finished signal from service 2 :1.2 963s # Received Finished signal from attacker :1.3 963s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 963s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s ok 9 /gdbus/subscribe/proxy/simple 963s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 963s # subscriber is :1.0 963s # service is :1.1 963s # service 2 is :1.2 963s # attacker is :1.3 963s # Waiting for AddMatch to be processed 963s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 963s # Step 0: adding subscription 963s # Sender: (any) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Cannot subscribe via proxy: no bus name 963s # Waiting for AddMatch to be processed 963s # Step 1: emitting signal 963s # Sender: service 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Step 2: emitting signal 963s # Sender: service 2 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Step 3: emitting signal 963s # Sender: service 963s # Destination: subscriber :1.0 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Step 4: emitting signal 963s # Sender: service 2 963s # Destination: subscriber :1.0 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Received Finished signal from subscriber :1.0 963s # Received Finished signal from service :1.1 963s # Received Finished signal from service 2 :1.2 963s # Received Finished signal from attacker :1.3 963s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 963s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 963s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 963s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 963s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/match_twice/.dirs/home 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/match_twice/.dirs/cache 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/match_twice/.dirs/config 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/match_twice/.dirs/data 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/match_twice/.dirs/state 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/match_twice/.dirs/runtime 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 963s # subscriber is :1.0 963s # service is :1.1 963s # service 2 is :1.2 963s # attacker is :1.3 963s # Waiting for AddMatch to be processed 963s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 963s # Step 0: adding subscription 963s # Sender: service :1.1 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Subscribing via proxy 963s # Waiting for AddMatch to be processed 963s # Step 1: adding subscription 963s # Sender: (any) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: (any) 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Cannot subscribe via proxy: no bus name 963s # Waiting for AddMatch to be processed 963s # Step 2: adding subscription 963s # Sender: (any) 963s # Path: (any) 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Cannot subscribe via proxy: no bus name 963s # Waiting for AddMatch to be processed 963s # Step 3: adding subscription 963s # Sender: service :1.1 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Subscribing via proxy 963s # Waiting for AddMatch to be processed 963s # Step 4: emitting signal 963s # Sender: service 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via proxy 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 4 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via proxy 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 4 963s # Received Finished signal from subscriber :1.0 963s # Received Finished signal from service :1.1 963s # Received Finished signal from service 2 :1.2 963s # Received Finished signal from attacker :1.3 963s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s ok 11 /gdbus/subscribe/proxy/match_twice 963s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 963s # subscriber is :1.0 963s # service is :1.1 963s # service 2 is :1.2 963s # attacker is :1.3 963s # Waiting for AddMatch to be processed 963s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 963s # Step 0: adding subscription 963s # Sender: service :1.1 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Subscribing via proxy 963s # Waiting for AddMatch to be processed 963s # Step 1: emitting signal 963s # Sender: attacker 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Step 2: emitting signal 963s # Sender: attacker 963s # Destination: subscriber :1.0 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Step 3: emitting signal 963s # Sender: service 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via proxy 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 3 963s # Received Finished signal from subscriber :1.0 963s # Received Finished signal from service :1.1 963s # Received Finished signal from service 2 :1.2 963s # Received Finished signal from attacker :1.3 963s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 963s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 963s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 963s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 963s # subscriber is :1.0 963s # service is :1.1 963s # service 2 is :1.2 963s # attacker is :1.3 963s # Waiting for AddMatch to be processed 963s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 963s # Step 0: adding subscription 963s # Sender: :0.this.had.better.not.exist 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Subscribing via proxy 963s # Waiting for AddMatch to be processed 963s # Step 1: emitting signal 963s # Sender: attacker 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Step 2: emitting signal 963s # Sender: attacker 963s # Destination: subscriber :1.0 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Received Finished signal from subscriber :1.0 963s # Received Finished signal from service :1.1 963s # Received Finished signal from service 2 :1.2 963s # Received Finished signal from attacker :1.3 963s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 963s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 963s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 963s # subscriber is :1.0 963s # service is :1.1 963s # service 2 is :1.2 963s # attacker is :1.3 963s # Waiting for AddMatch to be processed 963s # /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 963s # Step 0: claiming bus name 963s # Name: org.gtk.Test.AlreadyOwned 963s # Owner: service 963s # Step 1: adding subscription 963s # Sender: org.gtk.Test.AlreadyOwned 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Subscribing via proxy 963s # Waiting for AddMatch to be processed 963s # Step 2: adding subscription 963s # Sender: org.gtk.Test.OwnedLater 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Subscribing via proxy 963s # Waiting for AddMatch to be processed 963s # Step 3: emitting signal 963s # Sender: attacker 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Step 4: emitting signal 963s # Sender: attacker 963s # Destination: subscriber :1.0 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Step 5: emitting signal 963s # Sender: service 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Step 6: claiming bus name 963s # Name: org.gtk.Test.OwnedLater 963s # Owner: service 963s # Step 7: emitting signal 963s # Sender: service 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via proxy 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 5 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via proxy 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 7 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via proxy 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 7 963s # Received Finished signal from subscriber :1.0 963s # Received Finished signal from service :1.1 963s # Received Finished signal from service 2 :1.2 963s # Received Finished signal from attacker :1.3 963s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 963s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 963s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 963s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 963s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 963s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 963s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 963s # subscriber is :1.0 963s # service is :1.1 963s # service 2 is :1.2 963s # attacker is :1.3 963s # Waiting for AddMatch to be processed 963s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 963s # Step 0: adding subscription 963s # Sender: org.freedesktop.DBus 963s # Path: /org/freedesktop/DBus 963s # Interface: org.freedesktop.DBus 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Subscribing via proxy 963s # Waiting for AddMatch to be processed 963s # Step 1: emitting signal 963s # Sender: attacker 963s # Destination: (broadcast) 963s # Path: /org/freedesktop/DBus 963s # Interface: org.freedesktop.DBus 963s # Member: NameOwnerChanged 963s # String argument 0: would I lie to you? 963s # Waiting for signal to reach message bus 963s # Step 2: emitting signal 963s # Sender: attacker 963s # Destination: subscriber :1.0 963s # Path: /org/freedesktop/DBus 963s # Interface: org.freedesktop.DBus 963s # Member: NameOwnerChanged 963s # Waiting for signal to reach message bus 963s # Step 3: claiming bus name 963s # Name: org.gtk.Test.OwnedLater 963s # Owner: service 963s # Signal received from message bus org.freedesktop.DBus 963s # Signal received from (unused) org.freedesktop.DBus via proxy 963s # Path: /org/freedesktop/DBus 963s # Interface: org.freedesktop.DBus 963s # Member: NameOwnerChanged 963s # Received Finished signal from subscriber :1.0 963s # Received Finished signal from service :1.1 963s # Received Finished signal from service 2 :1.2 963s # Received Finished signal from attacker :1.3 963s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 963s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 963s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 963s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 963s # subscriber is :1.0 963s # service is :1.1 963s # service 2 is :1.2 963s # attacker is :1.3 963s # Waiting for AddMatch to be processed 963s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 963s # Step 0: claiming bus name 963s # Name: org.gtk.Test.AlreadyOwned 963s # Owner: service 963s # Step 1: adding subscription 963s # Sender: org.gtk.Test.AlreadyOwned 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Subscribing via proxy 963s # Waiting for AddMatch to be processed 963s # Step 2: emitting signal 963s # Sender: service 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via proxy 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 2 963s # Received Finished signal from subscriber :1.0 963s # Received Finished signal from service :1.1 963s # Received Finished signal from service 2 :1.2 963s # Received Finished signal from attacker :1.3 963s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 963s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 963s # End of proxy tests 963s # Start of parallel tests 963s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/simple/.dirs/home 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/simple/.dirs/cache 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/simple/.dirs/system-config2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/simple/.dirs/config 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/simple/.dirs/system-data2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/simple/.dirs/data 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/simple/.dirs/state 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/simple/.dirs/runtime 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 963s # subscriber is :1.0 963s # service is :1.1 963s # service 2 is :1.2 963s # attacker is :1.3 963s # Waiting for AddMatch to be processed 963s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 963s # Step 0: emitting signal 963s # Sender: service 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Step 1: adding subscription 963s # Sender: (any) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Subscribing via connection 963s # Cannot subscribe via proxy: no bus name 963s # Waiting for AddMatch to be processed 963s # Step 2: emitting signal 963s # Sender: service 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via connection 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 2 963s # Received Finished signal from subscriber :1.0 963s # Received Finished signal from service :1.1 963s # Received Finished signal from service 2 :1.2 963s # Received Finished signal from attacker :1.3 963s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 963s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 963s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 963s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s ok 17 /gdbus/subscribe/parallel/simple 963s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 963s # subscriber is :1.0 963s # service is :1.1 963s # service 2 is :1.2 963s # attacker is :1.3 963s # Waiting for AddMatch to be processed 963s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 963s # Step 0: adding subscription 963s # Sender: (any) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Subscribing via connection 963s # Cannot subscribe via proxy: no bus name 963s # Waiting for AddMatch to be processed 963s # Step 1: emitting signal 963s # Sender: service 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Step 2: emitting signal 963s # Sender: service 2 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Step 3: emitting signal 963s # Sender: service 963s # Destination: subscriber :1.0 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Step 4: emitting signal 963s # Sender: service 2 963s # Destination: subscriber :1.0 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via connection 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 1 963s # Signal received from service 2 :1.2 963s # Signal received from service 2 :1.2 via connection 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 2 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via connection 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 3 963s # Signal received from service 2 :1.2 963s # Signal received from service 2 :1.2 via connection 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 4 963s # Received Finished signal from subscriber :1.0 963s # Received Finished signal from service :1.1 963s # Received Finished signal from service 2 :1.2 963s # Received Finished signal from attacker :1.3 963s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 963s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 963s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 963s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 963s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 963s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 963s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 963s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 963s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/match_twice/.dirs/home 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/match_twice/.dirs/cache 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/match_twice/.dirs/config 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/match_twice/.dirs/data 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/match_twice/.dirs/state 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/match_twice/.dirs/runtime 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 963s # subscriber is :1.0 963s # service is :1.1 963s # service 2 is :1.2 963s # attacker is :1.3 963s # Waiting for AddMatch to be processed 963s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 963s # Step 0: adding subscription 963s # Sender: service :1.1 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Subscribing via connection 963s # Subscribing via proxy 963s # Waiting for AddMatch to be processed 963s # Step 1: adding subscription 963s # Sender: (any) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: (any) 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Subscribing via connection 963s # Cannot subscribe via proxy: no bus name 963s # Waiting for AddMatch to be processed 963s # Step 2: adding subscription 963s # Sender: (any) 963s # Path: (any) 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Subscribing via connection 963s # Cannot subscribe via proxy: no bus name 963s # Waiting for AddMatch to be processed 963s # Step 3: adding subscription 963s # Sender: service :1.1 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Subscribing via connection 963s # Subscribing via proxy 963s # Waiting for AddMatch to be processed 963s # Step 4: emitting signal 963s # Sender: service 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via connection 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 4 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via proxy 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 4 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via connection 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 4 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via proxy 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 4 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via connection 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 4 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via connection 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 4 963s # Received Finished signal from subscriber :1.0 963s # Received Finished signal from service :1.1 963s # Received Finished signal from service 2 :1.2 963s # Received Finished signal from attacker :1.3 963s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 963s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s ok 19 /gdbus/subscribe/parallel/match_twice 963s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 963s # subscriber is :1.0 963s # service is :1.1 963s # service 2 is :1.2 963s # attacker is :1.3 963s # Waiting for AddMatch to be processed 963s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 963s # Step 0: adding subscription 963s # Sender: service :1.1 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Subscribing via connection 963s # Subscribing via proxy 963s # Waiting for AddMatch to be processed 963s # Step 1: emitting signal 963s # Sender: attacker 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Step 2: emitting signal 963s # Sender: attacker 963s # Destination: subscriber :1.0 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Step 3: emitting signal 963s # Sender: service 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via connection 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 3 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via proxy 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 3 963s # Received Finished signal from subscriber :1.0 963s # Received Finished signal from service :1.1 963s # Received Finished signal from service 2 :1.2 963s # Received Finished signal from attacker :1.3 963s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 963s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 963s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 963s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 963s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 963s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 963s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 963s # subscriber is :1.0 963s # service is :1.1 963s # service 2 is :1.2 963s # attacker is :1.3 963s # Waiting for AddMatch to be processed 963s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 963s # Step 0: adding subscription 963s # Sender: :0.this.had.better.not.exist 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Subscribing via connection 963s # Subscribing via proxy 963s # Waiting for AddMatch to be processed 963s # Step 1: emitting signal 963s # Sender: attacker 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Step 2: emitting signal 963s # Sender: attacker 963s # Destination: subscriber :1.0 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Received Finished signal from subscriber :1.0 963s # Received Finished signal from service :1.1 963s # Received Finished signal from service 2 :1.2 963s # Received Finished signal from attacker :1.3 963s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 963s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 963s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 963s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 963s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 963s # subscriber is :1.0 963s # service is :1.1 963s # service 2 is :1.2 963s # attacker is :1.3 963s # Waiting for AddMatch to be processed 963s # /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 963s # Step 0: claiming bus name 963s # Name: org.gtk.Test.AlreadyOwned 963s # Owner: service 963s # Step 1: adding subscription 963s # Sender: org.gtk.Test.AlreadyOwned 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Subscribing via connection 963s # Subscribing via proxy 963s # Waiting for AddMatch to be processed 963s # Step 2: adding subscription 963s # Sender: org.gtk.Test.OwnedLater 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Subscribing via connection 963s # Subscribing via proxy 963s # Waiting for AddMatch to be processed 963s # Step 3: emitting signal 963s # Sender: attacker 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Step 4: emitting signal 963s # Sender: attacker 963s # Destination: subscriber :1.0 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Step 5: emitting signal 963s # Sender: service 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Step 6: claiming bus name 963s # Name: org.gtk.Test.OwnedLater 963s # Owner: service 963s # Step 7: emitting signal 963s # Sender: service 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via connection 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 5 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via proxy 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 5 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via connection 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 7 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via proxy 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 7 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via connection 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 7 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via proxy 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 7 963s # Received Finished signal from subscriber :1.0 963s # Received Finished signal from service :1.1 963s # Received Finished signal from service 2 :1.2 963s # Received Finished signal from attacker :1.3 963s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 963s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 963s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 963s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 963s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 963s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 963s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 963s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 963s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 963s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 963s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 963s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 963s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 963s # subscriber is :1.0 963s # service is :1.1 963s # service 2 is :1.2 963s # attacker is :1.3 963s # Waiting for AddMatch to be processed 963s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 963s # Step 0: adding subscription 963s # Sender: org.freedesktop.DBus 963s # Path: /org/freedesktop/DBus 963s # Interface: org.freedesktop.DBus 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Subscribing via connection 963s # Subscribing via proxy 963s # Waiting for AddMatch to be processed 963s # Step 1: emitting signal 963s # Sender: attacker 963s # Destination: (broadcast) 963s # Path: /org/freedesktop/DBus 963s # Interface: org.freedesktop.DBus 963s # Member: NameOwnerChanged 963s # String argument 0: would I lie to you? 963s # Waiting for signal to reach message bus 963s # Step 2: emitting signal 963s # Sender: attacker 963s # Destination: subscriber :1.0 963s # Path: /org/freedesktop/DBus 963s # Interface: org.freedesktop.DBus 963s # Member: NameOwnerChanged 963s # Waiting for signal to reach message bus 963s # Step 3: claiming bus name 963s # Name: org.gtk.Test.OwnedLater 963s # Owner: service 963s # Signal received from message bus org.freedesktop.DBus 963s # Signal received from (unused) org.freedesktop.DBus via connection 963s # Path: /org/freedesktop/DBus 963s # Interface: org.freedesktop.DBus 963s # Member: NameOwnerChanged 963s # Signal received from message bus org.freedesktop.DBus 963s # Signal received from (unused) org.freedesktop.DBus via proxy 963s # Path: /org/freedesktop/DBus 963s # Interface: org.freedesktop.DBus 963s # Member: NameOwnerChanged 963s # Received Finished signal from subscriber :1.0 963s # Received Finished signal from service :1.1 963s # Received Finished signal from service 2 :1.2 963s # Received Finished signal from attacker :1.3 963s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 963s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 963s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 963s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 963s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 963s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 963s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 963s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_W5KXZ2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 963s # subscriber is :1.0 963s # service is :1.1 963s # service 2 is :1.2 963s # attacker is :1.3 963s # Waiting for AddMatch to be processed 963s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 963s # Step 0: claiming bus name 963s # Name: org.gtk.Test.AlreadyOwned 963s # Owner: service 963s # Step 1: adding subscription 963s # Sender: org.gtk.Test.AlreadyOwned 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: (any) 963s # String argument 0: (any) 963s # Flags: 0 963s # Subscribing via connection 963s # Immediately unsubscribing 963s # Subscribing via proxy 963s # Waiting for AddMatch to be processed 963s # Step 2: emitting signal 963s # Sender: service 963s # Destination: (broadcast) 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Waiting for signal to reach message bus 963s # Signal received from service :1.1 963s # Signal received from service :1.1 via proxy 963s # Path: /org/gtk/GDBus/ExampleInterface 963s # Interface: org.gtk.GDBus.ExampleInterface 963s # Member: Foo 963s # Argument 0: (not a string) 963s # Sent in step: 2 963s # Received Finished signal from subscriber :1.0 963s # Received Finished signal from service :1.1 963s # Received Finished signal from service 2 :1.2 963s # Received Finished signal from attacker :1.3 963s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 963s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 963s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 963s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 963s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 963s # End of parallel tests 963s # End of subscribe tests 963s # End of gdbus tests 963s ok - glib/gdbus-subscribe.test 963s # Running test: glib/qdata.test 963s TAP version 14 963s # random seed: R02S62282ac5b35baa8502e16c36d378fafa 963s 1..2 963s # Start of qdata tests 963s ok 1 /qdata/threaded 963s ok 2 /qdata/dup 963s # End of qdata tests 963s ok - glib/qdata.test 963s # Running test: glib/mapping.test 963s TAP version 14 963s # random seed: R02S89516e809fef530e78e5337f95620722 963s 1..3 963s # Start of mapping tests 963s # test_mapping: ok 963s ok 1 /mapping/flags 963s ok 2 /mapping/private 963s # test_child_private: child spawned 963s # Subtest: /usr/libexec/installed-tests/glib/mapping 963s # random seed: R02Sfd4541f669d1aef4eebc247405ac2ab9 963s # test_child_private: received first child signal 963s # test_child_private: received parent signal 963s # Child exited with status 0 963s # test_child_private: received second child signal 963s ok 3 /mapping/private-child 963s # End of mapping tests 963s ok - glib/mapping.test 963s # Running test: glib/memory-monitor.test 963s TAP version 14 963s # random seed: R02Se61547e65776499242e63260a44d30eb 963s 1..1 963s # Start of memory-monitor tests 963s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 963s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 963s ok 1 /memory-monitor/default 963s # End of memory-monitor tests 963s ok - glib/memory-monitor.test 963s # Running test: glib/buffered-input-stream.test 963s TAP version 14 963s # random seed: R02Sa13e7eccea2098d7dc5df9c8854c95f4 963s 1..10 963s # Start of buffered-input-stream tests 963s ok 1 /buffered-input-stream/peek 963s ok 2 /buffered-input-stream/peek-buffer 963s ok 3 /buffered-input-stream/set-buffer-size 963s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 963s ok 4 /buffered-input-stream/read-byte 963s ok 5 /buffered-input-stream/read 963s ok 6 /buffered-input-stream/read-async 963s ok 7 /buffered-input-stream/skip 963s ok 8 /buffered-input-stream/skip-async 963s ok 9 /buffered-input-stream/seek 963s # End of buffered-input-stream tests 963s # Start of filter-input-stream tests 963s ok 10 /filter-input-stream/close 963s # End of filter-input-stream tests 963s ok - glib/buffered-input-stream.test 963s # Running test: glib/unix-fd.test 963s TAP version 14 963s # random seed: R02S5fc5e1daceb9e6872adf5ef5eb4d128b 963s 1..2 963s # Start of unix-fd tests 963s ok 1 /unix-fd/fd-list 963s ok 2 /unix-fd/scm 963s # End of unix-fd tests 963s ok - glib/unix-fd.test 963s # Running test: glib/gdbus-threading.test 963s TAP version 14 963s # random seed: R02S0b6b47ef8ad2c0102a620f6d9d5fe464 963s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 963s ok - glib/gdbus-threading.test 963s # Running test: glib/gsubprocess.test 963s TAP version 14 963s # random seed: R02S716f0fbeccc3a677b61da388a8945ecc 963s 1..83 963s # Start of gsubprocess tests 963s ok 1 /gsubprocess/noop 963s ok 2 /gsubprocess/noop-all-to-null 963s ok 3 /gsubprocess/noop-no-wait 963s ok 4 /gsubprocess/noop-stdin-inherit 963s ok 5 /gsubprocess/search-path 963s ok 6 /gsubprocess/search-path-from-envp 967s ok 7 /gsubprocess/signal 967s # slow test /gsubprocess/signal executed in 3.62 secs 967s ok 8 /gsubprocess/exit1 967s ok 9 /gsubprocess/echo1 967s ok 10 /gsubprocess/echo-merged 967s ok 11 /gsubprocess/cat-utf8 968s # Executing: glib/gsubprocess.test 968s ok 12 /gsubprocess/cat-eof 968s # slow test /gsubprocess/cat-eof executed in 1.00 secs 971s ok 13 /gsubprocess/multi1 971s # slow test /gsubprocess/multi1 executed in 3.01 secs 971s ok 14 /gsubprocess/communicate 973s # Executing: glib/gsubprocess.test 974s ok 15 /gsubprocess/terminate 974s # slow test /gsubprocess/terminate executed in 2.95 secs 974s ok 16 /gsubprocess/env 974s ok 17 /gsubprocess/cwd 974s ok 18 /gsubprocess/launcher-close 974s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 974s ok 19 /gsubprocess/stdout-file 974s ok 20 /gsubprocess/stdout-fd 974s ok 21 /gsubprocess/child-setup 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s ok 22 /gsubprocess/launcher-environment 974s # Start of exit1 tests 974s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 974s ok 23 /gsubprocess/exit1/cancel 974s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 974s ok 24 /gsubprocess/exit1/cancel_in_cb 974s # End of exit1 tests 974s # Start of communicate tests 974s ok 25 /gsubprocess/communicate/cancelled 974s ok 26 /gsubprocess/communicate/async 974s ok 27 /gsubprocess/communicate/utf8 974s # hello world 974s ok 28 /gsubprocess/communicate/no-pipes 974s ok 29 /gsubprocess/communicate/separate-stderr 974s ok 30 /gsubprocess/communicate/stdout-only 974s # hello world 974s ok 31 /gsubprocess/communicate/stderr-only 974s ok 32 /gsubprocess/communicate/stdout-silence 974s ok 33 /gsubprocess/communicate/nothing 974s # Start of async tests 974s ok 34 /gsubprocess/communicate/async/cancelled 974s # hello world 974s ok 35 /gsubprocess/communicate/async/no-pipes 974s ok 36 /gsubprocess/communicate/async/separate-stderr 974s ok 37 /gsubprocess/communicate/async/stdout-only 974s # hello world 974s ok 38 /gsubprocess/communicate/async/stderr-only 974s ok 39 /gsubprocess/communicate/async/stdout-silence 974s # Start of cancelled tests 974s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 974s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 974s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 974s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 974s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 974s # End of cancelled tests 974s # End of async tests 974s # Start of utf8 tests 974s ok 45 /gsubprocess/communicate/utf8/cancelled 974s ok 46 /gsubprocess/communicate/utf8/async 974s # hello world 974s ok 47 /gsubprocess/communicate/utf8/no-pipes 974s ok 48 /gsubprocess/communicate/utf8/separate-stderr 974s ok 49 /gsubprocess/communicate/utf8/stdout-only 974s # hello world 974s ok 50 /gsubprocess/communicate/utf8/stderr-only 974s ok 51 /gsubprocess/communicate/utf8/stdout-silence 974s ok 52 /gsubprocess/communicate/utf8/invalid 974s # Start of async tests 974s ok 53 /gsubprocess/communicate/utf8/async/cancelled 974s # hello world 974s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 974s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 974s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 974s # hello world 974s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 974s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 974s ok 59 /gsubprocess/communicate/utf8/async/invalid 974s # Start of cancelled tests 974s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 974s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 974s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 974s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 974s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 974s # End of cancelled tests 974s # End of async tests 974s # Start of cancelled tests 974s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 974s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 974s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 974s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 974s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 974s # End of cancelled tests 974s # End of utf8 tests 974s # Start of cancelled tests 974s ok 70 /gsubprocess/communicate/cancelled/no-pipes 974s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 974s ok 72 /gsubprocess/communicate/cancelled/stdout-only 974s ok 73 /gsubprocess/communicate/cancelled/stderr-only 974s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 974s # End of cancelled tests 974s # End of communicate tests 974s # Start of env tests 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 974s ok 75 /gsubprocess/env/inherit 974s # End of env tests 974s # Start of pass-fd tests 974s ok 76 /gsubprocess/pass-fd/basic 974s ok 77 /gsubprocess/pass-fd/empty-child-setup 974s ok 78 /gsubprocess/pass-fd/inherit-fds 974s # End of pass-fd tests 974s # Start of fd-conflation tests 974s ok 79 /gsubprocess/fd-conflation/basic 974s ok 80 /gsubprocess/fd-conflation/empty-child-setup 974s ok 81 /gsubprocess/fd-conflation/inherit-fds 974s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 974s # End of fd-conflation tests 974s # Start of exit-status tests 974s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 974s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 974s ok 83 /gsubprocess/exit-status/trapped 974s # End of exit-status tests 974s # End of gsubprocess tests 974s ok - glib/gsubprocess.test 974s # Running test: glib/markup-escape.test 974s TAP version 14 974s # random seed: R02S90b5dbf023bf1831a5bd137a5427251e 974s 1..41 974s # Start of markup tests 974s ok 1 /markup/format 974s # Start of escape-text tests 974s ok 2 /markup/escape-text/0 974s ok 3 /markup/escape-text/1 974s ok 4 /markup/escape-text/2 974s ok 5 /markup/escape-text/3 974s ok 6 /markup/escape-text/4 974s ok 7 /markup/escape-text/5 974s ok 8 /markup/escape-text/6 974s ok 9 /markup/escape-text/7 974s ok 10 /markup/escape-text/8 974s ok 11 /markup/escape-text/9 974s ok 12 /markup/escape-text/10 974s ok 13 /markup/escape-text/11 974s ok 14 /markup/escape-text/12 974s ok 15 /markup/escape-text/13 974s ok 16 /markup/escape-text/14 974s ok 17 /markup/escape-text/15 974s ok 18 /markup/escape-text/16 974s ok 19 /markup/escape-text/17 974s ok 20 /markup/escape-text/18 974s ok 21 /markup/escape-text/19 974s ok 22 /markup/escape-text/20 974s ok 23 /markup/escape-text/21 974s ok 24 /markup/escape-text/22 974s # End of escape-text tests 974s # Start of escape-unichar tests 974s ok 25 /markup/escape-unichar/0 974s ok 26 /markup/escape-unichar/1 974s ok 27 /markup/escape-unichar/2 974s ok 28 /markup/escape-unichar/3 974s ok 29 /markup/escape-unichar/4 974s ok 30 /markup/escape-unichar/5 974s ok 31 /markup/escape-unichar/6 974s ok 32 /markup/escape-unichar/7 974s ok 33 /markup/escape-unichar/8 974s ok 34 /markup/escape-unichar/9 974s ok 35 /markup/escape-unichar/10 974s ok 36 /markup/escape-unichar/11 974s ok 37 /markup/escape-unichar/12 974s ok 38 /markup/escape-unichar/13 974s ok 39 /markup/escape-unichar/14 974s ok 40 /markup/escape-unichar/15 974s ok 41 /markup/escape-unichar/16 974s # End of escape-unichar tests 974s # End of markup tests 974s ok - glib/markup-escape.test 974s # Running test: glib/notify-init2.test 974s TAP version 14 974s # random seed: R02S216d58883ead8d9aa095f94a6b740598 974s 1..1 974s # Start of properties tests 974s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 974s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 974s ok 1 /properties/notify-in-init2 974s # End of properties tests 974s ok - glib/notify-init2.test 974s # Running test: glib/file-thumbnail.test 974s TAP version 14 974s # random seed: R02Saff452eb66432354ec7dbf47a0e99b4f 974s 1..7 974s # Start of file-thumbnail tests 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/fail/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/fail/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/fail/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/fail/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/fail/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/fail/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/fail/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/fail/.dirs/runtime 974s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 974s # Created test thumbnail at /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 974s ok 1 /file-thumbnail/fail 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/size-priority/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/size-priority/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/size-priority/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/size-priority/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/size-priority/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/size-priority/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/size-priority/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/size-priority/.dirs/runtime 974s # Created test thumbnail at /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 974s # Created test thumbnail at /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 974s # Created test thumbnail at /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 974s # Created test thumbnail at /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 974s # Created test thumbnail at /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 974s ok 2 /file-thumbnail/size-priority 974s # Start of valid tests 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/normal/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/normal/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/normal/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/normal/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/normal/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/normal/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/normal/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/normal/.dirs/runtime 974s # Created test thumbnail at /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 974s ok 3 /file-thumbnail/valid/normal 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/large/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/large/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/large/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/large/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/large/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/large/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/large/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/large/.dirs/runtime 974s # Created test thumbnail at /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 974s ok 4 /file-thumbnail/valid/large 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/x-large/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/x-large/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/x-large/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/x-large/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/x-large/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/x-large/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/x-large/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/x-large/.dirs/runtime 974s # Created test thumbnail at /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 974s ok 5 /file-thumbnail/valid/x-large 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/xx-large/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/xx-large/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/xx-large/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/xx-large/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/xx-large/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/xx-large/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/xx-large/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/xx-large/.dirs/runtime 974s # Created test thumbnail at /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 974s ok 6 /file-thumbnail/valid/xx-large 974s # End of valid tests 974s # Start of unknown tests 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/unknown/super-large/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/unknown/super-large/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/unknown/super-large/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/unknown/super-large/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/unknown/super-large/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/unknown/super-large/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/unknown/super-large/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/unknown/super-large/.dirs/runtime 974s # Created test thumbnail at /tmp/test_file-thumbnail_KSKRZ2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 974s ok 7 /file-thumbnail/unknown/super-large 974s # End of unknown tests 974s # End of file-thumbnail tests 974s ok - glib/file-thumbnail.test 974s # Running test: glib/async-close-output-stream.test 974s TAP version 14 974s # random seed: R02Sfcd0f4d00dd984b676839327374f0988 974s 1..3 974s # Start of close-async tests 974s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 974s ok 1 /close-async/without-flush 974s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 974s ok 2 /close-async/with-flush 974s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 974s ok 3 /close-async/with-async-flush 974s # End of close-async tests 974s ok - glib/async-close-output-stream.test 974s # Running test: glib/mem-overflow.test 974s TAP version 14 974s # random seed: R02S2c54e4b509932441451cd8f911c0a825 974s 1..2 974s # Start of mem tests 975s ok 1 /mem/overflow 975s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 975s ok 2 /mem/empty-alloc 975s # Start of overflow tests 975s # Start of subprocess tests 975s # End of subprocess tests 975s # End of overflow tests 975s # Start of empty-alloc tests 975s # End of empty-alloc tests 975s # End of mem tests 975s ok - glib/mem-overflow.test 975s # Running test: glib/simple-async-result.test 975s TAP version 14 975s # random seed: R02Sb7a55f927082f4274fa6126d2785314b 975s 1..2 975s # Start of gio tests 975s # Start of simple-async-result tests 975s ok 1 /gio/simple-async-result/test 975s # GLib-GIO-DEBUG: GTask 0xc25c522e2730 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 975s ok 2 /gio/simple-async-result/valid 975s # End of simple-async-result tests 975s # End of gio tests 975s ok - glib/simple-async-result.test 975s # Running test: glib/atomic-c-89.test 975s TAP version 14 975s # random seed: R02Sf5a72fb76afbc9e908d582850ef6ce23 975s 1..2 975s # Start of atomic tests 975s ok 1 /atomic/types 975s ok 2 /atomic/threaded 975s # End of atomic tests 975s ok - glib/atomic-c-89.test 975s # Running test: glib/cxx-03.test 975s TAP version 14 975s # random seed: R02S0ff218750a4bc9de4331cf607026217a 975s 1..2 975s # Start of gtask tests 975s # 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. 975s ok 1 /gtask/name 975s # Start of name tests 975s # 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. 975s ok 2 /gtask/name/macro-wrapper 975s # End of name tests 975s # End of gtask tests 975s ok - glib/cxx-03.test 975s # Running test: glib/filter-streams.test 975s TAP version 14 975s # random seed: R02S15fa7bace0c16a27880e4228c2d09b57 975s 1..4 975s # Start of filter-stream tests 975s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 975s ok 1 /filter-stream/input 975s ok 2 /filter-stream/output 975s ok 3 /filter-stream/async-input 975s ok 4 /filter-stream/async-output 975s # End of filter-stream tests 975s ok - glib/filter-streams.test 975s # Running test: glib/closure-refcount.test 975s TAP version 14 975s # random seed: R02S1aff7a66ab59419abd1c1167f7a45d16 975s 1..1 975s # Start of closure tests 975s # Init 0xb1f09981b1e0 975s # Yielding from thread1 975s # Yielding from main thread 975s # Yielding from main thread 975s # Yielding from thread1 975s # Yielding from thread2 975s # Yielding from main thread 975s # Yielding from thread2 975s # Yielding from main thread 975s # Yielding from thread2 975s # Yielding from main thread 975s # Yielding from thread1 975s # Yielding from thread1 975s # Yielding from main thread 975s # Yielding from thread2 975s # Yielding from main thread 975s # Yielding from thread1 975s # Yielding from thread2 975s # Yielding from main thread 976s # Yielding from main thread 976s # Yielding from thread2 976s # Stopping 976s # Stopped 976s ok 1 /closure/refcount 976s # slow test /closure/refcount executed in 0.86 secs 976s # End of closure tests 976s ok - glib/closure-refcount.test 976s # Running test: glib/refcount-macro.test 976s TAP version 14 976s # random seed: R02S7666877365ae5bf96a88eeb78e3774ad 976s 1..4 976s # Start of refcount tests 976s ok 1 /refcount/grefcount 976s ok 2 /refcount/gatomicrefcount 976s # Start of grefcount tests 976s ok 3 /refcount/grefcount/saturation 976s # End of grefcount tests 976s # Start of gatomicrefcount tests 976s ok 4 /refcount/gatomicrefcount/saturation 976s # End of gatomicrefcount tests 976s # End of refcount tests 976s ok - glib/refcount-macro.test 976s # Running test: glib/protocol.test 976s TAP version 14 976s # random seed: R02Seb3a02292440587b0df0fb47780862e6 976s 1..9 976s # Start of glib tests 976s # Start of testing tests 976s # Start of protocol tests 976s ok 1 /glib/testing/protocol/debug 976s ok 2 /glib/testing/protocol/info 976s ok 3 /glib/testing/protocol/message 976s ok 4 /glib/testing/protocol/warning 976s ok 5 /glib/testing/protocol/critical 976s ok 6 /glib/testing/protocol/error 976s ok 7 /glib/testing/protocol/gtest-message 976s ok 8 /glib/testing/protocol/test-message 976s ok 9 /glib/testing/protocol/test-error 976s # End of protocol tests 976s # End of testing tests 976s # End of glib tests 976s ok - glib/protocol.test 976s # Running test: glib/performance-threaded.test 976s Running test "liststore-is-a" 977s 16627 runs, min/avg/max = 0.058/0.060/0.353 ms 977s Running test "liststore-interface-peek" 978s 29716 runs, min/avg/max = 0.032/0.033/0.432 ms 978s Running test "liststore-interface-peek-same" 978s # Executing: glib/performance-threaded.test 979s 29938 runs, min/avg/max = 0.031/0.033/1.345 ms 979s ok - glib/performance-threaded.test 979s # Running test: glib/defaultiface.test 979s TAP version 14 979s # random seed: R02S63a805b81c3069d052b0d574b2e9f3b2 979s 1..2 979s # Start of gobject tests 979s ok 1 /gobject/static-iface 979s ok 2 /gobject/dynamic-iface 979s # End of gobject tests 979s ok - glib/defaultiface.test 979s # Running test: glib/contenttype.test 979s TAP version 14 979s # random seed: R02S66ef71956d76041605943339f6ef9487 979s 1..13 979s # Start of contenttype tests 979s ok 1 /contenttype/guess 979s ok 2 /contenttype/guess_svg_from_data 979s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 979s ok 4 /contenttype/unknown 979s ok 5 /contenttype/subtype 979s ok 6 /contenttype/list 979s ok 7 /contenttype/executable 979s ok 8 /contenttype/description 979s ok 9 /contenttype/icon 979s ok 10 /contenttype/symbolic-icon 979s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 979s ok 11 /contenttype/tree 979s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 979s ok 12 /contenttype/tree_invalid_encoding 979s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 979s ok 13 /contenttype/test_type_is_a_special_case 979s # End of contenttype tests 979s ok - glib/contenttype.test 979s # Running test: glib/include.test 979s TAP version 14 979s # random seed: R02S73cee9cdc0ef6c08a9e1520464a10ab3 979s 1..1 979s # Start of include tests 979s ok 1 /include/rwlock 979s # End of include tests 979s ok - glib/include.test 979s # Running test: glib/shell.test 979s TAP version 14 979s # random seed: R02S209c8695a14b9d8fca793b6d0903c094 979s 1..51 979s # Start of shell tests 979s # Start of cmdline tests 979s test cmdline: foo bar 979s ok 1 /shell/cmdline/0 979s test cmdline: foo 'bar' 979s ok 2 /shell/cmdline/1 979s test cmdline: foo "bar" 979s ok 3 /shell/cmdline/2 979s test cmdline: foo '' 'bar' 979s ok 4 /shell/cmdline/3 979s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 979s ok 5 /shell/cmdline/4 979s test cmdline: foo blah foo bar baz 979s ok 6 /shell/cmdline/5 979s test cmdline: foo ' spaces more spaces lots of spaces in this ' 979s ok 7 /shell/cmdline/6 979s test cmdline: foo \ 979s bar 979s ok 8 /shell/cmdline/7 979s test cmdline: foo '' '' 979s ok 9 /shell/cmdline/8 979s test cmdline: foo \" la la la 979s ok 10 /shell/cmdline/9 979s test cmdline: foo \ foo woo woo\ 979s ok 11 /shell/cmdline/10 979s test cmdline: foo "yada yada \$\"" 979s ok 12 /shell/cmdline/11 979s test cmdline: foo "c:\\" 979s ok 13 /shell/cmdline/12 979s test cmdline: foo # bla bla bla 979s bar 979s ok 14 /shell/cmdline/13 979s test cmdline: foo a#b 979s ok 15 /shell/cmdline/14 979s test cmdline: #foo 979s ok 16 /shell/cmdline/15 979s test cmdline: foo bar \ 979s ok 17 /shell/cmdline/16 979s test cmdline: foo 'bar baz 979s ok 18 /shell/cmdline/17 979s test cmdline: foo '"bar" baz 979s ok 19 /shell/cmdline/18 979s test cmdline: 979s ok 20 /shell/cmdline/19 979s test cmdline: 979s ok 21 /shell/cmdline/20 979s test cmdline: # foo bar 979s ok 22 /shell/cmdline/21 979s test cmdline: foo '/bar/summer'\''09 tours.pdf' 979s ok 23 /shell/cmdline/22 979s # End of cmdline tests 979s # Start of quote tests 979s ok 24 /shell/quote/0 979s ok 25 /shell/quote/1 979s ok 26 /shell/quote/2 979s ok 27 /shell/quote/3 979s ok 28 /shell/quote/4 979s ok 29 /shell/quote/5 979s ok 30 /shell/quote/6 979s # End of quote tests 979s # Start of unquote tests 979s ok 31 /shell/unquote/0 979s ok 32 /shell/unquote/1 979s ok 33 /shell/unquote/2 979s ok 34 /shell/unquote/3 979s ok 35 /shell/unquote/4 979s ok 36 /shell/unquote/5 979s ok 37 /shell/unquote/6 979s ok 38 /shell/unquote/7 979s ok 39 /shell/unquote/8 979s ok 40 /shell/unquote/9 979s ok 41 /shell/unquote/10 979s ok 42 /shell/unquote/11 979s ok 43 /shell/unquote/12 979s ok 44 /shell/unquote/13 979s ok 45 /shell/unquote/14 979s ok 46 /shell/unquote/15 979s ok 47 /shell/unquote/16 979s ok 48 /shell/unquote/17 979s ok 49 /shell/unquote/18 979s ok 50 /shell/unquote/19 979s ok 51 /shell/unquote/20 979s # End of unquote tests 979s # End of shell tests 979s ok - glib/shell.test 979s # Running test: glib/utils-c-99.test 979s TAP version 14 979s # random seed: R02S1a88fead3d6183c4e33f283de07e4c07 979s 1..40 979s # Start of utils tests 979s ok 1 /utils/language-names 979s ok 2 /utils/locale-variants 979s ok 3 /utils/version 979s ok 4 /utils/appname 979s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 979s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 979s ok 5 /utils/prgname-thread-safety 979s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 979s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 979s ok 6 /utils/tmpdir 979s ok 7 /utils/basic_bits 979s ok 8 /utils/bits 979s ok 9 /utils/swap 979s ok 10 /utils/find-program 979s ok 11 /utils/find-program-for-path 979s ok 12 /utils/debug 979s ok 13 /utils/codeset 979s ok 14 /utils/codeset2 979s ok 15 /utils/console-charset 979s ok 16 /utils/gettext 979s ok 17 /utils/username 979s ok 18 /utils/realname 979s ok 19 /utils/hostname 979s ok 20 /utils/xdgdirs 979s ok 21 /utils/specialdir 979s # NAME: Ubuntu 979s ok 22 /utils/os-info 979s ok 23 /utils/clear-pointer 979s ok 24 /utils/clear-pointer-cast 979s ok 25 /utils/take-pointer 979s ok 26 /utils/clear-source 979s ok 27 /utils/misc-mem 979s # /utils/aligned-mem summary: Aligned memory allocator 979s # Alignment must not be zero 979s # Alignment must be a power of two 979s # Alignment must be a multiple of sizeof(void*) 979s ok 28 /utils/aligned-mem 979s # /utils/free-sized summary: Check that g_free_sized() works 979s ok 29 /utils/free-sized 979s ok 30 /utils/nullify 979s ok 31 /utils/atexit 979s ok 32 /utils/check-setuid 979s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 979s ok 33 /utils/int-limits 979s ok 34 /utils/clear-list 979s ok 35 /utils/clear-slist 979s # Start of specialdir tests 979s ok 36 /utils/specialdir/desktop 979s # End of specialdir tests 979s # Start of clear-pointer tests 979s ok 37 /utils/clear-pointer/side-effects 979s # End of clear-pointer tests 979s # Start of aligned-mem tests 979s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 979s ok 38 /utils/aligned-mem/alignment 979s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 979s ok 39 /utils/aligned-mem/zeroed 979s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 979s ok 40 /utils/aligned-mem/free-sized 979s # Start of subprocess tests 979s # End of subprocess tests 979s # End of aligned-mem tests 979s # End of utils tests 979s ok - glib/utils-c-99.test 979s # Running test: glib/properties-refcount3.test 979s TAP version 14 979s # random seed: R02S030f5c90a4a523f299acf66881ac2850 979s 1..1 979s # Start of gobject tests 979s # Start of refcount tests 983s # Executing: glib/properties-refcount3.test 988s # Executing: glib/properties-refcount3.test 993s # Executing: glib/properties-refcount3.test 998s # Executing: glib/properties-refcount3.test 1003s # Executing: glib/properties-refcount3.test 1008s # Executing: glib/properties-refcount3.test 1009s # 1009s # stopping 1009s # 1009s # stopped 1009s # 1009s # 10834047 91850 1009s # 1009s ok 1 /gobject/refcount/properties-3 1009s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 1009s # End of refcount tests 1009s # End of gobject tests 1009s ok - glib/properties-refcount3.test 1009s # Running test: glib/g-file-info.test 1009s TAP version 14 1009s # random seed: R02S620cc55f56c411f546520e1cbb6aa08b 1009s 1..6 1009s # Start of g-file-info tests 1009s ok 1 /g-file-info/test_g_file_info 1009s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 1009s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1009s ok 2 /g-file-info/xattrs 1009s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 1009s ok 3 /g-file-info/set-modified-date-time-precision 1009s # Start of test_g_file_info tests 1009s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 1009s ok 4 /g-file-info/test_g_file_info/modification-time 1009s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 1009s ok 5 /g-file-info/test_g_file_info/access-time 1009s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 1009s ok 6 /g-file-info/test_g_file_info/creation-time 1009s # End of test_g_file_info tests 1009s # End of g-file-info tests 1009s ok - glib/g-file-info.test 1009s # Running test: glib/gdatetime.test 1009s TAP version 14 1009s # random seed: R02S3c27c092dff47388ed9a73c846b54128 1009s 1..68 1009s # Start of GDateTime tests 1009s # Bug Reference: http://bugzilla.gnome.org/702674 1009s ok 1 /GDateTime/invalid 1009s ok 2 /GDateTime/add_days 1009s ok 3 /GDateTime/add_full 1009s ok 4 /GDateTime/add_hours 1009s ok 5 /GDateTime/add_minutes 1009s ok 6 /GDateTime/add_months 1009s ok 7 /GDateTime/add_seconds 1009s ok 8 /GDateTime/add_weeks 1009s ok 9 /GDateTime/add_years 1009s ok 10 /GDateTime/compare 1009s ok 11 /GDateTime/diff 1009s ok 12 /GDateTime/equal 1009s ok 13 /GDateTime/get_day_of_week 1009s ok 14 /GDateTime/get_day_of_month 1009s ok 15 /GDateTime/get_day_of_year 1009s ok 16 /GDateTime/get_hour 1009s ok 17 /GDateTime/get_microsecond 1009s ok 18 /GDateTime/get_minute 1009s ok 19 /GDateTime/get_month 1009s ok 20 /GDateTime/get_second 1009s ok 21 /GDateTime/get_utc_offset 1009s ok 22 /GDateTime/get_year 1009s ok 23 /GDateTime/hash 1009s ok 24 /GDateTime/new_from_unix 1009s ok 25 /GDateTime/new_from_unix_utc 1009s ok 26 /GDateTime/new_from_timeval 1009s ok 27 /GDateTime/new_from_timeval_utc 1009s ok 28 /GDateTime/new_from_iso8601 1009s ok 29 /GDateTime/new_full 1009s ok 30 /GDateTime/now 1009s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 1009s ok 31 /GDateTime/test-6-days-until-end-of-the-month 1009s # %a -> expected: Sat 1009s # %a -> actual: Sat 1009s # %A -> expected: Saturday 1009s # %A -> actual: Saturday 1009s # %b -> expected: Oct 1009s # %b -> actual: Oct 1009s # %B -> expected: October 1009s # %B -> actual: October 1009s # %d -> expected: 24 1009s # %d -> actual: 24 1009s # %d -> expected: 01 1009s # %d -> actual: 01 1009s # %e -> expected: 24 1009s # %e -> actual: 24 1009s # %e -> expected:  1 1009s # %e -> actual:  1 1009s # %f -> expected: 001000 1009s # %f -> actual: 001000 1009s # %h -> expected: Oct 1009s # %h -> actual: Oct 1009s # %H -> expected: 00 1009s # %H -> actual: 00 1009s # %H -> expected: 15 1009s # %H -> actual: 15 1009s # %I -> expected: 12 1009s # %I -> actual: 12 1009s # %I -> expected: 12 1009s # %I -> actual: 12 1009s # %I -> expected: 03 1009s # %I -> actual: 03 1009s # %j -> expected: 297 1009s # %j -> actual: 297 1009s # %k -> expected:  0 1009s # %k -> actual:  0 1009s # %k -> expected: 13 1009s # %k -> actual: 13 1009s # %l -> expected: 12 1009s # %l -> actual: 12 1009s # %I -> expected: 12 1009s # %I -> actual: 12 1009s # %l -> expected:  1 1009s # %l -> actual:  1 1009s # %l -> expected: 10 1009s # %l -> actual: 10 1009s # %m -> expected: 10 1009s # %m -> actual: 10 1009s # %M -> expected: 00 1009s # %M -> actual: 00 1009s # %p -> expected: AM 1009s # %p -> actual: AM 1009s # %p -> expected: PM 1009s # %p -> actual: PM 1009s # %P -> expected: am 1009s # %P -> actual: am 1009s # %P -> expected: pm 1009s # %P -> actual: pm 1009s # %r -> expected: 12:00:00 AM 1009s # %r -> actual: 12:00:00 AM 1009s # %r -> expected: 01:13:13 PM 1009s # %r -> actual: 01:13:13 PM 1009s # %R -> expected: 00:00 1009s # %R -> actual: 00:00 1009s # %R -> expected: 13:13 1009s # %R -> actual: 13:13 1009s # %S -> expected: 00 1009s # %S -> actual: 00 1009s # %t -> expected: 1009s # %t -> actual: 1009s # %u -> expected: 6 1009s # %u -> actual: 6 1009s # %x -> expected: 10/24/09 1009s # %x -> actual: 10/24/09 1009s # %X -> expected: 00:00:00 1009s # %X -> actual: 00:00:00 1009s # %X -> expected: 13:14:15 1009s # %X -> actual: 13:14:15 1009s # %y -> expected: 09 1009s # %y -> actual: 09 1009s # %Y -> expected: 2009 1009s # %Y -> actual: 2009 1009s # %% -> expected: % 1009s # %% -> actual: % 1009s # % -> expected: 1009s # % -> actual: 1009s # %9 -> expected: (null) 1009s # %9 -> actual: (null) 1009s # %Z -> expected: UTC 1009s # %Z -> actual: UTC 1009s ok 32 /GDateTime/printf 1009s # %a -> expected: ÅÚ 1009s # %a -> actual: ÅÚ 1009s # %A -> expected: ÅÚÍËÆü 1009s # %A -> actual: ÅÚÍËÆü 1009s # %b -> expected: 10·î 1009s # %b -> actual: 10·î 1009s # %B -> expected: 10·î 1009s # %B -> actual: 10·î 1009s # %c -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 1009s # %c -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 1009s # %C -> expected: 20 1009s # %C -> actual: 20 1009s # %d -> expected: 24 1009s # %d -> actual: 24 1009s # %d -> expected: 01 1009s # %d -> actual: 01 1009s # %e -> expected: 24 1009s # %e -> actual: 24 1009s # %h -> expected: 10·î 1009s # %h -> actual: 10·î 1009s # %H -> expected: 00 1009s # %H -> actual: 00 1009s # %H -> expected: 15 1009s # %H -> actual: 15 1009s # %I -> expected: 12 1009s # %I -> actual: 12 1009s # %I -> expected: 12 1009s # %I -> actual: 12 1009s # %I -> expected: 03 1009s # %I -> actual: 03 1009s # %j -> expected: 297 1009s # %j -> actual: 297 1009s # %k -> expected: ?0 1009s # %k -> actual: ?0 1009s # %k -> expected: 13 1009s # %k -> actual: 13 1009s # %l -> expected: 12 1009s # %l -> actual: 12 1009s # %I -> expected: 12 1009s # %I -> actual: 12 1009s # %l -> expected: ?1 1009s # %l -> actual: ?1 1009s # %l -> expected: 10 1009s # %l -> actual: 10 1009s # %m -> expected: 10 1009s # %m -> actual: 10 1009s # %M -> expected: 00 1009s # %M -> actual: 00 1009s # %p -> expected: ¸áÁ° 1009s # %p -> actual: ¸áÁ° 1009s # %p -> expected: ¸á¸å 1009s # %p -> actual: ¸á¸å 1009s # %P -> expected: ¸áÁ° 1009s # %P -> actual: ¸áÁ° 1009s # %P -> expected: ¸á¸å 1009s # %P -> actual: ¸á¸å 1009s # %r -> expected: ¸áÁ°12»þ00ʬ00Éà 1009s # %r -> actual: ¸áÁ°12»þ00ʬ00Éà 1009s # %r -> expected: ¸á¸å01»þ13ʬ13Éà 1009s # %r -> actual: ¸á¸å01»þ13ʬ13Éà 1009s # %R -> expected: 00:00 1009s # %R -> actual: 00:00 1009s # %R -> expected: 13:13 1009s # %R -> actual: 13:13 1009s # %S -> expected: 00 1009s # %S -> actual: 00 1009s # %t -> expected: 1009s # %t -> actual: 1009s # %u -> expected: 6 1009s # %u -> actual: 6 1009s # %x -> expected: 2009ǯ10·î24Æü 1009s # %x -> actual: 2009ǯ10·î24Æü 1009s # %X -> expected: 00»þ00ʬ00Éà 1009s # %X -> actual: 00»þ00ʬ00Éà 1009s # %X -> expected: 13»þ14ʬ15Éà 1009s # %X -> actual: 13»þ14ʬ15Éà 1009s # %y -> expected: 09 1009s # %y -> actual: 09 1009s # %Y -> expected: 2009 1009s # %Y -> actual: 2009 1009s # %% -> expected: % 1009s # %% -> actual: % 1009s # % -> expected: 1009s # % -> actual: 1009s # %9 -> expected: (null) 1009s # %9 -> actual: (null) 1009s # %Ec -> expected: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 1009s # %Ec -> actual: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 1009s # %EC -> expected: Ê¿À® 1009s # %EC -> actual: Ê¿À® 1009s # %Ex -> expected: Ê¿À®21ǯ10·î24Æü 1009s # %Ex -> actual: Ê¿À®21ǯ10·î24Æü 1009s # %EX -> expected: 00»þ00ʬ00Éà 1009s # %EX -> actual: 00»þ00ʬ00Éà 1009s # %Ey -> expected: 21 1009s # %Ey -> actual: 21 1009s # %EY -> expected: Ê¿À®21ǯ 1009s # %EY -> actual: Ê¿À®21ǯ 1009s ok 33 /GDateTime/non_utf8_printf 1009s # ???? -> expected: ???? 1009s # ???? -> actual: ???? 1009s # %H?%M -> expected: 23?15 1009s # %H?%M -> actual: 23?15 1009s # %H?%M -> expected: 23?15 1009s # %H?%M -> actual: 23?15 1009s ok 34 /GDateTime/format_unrepresentable 1009s ok 35 /GDateTime/format_iso8601 1009s ok 36 /GDateTime/strftime 1009s # %d -> expected: 01 1009s # %d -> actual: 01 1009s # %_d -> expected: 1 1009s # %_d -> actual: 1 1009s # %-d -> expected: 1 1009s # %-d -> actual: 1 1009s # %0d -> expected: 01 1009s # %0d -> actual: 01 1009s # %d -> expected: 21 1009s # %d -> actual: 21 1009s # %_d -> expected: 21 1009s # %_d -> actual: 21 1009s # %-d -> expected: 21 1009s # %-d -> actual: 21 1009s # %0d -> expected: 21 1009s # %0d -> actual: 21 1009s # %e -> expected:  1 1009s # %e -> actual:  1 1009s # %_e -> expected: 1 1009s # %_e -> actual: 1 1009s # %-e -> expected: 1 1009s # %-e -> actual: 1 1009s # %0e -> expected: 01 1009s # %0e -> actual: 01 1009s # %e -> expected: 21 1009s # %e -> actual: 21 1009s # %_e -> expected: 21 1009s # %_e -> actual: 21 1009s # %-e -> expected: 21 1009s # %-e -> actual: 21 1009s # %0e -> expected: 21 1009s # %0e -> actual: 21 1009s # %a -> expected: Thu 1009s # %a -> actual: Thu 1009s # %^a -> expected: THU 1009s # %^a -> actual: THU 1009s # %#a -> expected: THU 1009s # %#a -> actual: THU 1009s # %A -> expected: Thursday 1009s # %A -> actual: Thursday 1009s # %^A -> expected: THURSDAY 1009s # %^A -> actual: THURSDAY 1009s # %#A -> expected: THURSDAY 1009s # %#A -> actual: THURSDAY 1009s # %b -> expected: Jan 1009s # %b -> actual: Jan 1009s # %^b -> expected: JAN 1009s # %^b -> actual: JAN 1009s # %#b -> expected: JAN 1009s # %#b -> actual: JAN 1009s # %B -> expected: January 1009s # %B -> actual: January 1009s # %^B -> expected: JANUARY 1009s # %^B -> actual: JANUARY 1009s # %#B -> expected: JANUARY 1009s # %#B -> actual: JANUARY 1009s # %h -> expected: Jan 1009s # %h -> actual: Jan 1009s # %^h -> expected: JAN 1009s # %^h -> actual: JAN 1009s # %#h -> expected: JAN 1009s # %#h -> actual: JAN 1009s # %Z -> expected: UTC 1009s # %Z -> actual: UTC 1009s # %^Z -> expected: UTC 1009s # %^Z -> actual: UTC 1009s # %#Z -> expected: utc 1009s # %#Z -> actual: utc 1009s # %H -> expected: 01 1009s # %H -> actual: 01 1009s # %_H -> expected: 1 1009s # %_H -> actual: 1 1009s # %-H -> expected: 1 1009s # %-H -> actual: 1 1009s # %0H -> expected: 01 1009s # %0H -> actual: 01 1009s # %H -> expected: 21 1009s # %H -> actual: 21 1009s # %_H -> expected: 21 1009s # %_H -> actual: 21 1009s # %-H -> expected: 21 1009s # %-H -> actual: 21 1009s # %0H -> expected: 21 1009s # %0H -> actual: 21 1009s # %I -> expected: 01 1009s # %I -> actual: 01 1009s # %_I -> expected: 1 1009s # %_I -> actual: 1 1009s # %-I -> expected: 1 1009s # %-I -> actual: 1 1009s # %0I -> expected: 01 1009s # %0I -> actual: 01 1009s # %I -> expected: 11 1009s # %I -> actual: 11 1009s # %_I -> expected: 11 1009s # %_I -> actual: 11 1009s # %-I -> expected: 11 1009s # %-I -> actual: 11 1009s # %0I -> expected: 11 1009s # %0I -> actual: 11 1009s # %k -> expected:  1 1009s # %k -> actual:  1 1009s # %_k -> expected: 1 1009s # %_k -> actual: 1 1009s # %-k -> expected: 1 1009s # %-k -> actual: 1 1009s # %0k -> expected: 01 1009s # %0k -> actual: 01 1009s # %l -> expected:  1 1009s # %l -> actual:  1 1009s # %_l -> expected: 1 1009s # %_l -> actual: 1 1009s # %-l -> expected: 1 1009s # %-l -> actual: 1 1009s # %0l -> expected: 01 1009s # %0l -> actual: 01 1009s # %l -> expected: 11 1009s # %l -> actual: 11 1009s # %_l -> expected: 11 1009s # %_l -> actual: 11 1009s # %-l -> expected: 11 1009s # %-l -> actual: 11 1009s # %0l -> expected: 11 1009s # %0l -> actual: 11 1009s # %p -> expected: AM 1009s # %p -> actual: AM 1009s # %^p -> expected: AM 1009s # %^p -> actual: AM 1009s # %#p -> expected: am 1009s # %#p -> actual: am 1009s # %P -> expected: am 1009s # %P -> actual: am 1009s # %^P -> expected: AM 1009s # %^P -> actual: AM 1009s # %#P -> expected: am 1009s # %#P -> actual: am 1009s # %OH -> expected: Û²Û³ 1009s # %OH -> actual: Û²Û³ 1009s # %OI -> expected: Û±Û± 1009s # %OI -> actual: Û±Û± 1009s # %OM -> expected: Û°Û° 1009s # %OM -> actual: Û°Û° 1009s # %Om -> expected: Û°Û· 1009s # %Om -> actual: Û°Û· 1009s # %0Om -> expected: Û°Û· 1009s # %0Om -> actual: Û°Û· 1009s # %-Om -> expected: Û· 1009s # %-Om -> actual: Û· 1009s # %_Om -> expected: Û· 1009s # %_Om -> actual: Û· 1009s # %c -> expected: thu 01 jan 2009 00:00:00 utc 1009s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 1009s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 1009s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 1009s # %C -> expected: 20 1009s # %C -> actual: 20 1009s # %EC -> expected: 20 1009s # %EC -> actual: 20 1009s # %x -> expected: 02/01/09 1009s # %x -> actual: 02/01/09 1009s # %Ex -> expected: 02/01/09 1009s # %Ex -> actual: 02/01/09 1009s # %X -> expected: 01:02:03 1009s # %X -> actual: 01:02:03 1009s # %EX -> expected: 01:02:03 1009s # %EX -> actual: 01:02:03 1009s # %y -> expected: 09 1009s # %y -> actual: 09 1009s # %Ey -> expected: 09 1009s # %Ey -> actual: 09 1009s # %Y -> expected: 2009 1009s # %Y -> actual: 2009 1009s # %EY -> expected: 2009 1009s # %EY -> actual: 2009 1009s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1009s # Bug Reference: http://bugzilla.gnome.org/749206 1009s # %B -> expected: January 1009s # %B -> actual: January 1009s # %OB -> expected: February 1009s # %OB -> actual: February 1009s # %b -> expected: Mar 1009s # %b -> actual: Mar 1009s # %Ob -> expected: Apr 1009s # %Ob -> actual: Apr 1009s # %h -> expected: May 1009s # %h -> actual: May 1009s # %Oh -> expected: Jun 1009s # %Oh -> actual: Jun 1009s # %B -> expected: Juli 1009s # %B -> actual: Juli 1009s # %OB -> expected: August 1009s # %OB -> actual: August 1009s # %b -> expected: Sep 1009s # %b -> actual: Sep 1009s # %Ob -> expected: Okt 1009s # %Ob -> actual: Okt 1009s # %h -> expected: Nov 1009s # %h -> actual: Nov 1009s # %Oh -> expected: Dez 1009s # %Oh -> actual: Dez 1009s # %B -> expected: enero 1009s # %B -> actual: enero 1009s # %OB -> expected: febrero 1009s # %OB -> actual: febrero 1009s # %b -> expected: mar 1009s # %b -> actual: mar 1009s # %Ob -> expected: abr 1009s # %Ob -> actual: abr 1009s # %h -> expected: may 1009s # %h -> actual: may 1009s # %Oh -> expected: jun 1009s # %Oh -> actual: jun 1009s # %B -> expected: juillet 1009s # %B -> actual: juillet 1009s # %OB -> expected: août 1009s # %OB -> actual: août 1009s # %b -> expected: sept. 1009s # %b -> actual: sept. 1009s # %Ob -> expected: oct. 1009s # %Ob -> actual: oct. 1009s # %h -> expected: nov. 1009s # %h -> actual: nov. 1009s # %Oh -> expected: déc. 1009s # %Oh -> actual: déc. 1009s # %B -> expected: ΙανουαÏίου 1009s # %B -> actual: ΙανουαÏίου 1009s # %B -> expected: ΦεβÏουαÏίου 1009s # %B -> actual: ΦεβÏουαÏίου 1009s # %B -> expected: ΜαÏτίου 1009s # %B -> actual: ΜαÏτίου 1009s # %OB -> expected: ΑπÏίλιος 1009s # %OB -> actual: ΑπÏίλιος 1009s # %OB -> expected: Μάιος 1009s # %OB -> actual: Μάιος 1009s # %OB -> expected: ΙοÏνιος 1009s # %OB -> actual: ΙοÏνιος 1009s # %b -> expected: Ιουλ 1009s # %b -> actual: Ιουλ 1009s # %Ob -> expected: ΑÏγ 1009s # %Ob -> actual: ΑÏγ 1009s # %B -> expected: svibnja 1009s # %B -> actual: svibnja 1009s # %B -> expected: lipnja 1009s # %B -> actual: lipnja 1009s # %B -> expected: srpnja 1009s # %B -> actual: srpnja 1009s # %OB -> expected: Kolovoz 1009s # %OB -> actual: kolovoz 1009s # %OB -> expected: Rujan 1009s # %OB -> actual: rujan 1009s # %OB -> expected: Listopad 1009s # %OB -> actual: listopad 1009s # %b -> expected: Stu 1009s # %b -> actual: stu 1009s # %Ob -> expected: Pro 1009s # %Ob -> actual: pro 1009s # %B -> expected: sausio 1009s # %B -> actual: sausio 1009s # %B -> expected: vasario 1009s # %B -> actual: vasario 1009s # %B -> expected: kovo 1009s # %B -> actual: kovo 1009s # %OB -> expected: balandis 1009s # %OB -> actual: balandis 1009s # %OB -> expected: gegužė 1009s # %OB -> actual: gegužė 1009s # %OB -> expected: birželis 1009s # %OB -> actual: birželis 1009s # %b -> expected: liep. 1009s # %b -> actual: liep. 1009s # %Ob -> expected: rugp. 1009s # %Ob -> actual: rugp. 1009s # %B -> expected: maja 1009s # %B -> actual: maja 1009s # %B -> expected: czerwca 1009s # %B -> actual: czerwca 1009s # %B -> expected: lipca 1009s # %B -> actual: lipca 1009s # %OB -> expected: sierpieÅ„ 1009s # %OB -> actual: sierpieÅ„ 1009s # %OB -> expected: wrzesieÅ„ 1009s # %OB -> actual: wrzesieÅ„ 1009s # %OB -> expected: październik 1009s # %OB -> actual: październik 1009s # %b -> expected: lis 1009s # %b -> actual: lis 1009s # %Ob -> expected: gru 1009s # %Ob -> actual: gru 1009s # %B -> expected: ÑÐ½Ð²Ð°Ñ€Ñ 1009s # %B -> actual: ÑÐ½Ð²Ð°Ñ€Ñ 1009s # %B -> expected: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 1009s # %B -> actual: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 1009s # %B -> expected: марта 1009s # %B -> actual: марта 1009s # %OB -> expected: Ðпрель 1009s # %OB -> actual: Ðпрель 1009s # %OB -> expected: Май 1009s # %OB -> actual: Май 1009s # %OB -> expected: Июнь 1009s # %OB -> actual: Июнь 1009s # %b -> expected: июл 1009s # %b -> actual: июл 1009s # %Ob -> expected: авг 1009s # %Ob -> actual: авг 1009s # %b -> expected: Ð¼Ð°Ñ 1009s # %b -> actual: Ð¼Ð°Ñ 1009s # %Ob -> expected: май 1009s # %Ob -> actual: май 1009s ok 38 /GDateTime/month_names 1009s ok 39 /GDateTime/to_local 1009s ok 40 /GDateTime/to_unix 1009s ok 41 /GDateTime/to_timeval 1009s ok 42 /GDateTime/to_utc 1009s ok 43 /GDateTime/now_utc 1009s ok 44 /GDateTime/dst 1009s # Bug Reference: http://bugzilla.gnome.org/642935 1009s ok 45 /GDateTime/test_z 1010s ok 46 /GDateTime/test-all-dates 1010s # slow test /GDateTime/test-all-dates executed in 0.94 secs 1010s ok 47 /GDateTime/unix_usec 1010s # Start of new_from_unix tests 1010s # Bug Reference: http://bugzilla.gnome.org/782089 1010s ok 48 /GDateTime/new_from_unix/overflow 1010s # End of new_from_unix tests 1010s # Start of new_from_timeval tests 1010s # Bug Reference: http://bugzilla.gnome.org/782089 1010s # Maximum supported GTimeVal.tv_sec = 253402300799 1010s ok 49 /GDateTime/new_from_timeval/overflow 1010s # End of new_from_timeval tests 1010s # Start of new_from_iso8601 tests 1010s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1010s # Vector 0: 1990-11-01T10:21:17Z 1010s # Vector 1: 19901101T102117Z 1010s # Vector 2: 1970-01-01T00:00:17.12Z 1010s # Vector 3: 1970-01-01T00:00:17.1234Z 1010s # Vector 4: 1970-01-01T00:00:17.123456Z 1010s # Vector 5: 1980-02-22T12:36:00+02:00 1010s # Vector 6: 1990-12-31T15:59:60-08:00 1010s # Vector 7: 1010s # Vector 8: x 1010s # Vector 9: 123x 1010s # Vector 10: 2001-10+x 1010s # Vector 11: 1980-02-22T 1010s # Vector 12: 2001-10-08Tx 1010s # Vector 13: 2001-10-08T10:11x 1010s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1010s # Vector 15: 1980-02-22T10:36:00Zulu 1010s # Vector 16: 2T0+819855292164632335 1010s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1010s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1010s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1010s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1010s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1010s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1010s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1010s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1010s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1010s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1010s # Vector 27: 20180803T140805.446178377+0100 1010s # Vector 28: 21474836480803T140805.446178377+0100 1010s # Vector 29: 20181303T140805.446178377+0100 1010s # Vector 30: 20180003T140805.446178377+0100 1010s # Vector 31: 20180800T140805.446178377+0100 1010s # Vector 32: 20180832T140805.446178377+0100 1010s # Vector 33: 20180803T240805.446178377+0100 1010s # Vector 34: 20180803T146005.446178377+0100 1010s # Vector 35: 20180803T140863.446178377+0100 1010s # Vector 36: 20180803T140805.446178377+10000 1010s # Vector 37: -0005-01-01T00:00:00Z 1010s # Vector 38: 2018-08-06 1010s # Vector 39: 20180803T140805,446178377+0100 1010s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1010s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1010s # Vector 42: 1990-11-01T10:21:17 1010s # Vector 43: 1719W462 407777-07 1010s # Vector 44: 4011090 260528Z 1010s # Vector 45: 0000W011 228214-22 1010s ok 50 /GDateTime/new_from_iso8601/2 1010s # End of new_from_iso8601 tests 1010s # Start of format_mixed tests 1010s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1010s # %b -> expected: mar 1010s # %b -> actual: Mar 1010s # %B -> expected: march 1010s # %B -> actual: March 1010s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1010s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1010s # %b -> expected: mar 1010s # %b -> actual: Mar 1010s # %B -> expected: march 1010s # %B -> actual: March 1010s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1010s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1010s # %b -> expected: Mär 1010s # %b -> actual: Mär 1010s # %B -> expected: März 1010s # %B -> actual: März 1010s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1010s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1010s # %b -> expected: Mär 1010s # %b -> actual: Mär 1010s # %B -> expected: März 1010s # %B -> actual: März 1010s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1010s # End of format_mixed tests 1010s # Start of strftime tests 1010s # %r -> expected: (null) 1010s # %r -> actual: (null) 1010s ok 55 /GDateTime/strftime/error_handling 1010s # End of strftime tests 1010s # Start of eras tests 1010s # %Ec -> expected: 令和05å¹´06月01æ—¥ 00時00分00秒 1010s # %Ec -> actual: 令和05å¹´06月01æ—¥ 00時00分00秒 1010s # %EC -> expected: 令和 1010s # %EC -> actual: 令和 1010s # %Ex -> expected: 令和05å¹´06月01æ—¥ 1010s # %Ex -> actual: 令和05å¹´06月01æ—¥ 1010s # %EX -> expected: 00時00分00秒 1010s # %EX -> actual: 00時00分00秒 1010s # %Ey -> expected: 05 1010s # %Ey -> actual: 05 1010s # %EY -> expected: 令和05å¹´ 1010s # %EY -> actual: 令和05å¹´ 1010s # %Ec -> expected: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒 1010s # %Ec -> actual: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒 1010s # %EC -> expected: å¹³æˆ 1010s # %EC -> actual: å¹³æˆ 1010s # %Ex -> expected: å¹³æˆ31å¹´04月30æ—¥ 1010s # %Ex -> actual: å¹³æˆ31å¹´04月30æ—¥ 1010s # %EX -> expected: 00時00分00秒 1010s # %EX -> actual: 00時00分00秒 1010s # %Ey -> expected: 31 1010s # %Ey -> actual: 31 1010s # %EY -> expected: å¹³æˆ31å¹´ 1010s # %EY -> actual: å¹³æˆ31å¹´ 1010s # %Ec -> expected: 昭和元年12月25æ—¥ 00時00分00秒 1010s # %Ec -> actual: 昭和元年12月25æ—¥ 00時00分00秒 1010s # %EC -> expected: 昭和 1010s # %EC -> actual: 昭和 1010s # %Ex -> expected: 昭和元年12月25æ—¥ 1010s # %Ex -> actual: 昭和元年12月25æ—¥ 1010s # %EX -> expected: 00時00分00秒 1010s # %EX -> actual: 00時00分00秒 1010s # %Ey -> expected: 01 1010s # %Ey -> actual: 01 1010s # %EY -> expected: 昭和元年 1010s # %EY -> actual: 昭和元年 1010s ok 56 /GDateTime/eras/japan 1010s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 1010s # Vector 0: 1010s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1010s # 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å¹´ 1010s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Eyå¹´ 1010s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Eyå¹´ 1010s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Eyå¹´ 1010s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Eyå¹´ 1010s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Eyå¹´ 1010s # Vector 8: + 1010s # Vector 9: +: 1010s # Vector 10: +:: 1010s # Vector 11: +:200 1010s # Vector 12: +:2nonsense 1010s # Vector 13: +:2nonsense: 1010s # Vector 14: +:2: 1010s # Vector 15: +:2:: 1010s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Eyå¹´ 1010s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Eyå¹´ 1010s # Vector 18: +:2:2020:+*:令和:%EC%Eyå¹´ 1010s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Eyå¹´ 1010s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Eyå¹´ 1010s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Eyå¹´ 1010s # Vector 22: +:2:2020/01:+*:令和:%EC%Eyå¹´ 1010s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Eyå¹´ 1010s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Eyå¹´ 1010s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Eyå¹´ 1010s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Eyå¹´ 1010s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Eyå¹´ 1010s # Vector 28: +:2:2020/01/01 1010s # Vector 29: +:2:2020/01/01: 1010s # Vector 30: +:2:2020/01/01:: 1010s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Eyå¹´ 1010s # Vector 32: +:2:2020/01/01:+* 1010s # Vector 33: +:2:2020/01/01:+*: 1010s # Vector 34: +:2:2020/01/01:+*:: 1010s # Vector 35: +:2:2020/01/01:+*:令和 1010s # Vector 36: +:2:2020/01/01:+*:令和: 1010s # Vector 37: +:2:2020/01/01:+*:令和:; 1010s ok 58 /GDateTime/eras/parsing 1010s # End of eras tests 1010s # End of GDateTime tests 1010s # Start of GTimeZone tests 1010s ok 59 /GTimeZone/find-interval 1010s ok 60 /GTimeZone/adjust-time 1010s ok 61 /GTimeZone/no-header 1010s ok 62 /GTimeZone/no-header-identifier 1010s ok 63 /GTimeZone/posix-parse 1010s # Bug Reference: http://bugzilla.gnome.org/697715 1010s ok 64 /GTimeZone/floating-point 1010s # System time zone identifier: Etc/UTC 1010s ok 65 /GTimeZone/identifier 1010s # Vector 0: -158400 1010s # Vector 1: -10000 1010s # Vector 2: -3600 1010s # Vector 3: -61 1010s # Vector 4: -60 1010s # Vector 5: -59 1010s # Vector 6: 0 1010s # Vector 7: 59 1010s # Vector 8: 60 1010s # Vector 9: 61 1010s # Vector 10: 3600 1010s # Vector 11: 10000 1010s # Vector 12: 158400 1010s ok 66 /GTimeZone/new-offset 1010s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1010s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1010s ok 67 /GTimeZone/parse-rfc8536 1010s # /GTimeZone/caching summary: GTimeZone instances are cached 1010s ok 68 /GTimeZone/caching 1010s # End of GTimeZone tests 1010s ok - glib/gdatetime.test 1010s # Running test: glib/markup-collect.test 1010s TAP version 14 1010s # random seed: R02Scb1237399ddccc225a93c05c18551c56 1010s 1..21 1010s # Start of markup tests 1010s # Start of collect tests 1010s ok 1 /markup/collect/0 1010s ok 2 /markup/collect/1 1010s ok 3 /markup/collect/2 1010s ok 4 /markup/collect/3 1010s ok 5 /markup/collect/4 1010s ok 6 /markup/collect/5 1010s ok 7 /markup/collect/6 1010s ok 8 /markup/collect/7 1010s ok 9 /markup/collect/8 1010s ok 10 /markup/collect/9 1010s ok 11 /markup/collect/10 1010s ok 12 /markup/collect/11 1010s ok 13 /markup/collect/12 1010s ok 14 /markup/collect/13 1010s ok 15 /markup/collect/14 1010s ok 16 /markup/collect/15 1010s ok 17 /markup/collect/16 1010s ok 18 /markup/collect/17 1010s ok 19 /markup/collect/18 1010s ok 20 /markup/collect/19 1010s ok 21 /markup/collect/cleanup 1010s # End of collect tests 1010s # End of markup tests 1010s ok - glib/markup-collect.test 1010s # Running test: glib/tls-database.test 1010s TAP version 14 1010s # random seed: R02Sbba78cfe4c1c77ce2003d89f67dbb8af 1010s 1..1 1010s # Start of tls-backend tests 1010s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1010s ok 1 /tls-backend/set-default-database 1010s # End of tls-backend tests 1010s ok - glib/tls-database.test 1010s # Running test: glib/portal-support-none.test 1010s TAP version 14 1010s # random seed: R02Sa5a40ec1e3af6062fda00c074c77b90f 1010s 1..1 1010s # Start of portal-support tests 1010s ok 1 /portal-support/none 1010s # End of portal-support tests 1010s ok - glib/portal-support-none.test 1010s # Running test: glib/bitlock.test 1010s TAP version 14 1010s # random seed: R02S0ef12f3dd8be2070b339201ee1243e2f 1010s 1..1 1010s # Start of bitlock tests 1010s # Start of performance tests 1010s # max perf: iterations per second 1010s ok 1 /bitlock/performance/uncontended 1010s # End of performance tests 1010s # End of bitlock tests 1010s ok - glib/bitlock.test 1010s # Running test: glib/bytes.test 1010s TAP version 14 1010s # random seed: R02Sef62e55abd7a9a922bff3d8eeb6a8747 1010s 1..21 1010s # Start of bytes tests 1010s ok 1 /bytes/new 1010s ok 2 /bytes/new-take 1010s ok 3 /bytes/new-static 1010s ok 4 /bytes/new-with-free-func 1010s ok 5 /bytes/new-from-bytes 1010s ok 6 /bytes/new-from-bytes-slice 1010s ok 7 /bytes/new-from-bytes-shared-ref 1010s ok 8 /bytes/hash 1010s ok 9 /bytes/equal 1010s ok 10 /bytes/compare 1010s ok 11 /bytes/null 1010s ok 12 /bytes/get-region 1010s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 1010s ok 13 /bytes/unref-null 1010s # Start of to-data tests 1010s ok 14 /bytes/to-data/transferred 1010s ok 15 /bytes/to-data/two-refs 1010s ok 16 /bytes/to-data/non-malloc 1010s ok 17 /bytes/to-data/different-free-func 1010s # End of to-data tests 1010s # Start of to-array tests 1010s ok 18 /bytes/to-array/transferred 1010s ok 19 /bytes/to-array/two-refs 1010s ok 20 /bytes/to-array/non-malloc 1010s # Start of transferred tests 1010s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 1010s ok 21 /bytes/to-array/transferred/oversize 1010s # End of transferred tests 1010s # End of to-array tests 1010s # End of bytes tests 1010s ok - glib/bytes.test 1010s # Running test: glib/base64.test 1010s TAP version 14 1010s # random seed: R02Sf410b35dce4ee133b1f2ad6167393339 1010s 1..28 1010s # Start of base64 tests 1010s ok 1 /base64/encode 1010s ok 2 /base64/decode 1010s ok 3 /base64/decode-inplace 1010s ok 4 /base64/encode-decode 1010s # Start of full tests 1010s ok 5 /base64/full/1 1010s ok 6 /base64/full/2 1010s ok 7 /base64/full/3 1010s ok 8 /base64/full/4 1010s # End of full tests 1010s # Start of encode tests 1010s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1010s ok 9 /base64/encode/empty 1010s # Start of incremental tests 1010s # Start of small-block tests 1010s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1010s ok 10 /base64/encode/incremental/small-block/1 1010s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1010s ok 11 /base64/encode/incremental/small-block/2 1010s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1010s ok 12 /base64/encode/incremental/small-block/3 1010s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1010s ok 13 /base64/encode/incremental/small-block/4 1010s # End of small-block tests 1010s # End of incremental tests 1010s # End of encode tests 1010s # Start of incremental tests 1010s # Start of nobreak tests 1010s ok 14 /base64/incremental/nobreak/1 1010s ok 15 /base64/incremental/nobreak/2 1010s ok 16 /base64/incremental/nobreak/3 1010s ok 17 /base64/incremental/nobreak/4-a 1010s ok 18 /base64/incremental/nobreak/4-b 1010s ok 19 /base64/incremental/nobreak/4-c 1010s # End of nobreak tests 1010s # Start of break tests 1010s ok 20 /base64/incremental/break/1 1010s ok 21 /base64/incremental/break/2 1010s ok 22 /base64/incremental/break/3 1010s # End of break tests 1010s # Start of smallblock tests 1010s ok 23 /base64/incremental/smallblock/1 1010s ok 24 /base64/incremental/smallblock/2 1010s ok 25 /base64/incremental/smallblock/3 1010s ok 26 /base64/incremental/smallblock/4 1010s # End of smallblock tests 1010s # End of incremental tests 1010s # Start of decode tests 1010s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1010s ok 27 /base64/decode/empty 1010s # End of decode tests 1010s # Start of encode-decode tests 1010s # Vector 0: 1010s # Vector 1: f 1010s # Vector 2: fo 1010s # Vector 3: foo 1010s # Vector 4: foob 1010s # Vector 5: fooba 1010s # Vector 6: foobar 1010s ok 28 /base64/encode-decode/rfc4648 1010s # End of encode-decode tests 1010s # End of base64 tests 1010s ok - glib/base64.test 1010s # Running test: glib/permission.test 1010s TAP version 14 1010s # random seed: R02Sa7fe78352d38c90dc5a6b225dce7dfc0 1010s 1..1 1010s # Start of permission tests 1010s ok 1 /permission/simple 1010s # End of permission tests 1010s ok - glib/permission.test 1010s # Running test: glib/stream-rw_all.test 1010s TAP version 14 1010s # random seed: R02S80894f6d3393bd306db290fcf895b643 1010s 1..3 1010s # Start of stream tests 1010s # Start of read_all_async tests 1010s ok 1 /stream/read_all_async/memory 1010s # End of read_all_async tests 1010s # Start of write_all_async tests 1010s ok 2 /stream/write_all_async/memory 1010s # End of write_all_async tests 1010s # Start of read_write_all_async tests 1010s ok 3 /stream/read_write_all_async/pipe 1010s # End of read_write_all_async tests 1010s # End of stream tests 1010s ok - glib/stream-rw_all.test 1010s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 1010s TAP version 14 1010s # random seed: R02Sc0c1a019a83dac7825b3c90c4cf9b86d 1010s 1..8 1010s # Start of gdbus tests 1010s # Start of codegen tests 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/annotations/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/annotations/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/annotations/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/annotations/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/annotations/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/annotations/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/annotations/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/annotations/.dirs/runtime 1010s ok 1 /gdbus/codegen/annotations 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/interface_stability/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/interface_stability/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/interface_stability/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/interface_stability/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/interface_stability/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/interface_stability/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/interface_stability/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/interface_stability/.dirs/runtime 1010s ok 2 /gdbus/codegen/interface_stability 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/object-manager/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/object-manager/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/object-manager/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/object-manager/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/object-manager/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/object-manager/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/object-manager/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/object-manager/.dirs/runtime 1010s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1010s ok 3 /gdbus/codegen/object-manager 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/property-naming/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/property-naming/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/property-naming/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/property-naming/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/property-naming/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/property-naming/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/property-naming/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/property-naming/.dirs/runtime 1010s ok 4 /gdbus/codegen/property-naming 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/autocleanups/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/autocleanups/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/autocleanups/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/autocleanups/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/autocleanups/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/autocleanups/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/autocleanups/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/autocleanups/.dirs/runtime 1010s ok 5 /gdbus/codegen/autocleanups 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/deprecations/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/deprecations/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/deprecations/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/deprecations/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/deprecations/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/deprecations/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/deprecations/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/deprecations/.dirs/runtime 1010s ok 6 /gdbus/codegen/deprecations 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/standalone-interface-info/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/standalone-interface-info/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/standalone-interface-info/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/standalone-interface-info/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/standalone-interface-info/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1010s ok 7 /gdbus/codegen/standalone-interface-info 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/unix-fd-list/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/unix-fd-list/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/unix-fd-list/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/unix-fd-list/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/unix-fd-list/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_75LZZ2/gdbus/codegen/unix-fd-list/.dirs/runtime 1010s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1010s ok 8 /gdbus/codegen/unix-fd-list 1010s # End of codegen tests 1010s # End of gdbus tests 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s ok - glib/gdbus-test-codegen-min-required-2-64.test 1010s # Running test: glib/objects-refcount1.test 1010s TAP version 14 1010s # random seed: R02S6448501e6c0f61dacae83701d6734b28 1010s 1..1 1010s # Start of gobject tests 1010s # Start of refcount tests 1010s # init 0xab2cc4cc1750 1010s # 1010s # init 0xab2cc4cc18e0 1010s # 1013s # Executing: glib/objects-refcount1.test 1015s # dispose 0xab2cc4cc1750! 1015s # 1015s # dispose 0xab2cc4cc18e0! 1015s # 1015s ok 1 /gobject/refcount/object-basics 1015s # slow test /gobject/refcount/object-basics executed in 5.00 secs 1015s # End of refcount tests 1015s # End of gobject tests 1015s ok - glib/objects-refcount1.test 1015s # Running test: glib/tls-bindings.test 1015s TAP version 14 1015s # random seed: R02S60e944880e1944a640183ef594f045b8 1015s 1..2 1015s # Start of tls-connection tests 1015s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1015s ok 1 /tls-connection/get-tls-channel-binding 1015s ok 2 /tls-connection/get-dtls-channel-binding 1015s # End of tls-connection tests 1015s ok - glib/tls-bindings.test 1015s # Running test: glib/network-monitor.test 1015s TAP version 14 1015s # random seed: R02S19c3663374503c06e2304440a8a76021 1015s 1..4 1015s # Start of network-monitor tests 1015s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1015s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1015s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1015s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 1015s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1015s ok 1 /network-monitor/default 1015s ok 2 /network-monitor/remove_default 1015s ok 3 /network-monitor/add_networks 1015s ok 4 /network-monitor/remove_networks 1015s # End of network-monitor tests 1015s ok - glib/network-monitor.test 1015s # Running test: glib/simple-proxy.test 1015s TAP version 14 1015s # random seed: R02S5aca0e3f0da9cc24ea11ff0b37c602ae 1015s 1..3 1015s # Start of static-proxy tests 1015s ok 1 /static-proxy/uri 1015s ok 2 /static-proxy/socks 1015s ok 3 /static-proxy/ignore 1015s # End of static-proxy tests 1015s ok - glib/simple-proxy.test 1015s # Running test: glib/param.test 1015s TAP version 14 1015s # random seed: R02S372753272a7339159bf57109d9d44ef7 1015s 1..32 1015s # Start of param tests 1015s ok 1 /param/value 1015s ok 2 /param/strings 1015s ok 3 /param/qdata 1015s ok 4 /param/validate 1015s ok 5 /param/convert 1015s ok 6 /param/implement # SKIP Skipping slow /param/implement test 1015s ok 7 /param/default 1015s ok 8 /param/is-valid-name 1015s # Start of invalid-name tests 1015s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 1015s ok 9 /param/invalid-name/colon 1015s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 1015s ok 10 /param/invalid-name/first-char 1015s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 1015s ok 11 /param/invalid-name/empty 1015s # End of invalid-name tests 1015s # Start of implement tests 1015s # Start of subprocess tests 1015s # End of subprocess tests 1015s # End of implement tests 1015s # End of param tests 1015s # Start of value tests 1015s ok 12 /value/transform 1015s # End of value tests 1015s # Start of paramspec tests 1015s ok 13 /paramspec/char 1015s ok 14 /paramspec/uchar 1015s ok 15 /paramspec/int 1015s ok 16 /paramspec/uint 1015s ok 17 /paramspec/long 1015s ok 18 /paramspec/ulong 1015s ok 19 /paramspec/int64 1015s ok 20 /paramspec/uint64 1015s ok 21 /paramspec/float 1015s ok 22 /paramspec/double 1015s ok 23 /paramspec/unichar 1015s ok 24 /paramspec/param 1015s ok 25 /paramspec/null-param 1015s ok 26 /paramspec/string 1015s ok 27 /paramspec/override 1015s ok 28 /paramspec/gtype 1015s ok 29 /paramspec/variant 1015s ok 30 /paramspec/custom 1015s ok 31 /paramspec/pool 1015s # Start of variant tests 1015s ok 32 /paramspec/variant/cmp 1015s # End of variant tests 1015s # End of paramspec tests 1015s ok - glib/param.test 1015s # Running test: glib/readwrite.test 1015s TAP version 14 1015s # random seed: R02Sf44abccf2a603d48c38aeeb57ff24deb 1015s 1..3 1015s # Start of readwrite tests 1015s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1015s ok 1 /readwrite/test_g_file_open_readwrite 1015s ok 2 /readwrite/test_g_file_create_readwrite 1016s ok 3 /readwrite/test_g_file_replace_readwrite 1016s # End of readwrite tests 1016s ok - glib/readwrite.test 1016s # Running test: glib/socket-address.test 1016s TAP version 14 1016s # random seed: R02Sb20e2ad5e41f810e5c757a84eb0d3db0 1016s 1..2 1016s # Start of socket tests 1016s # Start of address tests 1016s # Start of unix tests 1016s ok 1 /socket/address/unix/construct 1016s ok 2 /socket/address/unix/to-string 1016s # End of unix tests 1016s # End of address tests 1016s # End of socket tests 1016s ok - glib/socket-address.test 1016s # Running test: glib/trash.test 1016s TAP version 14 1016s # random seed: R02Se9b32142f49321f7f229a117a215e84a 1016s 1..3 1016s # Start of trash tests 1016s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 1016s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1016s # File: /tmp/test-trash65IPZ2 (parent st_dev: 64769) 1016s # Home: /home/ubuntu (st_dev: 64769) 1016s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 1016s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 1016s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 1016s ok 3 /trash/long-filename 1016s # End of trash tests 1016s ok - glib/trash.test 1016s # Running test: glib/tls-certificate.test 1016s TAP version 14 1016s # random seed: R02S3473b7a3fb398dc2d5fedc2a7bdca313 1016s 1..19 1016s # Start of tls-certificate tests 1016s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1016s ok 1 /tls-certificate/pem-parser 1016s ok 2 /tls-certificate/pem-parser-handles-chain 1016s ok 3 /tls-certificate/from_file 1016s ok 4 /tls-certificate/from_files 1016s ok 5 /tls-certificate/from_files_crlf 1016s ok 6 /tls-certificate/from_files_pkcs8 1016s ok 7 /tls-certificate/from_files_pkcs8enc 1016s ok 8 /tls-certificate/list_from_file 1016s ok 9 /tls-certificate/pkcs11-uri 1016s ok 10 /tls-certificate/pkcs11-uri-unsupported 1016s ok 11 /tls-certificate/from_pkcs12 1016s ok 12 /tls-certificate/from_pkcs12_file 1016s ok 13 /tls-certificate/not-valid-before 1016s ok 14 /tls-certificate/not-valid-after 1016s ok 15 /tls-certificate/subject-name 1016s ok 16 /tls-certificate/issuer-name 1016s ok 17 /tls-certificate/dns-names 1016s ok 18 /tls-certificate/ip-addresses 1016s ok 19 /tls-certificate/pem-parser-no-sentinel 1016s # End of tls-certificate tests 1016s ok - glib/tls-certificate.test 1016s # Running test: glib/charset.test 1016s TAP version 14 1016s # random seed: R02S2aefd503304aa18025f1a38337e021b2 1016s 1..2 1016s # Start of charset tests 1016s # Test 0 1016s # Test 1 1016s # Test 2 1016s # Test 3 1016s ok 1 /charset/language_names_with_category 1016s ok 2 /charset/language_names_with_category_async 1016s # End of charset tests 1016s ok - glib/charset.test 1016s # Running test: glib/642026.test 1016s TAP version 14 1016s # random seed: R02S292adff7911b7db479e00d2dd01ff5ea 1016s 1..1 1016s # Start of glib tests 1016s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1016s ok 1 /glib/642026 1016s # End of glib tests 1016s ok - glib/642026.test 1016s # Running test: glib/utils-c-11.test 1016s TAP version 14 1016s # random seed: R02S726bb1c1ebc38906ef0ccf8f91ef3078 1016s 1..40 1016s # Start of utils tests 1016s ok 1 /utils/language-names 1016s ok 2 /utils/locale-variants 1016s ok 3 /utils/version 1016s ok 4 /utils/appname 1016s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1016s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1016s ok 5 /utils/prgname-thread-safety 1016s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1016s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1016s ok 6 /utils/tmpdir 1016s ok 7 /utils/basic_bits 1016s ok 8 /utils/bits 1016s ok 9 /utils/swap 1016s ok 10 /utils/find-program 1016s ok 11 /utils/find-program-for-path 1016s ok 12 /utils/debug 1016s ok 13 /utils/codeset 1016s ok 14 /utils/codeset2 1016s ok 15 /utils/console-charset 1016s ok 16 /utils/gettext 1016s ok 17 /utils/username 1016s ok 18 /utils/realname 1016s ok 19 /utils/hostname 1016s ok 20 /utils/xdgdirs 1016s ok 21 /utils/specialdir 1016s # NAME: Ubuntu 1016s ok 22 /utils/os-info 1016s ok 23 /utils/clear-pointer 1016s ok 24 /utils/clear-pointer-cast 1016s ok 25 /utils/take-pointer 1016s ok 26 /utils/clear-source 1016s ok 27 /utils/misc-mem 1016s # /utils/aligned-mem summary: Aligned memory allocator 1016s # Alignment must not be zero 1016s # Alignment must be a power of two 1016s # Alignment must be a multiple of sizeof(void*) 1016s ok 28 /utils/aligned-mem 1016s # /utils/free-sized summary: Check that g_free_sized() works 1016s ok 29 /utils/free-sized 1016s ok 30 /utils/nullify 1016s ok 31 /utils/atexit 1016s ok 32 /utils/check-setuid 1016s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1016s ok 33 /utils/int-limits 1016s ok 34 /utils/clear-list 1016s ok 35 /utils/clear-slist 1016s # Start of specialdir tests 1016s ok 36 /utils/specialdir/desktop 1016s # End of specialdir tests 1016s # Start of clear-pointer tests 1016s ok 37 /utils/clear-pointer/side-effects 1016s # End of clear-pointer tests 1016s # Start of aligned-mem tests 1016s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1016s ok 38 /utils/aligned-mem/alignment 1016s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1016s ok 39 /utils/aligned-mem/zeroed 1016s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1016s ok 40 /utils/aligned-mem/free-sized 1016s # Start of subprocess tests 1016s # End of subprocess tests 1016s # End of aligned-mem tests 1016s # End of utils tests 1016s ok - glib/utils-c-11.test 1016s # Running test: glib/utf8-pointer.test 1016s TAP version 14 1016s # random seed: R02S8bfe0733a5b5ac3e87ab4f8625b20a6a 1016s 1..3 1016s # Start of utf8 tests 1017s ok 1 /utf8/offsets 1017s # slow test /utf8/offsets executed in 0.89 secs 1017s ok 2 /utf8/lengths 1017s ok 3 /utf8/find 1017s # End of utf8 tests 1017s ok - glib/utf8-pointer.test 1017s # Running test: glib/properties-introspection.test 1017s TAP version 14 1017s # random seed: R02S5ee29428b0f2761d351ec48cd5bef4e9 1017s 1..2 1017s # Start of properties tests 1017s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 1017s ok 1 /properties/introspection 1017s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 1017s ok 2 /properties/collision 1017s # End of properties tests 1017s ok - glib/properties-introspection.test 1017s # Running test: glib/spawn-path-search.test 1017s TAP version 14 1017s # random seed: R02S737136027acfa551897a3716a29f9b07 1017s 1..7 1017s # Start of spawn tests 1017s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 1017s # 1017s # this is spawn-test-helper from glib/tests 1017s # 1017s ok 1 /spawn/do-not-search 1017s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 1017s # 1017s # this is spawn-test-helper from path-test-subdir 1017s # 1017s ok 2 /spawn/search-path 1017s # /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. 1017s # 1017s # this is spawn-test-helper from path-test-subdir 1017s # 1017s ok 3 /spawn/search-path-from-envp 1017s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 1017s # 1017s # this is spawn-test-helper from path-test-subdir 1017s # 1017s ok 4 /spawn/search-path-ambiguous 1017s # 1017s # this is spawn-test-helper from path-test-subdir 1017s # 1017s ok 5 /spawn/search-path-heap-allocation 1017s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 1017s # 1017s # this is spawn-test-helper from glib/tests 1017s # 1017s ok 6 /spawn/search-path-fallback-in-environ 1017s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 1017s # 1017s # this is spawn-test-helper from glib/tests 1017s # 1017s ok 7 /spawn/search-path-fallback-in-envp 1017s # End of spawn tests 1017s ok - glib/spawn-path-search.test 1017s # Running test: glib/array-test.test 1017s TAP version 14 1017s # random seed: R02S6523752986975726437c60c6a0432c74 1017s 1..113 1017s # Start of array tests 1017s ok 1 /array/ref-count 1017s ok 2 /array/steal 1017s ok 3 /array/clear-func 1017s ok 4 /array/binary-search 1017s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 1017s ok 5 /array/copy-sized 1017s ok 6 /array/overflow-append-vals 1017s ok 7 /array/overflow-set-size 1017s # Start of new tests 1017s ok 8 /array/new/zero-terminated 1017s ok 9 /array/new/take 1017s ok 10 /array/new/take-zero-terminated 1017s # Start of take tests 1017s ok 11 /array/new/take/empty 1017s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1017s # End of take tests 1017s # End of new tests 1017s # Start of set-size tests 1017s ok 13 /array/set-size/non-zero-terminated-no-clear 1017s ok 14 /array/set-size/non-zero-terminated-clear 1017s ok 15 /array/set-size/zero-terminated-no-clear 1017s ok 16 /array/set-size/zero-terminated-clear 1017s # Start of sized tests 1017s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 1017s ok 18 /array/set-size/sized/non-zero-terminated-clear 1017s ok 19 /array/set-size/sized/zero-terminated-no-clear 1017s ok 20 /array/set-size/sized/zero-terminated-clear 1017s # End of sized tests 1017s # End of set-size tests 1017s # Start of append-val tests 1017s ok 21 /array/append-val/non-zero-terminated-no-clear 1017s ok 22 /array/append-val/non-zero-terminated-clear 1017s ok 23 /array/append-val/zero-terminated-no-clear 1017s ok 24 /array/append-val/zero-terminated-clear 1017s # End of append-val tests 1017s # Start of prepend-val tests 1017s ok 25 /array/prepend-val/non-zero-terminated-no-clear 1017s ok 26 /array/prepend-val/non-zero-terminated-clear 1017s ok 27 /array/prepend-val/zero-terminated-no-clear 1017s ok 28 /array/prepend-val/zero-terminated-clear 1017s # End of prepend-val tests 1017s # Start of prepend-vals tests 1017s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 1017s ok 30 /array/prepend-vals/non-zero-terminated-clear 1017s ok 31 /array/prepend-vals/zero-terminated-no-clear 1017s ok 32 /array/prepend-vals/zero-terminated-clear 1017s # End of prepend-vals tests 1017s # Start of insert-vals tests 1017s ok 33 /array/insert-vals/non-zero-terminated-no-clear 1017s ok 34 /array/insert-vals/non-zero-terminated-clear 1017s ok 35 /array/insert-vals/zero-terminated-no-clear 1017s ok 36 /array/insert-vals/zero-terminated-clear 1017s # End of insert-vals tests 1017s # Start of remove-index tests 1017s ok 37 /array/remove-index/non-zero-terminated-no-clear 1017s ok 38 /array/remove-index/non-zero-terminated-clear 1017s ok 39 /array/remove-index/zero-terminated-no-clear 1017s ok 40 /array/remove-index/zero-terminated-clear 1017s # End of remove-index tests 1017s # Start of remove-index-fast tests 1017s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 1017s ok 42 /array/remove-index-fast/non-zero-terminated-clear 1017s ok 43 /array/remove-index-fast/zero-terminated-no-clear 1017s ok 44 /array/remove-index-fast/zero-terminated-clear 1017s # End of remove-index-fast tests 1017s # Start of remove-range tests 1017s ok 45 /array/remove-range/non-zero-terminated-no-clear 1017s ok 46 /array/remove-range/non-zero-terminated-clear 1017s ok 47 /array/remove-range/zero-terminated-no-clear 1017s ok 48 /array/remove-range/zero-terminated-clear 1017s # End of remove-range tests 1017s # Start of copy tests 1017s ok 49 /array/copy/non-zero-terminated-no-clear 1017s ok 50 /array/copy/non-zero-terminated-clear 1017s ok 51 /array/copy/zero-terminated-no-clear 1017s ok 52 /array/copy/zero-terminated-clear 1017s # End of copy tests 1017s # Start of sort tests 1017s ok 53 /array/sort/non-zero-terminated-no-clear 1017s ok 54 /array/sort/non-zero-terminated-clear 1017s ok 55 /array/sort/zero-terminated-no-clear 1017s ok 56 /array/sort/zero-terminated-clear 1017s # End of sort tests 1017s # Start of sort-with-data tests 1017s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 1017s ok 58 /array/sort-with-data/non-zero-terminated-clear 1017s ok 59 /array/sort-with-data/zero-terminated-no-clear 1017s ok 60 /array/sort-with-data/zero-terminated-clear 1017s # End of sort-with-data tests 1017s # End of array tests 1017s # Start of pointerarray tests 1017s ok 61 /pointerarray/add 1017s ok 62 /pointerarray/insert 1017s ok 63 /pointerarray/new-take 1017s ok 64 /pointerarray/new-take-null-terminated 1017s ok 65 /pointerarray/new-from-array 1017s ok 66 /pointerarray/new-from-null-terminated-array 1017s ok 67 /pointerarray/free-func 1017s ok 68 /pointerarray/array_extend_and_steal 1017s ok 69 /pointerarray/sort 1017s ok 70 /pointerarray/sort-with-data 1017s ok 71 /pointerarray/sort-values 1017s ok 72 /pointerarray/sort-values-with-data 1017s ok 73 /pointerarray/remove-range 1017s ok 74 /pointerarray/steal 1017s # Start of free tests 1017s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 1017s ok 75 /pointerarray/free/null-terminated 1017s # End of free tests 1017s # Start of new-take tests 1017s ok 76 /pointerarray/new-take/empty 1017s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1017s ok 78 /pointerarray/new-take/with-free-func 1017s # End of new-take tests 1017s # Start of new-take-null-terminated tests 1017s ok 79 /pointerarray/new-take-null-terminated/empty 1017s ok 80 /pointerarray/new-take-null-terminated/with-free-func 1017s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 1017s # End of new-take-null-terminated tests 1017s # Start of new-from-array tests 1017s ok 82 /pointerarray/new-from-array/empty 1017s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1017s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 1017s # End of new-from-array tests 1017s # Start of new-from-null-terminated-array tests 1017s ok 85 /pointerarray/new-from-null-terminated-array/empty 1017s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 1017s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 1017s # End of new-from-null-terminated-array tests 1017s # Start of ref-count tests 1017s ok 88 /pointerarray/ref-count/not-null-terminated 1017s ok 89 /pointerarray/ref-count/null-terminated 1017s # End of ref-count tests 1017s # Start of array_copy tests 1017s # /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 1017s ok 90 /pointerarray/array_copy/not-null-terminated 1017s # /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 1017s ok 91 /pointerarray/array_copy/null-terminated 1017s # End of array_copy tests 1017s # Start of array_extend tests 1017s ok 92 /pointerarray/array_extend/not-null-terminated 1017s ok 93 /pointerarray/array_extend/null-terminated 1017s # End of array_extend tests 1017s # Start of sort tests 1017s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 1017s ok 94 /pointerarray/sort/example 1017s # End of sort tests 1017s # Start of sort-with-data tests 1017s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 1017s ok 95 /pointerarray/sort-with-data/example 1017s # End of sort-with-data tests 1017s # Start of sort-values tests 1017s ok 96 /pointerarray/sort-values/example 1017s # End of sort-values tests 1017s # Start of sort-values-with-data tests 1017s ok 97 /pointerarray/sort-values-with-data/example 1017s # End of sort-values-with-data tests 1017s # Start of find tests 1017s ok 98 /pointerarray/find/empty 1017s ok 99 /pointerarray/find/non-empty 1017s # End of find tests 1017s # Start of steal_index tests 1017s ok 100 /pointerarray/steal_index/not-null-terminated 1017s ok 101 /pointerarray/steal_index/null-terminated 1017s # End of steal_index tests 1017s # End of pointerarray tests 1017s # Start of bytearray tests 1017s ok 102 /bytearray/steal 1017s ok 103 /bytearray/append 1017s ok 104 /bytearray/prepend 1017s ok 105 /bytearray/remove 1017s ok 106 /bytearray/remove-fast 1017s ok 107 /bytearray/remove-range 1017s ok 108 /bytearray/ref-count 1017s ok 109 /bytearray/sort 1017s ok 110 /bytearray/sort-with-data 1017s ok 111 /bytearray/new-take 1017s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 1017s ok 113 /bytearray/free-to-bytes 1017s # End of bytearray tests 1017s ok - glib/array-test.test 1017s # Running test: glib/properties.test 1017s TAP version 14 1017s # random seed: R02S6c4d4095bd0c7dc1b739f9f3635d6b2c 1017s 1..13 1017s # Start of properties tests 1017s ok 1 /properties/install 1017s ok 2 /properties/install-many 1017s ok 3 /properties/notify 1017s ok 4 /properties/notify-queue 1017s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 1017s ok 5 /properties/construct 1017s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 1017s # Test g_object_get_property with an initialized value 1017s # Test g_object_get_property with an uninitialized value 1017s # Test g_object_get_property with a transformable value 1017s ok 6 /properties/get-property 1017s ok 7 /properties/testv_with_no_properties 1017s ok 8 /properties/testv_with_valid_properties 1017s ok 9 /properties/testv_with_invalid_property_type 1017s ok 10 /properties/testv_with_invalid_property_names 1017s ok 11 /properties/testv_getv 1017s ok 12 /properties/testv_notify_queue 1017s # Start of set-property tests 1017s # Start of variant tests 1017s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 1017s ok 13 /properties/set-property/variant/floating 1017s # End of variant tests 1017s # End of set-property tests 1017s # End of properties tests 1017s ok - glib/properties.test 1017s # Running test: glib/once.test 1017s TAP version 14 1017s # random seed: R02S67983bf3961c9e02eb245cdc8162b587 1017s 1..5 1017s # Start of once tests 1017s # /once/single-threaded summary: Test g_once() usage from a single thread 1017s ok 1 /once/single-threaded 1017s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1017s ok 2 /once/multi-threaded 1017s # End of once tests 1017s # Start of once-init tests 1017s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1017s ok 3 /once-init/single-threaded 1017s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1017s ok 4 /once-init/multi-threaded 1017s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1017s ok 5 /once-init/string 1017s # End of once-init tests 1017s ok - glib/once.test 1017s # Running test: glib/thumbnail-verification.test 1017s TAP version 14 1017s # random seed: R02S87ef16ae90de0d71f19d90d99f77914d 1017s 1..1 1017s # Start of png-thumbs tests 1017s ok 1 /png-thumbs/validity 1017s # End of png-thumbs tests 1017s ok - glib/thumbnail-verification.test 1017s # Running test: glib/environment.test 1017s TAP version 14 1017s # random seed: R02Scf3bbfa77839d7bec15834f0f3e3ab87 1017s 1..6 1017s # Start of environ tests 1017s # /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. 1017s ok 1 /environ/listenv 1017s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 1017s ok 2 /environ/getenv 1017s ok 3 /environ/setenv 1017s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 1017s ok 4 /environ/array 1017s # /environ/null summary: Test getting and setting variables on a NULL envp array. 1017s ok 5 /environ/null 1017s # /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. 1017s ok 6 /environ/case 1017s # End of environ tests 1017s ok - glib/environment.test 1017s # Running test: glib/gdbus-connection-loss.test 1017s TAP version 14 1017s # random seed: R02S9ddaf146c187409cff5d3705dd48815b 1017s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1017s 1..1 1017s # Start of gdbus tests 1017s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_VVJ3Z2/gdbus/connection-loss/.dirs/home 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_VVJ3Z2/gdbus/connection-loss/.dirs/cache 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_VVJ3Z2/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_VVJ3Z2/gdbus/connection-loss/.dirs/system-config2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_VVJ3Z2/gdbus/connection-loss/.dirs/config 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_VVJ3Z2/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_VVJ3Z2/gdbus/connection-loss/.dirs/system-data2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_VVJ3Z2/gdbus/connection-loss/.dirs/data 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_VVJ3Z2/gdbus/connection-loss/.dirs/state 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_VVJ3Z2/gdbus/connection-loss/.dirs/runtime 1017s ok 1 /gdbus/connection-loss 1017s # End of gdbus tests 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s ok - glib/gdbus-connection-loss.test 1017s # Running test: glib/gdbus-connection.test 1017s TAP version 14 1017s # random seed: R02Sf5755e542eb3efdd225d90b5aaa1f161 1017s 1..9 1017s # Start of gdbus tests 1017s # Start of connection tests 1017s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/bus-failure/.dirs/home 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/bus-failure/.dirs/cache 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/bus-failure/.dirs/system-config2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/bus-failure/.dirs/config 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/bus-failure/.dirs/system-data2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/bus-failure/.dirs/data 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/bus-failure/.dirs/state 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/bus-failure/.dirs/runtime 1017s ok 1 /gdbus/connection/bus-failure 1017s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/basic/.dirs/home 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/basic/.dirs/cache 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/basic/.dirs/system-config2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/basic/.dirs/config 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/basic/.dirs/system-data2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/basic/.dirs/data 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/basic/.dirs/state 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/basic/.dirs/runtime 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1017s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s ok 2 /gdbus/connection/basic 1017s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/life-cycle/.dirs/home 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/life-cycle/.dirs/cache 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/life-cycle/.dirs/system-config2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/life-cycle/.dirs/config 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/life-cycle/.dirs/system-data2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/life-cycle/.dirs/data 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/life-cycle/.dirs/state 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/life-cycle/.dirs/runtime 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1017s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s ok 3 /gdbus/connection/life-cycle 1017s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/send/.dirs/home 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/send/.dirs/cache 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/send/.dirs/system-config2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/send/.dirs/config 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/send/.dirs/system-data2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/send/.dirs/data 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/send/.dirs/state 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/send/.dirs/runtime 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1017s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s ok 4 /gdbus/connection/send 1017s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/signals/.dirs/home 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/signals/.dirs/cache 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/signals/.dirs/system-config2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/signals/.dirs/config 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/signals/.dirs/system-data2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/signals/.dirs/data 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/signals/.dirs/state 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/signals/.dirs/runtime 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1017s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s ok 5 /gdbus/connection/signals 1017s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/signal-match-rules/.dirs/home 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/signal-match-rules/.dirs/cache 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/signal-match-rules/.dirs/system-config2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/signal-match-rules/.dirs/config 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/signal-match-rules/.dirs/system-data2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/signal-match-rules/.dirs/data 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/signal-match-rules/.dirs/state 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/signal-match-rules/.dirs/runtime 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1017s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s ok 6 /gdbus/connection/signal-match-rules 1017s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/filter/.dirs/home 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/filter/.dirs/cache 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/filter/.dirs/system-config2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/filter/.dirs/config 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/filter/.dirs/system-data2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/filter/.dirs/data 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/filter/.dirs/state 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/filter/.dirs/runtime 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1017s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s ok 7 /gdbus/connection/filter 1017s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/serials/.dirs/home 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/serials/.dirs/cache 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/serials/.dirs/system-config2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/serials/.dirs/config 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/serials/.dirs/system-data2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/serials/.dirs/data 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/serials/.dirs/state 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/serials/.dirs/runtime 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1017s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s ok 8 /gdbus/connection/serials 1017s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/cancel/.dirs/home 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/cancel/.dirs/cache 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/cancel/.dirs/system-config2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/cancel/.dirs/config 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/cancel/.dirs/system-data2 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/cancel/.dirs/data 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/cancel/.dirs/state 1017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TMG0Z2/gdbus/connection/cancel/.dirs/runtime 1017s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1017s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1017s ok 9 /gdbus/connection/cancel 1017s # End of connection tests 1017s # End of gdbus tests 1017s ok - glib/gdbus-connection.test 1017s # Running test: glib/memory-input-stream.test 1017s TAP version 14 1017s # random seed: R02Sd64b7946efb0db20d39786dd524dd6c4 1017s 1..6 1017s # Start of memory-input-stream tests 1017s ok 1 /memory-input-stream/read-chunks 1017s ok 2 /memory-input-stream/async 1017s ok 3 /memory-input-stream/seek 1017s ok 4 /memory-input-stream/truncate 1017s ok 5 /memory-input-stream/read-bytes 1017s ok 6 /memory-input-stream/from-bytes 1017s # End of memory-input-stream tests 1017s ok - glib/memory-input-stream.test 1017s # Running test: glib/unix-mounts.test 1017s TAP version 14 1017s # random seed: R02S69fb23e36e72a18440c67455f5cc5692 1017s 1..4 1017s # Start of unix-mounts tests 1017s ok 1 /unix-mounts/is-system-fs-type 1017s ok 2 /unix-mounts/is-system-device-path 1017s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 1017s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1017s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1017s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1017s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1017s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1017s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1017s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1017s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1017s ok 3 /unix-mounts/get-mount-points 1017s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 1017s ok 4 /unix-mounts/get-mount-entries 1017s # End of unix-mounts tests 1017s ok - glib/unix-mounts.test 1017s # Running test: glib/codegen.py.test 1018s TAP version 13 1018s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 1018s # tmpdir: /tmp/tmpg75iaxzj 1018s # codegen: /usr/bin/gdbus-codegen 1018s # /tmp/tmpg75iaxzj/tmpccfalxo0.xml: 1018s # 1018s # 1018s # 1018s # 1018s # 1018s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpg75iaxzj/tmpccfalxo0.xml', '--output', '-', '--header'] 1018s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1018s # Output: /* 1018s # * This file is generated by gdbus-codegen, do not modify it. 1018s # * 1018s # * The license of this code is the same as for the D-Bus interface description 1018s # * it was derived from. Note that it links to GLib, so must comply with the 1018s # * LGPL linking clauses. 1018s # */ 1018s # 1018s # #ifndef __STDOUT__ 1018s # #define __STDOUT__ 1018s # 1018s # #include 1018s # 1018s # G_BEGIN_DECLS 1018s # 1018s # 1018s # /* ------------------------------------------------------------------------ */ 1018s # /* Declarations for org.project.UsefulInterface */ 1018s # 1018s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1018s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1018s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1018s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1018s # 1018s # struct _OrgProjectUsefulInterface; 1018s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1018s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1018s # 1018s # struct _OrgProjectUsefulInterfaceIface 1018s # { 1018s # GTypeInterface parent_iface; 1018s # 1018s # gboolean (*handle_useful_method) ( 1018s # OrgProjectUsefulInterface *object, 1018s # GDBusMethodInvocation *invocation); 1018s # 1018s # }; 1018s # 1018s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1018s # 1018s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1018s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1018s # 1018s # 1018s # /* D-Bus method call completion functions: */ 1018s # void org_project_useful_interface_complete_useful_method ( 1018s # OrgProjectUsefulInterface *object, 1018s # GDBusMethodInvocation *invocation); 1018s # 1018s # 1018s # 1018s # /* D-Bus method calls: */ 1018s # void org_project_useful_interface_call_useful_method ( 1018s # OrgProjectUsefulInterface *proxy, 1018s # GCancellable *cancellable, 1018s # GAsyncReadyCallback callback, 1018s # gpointer user_data); 1018s # 1018s # gboolean org_project_useful_interface_call_useful_method_finish ( 1018s # OrgProjectUsefulInterface *proxy, 1018s # GAsyncResult *res, 1018s # GError **error); 1018s # 1018s # gboolean org_project_useful_interface_call_useful_method_sync ( 1018s # OrgProjectUsefulInterface *proxy, 1018s # GCancellable *cancellable, 1018s # GError **error); 1018s # 1018s # 1018s # 1018s # /* ---- */ 1018s # 1018s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1018s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1018s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1018s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1018s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1018s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1018s # 1018s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1018s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1018s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1018s # 1018s # struct _OrgProjectUsefulInterfaceProxy 1018s # { 1018s # /*< private >*/ 1018s # GDBusProxy parent_instance; 1018s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1018s # }; 1018s # 1018s # struct _OrgProjectUsefulInterfaceProxyClass 1018s # { 1018s # GDBusProxyClass parent_class; 1018s # }; 1018s # 1018s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1018s # 1018s # #if GLIB_CHECK_VERSION(2, 44, 0) 1018s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1018s # #endif 1018s # 1018s # void org_project_useful_interface_proxy_new ( 1018s # GDBusConnection *connection, 1018s # GDBusProxyFlags flags, 1018s # const gchar *name, 1018s # const gchar *object_path, 1018s # GCancellable *cancellable, 1018s # GAsyncReadyCallback callback, 1018s # gpointer user_data); 1018s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1018s # GAsyncResult *res, 1018s # GError **error); 1018s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1018s # GDBusConnection *connection, 1018s # GDBusProxyFlags flags, 1018s # const gchar *name, 1018s # const gchar *object_path, 1018s # GCancellable *cancellable, 1018s # GError **error); 1018s # 1018s # void org_project_useful_interface_proxy_new_for_bus ( 1018s # GBusType bus_type, 1018s # GDBusProxyFlags flags, 1018s # const gchar *name, 1018s # const gchar *object_path, 1018s # GCancellable *cancellable, 1018s # GAsyncReadyCallback callback, 1018s # gpointer user_data); 1018s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1018s # GAsyncResult *res, 1018s # GError **error); 1018s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1018s # GBusType bus_type, 1018s # GDBusProxyFlags flags, 1018s # const gchar *name, 1018s # const gchar *object_path, 1018s # GCancellable *cancellable, 1018s # GError **error); 1018s # 1018s # 1018s # /* ---- */ 1018s # 1018s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1018s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1018s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1018s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1018s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1018s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1018s # 1018s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1018s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1018s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1018s # 1018s # struct _OrgProjectUsefulInterfaceSkeleton 1018s # { 1018s # /*< private >*/ 1018s # GDBusInterfaceSkeleton parent_instance; 1018s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1018s # }; 1018s # 1018s # struct _OrgProjectUsefulInterfaceSkeletonClass 1018s # { 1018s # GDBusInterfaceSkeletonClass parent_class; 1018s # }; 1018s # 1018s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1018s # 1018s # #if GLIB_CHECK_VERSION(2, 44, 0) 1018s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1018s # #endif 1018s # 1018s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1018s # 1018s # 1018s # G_END_DECLS 1018s # 1018s # #endif /* __STDOUT__ */ 1018s # /tmp/tmpg75iaxzj/tmptxlqi9_f.xml: 1018s # 1018s # 1018s # 1018s # 1018s # 1018s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpg75iaxzj/tmptxlqi9_f.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1018s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1018s # Output: /* 1018s # * This file is generated by gdbus-codegen, do not modify it. 1018s # * 1018s # * The license of this code is the same as for the D-Bus interface description 1018s # * it was derived from. Note that it links to GLib, so must comply with the 1018s # * LGPL linking clauses. 1018s # */ 1018s # 1018s # #ifndef __STDOUT__ 1018s # #define __STDOUT__ 1018s # 1018s # #include 1018s # 1018s # G_BEGIN_DECLS 1018s # 1018s # 1018s # /* ------------------------------------------------------------------------ */ 1018s # /* Declarations for org.project.UsefulInterface */ 1018s # 1018s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1018s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1018s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1018s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1018s # 1018s # struct _OrgProjectUsefulInterface; 1018s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1018s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1018s # 1018s # struct _OrgProjectUsefulInterfaceIface 1018s # { 1018s # GTypeInterface parent_iface; 1018s # 1018s # gboolean (*handle_useful_method) ( 1018s # OrgProjectUsefulInterface *object, 1018s # GDBusMethodInvocation *invocation); 1018s # 1018s # }; 1018s # 1018s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1018s # 1018s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1018s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1018s # 1018s # 1018s # /* D-Bus method call completion functions: */ 1018s # void org_project_useful_interface_complete_useful_method ( 1018s # OrgProjectUsefulInterface *object, 1018s # GDBusMethodInvocation *invocation); 1018s # 1018s # 1018s # 1018s # /* D-Bus method calls: */ 1018s # void org_project_useful_interface_call_useful_method ( 1018s # OrgProjectUsefulInterface *proxy, 1018s # GCancellable *cancellable, 1018s # GAsyncReadyCallback callback, 1018s # gpointer user_data); 1018s # 1018s # gboolean org_project_useful_interface_call_useful_method_finish ( 1018s # OrgProjectUsefulInterface *proxy, 1018s # GAsyncResult *res, 1018s # GError **error); 1018s # 1018s # gboolean org_project_useful_interface_call_useful_method_sync ( 1018s # OrgProjectUsefulInterface *proxy, 1018s # GCancellable *cancellable, 1018s # GError **error); 1018s # 1018s # 1018s # 1018s # /* ---- */ 1018s # 1018s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1018s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1018s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1018s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1018s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1018s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1018s # 1018s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1018s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1018s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1018s # 1018s # struct _OrgProjectUsefulInterfaceProxy 1018s # { 1018s # /*< private >*/ 1018s # GDBusProxy parent_instance; 1018s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1018s # }; 1018s # 1018s # struct _OrgProjectUsefulInterfaceProxyClass 1018s # { 1018s # GDBusProxyClass parent_class; 1018s # }; 1018s # 1018s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1018s # 1018s # #if GLIB_CHECK_VERSION(2, 44, 0) 1018s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1018s # #endif 1018s # 1018s # void org_project_useful_interface_proxy_new ( 1018s # GDBusConnection *connection, 1018s # GDBusProxyFlags flags, 1018s # const gchar *name, 1018s # const gchar *object_path, 1018s # GCancellable *cancellable, 1018s # GAsyncReadyCallback callback, 1018s # gpointer user_data); 1018s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1018s # GAsyncResult *res, 1018s # GError **error); 1018s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1018s # GDBusConnection *connection, 1018s # GDBusProxyFlags flags, 1018s # const gchar *name, 1018s # const gchar *object_path, 1018s # GCancellable *cancellable, 1018s # GError **error); 1018s # 1018s # void org_project_useful_interface_proxy_new_for_bus ( 1018s # GBusType bus_type, 1018s # GDBusProxyFlags flags, 1018s # const gchar *name, 1018s # const gchar *object_path, 1018s # GCancellable *cancellable, 1018s # GAsyncReadyCallback callback, 1018s # gpointer user_data); 1018s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1018s # GAsyncResult *res, 1018s # GError **error); 1018s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1018s # GBusType bus_type, 1018s # GDBusProxyFlags flags, 1018s # const gchar *name, 1018s # const gchar *object_path, 1018s # GCancellable *cancellable, 1018s # GError **error); 1018s # 1018s # 1018s # /* ---- */ 1018s # 1018s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1018s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1018s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1018s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1018s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1018s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1018s # 1018s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1018s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1018s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1018s # 1018s # struct _OrgProjectUsefulInterfaceSkeleton 1018s # { 1018s # /*< private >*/ 1018s # GDBusInterfaceSkeleton parent_instance; 1018s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1018s # }; 1018s # 1018s # struct _OrgProjectUsefulInterfaceSkeletonClass 1018s # { 1018s # GDBusInterfaceSkeletonClass parent_class; 1018s # }; 1018s # 1018s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1018s # 1018s # #if GLIB_CHECK_VERSION(2, 44, 0) 1018s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1018s # #endif 1018s # 1018s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1018s # 1018s # 1018s # G_END_DECLS 1018s # 1018s # #endif /* __STDOUT__ */ 1018s # /tmp/tmpg75iaxzj/tmpeto30tv6.xml: 1018s # 1018s # 1018s # 1018s # 1018s # 1018s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpg75iaxzj/tmpeto30tv6.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1018s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1018s # Output: /* 1018s # * This file is generated by gdbus-codegen, do not modify it. 1018s # * 1018s # * The license of this code is the same as for the D-Bus interface description 1018s # * it was derived from. Note that it links to GLib, so must comply with the 1018s # * LGPL linking clauses. 1018s # */ 1018s # 1018s # #ifndef __STDOUT__ 1018s # #define __STDOUT__ 1018s # 1018s # #include 1018s # 1018s # G_BEGIN_DECLS 1018s # 1018s # 1018s # /* ------------------------------------------------------------------------ */ 1018s # /* Declarations for org.project.UsefulInterface */ 1018s # 1018s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1018s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1018s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1018s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1018s # 1018s # struct _OrgProjectUsefulInterface; 1018s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1018s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1018s # 1018s # struct _OrgProjectUsefulInterfaceIface 1018s # { 1018s # GTypeInterface parent_iface; 1018s # 1018s # gboolean (*handle_useful_method) ( 1018s # OrgProjectUsefulInterface *object, 1018s # GDBusMethodInvocation *invocation); 1018s # 1018s # }; 1018s # 1018s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1018s # 1018s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1018s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1018s # 1018s # 1018s # /* D-Bus method call completion functions: */ 1018s # void org_project_useful_interface_complete_useful_method ( 1018s # OrgProjectUsefulInterface *object, 1018s # GDBusMethodInvocation *invocation); 1018s # 1018s # 1018s # 1018s # /* D-Bus method calls: */ 1018s # void org_project_useful_interface_call_useful_method ( 1018s # OrgProjectUsefulInterface *proxy, 1018s # GDBusCallFlags call_flags, 1018s # gint timeout_msec, 1018s # GCancellable *cancellable, 1018s # GAsyncReadyCallback callback, 1018s # gpointer user_data); 1018s # 1018s # gboolean org_project_useful_interface_call_useful_method_finish ( 1018s # OrgProjectUsefulInterface *proxy, 1018s # GAsyncResult *res, 1018s # GError **error); 1018s # 1018s # gboolean org_project_useful_interface_call_useful_method_sync ( 1018s # OrgProjectUsefulInterface *proxy, 1018s # GDBusCallFlags call_flags, 1018s # gint timeout_msec, 1018s # GCancellable *cancellable, 1018s # GError **error); 1018s # 1018s # 1018s # 1018s # /* ---- */ 1018s # 1018s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1018s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1018s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1018s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1018s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1018s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1018s # 1018s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1018s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1018s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1018s # 1018s # struct _OrgProjectUsefulInterfaceProxy 1018s # { 1018s # /*< private >*/ 1018s # GDBusProxy parent_instance; 1018s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1018s # }; 1018s # 1018s # struct _OrgProjectUsefulInterfaceProxyClass 1018s # { 1018s # GDBusProxyClass parent_class; 1018s # }; 1018s # 1018s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1018s # 1018s # #if GLIB_CHECK_VERSION(2, 44, 0) 1018s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1018s # #endif 1018s # 1018s # void org_project_useful_interface_proxy_new ( 1018s # GDBusConnection *connection, 1018s # GDBusProxyFlags flags, 1018s # const gchar *name, 1018s # const gchar *object_path, 1018s # GCancellable *cancellable, 1018s # GAsyncReadyCallback callback, 1018s # gpointer user_data); 1018s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1018s # GAsyncResult *res, 1018s # GError **error); 1018s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1018s # GDBusConnection *connection, 1018s # GDBusProxyFlags flags, 1018s # const gchar *name, 1018s # const gchar *object_path, 1018s # GCancellable *cancellable, 1018s # GError **error); 1018s # 1018s # void org_project_useful_interface_proxy_new_for_bus ( 1018s # GBusType bus_type, 1018s # GDBusProxyFlags flags, 1018s # const gchar *name, 1018s # const gchar *object_path, 1018s # GCancellable *cancellable, 1018s # GAsyncReadyCallback callback, 1018s # gpointer user_data); 1018s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1018s # GAsyncResult *res, 1018s # GError **error); 1018s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1018s # GBusType bus_type, 1018s # GDBusProxyFlags flags, 1018s # const gchar *name, 1018s # const gchar *object_path, 1018s # GCancellable *cancellable, 1018s # GError **error); 1018s # 1018s # 1018s # /* ---- */ 1018s # 1018s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1018s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1018s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1018s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1018s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1018s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1018s # 1018s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1018s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1018s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1018s # 1018s # struct _OrgProjectUsefulInterfaceSkeleton 1018s # { 1018s # /*< private >*/ 1018s # GDBusInterfaceSkeleton parent_instance; 1018s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1018s # }; 1018s # 1018s # struct _OrgProjectUsefulInterfaceSkeletonClass 1018s # { 1018s # GDBusInterfaceSkeletonClass parent_class; 1018s # }; 1018s # 1018s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1018s # 1018s # #if GLIB_CHECK_VERSION(2, 44, 0) 1018s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1018s # #endif 1018s # 1018s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1018s # 1018s # 1018s # G_END_DECLS 1018s # 1018s # #endif /* __STDOUT__ */ 1018s # Executing: glib/codegen.py.test 1019s ok 2 __main__.TestCodegen.test_dbus_types 1019s # tmpdir: /tmp/tmpp43f4t_v 1019s # codegen: /usr/bin/gdbus-codegen 1019s # /tmp/tmpp43f4t_v/tmp8xg0iemi.xml: 1019s # 1019s # 1019s # 1019s # 1019s # 1019s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp43f4t_v/tmp8xg0iemi.xml', '--output', '-', '--body'] 1019s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1019s # /tmp/tmpp43f4t_v/tmpcyy9thiv.xml: 1019s # 1019s # 1019s # 1019s # 1019s # 1019s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp43f4t_v/tmpcyy9thiv.xml', '--output', '-', '--body'] 1019s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1019s # /tmp/tmpp43f4t_v/tmpzla460vu.xml: 1019s # 1019s # 1019s # 1019s # 1019s # 1019s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp43f4t_v/tmpzla460vu.xml', '--output', '-', '--body'] 1019s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1019s # /tmp/tmpp43f4t_v/tmpogly_yg2.xml: 1019s # 1019s # 1019s # 1019s # 1019s # 1019s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp43f4t_v/tmpogly_yg2.xml', '--output', '-', '--body'] 1019s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1019s # /tmp/tmpp43f4t_v/tmpoqhg73qm.xml: 1019s # 1019s # 1019s # 1019s # 1019s # 1019s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp43f4t_v/tmpoqhg73qm.xml', '--output', '-', '--body'] 1019s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1019s # /tmp/tmpp43f4t_v/tmpxmagbe91.xml: 1019s # 1019s # 1019s # 1019s # 1019s # 1019s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp43f4t_v/tmpxmagbe91.xml', '--output', '-', '--body'] 1019s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1019s # /tmp/tmpp43f4t_v/tmp770_8bai.xml: 1019s # 1019s # 1019s # 1019s # 1019s # 1019s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp43f4t_v/tmp770_8bai.xml', '--output', '-', '--body'] 1019s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1019s # /tmp/tmpp43f4t_v/tmpo2k8r4b1.xml: 1019s # 1019s # 1019s # 1019s # 1019s # 1019s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp43f4t_v/tmpo2k8r4b1.xml', '--output', '-', '--body'] 1019s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1019s # /tmp/tmpp43f4t_v/tmpvaud8oj4.xml: 1019s # 1019s # 1019s # 1019s # 1019s # 1019s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp43f4t_v/tmpvaud8oj4.xml', '--output', '-', '--body'] 1019s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1019s # /tmp/tmpp43f4t_v/tmpbk8m6dqo.xml: 1019s # 1019s # 1019s # 1019s # 1019s # 1019s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp43f4t_v/tmpbk8m6dqo.xml', '--output', '-', '--body'] 1019s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1019s # /tmp/tmpp43f4t_v/tmp5prlcmlj.xml: 1019s # 1019s # 1019s # 1019s # 1019s # 1019s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp43f4t_v/tmp5prlcmlj.xml', '--output', '-', '--body'] 1019s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1019s # /tmp/tmpp43f4t_v/tmpmb0_64pv.xml: 1019s # 1019s # 1019s # 1019s # 1019s # 1019s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp43f4t_v/tmpmb0_64pv.xml', '--output', '-', '--body'] 1019s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1019s # /tmp/tmpp43f4t_v/tmp4s8tyyue.xml: 1019s # 1019s # 1019s # 1019s # 1019s # 1019s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp43f4t_v/tmp4s8tyyue.xml', '--output', '-', '--body'] 1019s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1019s # /tmp/tmpp43f4t_v/tmp_zi158ti.xml: 1019s # 1019s # 1019s # 1019s # 1019s # 1019s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp43f4t_v/tmp_zi158ti.xml', '--output', '-', '--body'] 1019s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1019s # Output: /* 1019s # * This file is generated by gdbus-codegen, do not modify it. 1019s # * 1019s # * The license of this code is the same as for the D-Bus interface description 1019s # * it was derived from. Note that it links to GLib, so must comply with the 1019s # * LGPL linking clauses. 1019s # */ 1019s # 1019s # #ifdef HAVE_CONFIG_H 1019s # # include "config.h" 1019s # #endif 1019s # 1019s # #include 1019s # #ifdef G_OS_UNIX 1019s # # include 1019s # #endif 1019s # 1019s # #ifdef G_ENABLE_DEBUG 1019s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1019s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1019s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1019s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1019s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1019s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1019s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1019s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1019s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1019s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1019s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1019s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1019s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1019s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1019s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1019s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1019s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1019s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1019s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1019s # #else /* !G_ENABLE_DEBUG */ 1019s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1019s # * Do not access GValues directly in your code. Instead, use the 1019s # * g_value_get_*() functions 1019s # */ 1019s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1019s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1019s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1019s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1019s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1019s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1019s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1019s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1019s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1019s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1019s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1019s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1019s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1019s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1019s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1019s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1019s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1019s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1019s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1019s # #endif /* !G_ENABLE_DEBUG */ 1019s # 1019s # typedef struct 1019s # { 1019s # GDBusArgInfo parent_struct; 1019s # gboolean use_gvariant; 1019s # } _ExtendedGDBusArgInfo; 1019s # 1019s # typedef struct 1019s # { 1019s # GDBusMethodInfo parent_struct; 1019s # const gchar *signal_name; 1019s # gboolean pass_fdlist; 1019s # } _ExtendedGDBusMethodInfo; 1019s # 1019s # typedef struct 1019s # { 1019s # GDBusSignalInfo parent_struct; 1019s # const gchar *signal_name; 1019s # } _ExtendedGDBusSignalInfo; 1019s # 1019s # typedef struct 1019s # { 1019s # GDBusPropertyInfo parent_struct; 1019s # const gchar *hyphen_name; 1019s # guint use_gvariant : 1; 1019s # guint emits_changed_signal : 1; 1019s # } _ExtendedGDBusPropertyInfo; 1019s # 1019s # typedef struct 1019s # { 1019s # GDBusInterfaceInfo parent_struct; 1019s # const gchar *hyphen_name; 1019s # } _ExtendedGDBusInterfaceInfo; 1019s # 1019s # typedef struct 1019s # { 1019s # const _ExtendedGDBusPropertyInfo *info; 1019s # guint prop_id; 1019s # GValue orig_value; /* the value before the change */ 1019s # } ChangedProperty; 1019s # 1019s # static void 1019s # _changed_property_free (ChangedProperty *data) 1019s # { 1019s # g_value_unset (&data->orig_value); 1019s # g_free (data); 1019s # } 1019s # 1019s # static gboolean 1019s # _g_strv_equal0 (gchar **a, gchar **b) 1019s # { 1019s # gboolean ret = FALSE; 1019s # guint n; 1019s # if (a == NULL && b == NULL) 1019s # { 1019s # ret = TRUE; 1019s # goto out; 1019s # } 1019s # if (a == NULL || b == NULL) 1019s # goto out; 1019s # if (g_strv_length (a) != g_strv_length (b)) 1019s # goto out; 1019s # for (n = 0; a[n] != NULL; n++) 1019s # if (g_strcmp0 (a[n], b[n]) != 0) 1019s # goto out; 1019s # ret = TRUE; 1019s # out: 1019s # return ret; 1019s # } 1019s # 1019s # static gboolean 1019s # _g_variant_equal0 (GVariant *a, GVariant *b) 1019s # { 1019s # gboolean ret = FALSE; 1019s # if (a == NULL && b == NULL) 1019s # { 1019s # ret = TRUE; 1019s # goto out; 1019s # } 1019s # if (a == NULL || b == NULL) 1019s # goto out; 1019s # ret = g_variant_equal (a, b); 1019s # out: 1019s # return ret; 1019s # } 1019s # 1019s # G_GNUC_UNUSED static gboolean 1019s # _g_value_equal (const GValue *a, const GValue *b) 1019s # { 1019s # gboolean ret = FALSE; 1019s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1019s # switch (G_VALUE_TYPE (a)) 1019s # { 1019s # case G_TYPE_BOOLEAN: 1019s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1019s # break; 1019s # case G_TYPE_UCHAR: 1019s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1019s # break; 1019s # case G_TYPE_INT: 1019s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1019s # break; 1019s # case G_TYPE_UINT: 1019s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1019s # break; 1019s # case G_TYPE_INT64: 1019s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1019s # break; 1019s # case G_TYPE_UINT64: 1019s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1019s # break; 1019s # case G_TYPE_DOUBLE: 1019s # { 1019s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1019s # gdouble da = g_value_get_double (a); 1019s # gdouble db = g_value_get_double (b); 1019s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1019s # } 1019s # break; 1019s # case G_TYPE_STRING: 1019s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1019s # break; 1019s # case G_TYPE_VARIANT: 1019s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1019s # break; 1019s # default: 1019s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1019s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1019s # else 1019s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1019s # break; 1019s # } 1019s # return ret; 1019s # } 1019s # 1019s # /* ------------------------------------------------------------------------ 1019s # * Code for interface GoodTypes 1019s # * ------------------------------------------------------------------------ 1019s # */ 1019s # 1019s # /** 1019s # * SECTION:GoodTypes 1019s # * @title: GoodTypes 1019s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1019s # * 1019s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1019s # */ 1019s # 1019s # /* ---- Introspection data for GoodTypes ---- */ 1019s # 1019s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1019s # { 1019s # { 1019s # -1, 1019s # (gchar *) "GoodPropertyType", 1019s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 1019s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1019s # NULL 1019s # }, 1019s # "good-property-type", 1019s # FALSE, 1019s # TRUE 1019s # }; 1019s # 1019s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1019s # { 1019s # &_good_types_property_info_good_property_type.parent_struct, 1019s # NULL 1019s # }; 1019s # 1019s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1019s # { 1019s # { 1019s # -1, 1019s # (gchar *) "GoodTypes", 1019s # NULL, 1019s # NULL, 1019s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1019s # NULL 1019s # }, 1019s # "good-types", 1019s # }; 1019s # 1019s # 1019s # /** 1019s # * good_types_interface_info: 1019s # * 1019s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1019s # * 1019s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1019s # */ 1019s # GDBusInterfaceInfo * 1019s # good_types_interface_info (void) 1019s # { 1019s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1019s # } 1019s # 1019s # /** 1019s # * good_types_override_properties: 1019s # * @klass: The class structure for a #GObject derived class. 1019s # * @property_id_begin: The property id to assign to the first overridden property. 1019s # * 1019s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1019s # * The properties are overridden in the order they are defined. 1019s # * 1019s # * Returns: The last property id. 1019s # */ 1019s # guint 1019s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1019s # { 1019s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1019s # return property_id_begin - 1; 1019s # } 1019s # 1019s # 1019s # 1019s # /** 1019s # * GoodTypes: 1019s # * 1019s # * Abstract interface type for the D-Bus interface GoodTypes. 1019s # */ 1019s # 1019s # /** 1019s # * GoodTypesIface: 1019s # * @parent_iface: The parent interface. 1019s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1019s # * 1019s # * Virtual table for the D-Bus interface GoodTypes. 1019s # */ 1019s # 1019s # typedef GoodTypesIface GoodTypesInterface; 1019s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1019s # 1019s # static void 1019s # good_types_default_init (GoodTypesIface *iface) 1019s # { 1019s # /* GObject properties for D-Bus properties: */ 1019s # /** 1019s # * GoodTypes:good-property-type: 1019s # * 1019s # * Represents the D-Bus property "GoodPropertyType". 1019s # * 1019s # * 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. 1019s # */ 1019s # g_object_interface_install_property (iface, 1019s # 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)); 1019s # } 1019s # 1019s # /** 1019s # * good_types_get_good_property_type: (skip) 1019s # * @object: A GoodTypes. 1019s # * 1019s # * Gets the value of the "GoodPropertyType" D-Bus property. 1019s # * 1019s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1019s # * 1019s # * 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. 1019s # * 1019s # * 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. 1019s # */ 1019s # GVariant * 1019s # good_types_get_good_property_type (GoodTypes *object) 1019s # { 1019s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1019s # 1019s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1019s # } 1019s # 1019s # /** 1019s # * good_types_dup_good_property_type: (skip) 1019s # * @object: A GoodTypes. 1019s # * 1019s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1019s # * 1019s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1019s # * 1019s # * 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(). 1019s # */ 1019s # GVariant * 1019s # good_types_dup_good_property_type (GoodTypes *object) 1019s # { 1019s # GVariant *value; 1019s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1019s # return value; 1019s # } 1019s # 1019s # /** 1019s # * good_types_set_good_property_type: (skip) 1019s # * @object: A GoodTypes. 1019s # * @value: The value to set. 1019s # * 1019s # * Sets the "GoodPropertyType" D-Bus property to @value. 1019s # * 1019s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1019s # */ 1019s # void 1019s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1019s # { 1019s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1019s # } 1019s # 1019s # /* ------------------------------------------------------------------------ */ 1019s # 1019s # /** 1019s # * GoodTypesProxy: 1019s # * 1019s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1019s # */ 1019s # 1019s # /** 1019s # * GoodTypesProxyClass: 1019s # * @parent_class: The parent class. 1019s # * 1019s # * Class structure for GoodTypesProxy. 1019s # */ 1019s # 1019s # struct _GoodTypesProxyPrivate 1019s # { 1019s # GData *qdata; 1019s # }; 1019s # 1019s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1019s # 1019s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1019s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1019s # G_ADD_PRIVATE (GoodTypesProxy) 1019s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1019s # 1019s # #else 1019s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1019s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1019s # 1019s # #endif 1019s # static void 1019s # good_types_proxy_finalize (GObject *object) 1019s # { 1019s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1019s # g_datalist_clear (&proxy->priv->qdata); 1019s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1019s # } 1019s # 1019s # static void 1019s # good_types_proxy_get_property (GObject *object, 1019s # guint prop_id, 1019s # GValue *value, 1019s # GParamSpec *pspec G_GNUC_UNUSED) 1019s # { 1019s # const _ExtendedGDBusPropertyInfo *info; 1019s # GVariant *variant; 1019s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1019s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1019s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1019s # if (info->use_gvariant) 1019s # { 1019s # g_value_set_variant (value, variant); 1019s # } 1019s # else 1019s # { 1019s # if (variant != NULL) 1019s # g_dbus_gvariant_to_gvalue (variant, value); 1019s # } 1019s # if (variant != NULL) 1019s # g_variant_unref (variant); 1019s # } 1019s # 1019s # static void 1019s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1019s # GAsyncResult *res, 1019s # gpointer user_data) 1019s # { 1019s # const _ExtendedGDBusPropertyInfo *info = user_data; 1019s # GError *error; 1019s # GVariant *_ret; 1019s # error = NULL; 1019s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1019s # if (!_ret) 1019s # { 1019s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1019s # info->parent_struct.name, 1019s # error->message, g_quark_to_string (error->domain), error->code); 1019s # g_error_free (error); 1019s # } 1019s # else 1019s # { 1019s # g_variant_unref (_ret); 1019s # } 1019s # } 1019s # 1019s # static void 1019s # good_types_proxy_set_property (GObject *object, 1019s # guint prop_id, 1019s # const GValue *value, 1019s # GParamSpec *pspec G_GNUC_UNUSED) 1019s # { 1019s # const _ExtendedGDBusPropertyInfo *info; 1019s # GVariant *variant; 1019s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1019s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1019s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1019s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1019s # "org.freedesktop.DBus.Properties.Set", 1019s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1019s # G_DBUS_CALL_FLAGS_NONE, 1019s # -1, 1019s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1019s # g_variant_unref (variant); 1019s # } 1019s # 1019s # static void 1019s # good_types_proxy_g_signal (GDBusProxy *proxy, 1019s # const gchar *sender_name G_GNUC_UNUSED, 1019s # const gchar *signal_name, 1019s # GVariant *parameters) 1019s # { 1019s # _ExtendedGDBusSignalInfo *info; 1019s # GVariantIter iter; 1019s # GVariant *child; 1019s # GValue *paramv; 1019s # gsize num_params; 1019s # gsize n; 1019s # guint signal_id; 1019s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1019s # if (info == NULL) 1019s # return; 1019s # num_params = g_variant_n_children (parameters); 1019s # paramv = g_new0 (GValue, num_params + 1); 1019s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1019s # g_value_set_object (¶mv[0], proxy); 1019s # g_variant_iter_init (&iter, parameters); 1019s # n = 1; 1019s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1019s # { 1019s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1019s # if (arg_info->use_gvariant) 1019s # { 1019s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1019s # g_value_set_variant (¶mv[n], child); 1019s # n++; 1019s # } 1019s # else 1019s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1019s # g_variant_unref (child); 1019s # } 1019s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1019s # g_signal_emitv (paramv, signal_id, 0, NULL); 1019s # for (n = 0; n < num_params + 1; n++) 1019s # g_value_unset (¶mv[n]); 1019s # g_free (paramv); 1019s # } 1019s # 1019s # static void 1019s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1019s # GVariant *changed_properties, 1019s # const gchar *const *invalidated_properties) 1019s # { 1019s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1019s # guint n; 1019s # const gchar *key; 1019s # GVariantIter *iter; 1019s # _ExtendedGDBusPropertyInfo *info; 1019s # g_variant_get (changed_properties, "a{sv}", &iter); 1019s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1019s # { 1019s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1019s # g_datalist_remove_data (&proxy->priv->qdata, key); 1019s # if (info != NULL) 1019s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1019s # } 1019s # g_variant_iter_free (iter); 1019s # for (n = 0; invalidated_properties[n] != NULL; n++) 1019s # { 1019s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1019s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1019s # if (info != NULL) 1019s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1019s # } 1019s # } 1019s # 1019s # static GVariant * 1019s # good_types_proxy_get_good_property_type (GoodTypes *object) 1019s # { 1019s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1019s # GVariant *variant; 1019s # GVariant *value = NULL; 1019s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1019s # value = variant; 1019s # if (variant != NULL) 1019s # g_variant_unref (variant); 1019s # return value; 1019s # } 1019s # 1019s # static void 1019s # good_types_proxy_init (GoodTypesProxy *proxy) 1019s # { 1019s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1019s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1019s # #else 1019s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1019s # #endif 1019s # 1019s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1019s # } 1019s # 1019s # static void 1019s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1019s # { 1019s # GObjectClass *gobject_class; 1019s # GDBusProxyClass *proxy_class; 1019s # 1019s # gobject_class = G_OBJECT_CLASS (klass); 1019s # gobject_class->finalize = good_types_proxy_finalize; 1019s # gobject_class->get_property = good_types_proxy_get_property; 1019s # gobject_class->set_property = good_types_proxy_set_property; 1019s # 1019s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1019s # proxy_class->g_signal = good_types_proxy_g_signal; 1019s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1019s # 1019s # good_types_override_properties (gobject_class, 1); 1019s # 1019s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1019s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1019s # #endif 1019s # } 1019s # 1019s # static void 1019s # good_types_proxy_iface_init (GoodTypesIface *iface) 1019s # { 1019s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1019s # } 1019s # 1019s # /** 1019s # * good_types_proxy_new: 1019s # * @connection: A #GDBusConnection. 1019s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1019s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1019s # * @object_path: An object path. 1019s # * @cancellable: (nullable): A #GCancellable or %NULL. 1019s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1019s # * @user_data: User data to pass to @callback. 1019s # * 1019s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1019s # * 1019s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1019s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1019s # * 1019s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1019s # */ 1019s # void 1019s # good_types_proxy_new ( 1019s # GDBusConnection *connection, 1019s # GDBusProxyFlags flags, 1019s # const gchar *name, 1019s # const gchar *object_path, 1019s # GCancellable *cancellable, 1019s # GAsyncReadyCallback callback, 1019s # gpointer user_data) 1019s # { 1019s # 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); 1019s # } 1019s # 1019s # /** 1019s # * good_types_proxy_new_finish: 1019s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1019s # * @error: Return location for error or %NULL 1019s # * 1019s # * Finishes an operation started with good_types_proxy_new(). 1019s # * 1019s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1019s # */ 1019s # GoodTypes * 1019s # good_types_proxy_new_finish ( 1019s # GAsyncResult *res, 1019s # GError **error) 1019s # { 1019s # GObject *ret; 1019s # GObject *source_object; 1019s # source_object = g_async_result_get_source_object (res); 1019s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1019s # g_object_unref (source_object); 1019s # if (ret != NULL) 1019s # return GOOD_TYPES (ret); 1019s # else 1019s # return NULL; 1019s # } 1019s # 1019s # /** 1019s # * good_types_proxy_new_sync: 1019s # * @connection: A #GDBusConnection. 1019s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1019s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1019s # * @object_path: An object path. 1019s # * @cancellable: (nullable): A #GCancellable or %NULL. 1019s # * @error: Return location for error or %NULL 1019s # * 1019s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1019s # * 1019s # * The calling thread is blocked until a reply is received. 1019s # * 1019s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1019s # * 1019s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1019s # */ 1019s # GoodTypes * 1019s # good_types_proxy_new_sync ( 1019s # GDBusConnection *connection, 1019s # GDBusProxyFlags flags, 1019s # const gchar *name, 1019s # const gchar *object_path, 1019s # GCancellable *cancellable, 1019s # GError **error) 1019s # { 1019s # GInitable *ret; 1019s # 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); 1019s # if (ret != NULL) 1019s # return GOOD_TYPES (ret); 1019s # else 1019s # return NULL; 1019s # } 1019s # 1019s # 1019s # /** 1019s # * good_types_proxy_new_for_bus: 1019s # * @bus_type: A #GBusType. 1019s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1019s # * @name: A bus name (well-known or unique). 1019s # * @object_path: An object path. 1019s # * @cancellable: (nullable): A #GCancellable or %NULL. 1019s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1019s # * @user_data: User data to pass to @callback. 1019s # * 1019s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1019s # * 1019s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1019s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1019s # * 1019s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1019s # */ 1019s # void 1019s # good_types_proxy_new_for_bus ( 1019s # GBusType bus_type, 1019s # GDBusProxyFlags flags, 1019s # const gchar *name, 1019s # const gchar *object_path, 1019s # GCancellable *cancellable, 1019s # GAsyncReadyCallback callback, 1019s # gpointer user_data) 1019s # { 1019s # 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); 1019s # } 1019s # 1019s # /** 1019s # * good_types_proxy_new_for_bus_finish: 1019s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1019s # * @error: Return location for error or %NULL 1019s # * 1019s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1019s # * 1019s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1019s # */ 1019s # GoodTypes * 1019s # good_types_proxy_new_for_bus_finish ( 1019s # GAsyncResult *res, 1019s # GError **error) 1019s # { 1019s # GObject *ret; 1019s # GObject *source_object; 1019s # source_object = g_async_result_get_source_object (res); 1019s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1019s # g_object_unref (source_object); 1019s # if (ret != NULL) 1019s # return GOOD_TYPES (ret); 1019s # else 1019s # return NULL; 1019s # } 1019s # 1019s # /** 1019s # * good_types_proxy_new_for_bus_sync: 1019s # * @bus_type: A #GBusType. 1019s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1019s # * @name: A bus name (well-known or unique). 1019s # * @object_path: An object path. 1019s # * @cancellable: (nullable): A #GCancellable or %NULL. 1019s # * @error: Return location for error or %NULL 1019s # * 1019s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1019s # * 1019s # * The calling thread is blocked until a reply is received. 1019s # * 1019s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1019s # * 1019s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1019s # */ 1019s # GoodTypes * 1019s # good_types_proxy_new_for_bus_sync ( 1019s # GBusType bus_type, 1019s # GDBusProxyFlags flags, 1019s # const gchar *name, 1019s # const gchar *object_path, 1019s # GCancellable *cancellable, 1019s # GError **error) 1019s # { 1019s # GInitable *ret; 1019s # 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); 1019s # if (ret != NULL) 1019s # return GOOD_TYPES (ret); 1019s # else 1019s # return NULL; 1019s # } 1019s # 1019s # 1019s # /* ------------------------------------------------------------------------ */ 1019s # 1019s # /** 1019s # * GoodTypesSkeleton: 1019s # * 1019s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1019s # */ 1019s # 1019s # /** 1019s # * GoodTypesSkeletonClass: 1019s # * @parent_class: The parent class. 1019s # * 1019s # * Class structure for GoodTypesSkeleton. 1019s # */ 1019s # 1019s # struct _GoodTypesSkeletonPrivate 1019s # { 1019s # GValue *properties; 1019s # GList *changed_properties; 1019s # GSource *changed_properties_idle_source; 1019s # GMainContext *context; 1019s # GMutex lock; 1019s # }; 1019s # 1019s # static void 1019s # _good_types_skeleton_handle_method_call ( 1019s # GDBusConnection *connection G_GNUC_UNUSED, 1019s # const gchar *sender G_GNUC_UNUSED, 1019s # const gchar *object_path G_GNUC_UNUSED, 1019s # const gchar *interface_name, 1019s # const gchar *method_name, 1019s # GVariant *parameters, 1019s # GDBusMethodInvocation *invocation, 1019s # gpointer user_data) 1019s # { 1019s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1019s # _ExtendedGDBusMethodInfo *info; 1019s # GVariantIter iter; 1019s # GVariant *child; 1019s # GValue *paramv; 1019s # gsize num_params; 1019s # guint num_extra; 1019s # gsize n; 1019s # guint signal_id; 1019s # GValue return_value = G_VALUE_INIT; 1019s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1019s # g_assert (info != NULL); 1019s # num_params = g_variant_n_children (parameters); 1019s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1019s # n = 0; 1019s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1019s # g_value_set_object (¶mv[n++], skeleton); 1019s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1019s # g_value_set_object (¶mv[n++], invocation); 1019s # if (info->pass_fdlist) 1019s # { 1019s # #ifdef G_OS_UNIX 1019s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1019s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1019s # #else 1019s # g_assert_not_reached (); 1019s # #endif 1019s # } 1019s # g_variant_iter_init (&iter, parameters); 1019s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1019s # { 1019s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1019s # if (arg_info->use_gvariant) 1019s # { 1019s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1019s # g_value_set_variant (¶mv[n], child); 1019s # n++; 1019s # } 1019s # else 1019s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1019s # g_variant_unref (child); 1019s # } 1019s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1019s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1019s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1019s # if (!g_value_get_boolean (&return_value)) 1019s # 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); 1019s # g_value_unset (&return_value); 1019s # for (n = 0; n < num_params + num_extra; n++) 1019s # g_value_unset (¶mv[n]); 1019s # g_free (paramv); 1019s # } 1019s # 1019s # static GVariant * 1019s # _good_types_skeleton_handle_get_property ( 1019s # GDBusConnection *connection G_GNUC_UNUSED, 1019s # const gchar *sender G_GNUC_UNUSED, 1019s # const gchar *object_path G_GNUC_UNUSED, 1019s # const gchar *interface_name G_GNUC_UNUSED, 1019s # const gchar *property_name, 1019s # GError **error, 1019s # gpointer user_data) 1019s # { 1019s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1019s # GValue value = G_VALUE_INIT; 1019s # GParamSpec *pspec; 1019s # _ExtendedGDBusPropertyInfo *info; 1019s # GVariant *ret; 1019s # ret = NULL; 1019s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1019s # g_assert (info != NULL); 1019s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1019s # if (pspec == NULL) 1019s # { 1019s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1019s # } 1019s # else 1019s # { 1019s # g_value_init (&value, pspec->value_type); 1019s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1019s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1019s # g_value_unset (&value); 1019s # } 1019s # return ret; 1019s # } 1019s # 1019s # static gboolean 1019s # _good_types_skeleton_handle_set_property ( 1019s # GDBusConnection *connection G_GNUC_UNUSED, 1019s # const gchar *sender G_GNUC_UNUSED, 1019s # const gchar *object_path G_GNUC_UNUSED, 1019s # const gchar *interface_name G_GNUC_UNUSED, 1019s # const gchar *property_name, 1019s # GVariant *variant, 1019s # GError **error, 1019s # gpointer user_data) 1019s # { 1019s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1019s # GValue value = G_VALUE_INIT; 1019s # GParamSpec *pspec; 1019s # _ExtendedGDBusPropertyInfo *info; 1019s # gboolean ret; 1019s # ret = FALSE; 1019s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1019s # g_assert (info != NULL); 1019s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1019s # if (pspec == NULL) 1019s # { 1019s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1019s # } 1019s # else 1019s # { 1019s # if (info->use_gvariant) 1019s # g_value_set_variant (&value, variant); 1019s # else 1019s # g_dbus_gvariant_to_gvalue (variant, &value); 1019s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1019s # g_value_unset (&value); 1019s # ret = TRUE; 1019s # } 1019s # return ret; 1019s # } 1019s # 1019s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1019s # { 1019s # _good_types_skeleton_handle_method_call, 1019s # _good_types_skeleton_handle_get_property, 1019s # _good_types_skeleton_handle_set_property, 1019s # {NULL} 1019s # }; 1019s # 1019s # static GDBusInterfaceInfo * 1019s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1019s # { 1019s # return good_types_interface_info (); 1019s # } 1019s # 1019s # static GDBusInterfaceVTable * 1019s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1019s # { 1019s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1019s # } 1019s # 1019s # static GVariant * 1019s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1019s # { 1019s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1019s # 1019s # GVariantBuilder builder; 1019s # guint n; 1019s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1019s # if (_good_types_interface_info.parent_struct.properties == NULL) 1019s # goto out; 1019s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1019s # { 1019s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1019s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1019s # { 1019s # GVariant *value; 1019s # 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); 1019s # if (value != NULL) 1019s # { 1019s # g_variant_take_ref (value); 1019s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1019s # g_variant_unref (value); 1019s # } 1019s # } 1019s # } 1019s # out: 1019s # return g_variant_builder_end (&builder); 1019s # } 1019s # 1019s # static gboolean _good_types_emit_changed (gpointer user_data); 1019s # 1019s # static void 1019s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1019s # { 1019s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1019s # gboolean emit_changed = FALSE; 1019s # 1019s # g_mutex_lock (&skeleton->priv->lock); 1020s # if (skeleton->priv->changed_properties_idle_source != NULL) 1020s # { 1020s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1020s # skeleton->priv->changed_properties_idle_source = NULL; 1020s # emit_changed = TRUE; 1020s # } 1020s # g_mutex_unlock (&skeleton->priv->lock); 1020s # 1020s # if (emit_changed) 1020s # _good_types_emit_changed (skeleton); 1020s # } 1020s # 1020s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1020s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1020s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1020s # G_ADD_PRIVATE (GoodTypesSkeleton) 1020s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1020s # 1020s # #else 1020s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1020s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1020s # 1020s # #endif 1020s # static void 1020s # good_types_skeleton_finalize (GObject *object) 1020s # { 1020s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1020s # guint n; 1020s # for (n = 0; n < 1; n++) 1020s # g_value_unset (&skeleton->priv->properties[n]); 1020s # g_free (skeleton->priv->properties); 1020s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1020s # if (skeleton->priv->changed_properties_idle_source != NULL) 1020s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1020s # g_main_context_unref (skeleton->priv->context); 1020s # g_mutex_clear (&skeleton->priv->lock); 1020s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1020s # } 1020s # 1020s # static void 1020s # good_types_skeleton_get_property (GObject *object, 1020s # guint prop_id, 1020s # GValue *value, 1020s # GParamSpec *pspec G_GNUC_UNUSED) 1020s # { 1020s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1020s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1020s # g_mutex_lock (&skeleton->priv->lock); 1020s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1020s # g_mutex_unlock (&skeleton->priv->lock); 1020s # } 1020s # 1020s # static gboolean 1020s # _good_types_emit_changed (gpointer user_data) 1020s # { 1020s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1020s # GList *l; 1020s # GVariantBuilder builder; 1020s # GVariantBuilder invalidated_builder; 1020s # guint num_changes; 1020s # 1020s # g_mutex_lock (&skeleton->priv->lock); 1020s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1020s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1020s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1020s # { 1020s # ChangedProperty *cp = l->data; 1020s # GVariant *variant; 1020s # const GValue *cur_value; 1020s # 1020s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1020s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1020s # { 1020s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1020s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1020s # g_variant_unref (variant); 1020s # num_changes++; 1020s # } 1020s # } 1020s # if (num_changes > 0) 1020s # { 1020s # GList *connections, *ll; 1020s # GVariant *signal_variant; 1020s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1020s # &builder, &invalidated_builder)); 1020s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1020s # for (ll = connections; ll != NULL; ll = ll->next) 1020s # { 1020s # GDBusConnection *connection = ll->data; 1020s # 1020s # g_dbus_connection_emit_signal (connection, 1020s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1020s # "org.freedesktop.DBus.Properties", 1020s # "PropertiesChanged", 1020s # signal_variant, 1020s # NULL); 1020s # } 1020s # g_variant_unref (signal_variant); 1020s # g_list_free_full (connections, g_object_unref); 1020s # } 1020s # else 1020s # { 1020s # g_variant_builder_clear (&builder); 1020s # g_variant_builder_clear (&invalidated_builder); 1020s # } 1020s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1020s # skeleton->priv->changed_properties = NULL; 1020s # skeleton->priv->changed_properties_idle_source = NULL; 1020s # g_mutex_unlock (&skeleton->priv->lock); 1020s # return FALSE; 1020s # } 1020s # 1020s # static void 1020s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1020s # { 1020s # ChangedProperty *cp; 1020s # GList *l; 1020s # cp = NULL; 1020s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1020s # { 1020s # ChangedProperty *i_cp = l->data; 1020s # if (i_cp->info == info) 1020s # { 1020s # cp = i_cp; 1020s # break; 1020s # } 1020s # } 1020s # if (cp == NULL) 1020s # { 1020s # cp = g_new0 (ChangedProperty, 1); 1020s # cp->prop_id = prop_id; 1020s # cp->info = info; 1020s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1020s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1020s # g_value_copy (orig_value, &cp->orig_value); 1020s # } 1020s # } 1020s # 1020s # static void 1020s # good_types_skeleton_notify (GObject *object, 1020s # GParamSpec *pspec G_GNUC_UNUSED) 1020s # { 1020s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1020s # g_mutex_lock (&skeleton->priv->lock); 1020s # if (skeleton->priv->changed_properties != NULL && 1020s # skeleton->priv->changed_properties_idle_source == NULL) 1020s # { 1020s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1020s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1020s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1020s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1020s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1020s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1020s # } 1020s # g_mutex_unlock (&skeleton->priv->lock); 1020s # } 1020s # 1020s # static void 1020s # good_types_skeleton_set_property (GObject *object, 1020s # guint prop_id, 1020s # const GValue *value, 1020s # GParamSpec *pspec) 1020s # { 1020s # const _ExtendedGDBusPropertyInfo *info; 1020s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1020s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1020s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1020s # g_mutex_lock (&skeleton->priv->lock); 1020s # g_object_freeze_notify (object); 1020s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1020s # { 1020s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1020s # info->emits_changed_signal) 1020s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1020s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1020s # g_object_notify_by_pspec (object, pspec); 1020s # } 1020s # g_mutex_unlock (&skeleton->priv->lock); 1020s # g_object_thaw_notify (object); 1020s # } 1020s # 1020s # static void 1020s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1020s # { 1020s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1020s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1020s # #else 1020s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1020s # #endif 1020s # 1020s # g_mutex_init (&skeleton->priv->lock); 1020s # skeleton->priv->context = g_main_context_ref_thread_default (); 1020s # skeleton->priv->properties = g_new0 (GValue, 1); 1020s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1020s # } 1020s # 1020s # static GVariant * 1020s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1020s # { 1020s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1020s # GVariant *value; 1020s # g_mutex_lock (&skeleton->priv->lock); 1020s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1020s # g_mutex_unlock (&skeleton->priv->lock); 1020s # return value; 1020s # } 1020s # 1020s # static void 1020s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1020s # { 1020s # GObjectClass *gobject_class; 1020s # GDBusInterfaceSkeletonClass *skeleton_class; 1020s # 1020s # gobject_class = G_OBJECT_CLASS (klass); 1020s # gobject_class->finalize = good_types_skeleton_finalize; 1020s # gobject_class->get_property = good_types_skeleton_get_property; 1020s # gobject_class->set_property = good_types_skeleton_set_property; 1020s # gobject_class->notify = good_types_skeleton_notify; 1020s # 1020s # 1020s # good_types_override_properties (gobject_class, 1); 1020s # 1020s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1020s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1020s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1020s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1020s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1020s # 1020s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1020s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1020s # #endif 1020s # } 1020s # 1020s # static void 1020s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1020s # { 1020s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1020s # } 1020s # 1020s # /** 1020s # * good_types_skeleton_new: 1020s # * 1020s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1020s # * 1020s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1020s # */ 1020s # GoodTypes * 1020s # good_types_skeleton_new (void) 1020s # { 1020s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1020s # } 1020s # /tmp/tmpp43f4t_v/tmpjype7yxu.xml: 1020s # 1020s # 1020s # 1020s # 1020s # 1020s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp43f4t_v/tmpjype7yxu.xml', '--output', '-', '--body'] 1020s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1020s # Output: /* 1020s # * This file is generated by gdbus-codegen, do not modify it. 1020s # * 1020s # * The license of this code is the same as for the D-Bus interface description 1020s # * it was derived from. Note that it links to GLib, so must comply with the 1020s # * LGPL linking clauses. 1020s # */ 1020s # 1020s # #ifdef HAVE_CONFIG_H 1020s # # include "config.h" 1020s # #endif 1020s # 1020s # #include 1020s # #ifdef G_OS_UNIX 1020s # # include 1020s # #endif 1020s # 1020s # #ifdef G_ENABLE_DEBUG 1020s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1020s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1020s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1020s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1020s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1020s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1020s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1020s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1020s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1020s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1020s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1020s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1020s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1020s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1020s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1020s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1020s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1020s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1020s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1020s # #else /* !G_ENABLE_DEBUG */ 1020s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1020s # * Do not access GValues directly in your code. Instead, use the 1020s # * g_value_get_*() functions 1020s # */ 1020s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1020s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1020s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1020s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1020s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1020s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1020s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1020s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1020s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1020s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1020s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1020s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1020s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1020s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1020s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1020s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1020s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1020s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1020s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1020s # #endif /* !G_ENABLE_DEBUG */ 1020s # 1020s # typedef struct 1020s # { 1020s # GDBusArgInfo parent_struct; 1020s # gboolean use_gvariant; 1020s # } _ExtendedGDBusArgInfo; 1020s # 1020s # typedef struct 1020s # { 1020s # GDBusMethodInfo parent_struct; 1020s # const gchar *signal_name; 1020s # gboolean pass_fdlist; 1020s # } _ExtendedGDBusMethodInfo; 1020s # 1020s # typedef struct 1020s # { 1020s # GDBusSignalInfo parent_struct; 1020s # const gchar *signal_name; 1020s # } _ExtendedGDBusSignalInfo; 1020s # 1020s # typedef struct 1020s # { 1020s # GDBusPropertyInfo parent_struct; 1020s # const gchar *hyphen_name; 1020s # guint use_gvariant : 1; 1020s # guint emits_changed_signal : 1; 1020s # } _ExtendedGDBusPropertyInfo; 1020s # 1020s # typedef struct 1020s # { 1020s # GDBusInterfaceInfo parent_struct; 1020s # const gchar *hyphen_name; 1020s # } _ExtendedGDBusInterfaceInfo; 1020s # 1020s # typedef struct 1020s # { 1020s # const _ExtendedGDBusPropertyInfo *info; 1020s # guint prop_id; 1020s # GValue orig_value; /* the value before the change */ 1020s # } ChangedProperty; 1020s # 1020s # static void 1020s # _changed_property_free (ChangedProperty *data) 1020s # { 1020s # g_value_unset (&data->orig_value); 1020s # g_free (data); 1020s # } 1020s # 1020s # static gboolean 1020s # _g_strv_equal0 (gchar **a, gchar **b) 1020s # { 1020s # gboolean ret = FALSE; 1020s # guint n; 1020s # if (a == NULL && b == NULL) 1020s # { 1020s # ret = TRUE; 1020s # goto out; 1020s # } 1020s # if (a == NULL || b == NULL) 1020s # goto out; 1020s # if (g_strv_length (a) != g_strv_length (b)) 1020s # goto out; 1020s # for (n = 0; a[n] != NULL; n++) 1020s # if (g_strcmp0 (a[n], b[n]) != 0) 1020s # goto out; 1020s # ret = TRUE; 1020s # out: 1020s # return ret; 1020s # } 1020s # 1020s # static gboolean 1020s # _g_variant_equal0 (GVariant *a, GVariant *b) 1020s # { 1020s # gboolean ret = FALSE; 1020s # if (a == NULL && b == NULL) 1020s # { 1020s # ret = TRUE; 1020s # goto out; 1020s # } 1020s # if (a == NULL || b == NULL) 1020s # goto out; 1020s # ret = g_variant_equal (a, b); 1020s # out: 1020s # return ret; 1020s # } 1020s # 1020s # G_GNUC_UNUSED static gboolean 1020s # _g_value_equal (const GValue *a, const GValue *b) 1020s # { 1020s # gboolean ret = FALSE; 1020s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1020s # switch (G_VALUE_TYPE (a)) 1020s # { 1020s # case G_TYPE_BOOLEAN: 1020s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1020s # break; 1020s # case G_TYPE_UCHAR: 1020s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1020s # break; 1020s # case G_TYPE_INT: 1020s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1020s # break; 1020s # case G_TYPE_UINT: 1020s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1020s # break; 1020s # case G_TYPE_INT64: 1020s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1020s # break; 1020s # case G_TYPE_UINT64: 1020s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1020s # break; 1020s # case G_TYPE_DOUBLE: 1020s # { 1020s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1020s # gdouble da = g_value_get_double (a); 1020s # gdouble db = g_value_get_double (b); 1020s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1020s # } 1020s # break; 1020s # case G_TYPE_STRING: 1020s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1020s # break; 1020s # case G_TYPE_VARIANT: 1020s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1020s # break; 1020s # default: 1020s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1020s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1020s # else 1020s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1020s # break; 1020s # } 1020s # return ret; 1020s # } 1020s # 1020s # /* ------------------------------------------------------------------------ 1020s # * Code for interface GoodTypes 1020s # * ------------------------------------------------------------------------ 1020s # */ 1020s # 1020s # /** 1020s # * SECTION:GoodTypes 1020s # * @title: GoodTypes 1020s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1020s # * 1020s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1020s # */ 1020s # 1020s # /* ---- Introspection data for GoodTypes ---- */ 1020s # 1020s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1020s # { 1020s # { 1020s # -1, 1020s # (gchar *) "GoodPropertyType", 1020s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 1020s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1020s # NULL 1020s # }, 1020s # "good-property-type", 1020s # FALSE, 1020s # TRUE 1020s # }; 1020s # 1020s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1020s # { 1020s # &_good_types_property_info_good_property_type.parent_struct, 1020s # NULL 1020s # }; 1020s # 1020s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1020s # { 1020s # { 1020s # -1, 1020s # (gchar *) "GoodTypes", 1020s # NULL, 1020s # NULL, 1020s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1020s # NULL 1020s # }, 1020s # "good-types", 1020s # }; 1020s # 1020s # 1020s # /** 1020s # * good_types_interface_info: 1020s # * 1020s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1020s # * 1020s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1020s # */ 1020s # GDBusInterfaceInfo * 1020s # good_types_interface_info (void) 1020s # { 1020s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1020s # } 1020s # 1020s # /** 1020s # * good_types_override_properties: 1020s # * @klass: The class structure for a #GObject derived class. 1020s # * @property_id_begin: The property id to assign to the first overridden property. 1020s # * 1020s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1020s # * The properties are overridden in the order they are defined. 1020s # * 1020s # * Returns: The last property id. 1020s # */ 1020s # guint 1020s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1020s # { 1020s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1020s # return property_id_begin - 1; 1020s # } 1020s # 1020s # 1020s # 1020s # /** 1020s # * GoodTypes: 1020s # * 1020s # * Abstract interface type for the D-Bus interface GoodTypes. 1020s # */ 1020s # 1020s # /** 1020s # * GoodTypesIface: 1020s # * @parent_iface: The parent interface. 1020s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1020s # * 1020s # * Virtual table for the D-Bus interface GoodTypes. 1020s # */ 1020s # 1020s # typedef GoodTypesIface GoodTypesInterface; 1020s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1020s # 1020s # static void 1020s # good_types_default_init (GoodTypesIface *iface) 1020s # { 1020s # /* GObject properties for D-Bus properties: */ 1020s # /** 1020s # * GoodTypes:good-property-type: 1020s # * 1020s # * Represents the D-Bus property "GoodPropertyType". 1020s # * 1020s # * 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. 1020s # */ 1020s # g_object_interface_install_property (iface, 1020s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1020s # } 1020s # 1020s # /** 1020s # * good_types_get_good_property_type: (skip) 1020s # * @object: A GoodTypes. 1020s # * 1020s # * Gets the value of the "GoodPropertyType" D-Bus property. 1020s # * 1020s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1020s # * 1020s # * 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. 1020s # * 1020s # * 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. 1020s # */ 1020s # GVariant * 1020s # good_types_get_good_property_type (GoodTypes *object) 1020s # { 1020s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1020s # 1020s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1020s # } 1020s # 1020s # /** 1020s # * good_types_dup_good_property_type: (skip) 1020s # * @object: A GoodTypes. 1020s # * 1020s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1020s # * 1020s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1020s # * 1020s # * 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(). 1020s # */ 1020s # GVariant * 1020s # good_types_dup_good_property_type (GoodTypes *object) 1020s # { 1020s # GVariant *value; 1020s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1020s # return value; 1020s # } 1020s # 1020s # /** 1020s # * good_types_set_good_property_type: (skip) 1020s # * @object: A GoodTypes. 1020s # * @value: The value to set. 1020s # * 1020s # * Sets the "GoodPropertyType" D-Bus property to @value. 1020s # * 1020s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1020s # */ 1020s # void 1020s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1020s # { 1020s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1020s # } 1020s # 1020s # /* ------------------------------------------------------------------------ */ 1020s # 1020s # /** 1020s # * GoodTypesProxy: 1020s # * 1020s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1020s # */ 1020s # 1020s # /** 1020s # * GoodTypesProxyClass: 1020s # * @parent_class: The parent class. 1020s # * 1020s # * Class structure for GoodTypesProxy. 1020s # */ 1020s # 1020s # struct _GoodTypesProxyPrivate 1020s # { 1020s # GData *qdata; 1020s # }; 1020s # 1020s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1020s # 1020s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1020s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1020s # G_ADD_PRIVATE (GoodTypesProxy) 1020s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1020s # 1020s # #else 1020s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1020s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1020s # 1020s # #endif 1020s # static void 1020s # good_types_proxy_finalize (GObject *object) 1020s # { 1020s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1020s # g_datalist_clear (&proxy->priv->qdata); 1020s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1020s # } 1020s # 1020s # static void 1020s # good_types_proxy_get_property (GObject *object, 1020s # guint prop_id, 1020s # GValue *value, 1020s # GParamSpec *pspec G_GNUC_UNUSED) 1020s # { 1020s # const _ExtendedGDBusPropertyInfo *info; 1020s # GVariant *variant; 1020s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1020s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1020s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1020s # if (info->use_gvariant) 1020s # { 1020s # g_value_set_variant (value, variant); 1020s # } 1020s # else 1020s # { 1020s # if (variant != NULL) 1020s # g_dbus_gvariant_to_gvalue (variant, value); 1020s # } 1020s # if (variant != NULL) 1020s # g_variant_unref (variant); 1020s # } 1020s # 1020s # static void 1020s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1020s # GAsyncResult *res, 1020s # gpointer user_data) 1020s # { 1020s # const _ExtendedGDBusPropertyInfo *info = user_data; 1020s # GError *error; 1020s # GVariant *_ret; 1020s # error = NULL; 1020s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1020s # if (!_ret) 1020s # { 1020s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1020s # info->parent_struct.name, 1020s # error->message, g_quark_to_string (error->domain), error->code); 1020s # g_error_free (error); 1020s # } 1020s # else 1020s # { 1020s # g_variant_unref (_ret); 1020s # } 1020s # } 1020s # 1020s # static void 1020s # good_types_proxy_set_property (GObject *object, 1020s # guint prop_id, 1020s # const GValue *value, 1020s # GParamSpec *pspec G_GNUC_UNUSED) 1020s # { 1020s # const _ExtendedGDBusPropertyInfo *info; 1020s # GVariant *variant; 1020s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1020s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1020s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1020s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1020s # "org.freedesktop.DBus.Properties.Set", 1020s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1020s # G_DBUS_CALL_FLAGS_NONE, 1020s # -1, 1020s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1020s # g_variant_unref (variant); 1020s # } 1020s # 1020s # static void 1020s # good_types_proxy_g_signal (GDBusProxy *proxy, 1020s # const gchar *sender_name G_GNUC_UNUSED, 1020s # const gchar *signal_name, 1020s # GVariant *parameters) 1020s # { 1020s # _ExtendedGDBusSignalInfo *info; 1020s # GVariantIter iter; 1020s # GVariant *child; 1020s # GValue *paramv; 1020s # gsize num_params; 1020s # gsize n; 1020s # guint signal_id; 1020s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1020s # if (info == NULL) 1020s # return; 1020s # num_params = g_variant_n_children (parameters); 1020s # paramv = g_new0 (GValue, num_params + 1); 1020s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1020s # g_value_set_object (¶mv[0], proxy); 1020s # g_variant_iter_init (&iter, parameters); 1020s # n = 1; 1020s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1020s # { 1020s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1020s # if (arg_info->use_gvariant) 1020s # { 1020s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1020s # g_value_set_variant (¶mv[n], child); 1020s # n++; 1020s # } 1020s # else 1020s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1020s # g_variant_unref (child); 1020s # } 1020s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1020s # g_signal_emitv (paramv, signal_id, 0, NULL); 1020s # for (n = 0; n < num_params + 1; n++) 1020s # g_value_unset (¶mv[n]); 1020s # g_free (paramv); 1020s # } 1020s # 1020s # static void 1020s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1020s # GVariant *changed_properties, 1020s # const gchar *const *invalidated_properties) 1020s # { 1020s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1020s # guint n; 1020s # const gchar *key; 1020s # GVariantIter *iter; 1020s # _ExtendedGDBusPropertyInfo *info; 1020s # g_variant_get (changed_properties, "a{sv}", &iter); 1020s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1020s # { 1020s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1020s # g_datalist_remove_data (&proxy->priv->qdata, key); 1020s # if (info != NULL) 1020s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1020s # } 1020s # g_variant_iter_free (iter); 1020s # for (n = 0; invalidated_properties[n] != NULL; n++) 1020s # { 1020s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1020s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1020s # if (info != NULL) 1020s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1020s # } 1020s # } 1020s # 1020s # static GVariant * 1020s # good_types_proxy_get_good_property_type (GoodTypes *object) 1020s # { 1020s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1020s # GVariant *variant; 1020s # GVariant *value = NULL; 1020s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1020s # value = variant; 1020s # if (variant != NULL) 1020s # g_variant_unref (variant); 1020s # return value; 1020s # } 1020s # 1020s # static void 1020s # good_types_proxy_init (GoodTypesProxy *proxy) 1020s # { 1020s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1020s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1020s # #else 1020s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1020s # #endif 1020s # 1020s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1020s # } 1020s # 1020s # static void 1020s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1020s # { 1020s # GObjectClass *gobject_class; 1020s # GDBusProxyClass *proxy_class; 1020s # 1020s # gobject_class = G_OBJECT_CLASS (klass); 1020s # gobject_class->finalize = good_types_proxy_finalize; 1020s # gobject_class->get_property = good_types_proxy_get_property; 1020s # gobject_class->set_property = good_types_proxy_set_property; 1020s # 1020s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1020s # proxy_class->g_signal = good_types_proxy_g_signal; 1020s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1020s # 1020s # good_types_override_properties (gobject_class, 1); 1020s # 1020s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1020s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1020s # #endif 1020s # } 1020s # 1020s # static void 1020s # good_types_proxy_iface_init (GoodTypesIface *iface) 1020s # { 1020s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1020s # } 1020s # 1020s # /** 1020s # * good_types_proxy_new: 1020s # * @connection: A #GDBusConnection. 1020s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1020s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1020s # * @object_path: An object path. 1020s # * @cancellable: (nullable): A #GCancellable or %NULL. 1020s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1020s # * @user_data: User data to pass to @callback. 1020s # * 1020s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1020s # * 1020s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1020s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1020s # * 1020s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1020s # */ 1020s # void 1020s # good_types_proxy_new ( 1020s # GDBusConnection *connection, 1020s # GDBusProxyFlags flags, 1020s # const gchar *name, 1020s # const gchar *object_path, 1020s # GCancellable *cancellable, 1020s # GAsyncReadyCallback callback, 1020s # gpointer user_data) 1020s # { 1020s # 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); 1020s # } 1020s # 1020s # /** 1020s # * good_types_proxy_new_finish: 1020s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1020s # * @error: Return location for error or %NULL 1020s # * 1020s # * Finishes an operation started with good_types_proxy_new(). 1020s # * 1020s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1020s # */ 1020s # GoodTypes * 1020s # good_types_proxy_new_finish ( 1020s # GAsyncResult *res, 1020s # GError **error) 1020s # { 1020s # GObject *ret; 1020s # GObject *source_object; 1020s # source_object = g_async_result_get_source_object (res); 1020s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1020s # g_object_unref (source_object); 1020s # if (ret != NULL) 1020s # return GOOD_TYPES (ret); 1020s # else 1020s # return NULL; 1020s # } 1020s # 1020s # /** 1020s # * good_types_proxy_new_sync: 1020s # * @connection: A #GDBusConnection. 1020s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1020s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1020s # * @object_path: An object path. 1020s # * @cancellable: (nullable): A #GCancellable or %NULL. 1020s # * @error: Return location for error or %NULL 1020s # * 1020s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1020s # * 1020s # * The calling thread is blocked until a reply is received. 1020s # * 1020s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1020s # * 1020s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1020s # */ 1020s # GoodTypes * 1020s # good_types_proxy_new_sync ( 1020s # GDBusConnection *connection, 1020s # GDBusProxyFlags flags, 1020s # const gchar *name, 1020s # const gchar *object_path, 1020s # GCancellable *cancellable, 1020s # GError **error) 1020s # { 1020s # GInitable *ret; 1020s # 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); 1020s # if (ret != NULL) 1020s # return GOOD_TYPES (ret); 1020s # else 1020s # return NULL; 1020s # } 1020s # 1020s # 1020s # /** 1020s # * good_types_proxy_new_for_bus: 1020s # * @bus_type: A #GBusType. 1020s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1020s # * @name: A bus name (well-known or unique). 1020s # * @object_path: An object path. 1020s # * @cancellable: (nullable): A #GCancellable or %NULL. 1020s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1020s # * @user_data: User data to pass to @callback. 1020s # * 1020s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1020s # * 1020s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1020s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1020s # * 1020s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1020s # */ 1020s # void 1020s # good_types_proxy_new_for_bus ( 1020s # GBusType bus_type, 1020s # GDBusProxyFlags flags, 1020s # const gchar *name, 1020s # const gchar *object_path, 1020s # GCancellable *cancellable, 1020s # GAsyncReadyCallback callback, 1020s # gpointer user_data) 1020s # { 1020s # 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); 1020s # } 1020s # 1020s # /** 1020s # * good_types_proxy_new_for_bus_finish: 1020s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1020s # * @error: Return location for error or %NULL 1020s # * 1020s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1020s # * 1020s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1020s # */ 1020s # GoodTypes * 1020s # good_types_proxy_new_for_bus_finish ( 1020s # GAsyncResult *res, 1020s # GError **error) 1020s # { 1020s # GObject *ret; 1020s # GObject *source_object; 1020s # source_object = g_async_result_get_source_object (res); 1020s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1020s # g_object_unref (source_object); 1020s # if (ret != NULL) 1020s # return GOOD_TYPES (ret); 1020s # else 1020s # return NULL; 1020s # } 1020s # 1020s # /** 1020s # * good_types_proxy_new_for_bus_sync: 1020s # * @bus_type: A #GBusType. 1020s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1020s # * @name: A bus name (well-known or unique). 1020s # * @object_path: An object path. 1020s # * @cancellable: (nullable): A #GCancellable or %NULL. 1020s # * @error: Return location for error or %NULL 1020s # * 1020s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1020s # * 1020s # * The calling thread is blocked until a reply is received. 1020s # * 1020s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1020s # * 1020s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1020s # */ 1020s # GoodTypes * 1020s # good_types_proxy_new_for_bus_sync ( 1020s # GBusType bus_type, 1020s # GDBusProxyFlags flags, 1020s # const gchar *name, 1020s # const gchar *object_path, 1020s # GCancellable *cancellable, 1020s # GError **error) 1020s # { 1020s # GInitable *ret; 1020s # 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); 1020s # if (ret != NULL) 1020s # return GOOD_TYPES (ret); 1020s # else 1020s # return NULL; 1020s # } 1020s # 1020s # 1020s # /* ------------------------------------------------------------------------ */ 1020s # 1020s # /** 1020s # * GoodTypesSkeleton: 1020s # * 1020s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1020s # */ 1020s # 1020s # /** 1020s # * GoodTypesSkeletonClass: 1020s # * @parent_class: The parent class. 1020s # * 1020s # * Class structure for GoodTypesSkeleton. 1020s # */ 1020s # 1020s # struct _GoodTypesSkeletonPrivate 1020s # { 1020s # GValue *properties; 1020s # GList *changed_properties; 1020s # GSource *changed_properties_idle_source; 1020s # GMainContext *context; 1020s # GMutex lock; 1020s # }; 1020s # 1020s # static void 1020s # _good_types_skeleton_handle_method_call ( 1020s # GDBusConnection *connection G_GNUC_UNUSED, 1020s # const gchar *sender G_GNUC_UNUSED, 1020s # const gchar *object_path G_GNUC_UNUSED, 1020s # const gchar *interface_name, 1020s # const gchar *method_name, 1020s # GVariant *parameters, 1020s # GDBusMethodInvocation *invocation, 1020s # gpointer user_data) 1020s # { 1020s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1020s # _ExtendedGDBusMethodInfo *info; 1020s # GVariantIter iter; 1020s # GVariant *child; 1020s # GValue *paramv; 1020s # gsize num_params; 1020s # guint num_extra; 1020s # gsize n; 1020s # guint signal_id; 1020s # GValue return_value = G_VALUE_INIT; 1020s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1020s # g_assert (info != NULL); 1020s # num_params = g_variant_n_children (parameters); 1020s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1020s # n = 0; 1020s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1020s # g_value_set_object (¶mv[n++], skeleton); 1020s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1020s # g_value_set_object (¶mv[n++], invocation); 1020s # if (info->pass_fdlist) 1020s # { 1020s # #ifdef G_OS_UNIX 1020s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1020s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1020s # #else 1020s # g_assert_not_reached (); 1020s # #endif 1020s # } 1020s # g_variant_iter_init (&iter, parameters); 1020s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1020s # { 1020s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1020s # if (arg_info->use_gvariant) 1020s # { 1020s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1020s # g_value_set_variant (¶mv[n], child); 1020s # n++; 1020s # } 1020s # else 1020s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1020s # g_variant_unref (child); 1020s # } 1020s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1020s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1020s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1020s # if (!g_value_get_boolean (&return_value)) 1020s # 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); 1020s # g_value_unset (&return_value); 1020s # for (n = 0; n < num_params + num_extra; n++) 1020s # g_value_unset (¶mv[n]); 1020s # g_free (paramv); 1020s # } 1020s # 1020s # static GVariant * 1020s # _good_types_skeleton_handle_get_property ( 1020s # GDBusConnection *connection G_GNUC_UNUSED, 1020s # const gchar *sender G_GNUC_UNUSED, 1020s # const gchar *object_path G_GNUC_UNUSED, 1020s # const gchar *interface_name G_GNUC_UNUSED, 1020s # const gchar *property_name, 1020s # GError **error, 1020s # gpointer user_data) 1020s # { 1020s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1020s # GValue value = G_VALUE_INIT; 1020s # GParamSpec *pspec; 1020s # _ExtendedGDBusPropertyInfo *info; 1020s # GVariant *ret; 1020s # ret = NULL; 1020s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1020s # g_assert (info != NULL); 1020s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1020s # if (pspec == NULL) 1020s # { 1020s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1020s # } 1020s # else 1020s # { 1020s # g_value_init (&value, pspec->value_type); 1020s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1020s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1020s # g_value_unset (&value); 1020s # } 1020s # return ret; 1020s # } 1020s # 1020s # static gboolean 1020s # _good_types_skeleton_handle_set_property ( 1020s # GDBusConnection *connection G_GNUC_UNUSED, 1020s # const gchar *sender G_GNUC_UNUSED, 1020s # const gchar *object_path G_GNUC_UNUSED, 1020s # const gchar *interface_name G_GNUC_UNUSED, 1020s # const gchar *property_name, 1020s # GVariant *variant, 1020s # GError **error, 1020s # gpointer user_data) 1020s # { 1020s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1020s # GValue value = G_VALUE_INIT; 1020s # GParamSpec *pspec; 1020s # _ExtendedGDBusPropertyInfo *info; 1020s # gboolean ret; 1020s # ret = FALSE; 1020s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1020s # g_assert (info != NULL); 1020s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1020s # if (pspec == NULL) 1020s # { 1020s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1020s # } 1020s # else 1020s # { 1020s # if (info->use_gvariant) 1020s # g_value_set_variant (&value, variant); 1020s # else 1020s # g_dbus_gvariant_to_gvalue (variant, &value); 1020s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1020s # g_value_unset (&value); 1020s # ret = TRUE; 1020s # } 1020s # return ret; 1020s # } 1020s # 1020s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1020s # { 1020s # _good_types_skeleton_handle_method_call, 1020s # _good_types_skeleton_handle_get_property, 1020s # _good_types_skeleton_handle_set_property, 1020s # {NULL} 1020s # }; 1020s # 1020s # static GDBusInterfaceInfo * 1020s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1020s # { 1020s # return good_types_interface_info (); 1020s # } 1020s # 1020s # static GDBusInterfaceVTable * 1020s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1020s # { 1020s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1020s # } 1020s # 1020s # static GVariant * 1020s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1020s # { 1020s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1020s # 1020s # GVariantBuilder builder; 1020s # guint n; 1020s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1020s # if (_good_types_interface_info.parent_struct.properties == NULL) 1020s # goto out; 1020s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1020s # { 1020s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1020s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1020s # { 1020s # GVariant *value; 1020s # 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); 1020s # if (value != NULL) 1020s # { 1020s # g_variant_take_ref (value); 1020s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1020s # g_variant_unref (value); 1020s # } 1020s # } 1020s # } 1020s # out: 1020s # return g_variant_builder_end (&builder); 1020s # } 1020s # 1020s # static gboolean _good_types_emit_changed (gpointer user_data); 1020s # 1020s # static void 1020s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1020s # { 1020s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1020s # gboolean emit_changed = FALSE; 1020s # 1020s # g_mutex_lock (&skeleton->priv->lock); 1020s # if (skeleton->priv->changed_properties_idle_source != NULL) 1020s # { 1020s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1020s # skeleton->priv->changed_properties_idle_source = NULL; 1020s # emit_changed = TRUE; 1020s # } 1020s # g_mutex_unlock (&skeleton->priv->lock); 1020s # 1020s # if (emit_changed) 1020s # _good_types_emit_changed (skeleton); 1020s # } 1020s # 1020s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1020s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1020s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1020s # G_ADD_PRIVATE (GoodTypesSkeleton) 1020s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1020s # 1020s # #else 1020s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1020s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1020s # 1020s # #endif 1020s # static void 1020s # good_types_skeleton_finalize (GObject *object) 1020s # { 1020s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1020s # guint n; 1020s # for (n = 0; n < 1; n++) 1020s # g_value_unset (&skeleton->priv->properties[n]); 1020s # g_free (skeleton->priv->properties); 1020s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1020s # if (skeleton->priv->changed_properties_idle_source != NULL) 1020s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1020s # g_main_context_unref (skeleton->priv->context); 1020s # g_mutex_clear (&skeleton->priv->lock); 1020s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1020s # } 1020s # 1020s # static void 1020s # good_types_skeleton_get_property (GObject *object, 1020s # guint prop_id, 1020s # GValue *value, 1020s # GParamSpec *pspec G_GNUC_UNUSED) 1020s # { 1020s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1020s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1020s # g_mutex_lock (&skeleton->priv->lock); 1020s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1020s # g_mutex_unlock (&skeleton->priv->lock); 1020s # } 1020s # 1020s # static gboolean 1020s # _good_types_emit_changed (gpointer user_data) 1020s # { 1020s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1020s # GList *l; 1020s # GVariantBuilder builder; 1020s # GVariantBuilder invalidated_builder; 1020s # guint num_changes; 1020s # 1020s # g_mutex_lock (&skeleton->priv->lock); 1020s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1020s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1020s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1020s # { 1020s # ChangedProperty *cp = l->data; 1020s # GVariant *variant; 1020s # const GValue *cur_value; 1020s # 1020s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1020s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1020s # { 1020s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1020s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1020s # g_variant_unref (variant); 1020s # num_changes++; 1020s # } 1020s # } 1020s # if (num_changes > 0) 1020s # { 1020s # GList *connections, *ll; 1020s # GVariant *signal_variant; 1020s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1020s # &builder, &invalidated_builder)); 1020s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1020s # for (ll = connections; ll != NULL; ll = ll->next) 1020s # { 1020s # GDBusConnection *connection = ll->data; 1020s # 1020s # g_dbus_connection_emit_signal (connection, 1020s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1020s # "org.freedesktop.DBus.Properties", 1020s # "PropertiesChanged", 1020s # signal_variant, 1020s # NULL); 1020s # } 1020s # g_variant_unref (signal_variant); 1020s # g_list_free_full (connections, g_object_unref); 1020s # } 1020s # else 1020s # { 1020s # g_variant_builder_clear (&builder); 1020s # g_variant_builder_clear (&invalidated_builder); 1020s # } 1020s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1020s # skeleton->priv->changed_properties = NULL; 1020s # skeleton->priv->changed_properties_idle_source = NULL; 1020s # g_mutex_unlock (&skeleton->priv->lock); 1020s # return FALSE; 1020s # } 1020s # 1020s # static void 1020s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1020s # { 1020s # ChangedProperty *cp; 1020s # GList *l; 1020s # cp = NULL; 1020s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1020s # { 1020s # ChangedProperty *i_cp = l->data; 1020s # if (i_cp->info == info) 1020s # { 1020s # cp = i_cp; 1020s # break; 1020s # } 1020s # } 1020s # if (cp == NULL) 1020s # { 1020s # cp = g_new0 (ChangedProperty, 1); 1020s # cp->prop_id = prop_id; 1020s # cp->info = info; 1020s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1020s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1020s # g_value_copy (orig_value, &cp->orig_value); 1020s # } 1020s # } 1020s # 1020s # static void 1020s # good_types_skeleton_notify (GObject *object, 1020s # GParamSpec *pspec G_GNUC_UNUSED) 1020s # { 1020s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1020s # g_mutex_lock (&skeleton->priv->lock); 1020s # if (skeleton->priv->changed_properties != NULL && 1020s # skeleton->priv->changed_properties_idle_source == NULL) 1020s # { 1020s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1020s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1020s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1020s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1020s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1020s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1020s # } 1020s # g_mutex_unlock (&skeleton->priv->lock); 1020s # } 1020s # 1020s # static void 1020s # good_types_skeleton_set_property (GObject *object, 1020s # guint prop_id, 1020s # const GValue *value, 1020s # GParamSpec *pspec) 1020s # { 1020s # const _ExtendedGDBusPropertyInfo *info; 1020s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1020s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1020s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1020s # g_mutex_lock (&skeleton->priv->lock); 1020s # g_object_freeze_notify (object); 1020s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1020s # { 1020s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1020s # info->emits_changed_signal) 1020s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1020s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1020s # g_object_notify_by_pspec (object, pspec); 1020s # } 1020s # g_mutex_unlock (&skeleton->priv->lock); 1020s # g_object_thaw_notify (object); 1020s # } 1020s # 1020s # static void 1020s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1020s # { 1020s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1020s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1020s # #else 1020s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1020s # #endif 1020s # 1020s # g_mutex_init (&skeleton->priv->lock); 1020s # skeleton->priv->context = g_main_context_ref_thread_default (); 1020s # skeleton->priv->properties = g_new0 (GValue, 1); 1020s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1020s # } 1020s # 1020s # static GVariant * 1020s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1020s # { 1020s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1020s # GVariant *value; 1020s # g_mutex_lock (&skeleton->priv->lock); 1020s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1020s # g_mutex_unlock (&skeleton->priv->lock); 1020s # return value; 1020s # } 1020s # 1020s # static void 1020s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1020s # { 1020s # GObjectClass *gobject_class; 1020s # GDBusInterfaceSkeletonClass *skeleton_class; 1020s # 1020s # gobject_class = G_OBJECT_CLASS (klass); 1020s # gobject_class->finalize = good_types_skeleton_finalize; 1020s # gobject_class->get_property = good_types_skeleton_get_property; 1020s # gobject_class->set_property = good_types_skeleton_set_property; 1020s # gobject_class->notify = good_types_skeleton_notify; 1020s # 1020s # 1020s # good_types_override_properties (gobject_class, 1); 1020s # 1020s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1020s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1020s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1020s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1020s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1020s # 1020s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1020s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1020s # #endif 1020s # } 1020s # 1020s # static void 1020s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1020s # { 1020s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1020s # } 1020s # 1020s # /** 1020s # * good_types_skeleton_new: 1020s # * 1020s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1020s # * 1020s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1020s # */ 1020s # GoodTypes * 1020s # good_types_skeleton_new (void) 1020s # { 1020s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1020s # } 1020s # /tmp/tmpp43f4t_v/tmp4f8hnov_.xml: 1020s # 1020s # 1020s # 1020s # 1020s # 1020s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp43f4t_v/tmp4f8hnov_.xml', '--output', '-', '--body'] 1020s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1020s # Output: /* 1020s # * This file is generated by gdbus-codegen, do not modify it. 1020s # * 1020s # * The license of this code is the same as for the D-Bus interface description 1020s # * it was derived from. Note that it links to GLib, so must comply with the 1020s # * LGPL linking clauses. 1020s # */ 1020s # 1020s # #ifdef HAVE_CONFIG_H 1020s # # include "config.h" 1020s # #endif 1020s # 1020s # #include 1020s # #ifdef G_OS_UNIX 1020s # # include 1020s # #endif 1020s # 1020s # #ifdef G_ENABLE_DEBUG 1020s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1020s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1020s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1020s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1020s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1020s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1020s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1020s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1020s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1020s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1020s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1020s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1020s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1020s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1020s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1020s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1020s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1020s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1020s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1020s # #else /* !G_ENABLE_DEBUG */ 1020s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1020s # * Do not access GValues directly in your code. Instead, use the 1020s # * g_value_get_*() functions 1020s # */ 1020s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1020s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1020s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1020s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1020s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1020s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1020s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1020s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1020s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1020s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1020s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1020s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1020s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1020s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1020s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1020s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1020s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1020s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1020s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1020s # #endif /* !G_ENABLE_DEBUG */ 1020s # 1020s # typedef struct 1020s # { 1020s # GDBusArgInfo parent_struct; 1020s # gboolean use_gvariant; 1020s # } _ExtendedGDBusArgInfo; 1020s # 1020s # typedef struct 1020s # { 1020s # GDBusMethodInfo parent_struct; 1020s # const gchar *signal_name; 1020s # gboolean pass_fdlist; 1020s # } _ExtendedGDBusMethodInfo; 1020s # 1020s # typedef struct 1020s # { 1020s # GDBusSignalInfo parent_struct; 1020s # const gchar *signal_name; 1020s # } _ExtendedGDBusSignalInfo; 1020s # 1020s # typedef struct 1020s # { 1020s # GDBusPropertyInfo parent_struct; 1020s # const gchar *hyphen_name; 1020s # guint use_gvariant : 1; 1020s # guint emits_changed_signal : 1; 1020s # } _ExtendedGDBusPropertyInfo; 1020s # 1020s # typedef struct 1020s # { 1020s # GDBusInterfaceInfo parent_struct; 1020s # const gchar *hyphen_name; 1020s # } _ExtendedGDBusInterfaceInfo; 1020s # 1020s # typedef struct 1020s # { 1020s # const _ExtendedGDBusPropertyInfo *info; 1020s # guint prop_id; 1020s # GValue orig_value; /* the value before the change */ 1020s # } ChangedProperty; 1020s # 1020s # static void 1020s # _changed_property_free (ChangedProperty *data) 1020s # { 1020s # g_value_unset (&data->orig_value); 1020s # g_free (data); 1020s # } 1020s # 1020s # static gboolean 1020s # _g_strv_equal0 (gchar **a, gchar **b) 1020s # { 1020s # gboolean ret = FALSE; 1020s # guint n; 1020s # if (a == NULL && b == NULL) 1020s # { 1020s # ret = TRUE; 1020s # goto out; 1020s # } 1020s # if (a == NULL || b == NULL) 1020s # goto out; 1020s # if (g_strv_length (a) != g_strv_length (b)) 1020s # goto out; 1020s # for (n = 0; a[n] != NULL; n++) 1020s # if (g_strcmp0 (a[n], b[n]) != 0) 1020s # goto out; 1020s # ret = TRUE; 1020s # out: 1020s # return ret; 1020s # } 1020s # 1020s # static gboolean 1020s # _g_variant_equal0 (GVariant *a, GVariant *b) 1020s # { 1020s # gboolean ret = FALSE; 1020s # if (a == NULL && b == NULL) 1020s # { 1020s # ret = TRUE; 1020s # goto out; 1020s # } 1020s # if (a == NULL || b == NULL) 1020s # goto out; 1020s # ret = g_variant_equal (a, b); 1020s # out: 1020s # return ret; 1020s # } 1020s # 1020s # G_GNUC_UNUSED static gboolean 1020s # _g_value_equal (const GValue *a, const GValue *b) 1020s # { 1020s # gboolean ret = FALSE; 1020s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1020s # switch (G_VALUE_TYPE (a)) 1020s # { 1020s # case G_TYPE_BOOLEAN: 1020s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1020s # break; 1020s # case G_TYPE_UCHAR: 1020s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1020s # break; 1020s # case G_TYPE_INT: 1020s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1020s # break; 1020s # case G_TYPE_UINT: 1020s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1020s # break; 1020s # case G_TYPE_INT64: 1020s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1020s # break; 1020s # case G_TYPE_UINT64: 1020s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1020s # break; 1020s # case G_TYPE_DOUBLE: 1020s # { 1020s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1020s # gdouble da = g_value_get_double (a); 1020s # gdouble db = g_value_get_double (b); 1020s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1020s # } 1020s # break; 1020s # case G_TYPE_STRING: 1020s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1020s # break; 1020s # case G_TYPE_VARIANT: 1020s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1020s # break; 1020s # default: 1020s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1020s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1020s # else 1020s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1020s # break; 1020s # } 1020s # return ret; 1020s # } 1020s # 1020s # /* ------------------------------------------------------------------------ 1020s # * Code for interface GoodTypes 1020s # * ------------------------------------------------------------------------ 1020s # */ 1020s # 1020s # /** 1020s # * SECTION:GoodTypes 1020s # * @title: GoodTypes 1020s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1020s # * 1020s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1020s # */ 1020s # 1020s # /* ---- Introspection data for GoodTypes ---- */ 1020s # 1020s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1020s # { 1020s # { 1020s # -1, 1020s # (gchar *) "GoodPropertyType", 1020s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 1020s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1020s # NULL 1020s # }, 1020s # "good-property-type", 1020s # FALSE, 1020s # TRUE 1020s # }; 1020s # 1020s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1020s # { 1020s # &_good_types_property_info_good_property_type.parent_struct, 1020s # NULL 1020s # }; 1020s # 1020s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1020s # { 1020s # { 1020s # -1, 1020s # (gchar *) "GoodTypes", 1020s # NULL, 1020s # NULL, 1020s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1020s # NULL 1020s # }, 1020s # "good-types", 1020s # }; 1020s # 1020s # 1020s # /** 1020s # * good_types_interface_info: 1020s # * 1020s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1020s # * 1020s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1020s # */ 1020s # GDBusInterfaceInfo * 1020s # good_types_interface_info (void) 1020s # { 1020s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1020s # } 1020s # 1020s # /** 1020s # * good_types_override_properties: 1020s # * @klass: The class structure for a #GObject derived class. 1020s # * @property_id_begin: The property id to assign to the first overridden property. 1020s # * 1020s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1020s # * The properties are overridden in the order they are defined. 1020s # * 1020s # * Returns: The last property id. 1020s # */ 1020s # guint 1020s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1020s # { 1020s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1020s # return property_id_begin - 1; 1020s # } 1020s # 1020s # 1020s # 1020s # /** 1020s # * GoodTypes: 1020s # * 1020s # * Abstract interface type for the D-Bus interface GoodTypes. 1020s # */ 1020s # 1020s # /** 1020s # * GoodTypesIface: 1020s # * @parent_iface: The parent interface. 1020s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1020s # * 1020s # * Virtual table for the D-Bus interface GoodTypes. 1020s # */ 1020s # 1020s # typedef GoodTypesIface GoodTypesInterface; 1020s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1020s # 1020s # static void 1020s # good_types_default_init (GoodTypesIface *iface) 1020s # { 1020s # /* GObject properties for D-Bus properties: */ 1020s # /** 1020s # * GoodTypes:good-property-type: 1020s # * 1020s # * Represents the D-Bus property "GoodPropertyType". 1020s # * 1020s # * 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. 1020s # */ 1020s # g_object_interface_install_property (iface, 1020s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1020s # } 1020s # 1020s # /** 1020s # * good_types_get_good_property_type: (skip) 1020s # * @object: A GoodTypes. 1020s # * 1020s # * Gets the value of the "GoodPropertyType" D-Bus property. 1020s # * 1020s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1020s # * 1020s # * 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. 1020s # * 1020s # * 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. 1020s # */ 1020s # GVariant * 1020s # good_types_get_good_property_type (GoodTypes *object) 1020s # { 1020s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1020s # 1020s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1020s # } 1020s # 1020s # /** 1020s # * good_types_dup_good_property_type: (skip) 1020s # * @object: A GoodTypes. 1020s # * 1020s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1020s # * 1020s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1020s # * 1020s # * 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(). 1020s # */ 1020s # GVariant * 1020s # good_types_dup_good_property_type (GoodTypes *object) 1020s # { 1020s # GVariant *value; 1020s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1020s # return value; 1020s # } 1020s # 1020s # /** 1020s # * good_types_set_good_property_type: (skip) 1020s # * @object: A GoodTypes. 1020s # * @value: The value to set. 1020s # * 1020s # * Sets the "GoodPropertyType" D-Bus property to @value. 1020s # * 1020s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1020s # */ 1020s # void 1020s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1020s # { 1020s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1020s # } 1020s # 1020s # /* ------------------------------------------------------------------------ */ 1020s # 1020s # /** 1020s # * GoodTypesProxy: 1020s # * 1020s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1020s # */ 1020s # 1020s # /** 1020s # * GoodTypesProxyClass: 1020s # * @parent_class: The parent class. 1020s # * 1020s # * Class structure for GoodTypesProxy. 1020s # */ 1020s # 1020s # struct _GoodTypesProxyPrivate 1020s # { 1020s # GData *qdata; 1020s # }; 1020s # 1020s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1020s # 1020s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1020s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1020s # G_ADD_PRIVATE (GoodTypesProxy) 1020s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1020s # 1020s # #else 1020s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1020s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1020s # 1020s # #endif 1020s # static void 1020s # good_types_proxy_finalize (GObject *object) 1020s # { 1020s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1020s # g_datalist_clear (&proxy->priv->qdata); 1020s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1020s # } 1020s # 1020s # static void 1020s # good_types_proxy_get_property (GObject *object, 1020s # guint prop_id, 1020s # GValue *value, 1020s # GParamSpec *pspec G_GNUC_UNUSED) 1020s # { 1020s # const _ExtendedGDBusPropertyInfo *info; 1020s # GVariant *variant; 1020s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1020s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1020s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1020s # if (info->use_gvariant) 1020s # { 1020s # g_value_set_variant (value, variant); 1020s # } 1020s # else 1020s # { 1020s # if (variant != NULL) 1020s # g_dbus_gvariant_to_gvalue (variant, value); 1020s # } 1020s # if (variant != NULL) 1020s # g_variant_unref (variant); 1020s # } 1020s # 1020s # static void 1020s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1020s # GAsyncResult *res, 1020s # gpointer user_data) 1020s # { 1020s # const _ExtendedGDBusPropertyInfo *info = user_data; 1020s # GError *error; 1020s # GVariant *_ret; 1020s # error = NULL; 1020s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1020s # if (!_ret) 1020s # { 1020s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1020s # info->parent_struct.name, 1020s # error->message, g_quark_to_string (error->domain), error->code); 1020s # g_error_free (error); 1020s # } 1020s # else 1020s # { 1020s # g_variant_unref (_ret); 1020s # } 1020s # } 1020s # 1020s # static void 1020s # good_types_proxy_set_property (GObject *object, 1020s # guint prop_id, 1020s # const GValue *value, 1020s # GParamSpec *pspec G_GNUC_UNUSED) 1020s # { 1020s # const _ExtendedGDBusPropertyInfo *info; 1020s # GVariant *variant; 1020s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1020s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1020s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1020s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1020s # "org.freedesktop.DBus.Properties.Set", 1020s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1020s # G_DBUS_CALL_FLAGS_NONE, 1020s # -1, 1020s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1020s # g_variant_unref (variant); 1020s # } 1020s # 1020s # static void 1020s # good_types_proxy_g_signal (GDBusProxy *proxy, 1020s # const gchar *sender_name G_GNUC_UNUSED, 1020s # const gchar *signal_name, 1020s # GVariant *parameters) 1020s # { 1020s # _ExtendedGDBusSignalInfo *info; 1020s # GVariantIter iter; 1020s # GVariant *child; 1020s # GValue *paramv; 1020s # gsize num_params; 1020s # gsize n; 1020s # guint signal_id; 1020s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1020s # if (info == NULL) 1020s # return; 1020s # num_params = g_variant_n_children (parameters); 1020s # paramv = g_new0 (GValue, num_params + 1); 1020s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1020s # g_value_set_object (¶mv[0], proxy); 1020s # g_variant_iter_init (&iter, parameters); 1020s # n = 1; 1020s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1020s # { 1020s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1020s # if (arg_info->use_gvariant) 1020s # { 1020s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1020s # g_value_set_variant (¶mv[n], child); 1020s # n++; 1020s # } 1020s # else 1020s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1020s # g_variant_unref (child); 1020s # } 1020s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1020s # g_signal_emitv (paramv, signal_id, 0, NULL); 1020s # for (n = 0; n < num_params + 1; n++) 1020s # g_value_unset (¶mv[n]); 1020s # g_free (paramv); 1020s # } 1020s # 1020s # static void 1020s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1020s # GVariant *changed_properties, 1020s # const gchar *const *invalidated_properties) 1020s # { 1020s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1020s # guint n; 1020s # const gchar *key; 1020s # GVariantIter *iter; 1020s # _ExtendedGDBusPropertyInfo *info; 1020s # g_variant_get (changed_properties, "a{sv}", &iter); 1020s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1020s # { 1020s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1020s # g_datalist_remove_data (&proxy->priv->qdata, key); 1020s # if (info != NULL) 1020s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1020s # } 1020s # g_variant_iter_free (iter); 1020s # for (n = 0; invalidated_properties[n] != NULL; n++) 1020s # { 1020s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1020s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1020s # if (info != NULL) 1020s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1020s # } 1020s # } 1020s # 1020s # static GVariant * 1020s # good_types_proxy_get_good_property_type (GoodTypes *object) 1020s # { 1020s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1020s # GVariant *variant; 1020s # GVariant *value = NULL; 1020s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1020s # value = variant; 1020s # if (variant != NULL) 1020s # g_variant_unref (variant); 1020s # return value; 1020s # } 1020s # 1020s # static void 1020s # good_types_proxy_init (GoodTypesProxy *proxy) 1020s # { 1020s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1020s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1020s # #else 1020s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1020s # #endif 1020s # 1020s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1020s # } 1020s # 1020s # static void 1020s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1020s # { 1020s # GObjectClass *gobject_class; 1020s # GDBusProxyClass *proxy_class; 1020s # 1020s # gobject_class = G_OBJECT_CLASS (klass); 1020s # gobject_class->finalize = good_types_proxy_finalize; 1020s # gobject_class->get_property = good_types_proxy_get_property; 1020s # gobject_class->set_property = good_types_proxy_set_property; 1020s # 1020s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1020s # proxy_class->g_signal = good_types_proxy_g_signal; 1020s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1020s # 1020s # good_types_override_properties (gobject_class, 1); 1020s # 1020s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1020s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1020s # #endif 1020s # } 1020s # 1020s # static void 1020s # good_types_proxy_iface_init (GoodTypesIface *iface) 1020s # { 1020s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1020s # } 1020s # 1020s # /** 1020s # * good_types_proxy_new: 1020s # * @connection: A #GDBusConnection. 1020s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1020s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1020s # * @object_path: An object path. 1020s # * @cancellable: (nullable): A #GCancellable or %NULL. 1020s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1020s # * @user_data: User data to pass to @callback. 1020s # * 1020s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1020s # * 1020s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1020s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1020s # * 1020s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1020s # */ 1020s # void 1020s # good_types_proxy_new ( 1020s # GDBusConnection *connection, 1020s # GDBusProxyFlags flags, 1020s # const gchar *name, 1020s # const gchar *object_path, 1020s # GCancellable *cancellable, 1020s # GAsyncReadyCallback callback, 1020s # gpointer user_data) 1020s # { 1020s # 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); 1020s # } 1020s # 1020s # /** 1020s # * good_types_proxy_new_finish: 1020s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1020s # * @error: Return location for error or %NULL 1020s # * 1020s # * Finishes an operation started with good_types_proxy_new(). 1020s # * 1020s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1020s # */ 1020s # GoodTypes * 1020s # good_types_proxy_new_finish ( 1020s # GAsyncResult *res, 1020s # GError **error) 1020s # { 1020s # GObject *ret; 1020s # GObject *source_object; 1020s # source_object = g_async_result_get_source_object (res); 1020s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1020s # g_object_unref (source_object); 1020s # if (ret != NULL) 1020s # return GOOD_TYPES (ret); 1020s # else 1020s # return NULL; 1020s # } 1020s # 1020s # /** 1020s # * good_types_proxy_new_sync: 1020s # * @connection: A #GDBusConnection. 1020s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1020s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1020s # * @object_path: An object path. 1020s # * @cancellable: (nullable): A #GCancellable or %NULL. 1020s # * @error: Return location for error or %NULL 1020s # * 1020s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1020s # * 1020s # * The calling thread is blocked until a reply is received. 1020s # * 1020s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1020s # * 1020s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1020s # */ 1020s # GoodTypes * 1020s # good_types_proxy_new_sync ( 1020s # GDBusConnection *connection, 1020s # GDBusProxyFlags flags, 1020s # const gchar *name, 1020s # const gchar *object_path, 1020s # GCancellable *cancellable, 1020s # GError **error) 1020s # { 1020s # GInitable *ret; 1020s # 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); 1020s # if (ret != NULL) 1020s # return GOOD_TYPES (ret); 1020s # else 1020s # return NULL; 1020s # } 1020s # 1020s # 1020s # /** 1020s # * good_types_proxy_new_for_bus: 1020s # * @bus_type: A #GBusType. 1020s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1020s # * @name: A bus name (well-known or unique). 1020s # * @object_path: An object path. 1020s # * @cancellable: (nullable): A #GCancellable or %NULL. 1020s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1020s # * @user_data: User data to pass to @callback. 1020s # * 1020s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1020s # * 1020s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1020s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1020s # * 1020s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1020s # */ 1020s # void 1020s # good_types_proxy_new_for_bus ( 1020s # GBusType bus_type, 1020s # GDBusProxyFlags flags, 1020s # const gchar *name, 1020s # const gchar *object_path, 1020s # GCancellable *cancellable, 1020s # GAsyncReadyCallback callback, 1020s # gpointer user_data) 1020s # { 1020s # 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); 1020s # } 1020s # 1020s # /** 1020s # * good_types_proxy_new_for_bus_finish: 1020s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1020s # * @error: Return location for error or %NULL 1020s # * 1020s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1020s # * 1020s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1020s # */ 1020s # GoodTypes * 1020s # good_types_proxy_new_for_bus_finish ( 1020s # GAsyncResult *res, 1020s # GError **error) 1020s # { 1020s # GObject *ret; 1020s # GObject *source_object; 1020s # source_object = g_async_result_get_source_object (res); 1020s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1020s # g_object_unref (source_object); 1020s # if (ret != NULL) 1020s # return GOOD_TYPES (ret); 1020s # else 1020s # return NULL; 1020s # } 1020s # 1020s # /** 1020s # * good_types_proxy_new_for_bus_sync: 1020s # * @bus_type: A #GBusType. 1020s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1020s # * @name: A bus name (well-known or unique). 1020s # * @object_path: An object path. 1020s # * @cancellable: (nullable): A #GCancellable or %NULL. 1020s # * @error: Return location for error or %NULL 1020s # * 1020s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1020s # * 1020s # * The calling thread is blocked until a reply is received. 1020s # * 1020s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1020s # * 1020s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1020s # */ 1020s # GoodTypes * 1020s # good_types_proxy_new_for_bus_sync ( 1020s # GBusType bus_type, 1020s # GDBusProxyFlags flags, 1020s # const gchar *name, 1020s # const gchar *object_path, 1020s # GCancellable *cancellable, 1020s # GError **error) 1020s # { 1020s # GInitable *ret; 1020s # 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); 1020s # if (ret != NULL) 1020s # return GOOD_TYPES (ret); 1020s # else 1020s # return NULL; 1020s # } 1020s # 1020s # 1020s # /* ------------------------------------------------------------------------ */ 1020s # 1020s # /** 1020s # * GoodTypesSkeleton: 1020s # * 1020s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1020s # */ 1020s # 1020s # /** 1020s # * GoodTypesSkeletonClass: 1020s # * @parent_class: The parent class. 1020s # * 1020s # * Class structure for GoodTypesSkeleton. 1020s # */ 1020s # 1020s # struct _GoodTypesSkeletonPrivate 1020s # { 1020s # GValue *properties; 1020s # GList *changed_properties; 1020s # GSource *changed_properties_idle_source; 1020s # GMainContext *context; 1020s # GMutex lock; 1020s # }; 1020s # 1020s # static void 1020s # _good_types_skeleton_handle_method_call ( 1020s # GDBusConnection *connection G_GNUC_UNUSED, 1020s # const gchar *sender G_GNUC_UNUSED, 1020s # const gchar *object_path G_GNUC_UNUSED, 1020s # const gchar *interface_name, 1020s # const gchar *method_name, 1020s # GVariant *parameters, 1020s # GDBusMethodInvocation *invocation, 1020s # gpointer user_data) 1020s # { 1020s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1020s # _ExtendedGDBusMethodInfo *info; 1020s # GVariantIter iter; 1020s # GVariant *child; 1020s # GValue *paramv; 1020s # gsize num_params; 1020s # guint num_extra; 1020s # gsize n; 1020s # guint signal_id; 1020s # GValue return_value = G_VALUE_INIT; 1020s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1020s # g_assert (info != NULL); 1020s # num_params = g_variant_n_children (parameters); 1020s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1020s # n = 0; 1020s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1020s # g_value_set_object (¶mv[n++], skeleton); 1020s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1020s # g_value_set_object (¶mv[n++], invocation); 1020s # if (info->pass_fdlist) 1020s # { 1020s # #ifdef G_OS_UNIX 1020s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1020s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1020s # #else 1020s # g_assert_not_reached (); 1020s # #endif 1020s # } 1020s # g_variant_iter_init (&iter, parameters); 1020s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1020s # { 1020s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1020s # if (arg_info->use_gvariant) 1020s # { 1020s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1020s # g_value_set_variant (¶mv[n], child); 1020s # n++; 1020s # } 1020s # else 1020s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1020s # g_variant_unref (child); 1020s # } 1020s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1020s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1020s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1020s # if (!g_value_get_boolean (&return_value)) 1020s # 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); 1020s # g_value_unset (&return_value); 1020s # for (n = 0; n < num_params + num_extra; n++) 1020s # g_value_unset (¶mv[n]); 1020s # g_free (paramv); 1020s # } 1020s # 1020s # static GVariant * 1020s # _good_types_skeleton_handle_get_property ( 1020s # GDBusConnection *connection G_GNUC_UNUSED, 1020s # const gchar *sender G_GNUC_UNUSED, 1020s # const gchar *object_path G_GNUC_UNUSED, 1020s # const gchar *interface_name G_GNUC_UNUSED, 1020s # const gchar *property_name, 1020s # GError **error, 1020s # gpointer user_data) 1020s # { 1020s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1020s # GValue value = G_VALUE_INIT; 1020s # GParamSpec *pspec; 1020s # _ExtendedGDBusPropertyInfo *info; 1020s # GVariant *ret; 1020s # ret = NULL; 1020s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1020s # g_assert (info != NULL); 1020s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1020s # if (pspec == NULL) 1020s # { 1020s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1020s # } 1020s # else 1020s # { 1020s # g_value_init (&value, pspec->value_type); 1020s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1020s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1020s # g_value_unset (&value); 1020s # } 1020s # return ret; 1020s # } 1020s # 1020s # static gboolean 1020s # _good_types_skeleton_handle_set_property ( 1020s # GDBusConnection *connection G_GNUC_UNUSED, 1020s # const gchar *sender G_GNUC_UNUSED, 1020s # const gchar *object_path G_GNUC_UNUSED, 1020s # const gchar *interface_name G_GNUC_UNUSED, 1020s # const gchar *property_name, 1020s # GVariant *variant, 1020s # GError **error, 1020s # gpointer user_data) 1020s # { 1020s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1020s # GValue value = G_VALUE_INIT; 1020s # GParamSpec *pspec; 1020s # _ExtendedGDBusPropertyInfo *info; 1020s # gboolean ret; 1020s # ret = FALSE; 1020s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1020s # g_assert (info != NULL); 1020s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1020s # if (pspec == NULL) 1020s # { 1020s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1020s # } 1020s # else 1020s # { 1020s # if (info->use_gvariant) 1020s # g_value_set_variant (&value, variant); 1020s # else 1020s # g_dbus_gvariant_to_gvalue (variant, &value); 1020s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1020s # g_value_unset (&value); 1020s # ret = TRUE; 1020s # } 1020s # return ret; 1020s # } 1020s # 1020s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1020s # { 1020s # _good_types_skeleton_handle_method_call, 1020s # _good_types_skeleton_handle_get_property, 1020s # _good_types_skeleton_handle_set_property, 1020s # {NULL} 1020s # }; 1020s # 1020s # static GDBusInterfaceInfo * 1020s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1020s # { 1020s # return good_types_interface_info (); 1020s # } 1020s # 1020s # static GDBusInterfaceVTable * 1020s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1020s # { 1020s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1020s # } 1020s # 1020s # static GVariant * 1020s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1020s # { 1020s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1020s # 1020s # GVariantBuilder builder; 1020s # guint n; 1020s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1020s # if (_good_types_interface_info.parent_struct.properties == NULL) 1020s # goto out; 1020s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1020s # { 1020s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1020s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1020s # { 1020s # GVariant *value; 1020s # 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); 1020s # if (value != NULL) 1020s # { 1020s # g_variant_take_ref (value); 1020s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1020s # g_variant_unref (value); 1020s # } 1020s # } 1020s # } 1020s # out: 1020s # return g_variant_builder_end (&builder); 1020s # } 1020s # 1020s # static gboolean _good_types_emit_changed (gpointer user_data); 1020s # 1020s # static void 1020s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1020s # { 1020s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1020s # gboolean emit_changed = FALSE; 1020s # 1020s # g_mutex_lock (&skeleton->priv->lock); 1020s # if (skeleton->priv->changed_properties_idle_source != NULL) 1020s # { 1020s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1020s # skeleton->priv->changed_properties_idle_source = NULL; 1020s # emit_changed = TRUE; 1020s # } 1020s # g_mutex_unlock (&skeleton->priv->lock); 1020s # 1020s # if (emit_changed) 1020s # _good_types_emit_changed (skeleton); 1020s # } 1020s # 1020s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1020s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1020s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1020s # G_ADD_PRIVATE (GoodTypesSkeleton) 1020s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1020s # 1020s # #else 1020s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1020s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1020s # 1020s # #endif 1020s # static void 1020s # good_types_skeleton_finalize (GObject *object) 1020s # { 1020s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1020s # guint n; 1020s # for (n = 0; n < 1; n++) 1020s # g_value_unset (&skeleton->priv->properties[n]); 1020s # g_free (skeleton->priv->properties); 1020s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1020s # if (skeleton->priv->changed_properties_idle_source != NULL) 1020s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1020s # g_main_context_unref (skeleton->priv->context); 1020s # g_mutex_clear (&skeleton->priv->lock); 1020s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1020s # } 1020s # 1020s # static void 1020s # good_types_skeleton_get_property (GObject *object, 1020s # guint prop_id, 1020s # GValue *value, 1020s # GParamSpec *pspec G_GNUC_UNUSED) 1020s # { 1020s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1020s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1020s # g_mutex_lock (&skeleton->priv->lock); 1020s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1020s # g_mutex_unlock (&skeleton->priv->lock); 1020s # } 1020s # 1020s # static gboolean 1020s # _good_types_emit_changed (gpointer user_data) 1020s # { 1020s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1020s # GList *l; 1020s # GVariantBuilder builder; 1020s # GVariantBuilder invalidated_builder; 1020s # guint num_changes; 1020s # 1020s # g_mutex_lock (&skeleton->priv->lock); 1020s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1020s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1020s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1020s # { 1020s # ChangedProperty *cp = l->data; 1020s # GVariant *variant; 1020s # const GValue *cur_value; 1020s # 1020s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1020s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1020s # { 1020s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1020s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1020s # g_variant_unref (variant); 1020s # num_changes++; 1020s # } 1020s # } 1020s # if (num_changes > 0) 1020s # { 1020s # GList *connections, *ll; 1020s # GVariant *signal_variant; 1020s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1020s # &builder, &invalidated_builder)); 1020s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1020s # for (ll = connections; ll != NULL; ll = ll->next) 1020s # { 1020s # GDBusConnection *connection = ll->data; 1020s # 1020s # g_dbus_connection_emit_signal (connection, 1020s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1020s # "org.freedesktop.DBus.Properties", 1020s # "PropertiesChanged", 1020s # signal_variant, 1020s # NULL); 1020s # } 1020s # g_variant_unref (signal_variant); 1020s # g_list_free_full (connections, g_object_unref); 1020s # } 1020s # else 1020s # { 1020s # g_variant_builder_clear (&builder); 1020s # g_variant_builder_clear (&invalidated_builder); 1020s # } 1020s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1020s # skeleton->priv->changed_properties = NULL; 1020s # skeleton->priv->changed_properties_idle_source = NULL; 1020s # g_mutex_unlock (&skeleton->priv->lock); 1020s # return FALSE; 1020s # } 1020s # 1020s # static void 1020s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1020s # { 1020s # ChangedProperty *cp; 1020s # GList *l; 1020s # cp = NULL; 1020s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1020s # { 1020s # ChangedProperty *i_cp = l->data; 1020s # if (i_cp->info == info) 1020s # { 1020s # cp = i_cp; 1020s # break; 1020s # } 1020s # } 1020s # if (cp == NULL) 1020s # { 1020s # cp = g_new0 (ChangedProperty, 1); 1020s # cp->prop_id = prop_id; 1020s # cp->info = info; 1020s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1020s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1020s # g_value_copy (orig_value, &cp->orig_value); 1020s # } 1020s # } 1020s # 1020s # static void 1020s # good_types_skeleton_notify (GObject *object, 1020s # GParamSpec *pspec G_GNUC_UNUSED) 1020s # { 1020s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1020s # g_mutex_lock (&skeleton->priv->lock); 1020s # if (skeleton->priv->changed_properties != NULL && 1020s # skeleton->priv->changed_properties_idle_source == NULL) 1020s # { 1020s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1020s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1020s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1020s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1020s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1020s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1020s # } 1020s # g_mutex_unlock (&skeleton->priv->lock); 1020s # } 1020s # 1020s # static void 1020s # good_types_skeleton_set_property (GObject *object, 1020s # guint prop_id, 1020s # const GValue *value, 1020s # GParamSpec *pspec) 1020s # { 1020s # const _ExtendedGDBusPropertyInfo *info; 1020s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1020s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1020s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1020s # g_mutex_lock (&skeleton->priv->lock); 1020s # g_object_freeze_notify (object); 1020s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1020s # { 1020s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1020s # info->emits_changed_signal) 1020s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1020s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1020s # g_object_notify_by_pspec (object, pspec); 1020s # } 1020s # g_mutex_unlock (&skeleton->priv->lock); 1020s # g_object_thaw_notify (object); 1020s # } 1020s # 1020s # static void 1020s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1020s # { 1020s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1020s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1020s # #else 1020s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1020s # #endif 1020s # 1020s # g_mutex_init (&skeleton->priv->lock); 1020s # skeleton->priv->context = g_main_context_ref_thread_default (); 1020s # skeleton->priv->properties = g_new0 (GValue, 1); 1020s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1020s # } 1020s # 1020s # static GVariant * 1020s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1020s # { 1020s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1020s # GVariant *value; 1020s # g_mutex_lock (&skeleton->priv->lock); 1020s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1020s # g_mutex_unlock (&skeleton->priv->lock); 1020s # return value; 1020s # } 1020s # 1020s # static void 1020s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1020s # { 1020s # GObjectClass *gobject_class; 1020s # GDBusInterfaceSkeletonClass *skeleton_class; 1020s # 1020s # gobject_class = G_OBJECT_CLASS (klass); 1020s # gobject_class->finalize = good_types_skeleton_finalize; 1020s # gobject_class->get_property = good_types_skeleton_get_property; 1020s # gobject_class->set_property = good_types_skeleton_set_property; 1020s # gobject_class->notify = good_types_skeleton_notify; 1020s # 1020s # 1020s # good_types_override_properties (gobject_class, 1); 1020s # 1020s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1020s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1020s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1020s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1020s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1020s # 1020s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1020s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1020s # #endif 1020s # } 1020s # 1020s # static void 1020s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1020s # { 1020s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1020s # } 1020s # 1020s # /** 1020s # * good_types_skeleton_new: 1020s # * 1020s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1020s # * 1020s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1020s # */ 1020s # GoodTypes * 1020s # good_types_skeleton_new (void) 1020s # { 1020s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1020s # } 1020s ok 3 __main__.TestCodegen.test_empty_interface_body 1020s # tmpdir: /tmp/tmpj90r7mc8 1020s # codegen: /usr/bin/gdbus-codegen 1020s # /tmp/tmpj90r7mc8/tmpmxm8prnt.xml: 1020s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj90r7mc8/tmpmxm8prnt.xml', '--output', '-', '--body'] 1020s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1020s # Output: /* 1020s # * This file is generated by gdbus-codegen, do not modify it. 1020s # * 1020s # * The license of this code is the same as for the D-Bus interface description 1020s # * it was derived from. Note that it links to GLib, so must comply with the 1020s # * LGPL linking clauses. 1020s # */ 1020s # 1020s # #ifdef HAVE_CONFIG_H 1020s # # include "config.h" 1020s # #endif 1020s # 1020s # #include 1020s # #ifdef G_OS_UNIX 1020s # # include 1020s # #endif 1020s # 1020s # #ifdef G_ENABLE_DEBUG 1020s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1020s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1020s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1020s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1020s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1020s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1020s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1020s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1020s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1020s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1020s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1020s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1020s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1020s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1020s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1020s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1020s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1020s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1020s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1020s # #else /* !G_ENABLE_DEBUG */ 1020s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1020s # * Do not access GValues directly in your code. Instead, use the 1020s # * g_value_get_*() functions 1020s # */ 1020s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1020s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1020s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1020s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1020s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1020s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1020s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1020s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1020s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1020s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1020s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1020s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1020s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1020s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1020s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1020s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1020s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1020s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1020s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1020s # #endif /* !G_ENABLE_DEBUG */ 1020s # 1020s # typedef struct 1020s # { 1020s # GDBusArgInfo parent_struct; 1020s # gboolean use_gvariant; 1020s # } _ExtendedGDBusArgInfo; 1020s # 1020s # typedef struct 1020s # { 1020s # GDBusMethodInfo parent_struct; 1020s # const gchar *signal_name; 1020s # gboolean pass_fdlist; 1020s # } _ExtendedGDBusMethodInfo; 1020s # 1020s # typedef struct 1020s # { 1020s # GDBusSignalInfo parent_struct; 1020s # const gchar *signal_name; 1020s # } _ExtendedGDBusSignalInfo; 1020s # 1020s # typedef struct 1020s # { 1020s # GDBusPropertyInfo parent_struct; 1020s # const gchar *hyphen_name; 1020s # guint use_gvariant : 1; 1020s # guint emits_changed_signal : 1; 1020s # } _ExtendedGDBusPropertyInfo; 1020s # 1020s # typedef struct 1020s # { 1020s # GDBusInterfaceInfo parent_struct; 1020s # const gchar *hyphen_name; 1020s # } _ExtendedGDBusInterfaceInfo; 1020s # 1020s # typedef struct 1020s # { 1020s # const _ExtendedGDBusPropertyInfo *info; 1020s # guint prop_id; 1020s # GValue orig_value; /* the value before the change */ 1020s # } ChangedProperty; 1020s # 1020s # static void 1020s # _changed_property_free (ChangedProperty *data) 1020s # { 1020s # g_value_unset (&data->orig_value); 1020s # g_free (data); 1020s # } 1020s # 1020s # static gboolean 1020s # _g_strv_equal0 (gchar **a, gchar **b) 1020s # { 1020s # gboolean ret = FALSE; 1020s # guint n; 1020s # if (a == NULL && b == NULL) 1020s # { 1020s # ret = TRUE; 1020s # goto out; 1020s # } 1020s # if (a == NULL || b == NULL) 1020s # goto out; 1020s # if (g_strv_length (a) != g_strv_length (b)) 1020s # goto out; 1020s # for (n = 0; a[n] != NULL; n++) 1020s # if (g_strcmp0 (a[n], b[n]) != 0) 1020s # goto out; 1020s # ret = TRUE; 1020s # out: 1020s # return ret; 1020s # } 1020s # 1020s # static gboolean 1020s # _g_variant_equal0 (GVariant *a, GVariant *b) 1020s # { 1020s # gboolean ret = FALSE; 1020s # if (a == NULL && b == NULL) 1020s # { 1020s # ret = TRUE; 1020s # goto out; 1020s # } 1020s # if (a == NULL || b == NULL) 1020s # goto out; 1020s # ret = g_variant_equal (a, b); 1020s # out: 1020s # return ret; 1020s # } 1020s # 1020s # G_GNUC_UNUSED static gboolean 1020s # _g_value_equal (const GValue *a, const GValue *b) 1020s # { 1020s # gboolean ret = FALSE; 1020s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1020s # switch (G_VALUE_TYPE (a)) 1020s # { 1020s # case G_TYPE_BOOLEAN: 1020s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1020s # break; 1020s # case G_TYPE_UCHAR: 1020s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1020s # break; 1020s # case G_TYPE_INT: 1020s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1020s # break; 1020s # case G_TYPE_UINT: 1020s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1020s # break; 1020s # case G_TYPE_INT64: 1020s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1020s # break; 1020s # case G_TYPE_UINT64: 1020s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1020s # break; 1020s # case G_TYPE_DOUBLE: 1020s # { 1020s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1020s # gdouble da = g_value_get_double (a); 1020s # gdouble db = g_value_get_double (b); 1020s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1020s # } 1020s # break; 1020s # case G_TYPE_STRING: 1020s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1020s # break; 1020s # case G_TYPE_VARIANT: 1020s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1020s # break; 1020s # default: 1020s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1020s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1020s # else 1020s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1020s # break; 1020s # } 1020s # return ret; 1020s # } 1020s ok 4 __main__.TestCodegen.test_empty_interface_header 1020s # tmpdir: /tmp/tmp0hj289xe 1020s # codegen: /usr/bin/gdbus-codegen 1020s # /tmp/tmp0hj289xe/tmpjfb24m22.xml: 1020s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hj289xe/tmpjfb24m22.xml', '--output', '-', '--header'] 1020s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1020s # Output: /* 1020s # * This file is generated by gdbus-codegen, do not modify it. 1020s # * 1020s # * The license of this code is the same as for the D-Bus interface description 1020s # * it was derived from. Note that it links to GLib, so must comply with the 1020s # * LGPL linking clauses. 1020s # */ 1020s # 1020s # #ifndef __STDOUT__ 1020s # #define __STDOUT__ 1020s # 1020s # #include 1020s # 1020s # G_BEGIN_DECLS 1020s # 1020s # 1020s # G_END_DECLS 1020s # 1020s # #endif /* __STDOUT__ */ 1020s ok 5 __main__.TestCodegen.test_empty_interface_info_body 1020s # tmpdir: /tmp/tmp4x7ainz9 1020s # codegen: /usr/bin/gdbus-codegen 1020s # /tmp/tmp4x7ainz9/tmp44dmobeu.xml: 1020s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4x7ainz9/tmp44dmobeu.xml', '--output', '-', '--interface-info-body'] 1020s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1020s # Output: /* 1020s # * This file is generated by gdbus-codegen, do not modify it. 1020s # * 1020s # * The license of this code is the same as for the D-Bus interface description 1020s # * it was derived from. Note that it links to GLib, so must comply with the 1020s # * LGPL linking clauses. 1020s # */ 1020s # 1020s # #ifdef HAVE_CONFIG_H 1020s # # include "config.h" 1020s # #endif 1020s # 1020s # #include 1020s ok 6 __main__.TestCodegen.test_empty_interface_info_header 1020s # tmpdir: /tmp/tmpml1ml7m8 1020s # codegen: /usr/bin/gdbus-codegen 1020s # /tmp/tmpml1ml7m8/tmp0tc_1h6_.xml: 1020s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpml1ml7m8/tmp0tc_1h6_.xml', '--output', '-', '--interface-info-header'] 1020s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1020s # Output: /* 1020s # * This file is generated by gdbus-codegen, do not modify it. 1020s # * 1020s # * The license of this code is the same as for the D-Bus interface description 1020s # * it was derived from. Note that it links to GLib, so must comply with the 1020s # * LGPL linking clauses. 1020s # */ 1020s # 1020s # #ifndef __STDOUT__ 1020s # #define __STDOUT__ 1020s # 1020s # #include 1020s # 1020s # G_BEGIN_DECLS 1020s # 1020s # 1020s # G_END_DECLS 1020s # 1020s # #endif /* __STDOUT__ */ 1020s ok 7 __main__.TestCodegen.test_generate_docbook 1020s # tmpdir: /tmp/tmpptq8od57 1020s # codegen: /usr/bin/gdbus-codegen 1020s # /tmp/tmpptq8od57/tmpll1nv4im.xml: 1020s # 1020s # 1020s # 1020s # 1020s # 1020s # 1020s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpptq8od57/tmpll1nv4im.xml', '--generate-docbook', 'test'] 1020s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1020s # Output: 1020s ok 8 __main__.TestCodegen.test_generate_md 1020s # tmpdir: /tmp/tmpbkrcm5lk 1020s # codegen: /usr/bin/gdbus-codegen 1020s # /tmp/tmpbkrcm5lk/tmpm44k7uxm.xml: 1020s # 1020s # 1020s # 1020s # 1020s # 1020s # 1020s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbkrcm5lk/tmpm44k7uxm.xml', '--generate-md', 'test'] 1020s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1020s # Output: 1020s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 1020s # tmpdir: /tmp/tmpj62kt362 1020s # codegen: /usr/bin/gdbus-codegen 1020s # /tmp/tmpj62kt362/tmpgmwjw40q.xml: 1020s # 1020s # 1020s # 1020s # 1020s # 1020s # 1020s # 1020s # 1020s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj62kt362/tmpgmwjw40q.xml', '--output', '-', '--body'] 1020s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1020s # Output: /* 1020s # * This file is generated by gdbus-codegen, do not modify it. 1020s # * 1020s # * The license of this code is the same as for the D-Bus interface description 1020s # * it was derived from. Note that it links to GLib, so must comply with the 1020s # * LGPL linking clauses. 1020s # */ 1020s # 1020s # #ifdef HAVE_CONFIG_H 1020s # # include "config.h" 1020s # #endif 1020s # 1020s # #include 1020s # #ifdef G_OS_UNIX 1020s # # include 1020s # #endif 1020s # 1020s # #ifdef G_ENABLE_DEBUG 1020s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1020s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1020s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1020s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1020s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1020s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1020s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1020s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1020s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1020s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1020s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1020s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1020s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1020s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1020s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1020s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1020s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1020s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1020s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1020s # #else /* !G_ENABLE_DEBUG */ 1020s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1020s # * Do not access GValues directly in your code. Instead, use the 1020s # * g_value_get_*() functions 1020s # */ 1020s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1020s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1020s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1020s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1020s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1020s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1020s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1020s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1020s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1020s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1020s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1020s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1020s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1020s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1020s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1020s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1020s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1020s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1020s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1020s # #endif /* !G_ENABLE_DEBUG */ 1020s # 1020s # typedef struct 1020s # { 1020s # GDBusArgInfo parent_struct; 1020s # gboolean use_gvariant; 1020s # } _ExtendedGDBusArgInfo; 1020s # 1020s # typedef struct 1020s # { 1020s # GDBusMethodInfo parent_struct; 1020s # const gchar *signal_name; 1020s # gboolean pass_fdlist; 1020s # } _ExtendedGDBusMethodInfo; 1020s # 1020s # typedef struct 1020s # { 1020s # GDBusSignalInfo parent_struct; 1020s # const gchar *signal_name; 1020s # } _ExtendedGDBusSignalInfo; 1020s # 1020s # typedef struct 1020s # { 1020s # GDBusPropertyInfo parent_struct; 1020s # const gchar *hyphen_name; 1020s # guint use_gvariant : 1; 1020s # guint emits_changed_signal : 1; 1020s # } _ExtendedGDBusPropertyInfo; 1020s # 1020s # typedef struct 1020s # { 1020s # GDBusInterfaceInfo parent_struct; 1020s # const gchar *hyphen_name; 1020s # } _ExtendedGDBusInterfaceInfo; 1020s # 1020s # typedef struct 1020s # { 1020s # const _ExtendedGDBusPropertyInfo *info; 1020s # guint prop_id; 1020s # GValue orig_value; /* the value before the change */ 1020s # } ChangedProperty; 1020s # 1020s # static void 1020s # _changed_property_free (ChangedProperty *data) 1020s # { 1020s # g_value_unset (&data->orig_value); 1020s # g_free (data); 1020s # } 1020s # 1020s # static gboolean 1020s # _g_strv_equal0 (gchar **a, gchar **b) 1020s # { 1020s # gboolean ret = FALSE; 1020s # guint n; 1020s # if (a == NULL && b == NULL) 1020s # { 1020s # ret = TRUE; 1020s # goto out; 1020s # } 1020s # if (a == NULL || b == NULL) 1020s # goto out; 1020s # if (g_strv_length (a) != g_strv_length (b)) 1020s # goto out; 1020s # for (n = 0; a[n] != NULL; n++) 1020s # if (g_strcmp0 (a[n], b[n]) != 0) 1020s # goto out; 1020s # ret = TRUE; 1020s # out: 1020s # return ret; 1020s # } 1020s # 1020s # static gboolean 1020s # _g_variant_equal0 (GVariant *a, GVariant *b) 1020s # { 1020s # gboolean ret = FALSE; 1020s # if (a == NULL && b == NULL) 1020s # { 1020s # ret = TRUE; 1020s # goto out; 1020s # } 1020s # if (a == NULL || b == NULL) 1020s # goto out; 1020s # ret = g_variant_equal (a, b); 1020s # out: 1020s # return ret; 1020s # } 1020s # 1020s # G_GNUC_UNUSED static gboolean 1020s # _g_value_equal (const GValue *a, const GValue *b) 1020s # { 1020s # gboolean ret = FALSE; 1020s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1020s # switch (G_VALUE_TYPE (a)) 1020s # { 1020s # case G_TYPE_BOOLEAN: 1020s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1020s # break; 1020s # case G_TYPE_UCHAR: 1020s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1020s # break; 1020s # case G_TYPE_INT: 1020s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1020s # break; 1020s # case G_TYPE_UINT: 1020s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1020s # break; 1020s # case G_TYPE_INT64: 1020s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1020s # break; 1020s # case G_TYPE_UINT64: 1020s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1020s # break; 1020s # case G_TYPE_DOUBLE: 1020s # { 1020s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1020s # gdouble da = g_value_get_double (a); 1020s # gdouble db = g_value_get_double (b); 1020s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1020s # } 1020s # break; 1020s # case G_TYPE_STRING: 1020s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1020s # break; 1020s # case G_TYPE_VARIANT: 1020s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1020s # break; 1020s # default: 1020s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1020s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1020s # else 1020s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1020s # break; 1020s # } 1020s # return ret; 1020s # } 1020s # 1020s # static void 1020s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1020s # GClosure *closure, 1020s # GValue *return_value, 1020s # unsigned int n_param_values, 1020s # const GValue *param_values, 1020s # void *invocation_hint G_GNUC_UNUSED, 1020s # void *marshal_data) 1020s # { 1020s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1020s # (void *data1, 1020s # GDBusMethodInvocation *arg_method_invocation, 1020s # void *data2); 1020s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1020s # GCClosure *cc = (GCClosure*) closure; 1020s # void *data1, *data2; 1020s # gboolean v_return; 1020s # 1020s # g_return_if_fail (return_value != NULL); 1020s # g_return_if_fail (n_param_values == 2); 1020s # 1020s # if (G_CCLOSURE_SWAP_DATA (closure)) 1020s # { 1020s # data1 = closure->data; 1020s # data2 = g_value_peek_pointer (param_values + 0); 1020s # } 1020s # else 1020s # { 1020s # data1 = g_value_peek_pointer (param_values + 0); 1020s # data2 = closure->data; 1020s # } 1020s # 1020s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1020s # (marshal_data ? marshal_data : cc->callback); 1020s # 1020s # v_return = 1020s # callback (data1, 1020s # g_marshal_value_peek_object (param_values + 1), 1020s # data2); 1020s # 1020s # g_value_set_boolean (return_value, v_return); 1020s # } 1020s # 1020s # /* ------------------------------------------------------------------------ 1020s # * Code for interface org.project.CallableIface 1020s # * ------------------------------------------------------------------------ 1020s # */ 1020s # 1020s # /** 1020s # * SECTION:OrgProjectCallableIface 1020s # * @title: OrgProjectCallableIface 1020s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1020s # * 1020s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1020s # */ 1020s # 1020s # /* ---- Introspection data for org.project.CallableIface ---- */ 1020s # 1020s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 1020s # { 1020s # { 1020s # -1, 1020s # (gchar *) "SimpleMethod", 1020s # NULL, 1020s # NULL, 1020s # NULL 1020s # }, 1020s # "handle-simple-method", 1020s # FALSE 1020s # }; 1020s # 1020s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1020s # { 1020s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 1020s # NULL 1020s # }; 1020s # 1020s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1020s # { 1020s # { 1020s # -1, 1020s # (gchar *) "org.project.CallableIface", 1020s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1020s # NULL, 1020s # NULL, 1020s # NULL 1020s # }, 1020s # "org-project-callable-iface", 1020s # }; 1020s # 1020s # 1020s # /** 1020s # * org_project_callable_iface_interface_info: 1020s # * 1020s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1020s # * 1020s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1020s # */ 1020s # GDBusInterfaceInfo * 1020s # org_project_callable_iface_interface_info (void) 1020s # { 1020s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1020s # } 1020s # 1020s # /** 1020s # * org_project_callable_iface_override_properties: 1020s # * @klass: The class structure for a #GObject derived class. 1020s # * @property_id_begin: The property id to assign to the first overridden property. 1020s # * 1020s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1020s # * The properties are overridden in the order they are defined. 1020s # * 1020s # * Returns: The last property id. 1020s # */ 1020s # guint 1020s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1020s # { 1020s # return property_id_begin - 1; 1020s # } 1020s # 1020s # 1020s # inline static void 1020s # org_project_callable_iface_method_marshal_simple_method ( 1020s # GClosure *closure, 1020s # GValue *return_value, 1020s # unsigned int n_param_values, 1020s # const GValue *param_values, 1020s # void *invocation_hint, 1020s # void *marshal_data) 1020s # { 1020s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1020s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1020s # } 1020s # 1020s # 1020s # /** 1020s # * OrgProjectCallableIface: 1020s # * 1020s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1020s # */ 1020s # 1020s # /** 1020s # * OrgProjectCallableIfaceIface: 1020s # * @parent_iface: The parent interface. 1020s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 1020s # * 1020s # * Virtual table for the D-Bus interface org.project.CallableIface. 1020s # */ 1020s # 1020s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1020s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1020s # 1020s # static void 1020s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1020s # { 1020s # /* GObject signals for incoming D-Bus method calls: */ 1020s # /** 1020s # * OrgProjectCallableIface::handle-simple-method: 1020s # * @object: A #OrgProjectCallableIface. 1020s # * @invocation: A #GDBusMethodInvocation. 1020s # * 1020s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1020s # * 1020s # * 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. 1020s # * 1020s # * 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. 1020s # */ 1020s # g_signal_new ("handle-simple-method", 1020s # G_TYPE_FROM_INTERFACE (iface), 1020s # G_SIGNAL_RUN_LAST, 1020s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 1020s # g_signal_accumulator_true_handled, 1020s # NULL, 1020s # org_project_callable_iface_method_marshal_simple_method, 1020s # G_TYPE_BOOLEAN, 1020s # 1, 1020s # G_TYPE_DBUS_METHOD_INVOCATION); 1020s # 1020s # } 1020s # 1020s # /** 1020s # * org_project_callable_iface_call_simple_method: 1020s # * @proxy: A #OrgProjectCallableIfaceProxy. 1020s # * @cancellable: (nullable): A #GCancellable or %NULL. 1020s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1020s # * @user_data: User data to pass to @callback. 1020s # * 1020s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1020s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1020s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 1020s # * 1020s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1020s # */ 1020s # void 1020s # org_project_callable_iface_call_simple_method ( 1020s # OrgProjectCallableIface *proxy, 1020s # GCancellable *cancellable, 1020s # GAsyncReadyCallback callback, 1020s # gpointer user_data) 1020s # { 1020s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1020s # "SimpleMethod", 1020s # g_variant_new ("()"), 1020s # G_DBUS_CALL_FLAGS_NONE, 1020s # -1, 1020s # cancellable, 1020s # callback, 1020s # user_data); 1020s # } 1020s # 1020s # /** 1020s # * org_project_callable_iface_call_simple_method_finish: 1020s # * @proxy: A #OrgProjectCallableIfaceProxy. 1020s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 1020s # * @error: Return location for error or %NULL. 1020s # * 1020s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 1020s # * 1020s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1020s # */ 1020s # gboolean 1020s # org_project_callable_iface_call_simple_method_finish ( 1020s # OrgProjectCallableIface *proxy, 1020s # GAsyncResult *res, 1020s # GError **error) 1020s # { 1020s # GVariant *_ret; 1020s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1020s # if (_ret == NULL) 1020s # goto _out; 1020s # g_variant_get (_ret, 1020s # "()"); 1020s # g_variant_unref (_ret); 1020s # _out: 1020s # return _ret != NULL; 1020s # } 1020s # 1020s # /** 1020s # * org_project_callable_iface_call_simple_method_sync: 1020s # * @proxy: A #OrgProjectCallableIfaceProxy. 1020s # * @cancellable: (nullable): A #GCancellable or %NULL. 1020s # * @error: Return location for error or %NULL. 1020s # * 1020s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1020s # * 1020s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 1020s # * 1020s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1020s # */ 1020s # gboolean 1020s # org_project_callable_iface_call_simple_method_sync ( 1020s # OrgProjectCallableIface *proxy, 1020s # GCancellable *cancellable, 1020s # GError **error) 1020s # { 1020s # GVariant *_ret; 1020s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1020s # "SimpleMethod", 1020s # g_variant_new ("()"), 1020s # G_DBUS_CALL_FLAGS_NONE, 1020s # -1, 1020s # cancellable, 1020s # error); 1020s # if (_ret == NULL) 1020s # goto _out; 1020s # g_variant_get (_ret, 1020s # "()"); 1020s # g_variant_unref (_ret); 1020s # _out: 1020s # return _ret != NULL; 1020s # } 1020s # 1020s # /** 1020s # * org_project_callable_iface_complete_simple_method: 1020s # * @object: A #OrgProjectCallableIface. 1020s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1020s # * 1020s # * 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. 1020s # * 1020s # * This method will free @invocation, you cannot use it afterwards. 1020s # */ 1020s # void 1020s # org_project_callable_iface_complete_simple_method ( 1020s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1020s # GDBusMethodInvocation *invocation) 1020s # { 1020s # g_dbus_method_invocation_return_value (invocation, 1020s # g_variant_new ("()")); 1020s # } 1020s # 1020s # /* ------------------------------------------------------------------------ */ 1020s # 1020s # /** 1020s # * OrgProjectCallableIfaceProxy: 1020s # * 1020s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1020s # */ 1020s # 1020s # /** 1020s # * OrgProjectCallableIfaceProxyClass: 1020s # * @parent_class: The parent class. 1020s # * 1020s # * Class structure for #OrgProjectCallableIfaceProxy. 1020s # */ 1020s # 1020s # struct _OrgProjectCallableIfaceProxyPrivate 1020s # { 1020s # GData *qdata; 1020s # }; 1020s # 1020s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1020s # 1020s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1020s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1020s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1020s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1020s # 1020s # #else 1020s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1020s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1020s # 1020s # #endif 1020s # static void 1020s # org_project_callable_iface_proxy_finalize (GObject *object) 1020s # { 1020s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1020s # g_datalist_clear (&proxy->priv->qdata); 1020s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1020s # } 1020s # 1020s # static void 1020s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1020s # guint prop_id G_GNUC_UNUSED, 1020s # GValue *value G_GNUC_UNUSED, 1020s # GParamSpec *pspec G_GNUC_UNUSED) 1020s # { 1020s # } 1020s # 1020s # static void 1020s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1020s # guint prop_id G_GNUC_UNUSED, 1020s # const GValue *value G_GNUC_UNUSED, 1020s # GParamSpec *pspec G_GNUC_UNUSED) 1020s # { 1020s # } 1020s # 1020s # static void 1020s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1020s # const gchar *sender_name G_GNUC_UNUSED, 1020s # const gchar *signal_name, 1020s # GVariant *parameters) 1020s # { 1020s # _ExtendedGDBusSignalInfo *info; 1020s # GVariantIter iter; 1020s # GVariant *child; 1020s # GValue *paramv; 1020s # gsize num_params; 1020s # gsize n; 1020s # guint signal_id; 1020s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1020s # if (info == NULL) 1020s # return; 1020s # num_params = g_variant_n_children (parameters); 1020s # paramv = g_new0 (GValue, num_params + 1); 1020s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1020s # g_value_set_object (¶mv[0], proxy); 1020s # g_variant_iter_init (&iter, parameters); 1020s # n = 1; 1020s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1020s # { 1020s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1020s # if (arg_info->use_gvariant) 1020s # { 1020s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1020s # g_value_set_variant (¶mv[n], child); 1020s # n++; 1020s # } 1020s # else 1020s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1020s # g_variant_unref (child); 1020s # } 1020s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1020s # g_signal_emitv (paramv, signal_id, 0, NULL); 1020s # for (n = 0; n < num_params + 1; n++) 1020s # g_value_unset (¶mv[n]); 1020s # g_free (paramv); 1020s # } 1020s # 1020s # static void 1020s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1020s # GVariant *changed_properties, 1020s # const gchar *const *invalidated_properties) 1020s # { 1020s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1020s # guint n; 1020s # const gchar *key; 1020s # GVariantIter *iter; 1020s # _ExtendedGDBusPropertyInfo *info; 1020s # g_variant_get (changed_properties, "a{sv}", &iter); 1020s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1020s # { 1020s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1020s # g_datalist_remove_data (&proxy->priv->qdata, key); 1020s # if (info != NULL) 1020s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1020s # } 1020s # g_variant_iter_free (iter); 1020s # for (n = 0; invalidated_properties[n] != NULL; n++) 1020s # { 1020s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1020s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1020s # if (info != NULL) 1020s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1020s # } 1020s # } 1020s # 1020s # static void 1020s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1020s # { 1020s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1020s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1020s # #else 1020s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1020s # #endif 1020s # 1020s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1020s # } 1020s # 1020s # static void 1020s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1020s # { 1020s # GObjectClass *gobject_class; 1020s # GDBusProxyClass *proxy_class; 1020s # 1020s # gobject_class = G_OBJECT_CLASS (klass); 1020s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1020s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1020s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1020s # 1020s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1020s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1020s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1020s # 1020s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1020s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1020s # #endif 1020s # } 1020s # 1020s # static void 1020s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1020s # { 1020s # } 1020s # 1020s # /** 1020s # * org_project_callable_iface_proxy_new: 1020s # * @connection: A #GDBusConnection. 1020s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1020s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1020s # * @object_path: An object path. 1020s # * @cancellable: (nullable): A #GCancellable or %NULL. 1020s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1020s # * @user_data: User data to pass to @callback. 1020s # * 1020s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1020s # * 1020s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1020s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1020s # * 1020s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1020s # */ 1020s # void 1020s # org_project_callable_iface_proxy_new ( 1020s # GDBusConnection *connection, 1020s # GDBusProxyFlags flags, 1020s # const gchar *name, 1020s # const gchar *object_path, 1020s # GCancellable *cancellable, 1020s # GAsyncReadyCallback callback, 1020s # gpointer user_data) 1020s # { 1020s # 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); 1020s # } 1020s # 1020s # /** 1020s # * org_project_callable_iface_proxy_new_finish: 1020s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1020s # * @error: Return location for error or %NULL 1020s # * 1020s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1020s # * 1020s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1020s # */ 1020s # OrgProjectCallableIface * 1020s # org_project_callable_iface_proxy_new_finish ( 1020s # GAsyncResult *res, 1020s # GError **error) 1020s # { 1020s # GObject *ret; 1020s # GObject *source_object; 1020s # source_object = g_async_result_get_source_object (res); 1020s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1020s # g_object_unref (source_object); 1020s # if (ret != NULL) 1020s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1020s # else 1020s # return NULL; 1020s # } 1020s # 1020s # /** 1020s # * org_project_callable_iface_proxy_new_sync: 1020s # * @connection: A #GDBusConnection. 1020s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1020s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1020s # * @object_path: An object path. 1020s # * @cancellable: (nullable): A #GCancellable or %NULL. 1020s # * @error: Return location for error or %NULL 1020s # * 1020s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1020s # * 1020s # * The calling thread is blocked until a reply is received. 1020s # * 1020s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1020s # * 1020s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1020s # */ 1020s # OrgProjectCallableIface * 1020s # org_project_callable_iface_proxy_new_sync ( 1020s # GDBusConnection *connection, 1020s # GDBusProxyFlags flags, 1020s # const gchar *name, 1020s # const gchar *object_path, 1020s # GCancellable *cancellable, 1020s # GError **error) 1020s # { 1020s # GInitable *ret; 1020s # 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); 1020s # if (ret != NULL) 1020s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1020s # else 1020s # return NULL; 1020s # } 1020s # 1020s # 1020s # /** 1020s # * org_project_callable_iface_proxy_new_for_bus: 1020s # * @bus_type: A #GBusType. 1020s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1020s # * @name: A bus name (well-known or unique). 1020s # * @object_path: An object path. 1020s # * @cancellable: (nullable): A #GCancellable or %NULL. 1020s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1020s # * @user_data: User data to pass to @callback. 1020s # * 1020s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1020s # * 1020s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1020s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1020s # * 1020s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1020s # */ 1020s # void 1020s # org_project_callable_iface_proxy_new_for_bus ( 1020s # GBusType bus_type, 1020s # GDBusProxyFlags flags, 1020s # const gchar *name, 1020s # const gchar *object_path, 1020s # GCancellable *cancellable, 1020s # GAsyncReadyCallback callback, 1020s # gpointer user_data) 1020s # { 1020s # 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); 1020s # } 1020s # 1020s # /** 1020s # * org_project_callable_iface_proxy_new_for_bus_finish: 1020s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1020s # * @error: Return location for error or %NULL 1020s # * 1020s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1020s # * 1020s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1020s # */ 1020s # OrgProjectCallableIface * 1020s # org_project_callable_iface_proxy_new_for_bus_finish ( 1020s # GAsyncResult *res, 1020s # GError **error) 1020s # { 1020s # GObject *ret; 1020s # GObject *source_object; 1020s # source_object = g_async_result_get_source_object (res); 1020s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1020s # g_object_unref (source_object); 1020s # if (ret != NULL) 1020s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1020s # else 1020s # return NULL; 1020s # } 1020s # 1020s # /** 1020s # * org_project_callable_iface_proxy_new_for_bus_sync: 1020s # * @bus_type: A #GBusType. 1020s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1020s # * @name: A bus name (well-known or unique). 1020s # * @object_path: An object path. 1020s # * @cancellable: (nullable): A #GCancellable or %NULL. 1020s # * @error: Return location for error or %NULL 1020s # * 1020s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1020s # * 1020s # * The calling thread is blocked until a reply is received. 1020s # * 1020s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1020s # * 1020s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1020s # */ 1020s # OrgProjectCallableIface * 1020s # org_project_callable_iface_proxy_new_for_bus_sync ( 1020s # GBusType bus_type, 1020s # GDBusProxyFlags flags, 1020s # const gchar *name, 1020s # const gchar *object_path, 1020s # GCancellable *cancellable, 1020s # GError **error) 1020s # { 1020s # GInitable *ret; 1020s # 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); 1020s # if (ret != NULL) 1020s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1020s # else 1020s # return NULL; 1020s # } 1020s # 1020s # 1020s # /* ------------------------------------------------------------------------ */ 1020s # 1020s # /** 1020s # * OrgProjectCallableIfaceSkeleton: 1020s # * 1020s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1020s # */ 1020s # 1020s # /** 1020s # * OrgProjectCallableIfaceSkeletonClass: 1020s # * @parent_class: The parent class. 1020s # * 1020s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1020s # */ 1020s # 1020s # struct _OrgProjectCallableIfaceSkeletonPrivate 1020s # { 1020s # GValue *properties; 1020s # GList *changed_properties; 1020s # GSource *changed_properties_idle_source; 1020s # GMainContext *context; 1020s # GMutex lock; 1020s # }; 1020s # 1020s # static void 1020s # _org_project_callable_iface_skeleton_handle_method_call ( 1020s # GDBusConnection *connection G_GNUC_UNUSED, 1020s # const gchar *sender G_GNUC_UNUSED, 1020s # const gchar *object_path G_GNUC_UNUSED, 1020s # const gchar *interface_name, 1020s # const gchar *method_name, 1020s # GVariant *parameters, 1020s # GDBusMethodInvocation *invocation, 1020s # gpointer user_data) 1020s # { 1020s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1020s # _ExtendedGDBusMethodInfo *info; 1020s # GVariantIter iter; 1020s # GVariant *child; 1020s # GValue *paramv; 1020s # gsize num_params; 1020s # guint num_extra; 1020s # gsize n; 1020s # guint signal_id; 1020s # GValue return_value = G_VALUE_INIT; 1020s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1020s # g_assert (info != NULL); 1020s # num_params = g_variant_n_children (parameters); 1020s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1020s # n = 0; 1020s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1020s # g_value_set_object (¶mv[n++], skeleton); 1020s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1020s # g_value_set_object (¶mv[n++], invocation); 1020s # if (info->pass_fdlist) 1020s # { 1020s # #ifdef G_OS_UNIX 1020s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1020s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1020s # #else 1020s # g_assert_not_reached (); 1020s # #endif 1020s # } 1020s # g_variant_iter_init (&iter, parameters); 1020s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1020s # { 1020s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1020s # if (arg_info->use_gvariant) 1020s # { 1020s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1020s # g_value_set_variant (¶mv[n], child); 1020s # n++; 1020s # } 1020s # else 1020s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1020s # g_variant_unref (child); 1020s # } 1020s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1020s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1020s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1020s # if (!g_value_get_boolean (&return_value)) 1020s # 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); 1020s # g_value_unset (&return_value); 1020s # for (n = 0; n < num_params + num_extra; n++) 1020s # g_value_unset (¶mv[n]); 1020s # g_free (paramv); 1020s # } 1020s # 1020s # static GVariant * 1020s # _org_project_callable_iface_skeleton_handle_get_property ( 1020s # GDBusConnection *connection G_GNUC_UNUSED, 1020s # const gchar *sender G_GNUC_UNUSED, 1020s # const gchar *object_path G_GNUC_UNUSED, 1020s # const gchar *interface_name G_GNUC_UNUSED, 1020s # const gchar *property_name, 1020s # GError **error, 1020s # gpointer user_data) 1020s # { 1020s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1020s # GValue value = G_VALUE_INIT; 1020s # GParamSpec *pspec; 1020s # _ExtendedGDBusPropertyInfo *info; 1020s # GVariant *ret; 1020s # ret = NULL; 1020s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1020s # g_assert (info != NULL); 1020s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1020s # if (pspec == NULL) 1020s # { 1020s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1020s # } 1020s # else 1020s # { 1020s # g_value_init (&value, pspec->value_type); 1020s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1020s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1020s # g_value_unset (&value); 1020s # } 1020s # return ret; 1020s # } 1020s # 1020s # static gboolean 1020s # _org_project_callable_iface_skeleton_handle_set_property ( 1020s # GDBusConnection *connection G_GNUC_UNUSED, 1020s # const gchar *sender G_GNUC_UNUSED, 1020s # const gchar *object_path G_GNUC_UNUSED, 1020s # const gchar *interface_name G_GNUC_UNUSED, 1020s # const gchar *property_name, 1020s # GVariant *variant, 1020s # GError **error, 1020s # gpointer user_data) 1020s # { 1020s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1020s # GValue value = G_VALUE_INIT; 1020s # GParamSpec *pspec; 1020s # _ExtendedGDBusPropertyInfo *info; 1020s # gboolean ret; 1020s # ret = FALSE; 1020s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1020s # g_assert (info != NULL); 1020s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1020s # if (pspec == NULL) 1020s # { 1020s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1020s # } 1020s # else 1020s # { 1020s # if (info->use_gvariant) 1020s # g_value_set_variant (&value, variant); 1020s # else 1020s # g_dbus_gvariant_to_gvalue (variant, &value); 1020s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1020s # g_value_unset (&value); 1020s # ret = TRUE; 1020s # } 1020s # return ret; 1020s # } 1020s # 1020s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1020s # { 1020s # _org_project_callable_iface_skeleton_handle_method_call, 1020s # _org_project_callable_iface_skeleton_handle_get_property, 1020s # _org_project_callable_iface_skeleton_handle_set_property, 1020s # {NULL} 1020s # }; 1020s # 1020s # static GDBusInterfaceInfo * 1020s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1020s # { 1020s # return org_project_callable_iface_interface_info (); 1020s # } 1020s # 1020s # static GDBusInterfaceVTable * 1020s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1020s # { 1020s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1020s # } 1020s # 1020s # static GVariant * 1020s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1020s # { 1020s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1020s # 1020s # GVariantBuilder builder; 1020s # guint n; 1020s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1020s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1020s # goto out; 1020s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1020s # { 1020s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1020s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1020s # { 1020s # GVariant *value; 1020s # 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); 1020s # if (value != NULL) 1020s # { 1020s # g_variant_take_ref (value); 1020s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1020s # g_variant_unref (value); 1020s # } 1020s # } 1020s # } 1020s # out: 1020s # return g_variant_builder_end (&builder); 1020s # } 1020s # 1020s # static void 1020s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1020s # { 1020s # } 1020s # 1020s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1020s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1020s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1020s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1020s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1020s # 1020s # #else 1020s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1020s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1020s # 1020s # #endif 1020s # static void 1020s # org_project_callable_iface_skeleton_finalize (GObject *object) 1020s # { 1020s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1020s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1020s # if (skeleton->priv->changed_properties_idle_source != NULL) 1020s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1020s # g_main_context_unref (skeleton->priv->context); 1020s # g_mutex_clear (&skeleton->priv->lock); 1020s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1020s # } 1020s # 1020s # static void 1020s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1020s # { 1020s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1020s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1020s # #else 1020s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1020s # #endif 1020s # 1020s # g_mutex_init (&skeleton->priv->lock); 1020s # skeleton->priv->context = g_main_context_ref_thread_default (); 1020s # } 1020s # 1020s # static void 1020s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1020s # { 1020s # GObjectClass *gobject_class; 1020s # GDBusInterfaceSkeletonClass *skeleton_class; 1020s # 1020s # gobject_class = G_OBJECT_CLASS (klass); 1020s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1020s # 1020s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1020s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1020s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1020s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1020s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1020s # 1020s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1020s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1020s # #endif 1020s # } 1020s # 1020s # static void 1020s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1020s # { 1020s # } 1020s # 1020s # /** 1020s # * org_project_callable_iface_skeleton_new: 1020s # * 1020s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1020s # * 1020s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1020s # */ 1020s # OrgProjectCallableIface * 1020s # org_project_callable_iface_skeleton_new (void) 1020s # { 1020s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1020s # } 1020s # 1020s # /* ------------------------------------------------------------------------ 1020s # * Code for interface org.project.OtherCallableIface 1020s # * ------------------------------------------------------------------------ 1020s # */ 1020s # 1020s # /** 1020s # * SECTION:OrgProjectOtherCallableIface 1020s # * @title: OrgProjectOtherCallableIface 1020s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1020s # * 1020s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1020s # */ 1020s # 1020s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1020s # 1020s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 1020s # { 1020s # { 1020s # -1, 1020s # (gchar *) "SimpleMethod", 1020s # NULL, 1020s # NULL, 1020s # NULL 1020s # }, 1020s # "handle-simple-method", 1020s # FALSE 1020s # }; 1020s # 1020s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1020s # { 1020s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 1020s # NULL 1020s # }; 1020s # 1020s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1020s # { 1020s # { 1020s # -1, 1020s # (gchar *) "org.project.OtherCallableIface", 1020s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1020s # NULL, 1020s # NULL, 1020s # NULL 1020s # }, 1020s # "org-project-other-callable-iface", 1020s # }; 1020s # 1020s # 1020s # /** 1020s # * org_project_other_callable_iface_interface_info: 1020s # * 1020s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1020s # * 1020s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1020s # */ 1020s # GDBusInterfaceInfo * 1020s # org_project_other_callable_iface_interface_info (void) 1020s # { 1020s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1020s # } 1020s # 1020s # /** 1020s # * org_project_other_callable_iface_override_properties: 1020s # * @klass: The class structure for a #GObject derived class. 1020s # * @property_id_begin: The property id to assign to the first overridden property. 1020s # * 1020s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1020s # * The properties are overridden in the order they are defined. 1020s # * 1020s # * Returns: The last property id. 1020s # */ 1020s # guint 1020s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1020s # { 1020s # return property_id_begin - 1; 1020s # } 1020s # 1020s # 1020s # inline static void 1020s # org_project_other_callable_iface_method_marshal_simple_method ( 1020s # GClosure *closure, 1020s # GValue *return_value, 1020s # unsigned int n_param_values, 1020s # const GValue *param_values, 1020s # void *invocation_hint, 1020s # void *marshal_data) 1020s # { 1020s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1020s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1020s # } 1020s # 1020s # 1020s # /** 1020s # * OrgProjectOtherCallableIface: 1020s # * 1020s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1020s # */ 1020s # 1020s # /** 1020s # * OrgProjectOtherCallableIfaceIface: 1020s # * @parent_iface: The parent interface. 1020s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 1020s # * 1020s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1020s # */ 1020s # 1020s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1020s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1020s # 1020s # static void 1020s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1020s # { 1020s # /* GObject signals for incoming D-Bus method calls: */ 1020s # /** 1020s # * OrgProjectOtherCallableIface::handle-simple-method: 1020s # * @object: A #OrgProjectOtherCallableIface. 1020s # * @invocation: A #GDBusMethodInvocation. 1020s # * 1020s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1020s # * 1020s # * 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. 1020s # * 1020s # * 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. 1020s # */ 1020s # g_signal_new ("handle-simple-method", 1020s # G_TYPE_FROM_INTERFACE (iface), 1020s # G_SIGNAL_RUN_LAST, 1020s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 1020s # g_signal_accumulator_true_handled, 1020s # NULL, 1020s # org_project_other_callable_iface_method_marshal_simple_method, 1020s # G_TYPE_BOOLEAN, 1020s # 1, 1020s # G_TYPE_DBUS_METHOD_INVOCATION); 1020s # 1020s # } 1020s # 1020s # /** 1020s # * org_project_other_callable_iface_call_simple_method: 1020s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1020s # * @cancellable: (nullable): A #GCancellable or %NULL. 1020s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1020s # * @user_data: User data to pass to @callback. 1020s # * 1020s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1020s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1020s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 1020s # * 1020s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1020s # */ 1020s # void 1020s # org_project_other_callable_iface_call_simple_method ( 1020s # OrgProjectOtherCallableIface *proxy, 1020s # GCancellable *cancellable, 1020s # GAsyncReadyCallback callback, 1020s # gpointer user_data) 1020s # { 1020s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1020s # "SimpleMethod", 1020s # g_variant_new ("()"), 1020s # G_DBUS_CALL_FLAGS_NONE, 1020s # -1, 1020s # cancellable, 1020s # callback, 1020s # user_data); 1020s # } 1020s # 1020s # /** 1020s # * org_project_other_callable_iface_call_simple_method_finish: 1020s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1020s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 1020s # * @error: Return location for error or %NULL. 1020s # * 1020s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 1020s # * 1020s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1020s # */ 1020s # gboolean 1020s # org_project_other_callable_iface_call_simple_method_finish ( 1020s # OrgProjectOtherCallableIface *proxy, 1020s # GAsyncResult *res, 1020s # GError **error) 1020s # { 1020s # GVariant *_ret; 1020s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1020s # if (_ret == NULL) 1020s # goto _out; 1020s # g_variant_get (_ret, 1020s # "()"); 1020s # g_variant_unref (_ret); 1020s # _out: 1020s # return _ret != NULL; 1020s # } 1020s # 1020s # /** 1020s # * org_project_other_callable_iface_call_simple_method_sync: 1020s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1020s # * @cancellable: (nullable): A #GCancellable or %NULL. 1020s # * @error: Return location for error or %NULL. 1020s # * 1020s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1020s # * 1020s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 1020s # * 1020s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1020s # */ 1020s # gboolean 1020s # org_project_other_callable_iface_call_simple_method_sync ( 1020s # OrgProjectOtherCallableIface *proxy, 1020s # GCancellable *cancellable, 1020s # GError **error) 1020s # { 1020s # GVariant *_ret; 1020s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1020s # "SimpleMethod", 1020s # g_variant_new ("()"), 1020s # G_DBUS_CALL_FLAGS_NONE, 1020s # -1, 1020s # cancellable, 1020s # error); 1020s # if (_ret == NULL) 1020s # goto _out; 1020s # g_variant_get (_ret, 1020s # "()"); 1020s # g_variant_unref (_ret); 1020s # _out: 1020s # return _ret != NULL; 1020s # } 1020s # 1020s # /** 1020s # * org_project_other_callable_iface_complete_simple_method: 1020s # * @object: A #OrgProjectOtherCallableIface. 1020s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1020s # * 1020s # * 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. 1020s # * 1020s # * This method will free @invocation, you cannot use it afterwards. 1020s # */ 1020s # void 1020s # org_project_other_callable_iface_complete_simple_method ( 1020s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1020s # GDBusMethodInvocation *invocation) 1020s # { 1020s # g_dbus_method_invocation_return_value (invocation, 1020s # g_variant_new ("()")); 1020s # } 1020s # 1020s # /* ------------------------------------------------------------------------ */ 1020s # 1020s # /** 1020s # * OrgProjectOtherCallableIfaceProxy: 1020s # * 1020s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1020s # */ 1020s # 1020s # /** 1020s # * OrgProjectOtherCallableIfaceProxyClass: 1020s # * @parent_class: The parent class. 1020s # * 1020s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1020s # */ 1020s # 1020s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1020s # { 1020s # GData *qdata; 1020s # }; 1020s # 1020s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1020s # 1020s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1020s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1020s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1020s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1020s # 1020s # #else 1020s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1020s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1020s # 1020s # #endif 1020s # static void 1020s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1020s # { 1020s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1020s # g_datalist_clear (&proxy->priv->qdata); 1020s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1020s # } 1020s # 1020s # static void 1020s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1020s # guint prop_id G_GNUC_UNUSED, 1020s # GValue *value G_GNUC_UNUSED, 1020s # GParamSpec *pspec G_GNUC_UNUSED) 1020s # { 1020s # } 1020s # 1020s # static void 1020s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1020s # guint prop_id G_GNUC_UNUSED, 1020s # const GValue *value G_GNUC_UNUSED, 1020s # GParamSpec *pspec G_GNUC_UNUSED) 1020s # { 1020s # } 1020s # 1020s # static void 1020s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1020s # const gchar *sender_name G_GNUC_UNUSED, 1020s # const gchar *signal_name, 1020s # GVariant *parameters) 1020s # { 1020s # _ExtendedGDBusSignalInfo *info; 1020s # GVariantIter iter; 1020s # GVariant *child; 1020s # GValue *paramv; 1020s # gsize num_params; 1020s # gsize n; 1020s # guint signal_id; 1020s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1020s # if (info == NULL) 1020s # return; 1020s # num_params = g_variant_n_children (parameters); 1020s # paramv = g_new0 (GValue, num_params + 1); 1020s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1020s # g_value_set_object (¶mv[0], proxy); 1020s # g_variant_iter_init (&iter, parameters); 1020s # n = 1; 1020s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1020s # { 1020s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1020s # if (arg_info->use_gvariant) 1020s # { 1020s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1020s # g_value_set_variant (¶mv[n], child); 1020s # n++; 1020s # } 1020s # else 1020s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1020s # g_variant_unref (child); 1020s # } 1020s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1020s # g_signal_emitv (paramv, signal_id, 0, NULL); 1020s # for (n = 0; n < num_params + 1; n++) 1020s # g_value_unset (¶mv[n]); 1020s # g_free (paramv); 1020s # } 1020s # 1020s # static void 1020s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1020s # GVariant *changed_properties, 1020s # const gchar *const *invalidated_properties) 1020s # { 1020s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1020s # guint n; 1020s # const gchar *key; 1020s # GVariantIter *iter; 1020s # _ExtendedGDBusPropertyInfo *info; 1020s # g_variant_get (changed_properties, "a{sv}", &iter); 1020s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1020s # { 1020s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1020s # g_datalist_remove_data (&proxy->priv->qdata, key); 1020s # if (info != NULL) 1020s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1020s # } 1020s # g_variant_iter_free (iter); 1020s # for (n = 0; invalidated_properties[n] != NULL; n++) 1020s # { 1020s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1020s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1020s # if (info != NULL) 1020s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1020s # } 1020s # } 1020s # 1020s # static void 1020s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1020s # { 1020s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1020s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1020s # #else 1020s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1020s # #endif 1020s # 1020s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1020s # } 1020s # 1020s # static void 1020s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1020s # { 1020s # GObjectClass *gobject_class; 1020s # GDBusProxyClass *proxy_class; 1020s # 1020s # gobject_class = G_OBJECT_CLASS (klass); 1020s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1020s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1020s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1020s # 1020s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1020s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1020s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1020s # 1020s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1020s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1020s # #endif 1020s # } 1020s # 1020s # static void 1020s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1020s # { 1020s # } 1020s # 1020s # /** 1020s # * org_project_other_callable_iface_proxy_new: 1020s # * @connection: A #GDBusConnection. 1020s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1020s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1020s # * @object_path: An object path. 1020s # * @cancellable: (nullable): A #GCancellable or %NULL. 1020s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1020s # * @user_data: User data to pass to @callback. 1020s # * 1020s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1020s # * 1020s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1020s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1020s # * 1020s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1020s # */ 1020s # void 1020s # org_project_other_callable_iface_proxy_new ( 1020s # GDBusConnection *connection, 1020s # GDBusProxyFlags flags, 1020s # const gchar *name, 1020s # const gchar *object_path, 1020s # GCancellable *cancellable, 1020s # GAsyncReadyCallback callback, 1020s # gpointer user_data) 1020s # { 1020s # 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); 1020s # } 1020s # 1020s # /** 1020s # * org_project_other_callable_iface_proxy_new_finish: 1020s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1020s # * @error: Return location for error or %NULL 1020s # * 1020s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1020s # * 1020s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1020s # */ 1020s # OrgProjectOtherCallableIface * 1020s # org_project_other_callable_iface_proxy_new_finish ( 1020s # GAsyncResult *res, 1020s # GError **error) 1020s # { 1020s # GObject *ret; 1020s # GObject *source_object; 1020s # source_object = g_async_result_get_source_object (res); 1020s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1020s # g_object_unref (source_object); 1020s # if (ret != NULL) 1020s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1020s # else 1020s # return NULL; 1020s # } 1020s # 1020s # /** 1020s # * org_project_other_callable_iface_proxy_new_sync: 1020s # * @connection: A #GDBusConnection. 1020s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1020s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1020s # * @object_path: An object path. 1020s # * @cancellable: (nullable): A #GCancellable or %NULL. 1020s # * @error: Return location for error or %NULL 1020s # * 1020s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1020s # * 1020s # * The calling thread is blocked until a reply is received. 1020s # * 1020s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1020s # * 1020s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1020s # */ 1020s # OrgProjectOtherCallableIface * 1020s # org_project_other_callable_iface_proxy_new_sync ( 1020s # GDBusConnection *connection, 1020s # GDBusProxyFlags flags, 1020s # const gchar *name, 1020s # const gchar *object_path, 1020s # GCancellable *cancellable, 1020s # GError **error) 1020s # { 1020s # GInitable *ret; 1020s # 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); 1020s # if (ret != NULL) 1020s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1020s # else 1020s # return NULL; 1020s # } 1020s # 1020s # 1020s # /** 1020s # * org_project_other_callable_iface_proxy_new_for_bus: 1020s # * @bus_type: A #GBusType. 1020s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1020s # * @name: A bus name (well-known or unique). 1020s # * @object_path: An object path. 1020s # * @cancellable: (nullable): A #GCancellable or %NULL. 1020s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1020s # * @user_data: User data to pass to @callback. 1020s # * 1020s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1020s # * 1020s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1020s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1020s # * 1020s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1020s # */ 1020s # void 1020s # org_project_other_callable_iface_proxy_new_for_bus ( 1020s # GBusType bus_type, 1020s # GDBusProxyFlags flags, 1020s # const gchar *name, 1020s # const gchar *object_path, 1020s # GCancellable *cancellable, 1020s # GAsyncReadyCallback callback, 1020s # gpointer user_data) 1020s # { 1020s # 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); 1020s # } 1020s # 1020s # /** 1020s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1020s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1020s # * @error: Return location for error or %NULL 1020s # * 1020s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1020s # * 1020s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1020s # */ 1020s # OrgProjectOtherCallableIface * 1020s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1020s # GAsyncResult *res, 1020s # GError **error) 1020s # { 1020s # GObject *ret; 1020s # GObject *source_object; 1020s # source_object = g_async_result_get_source_object (res); 1020s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1020s # g_object_unref (source_object); 1020s # if (ret != NULL) 1020s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1020s # else 1020s # return NULL; 1020s # } 1020s # 1020s # /** 1020s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1020s # * @bus_type: A #GBusType. 1020s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1020s # * @name: A bus name (well-known or unique). 1020s # * @object_path: An object path. 1020s # * @cancellable: (nullable): A #GCancellable or %NULL. 1020s # * @error: Return location for error or %NULL 1020s # * 1020s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1020s # * 1020s # * The calling thread is blocked until a reply is received. 1020s # * 1020s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1020s # * 1020s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1020s # */ 1020s # OrgProjectOtherCallableIface * 1020s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1020s # GBusType bus_type, 1020s # GDBusProxyFlags flags, 1020s # const gchar *name, 1020s # const gchar *object_path, 1020s # GCancellable *cancellable, 1020s # GError **error) 1020s # { 1020s # GInitable *ret; 1020s # 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); 1020s # if (ret != NULL) 1020s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1020s # else 1020s # return NULL; 1020s # } 1020s # 1020s # 1020s # /* ------------------------------------------------------------------------ */ 1020s # 1020s # /** 1020s # * OrgProjectOtherCallableIfaceSkeleton: 1020s # * 1020s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1020s # */ 1020s # 1020s # /** 1020s # * OrgProjectOtherCallableIfaceSkeletonClass: 1020s # * @parent_class: The parent class. 1020s # * 1020s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1020s # */ 1020s # 1020s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1020s # { 1020s # GValue *properties; 1020s # GList *changed_properties; 1020s # GSource *changed_properties_idle_source; 1020s # GMainContext *context; 1020s # GMutex lock; 1020s # }; 1020s # 1020s # static void 1020s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1020s # GDBusConnection *connection G_GNUC_UNUSED, 1020s # const gchar *sender G_GNUC_UNUSED, 1020s # const gchar *object_path G_GNUC_UNUSED, 1020s # const gchar *interface_name, 1020s # const gchar *method_name, 1020s # GVariant *parameters, 1020s # GDBusMethodInvocation *invocation, 1020s # gpointer user_data) 1020s # { 1020s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1020s # _ExtendedGDBusMethodInfo *info; 1020s # GVariantIter iter; 1020s # GVariant *child; 1020s # GValue *paramv; 1020s # gsize num_params; 1020s # guint num_extra; 1020s # gsize n; 1020s # guint signal_id; 1020s # GValue return_value = G_VALUE_INIT; 1020s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1020s # g_assert (info != NULL); 1020s # num_params = g_variant_n_children (parameters); 1020s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1020s # n = 0; 1020s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1020s # g_value_set_object (¶mv[n++], skeleton); 1020s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1020s # g_value_set_object (¶mv[n++], invocation); 1020s # if (info->pass_fdlist) 1020s # { 1020s # #ifdef G_OS_UNIX 1020s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1020s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1020s # #else 1020s # g_assert_not_reached (); 1020s # #endif 1020s # } 1020s # g_variant_iter_init (&iter, parameters); 1020s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1020s # { 1020s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1020s # if (arg_info->use_gvariant) 1020s # { 1020s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1020s # g_value_set_variant (¶mv[n], child); 1020s # n++; 1020s # } 1020s # else 1020s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1020s # g_variant_unref (child); 1020s # } 1020s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1020s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1020s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1020s # if (!g_value_get_boolean (&return_value)) 1020s # 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); 1020s # g_value_unset (&return_value); 1020s # for (n = 0; n < num_params + num_extra; n++) 1020s # g_value_unset (¶mv[n]); 1020s # g_free (paramv); 1020s # } 1020s # 1020s # static GVariant * 1020s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1020s # GDBusConnection *connection G_GNUC_UNUSED, 1020s # const gchar *sender G_GNUC_UNUSED, 1020s # const gchar *object_path G_GNUC_UNUSED, 1020s # const gchar *interface_name G_GNUC_UNUSED, 1020s # const gchar *property_name, 1020s # GError **error, 1020s # gpointer user_data) 1020s # { 1020s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1020s # GValue value = G_VALUE_INIT; 1020s # GParamSpec *pspec; 1020s # _ExtendedGDBusPropertyInfo *info; 1020s # GVariant *ret; 1020s # ret = NULL; 1020s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1020s # g_assert (info != NULL); 1020s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1020s # if (pspec == NULL) 1020s # { 1020s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1020s # } 1020s # else 1020s # { 1020s # g_value_init (&value, pspec->value_type); 1020s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1020s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1020s # g_value_unset (&value); 1020s # } 1020s # return ret; 1020s # } 1020s # 1020s # static gboolean 1020s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1020s # GDBusConnection *connection G_GNUC_UNUSED, 1020s # const gchar *sender G_GNUC_UNUSED, 1020s # const gchar *object_path G_GNUC_UNUSED, 1020s # const gchar *interface_name G_GNUC_UNUSED, 1020s # const gchar *property_name, 1020s # GVariant *variant, 1020s # GError **error, 1020s # gpointer user_data) 1020s # { 1020s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1020s # GValue value = G_VALUE_INIT; 1020s # GParamSpec *pspec; 1020s # _ExtendedGDBusPropertyInfo *info; 1020s # gboolean ret; 1020s # ret = FALSE; 1020s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1020s # g_assert (info != NULL); 1020s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1020s # if (pspec == NULL) 1020s # { 1020s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1020s # } 1020s # else 1020s # { 1020s # if (info->use_gvariant) 1020s # g_value_set_variant (&value, variant); 1020s # else 1020s # g_dbus_gvariant_to_gvalue (variant, &value); 1020s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1020s # g_value_unset (&value); 1020s # ret = TRUE; 1020s # } 1020s # return ret; 1020s # } 1020s # 1020s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1020s # { 1020s # _org_project_other_callable_iface_skeleton_handle_method_call, 1020s # _org_project_other_callable_iface_skeleton_handle_get_property, 1020s # _org_project_other_callable_iface_skeleton_handle_set_property, 1020s # {NULL} 1020s # }; 1020s # 1020s # static GDBusInterfaceInfo * 1020s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1020s # { 1020s # return org_project_other_callable_iface_interface_info (); 1020s # } 1020s # 1020s # static GDBusInterfaceVTable * 1020s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1020s # { 1020s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1020s # } 1020s # 1020s # static GVariant * 1020s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1020s # { 1020s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1020s # 1020s # GVariantBuilder builder; 1020s # guint n; 1020s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1020s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1020s # goto out; 1020s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1020s # { 1020s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1020s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1020s # { 1020s # GVariant *value; 1020s # 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); 1020s # if (value != NULL) 1020s # { 1020s # g_variant_take_ref (value); 1020s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1020s # g_variant_unref (value); 1020s # } 1020s # } 1020s # } 1020s # out: 1020s # return g_variant_builder_end (&builder); 1020s # } 1020s # 1020s # static void 1020s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1020s # { 1020s # } 1020s # 1020s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1020s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1020s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1020s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1020s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1020s # 1020s # #else 1020s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1020s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1020s # 1020s # #endif 1020s # static void 1020s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1020s # { 1020s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1020s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1020s # if (skeleton->priv->changed_properties_idle_source != NULL) 1020s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1020s # g_main_context_unref (skeleton->priv->context); 1020s # g_mutex_clear (&skeleton->priv->lock); 1020s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1020s # } 1020s # 1020s # static void 1020s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1020s # { 1020s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1020s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1020s # #else 1020s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1020s # #endif 1020s # 1020s # g_mutex_init (&skeleton->priv->lock); 1020s # skeleton->priv->context = g_main_context_ref_thread_default (); 1020s # } 1020s # 1020s # static void 1020s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1020s # { 1020s # GObjectClass *gobject_class; 1020s # GDBusInterfaceSkeletonClass *skeleton_class; 1020s # 1020s # gobject_class = G_OBJECT_CLASS (klass); 1020s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1020s # 1020s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1020s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1020s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1020s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1020s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1020s # 1020s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1020s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1020s # #endif 1020s # } 1020s # 1020s # static void 1020s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1020s # { 1020s # } 1020s # 1020s # /** 1020s # * org_project_other_callable_iface_skeleton_new: 1020s # * 1020s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1020s # * 1020s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1020s # */ 1020s # OrgProjectOtherCallableIface * 1020s # org_project_other_callable_iface_skeleton_new (void) 1020s # { 1020s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1020s # } 1021s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 1021s # tmpdir: /tmp/tmp32mbzb2s 1021s # codegen: /usr/bin/gdbus-codegen 1021s # /tmp/tmp32mbzb2s/tmpgd84mmgv.xml: 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp32mbzb2s/tmpgd84mmgv.xml', '--output', '-', '--body'] 1021s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1021s # Output: /* 1021s # * This file is generated by gdbus-codegen, do not modify it. 1021s # * 1021s # * The license of this code is the same as for the D-Bus interface description 1021s # * it was derived from. Note that it links to GLib, so must comply with the 1021s # * LGPL linking clauses. 1021s # */ 1021s # 1021s # #ifdef HAVE_CONFIG_H 1021s # # include "config.h" 1021s # #endif 1021s # 1021s # #include 1021s # #ifdef G_OS_UNIX 1021s # # include 1021s # #endif 1021s # 1021s # #ifdef G_ENABLE_DEBUG 1021s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1021s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1021s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1021s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1021s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1021s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1021s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1021s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1021s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1021s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1021s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1021s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1021s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1021s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1021s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1021s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1021s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1021s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1021s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1021s # #else /* !G_ENABLE_DEBUG */ 1021s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1021s # * Do not access GValues directly in your code. Instead, use the 1021s # * g_value_get_*() functions 1021s # */ 1021s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1021s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1021s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1021s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1021s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1021s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1021s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1021s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1021s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1021s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1021s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1021s # #endif /* !G_ENABLE_DEBUG */ 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusArgInfo parent_struct; 1021s # gboolean use_gvariant; 1021s # } _ExtendedGDBusArgInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusMethodInfo parent_struct; 1021s # const gchar *signal_name; 1021s # gboolean pass_fdlist; 1021s # } _ExtendedGDBusMethodInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusSignalInfo parent_struct; 1021s # const gchar *signal_name; 1021s # } _ExtendedGDBusSignalInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusPropertyInfo parent_struct; 1021s # const gchar *hyphen_name; 1021s # guint use_gvariant : 1; 1021s # guint emits_changed_signal : 1; 1021s # } _ExtendedGDBusPropertyInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusInterfaceInfo parent_struct; 1021s # const gchar *hyphen_name; 1021s # } _ExtendedGDBusInterfaceInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # const _ExtendedGDBusPropertyInfo *info; 1021s # guint prop_id; 1021s # GValue orig_value; /* the value before the change */ 1021s # } ChangedProperty; 1021s # 1021s # static void 1021s # _changed_property_free (ChangedProperty *data) 1021s # { 1021s # g_value_unset (&data->orig_value); 1021s # g_free (data); 1021s # } 1021s # 1021s # static gboolean 1021s # _g_strv_equal0 (gchar **a, gchar **b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # guint n; 1021s # if (a == NULL && b == NULL) 1021s # { 1021s # ret = TRUE; 1021s # goto out; 1021s # } 1021s # if (a == NULL || b == NULL) 1021s # goto out; 1021s # if (g_strv_length (a) != g_strv_length (b)) 1021s # goto out; 1021s # for (n = 0; a[n] != NULL; n++) 1021s # if (g_strcmp0 (a[n], b[n]) != 0) 1021s # goto out; 1021s # ret = TRUE; 1021s # out: 1021s # return ret; 1021s # } 1021s # 1021s # static gboolean 1021s # _g_variant_equal0 (GVariant *a, GVariant *b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # if (a == NULL && b == NULL) 1021s # { 1021s # ret = TRUE; 1021s # goto out; 1021s # } 1021s # if (a == NULL || b == NULL) 1021s # goto out; 1021s # ret = g_variant_equal (a, b); 1021s # out: 1021s # return ret; 1021s # } 1021s # 1021s # G_GNUC_UNUSED static gboolean 1021s # _g_value_equal (const GValue *a, const GValue *b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1021s # switch (G_VALUE_TYPE (a)) 1021s # { 1021s # case G_TYPE_BOOLEAN: 1021s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1021s # break; 1021s # case G_TYPE_UCHAR: 1021s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1021s # break; 1021s # case G_TYPE_INT: 1021s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1021s # break; 1021s # case G_TYPE_UINT: 1021s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1021s # break; 1021s # case G_TYPE_INT64: 1021s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1021s # break; 1021s # case G_TYPE_UINT64: 1021s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1021s # break; 1021s # case G_TYPE_DOUBLE: 1021s # { 1021s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1021s # gdouble da = g_value_get_double (a); 1021s # gdouble db = g_value_get_double (b); 1021s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1021s # } 1021s # break; 1021s # case G_TYPE_STRING: 1021s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1021s # break; 1021s # case G_TYPE_VARIANT: 1021s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1021s # break; 1021s # default: 1021s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1021s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1021s # else 1021s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1021s # break; 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static void 1021s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 1021s # GClosure *closure, 1021s # GValue *return_value, 1021s # unsigned int n_param_values, 1021s # const GValue *param_values, 1021s # void *invocation_hint G_GNUC_UNUSED, 1021s # void *marshal_data) 1021s # { 1021s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1021s # (void *data1, 1021s # GDBusMethodInvocation *arg_method_invocation, 1021s # gboolean arg_arg_b, 1021s # void *data2); 1021s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 1021s # GCClosure *cc = (GCClosure*) closure; 1021s # void *data1, *data2; 1021s # gboolean v_return; 1021s # 1021s # g_return_if_fail (return_value != NULL); 1021s # g_return_if_fail (n_param_values == 3); 1021s # 1021s # if (G_CCLOSURE_SWAP_DATA (closure)) 1021s # { 1021s # data1 = closure->data; 1021s # data2 = g_value_peek_pointer (param_values + 0); 1021s # } 1021s # else 1021s # { 1021s # data1 = g_value_peek_pointer (param_values + 0); 1021s # data2 = closure->data; 1021s # } 1021s # 1021s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1021s # (marshal_data ? marshal_data : cc->callback); 1021s # 1021s # v_return = 1021s # callback (data1, 1021s # g_marshal_value_peek_object (param_values + 1), 1021s # g_marshal_value_peek_boolean (param_values + 2), 1021s # data2); 1021s # 1021s # g_value_set_boolean (return_value, v_return); 1021s # } 1021s # 1021s # /* ------------------------------------------------------------------------ 1021s # * Code for interface org.project.UsefulInterface 1021s # * ------------------------------------------------------------------------ 1021s # */ 1021s # 1021s # /** 1021s # * SECTION:OrgProjectUsefulInterface 1021s # * @title: OrgProjectUsefulInterface 1021s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1021s # * 1021s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1021s # */ 1021s # 1021s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1021s # 1021s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "arg_b", 1021s # (gchar *) "b", 1021s # NULL 1021s # }, 1021s # FALSE 1021s # }; 1021s # 1021s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 1021s # { 1021s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 1021s # NULL 1021s # }; 1021s # 1021s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "SingleArgMethodB", 1021s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 1021s # NULL, 1021s # NULL 1021s # }, 1021s # "handle-single-arg-method-b", 1021s # FALSE 1021s # }; 1021s # 1021s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1021s # { 1021s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1021s # NULL 1021s # }; 1021s # 1021s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "org.project.UsefulInterface", 1021s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1021s # NULL, 1021s # NULL, 1021s # NULL 1021s # }, 1021s # "org-project-useful-interface", 1021s # }; 1021s # 1021s # 1021s # /** 1021s # * org_project_useful_interface_interface_info: 1021s # * 1021s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1021s # * 1021s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1021s # */ 1021s # GDBusInterfaceInfo * 1021s # org_project_useful_interface_interface_info (void) 1021s # { 1021s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_override_properties: 1021s # * @klass: The class structure for a #GObject derived class. 1021s # * @property_id_begin: The property id to assign to the first overridden property. 1021s # * 1021s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1021s # * The properties are overridden in the order they are defined. 1021s # * 1021s # * Returns: The last property id. 1021s # */ 1021s # guint 1021s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1021s # { 1021s # return property_id_begin - 1; 1021s # } 1021s # 1021s # 1021s # inline static void 1021s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1021s # GClosure *closure, 1021s # GValue *return_value, 1021s # unsigned int n_param_values, 1021s # const GValue *param_values, 1021s # void *invocation_hint, 1021s # void *marshal_data) 1021s # { 1021s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 1021s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1021s # } 1021s # 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterface: 1021s # * 1021s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceIface: 1021s # * @parent_iface: The parent interface. 1021s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1021s # * 1021s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1021s # */ 1021s # 1021s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1021s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1021s # 1021s # static void 1021s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1021s # { 1021s # /* GObject signals for incoming D-Bus method calls: */ 1021s # /** 1021s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1021s # * @object: A #OrgProjectUsefulInterface. 1021s # * @invocation: A #GDBusMethodInvocation. 1021s # * @arg_arg_b: Argument passed by remote caller. 1021s # * 1021s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1021s # * 1021s # * 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. 1021s # * 1021s # * 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. 1021s # */ 1021s # g_signal_new ("handle-single-arg-method-b", 1021s # G_TYPE_FROM_INTERFACE (iface), 1021s # G_SIGNAL_RUN_LAST, 1021s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1021s # g_signal_accumulator_true_handled, 1021s # NULL, 1021s # org_project_useful_interface_method_marshal_single_arg_method_b, 1021s # G_TYPE_BOOLEAN, 1021s # 2, 1021s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 1021s # 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_b: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @arg_arg_b: Argument to pass with the method invocation. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1021s # */ 1021s # void 1021s # org_project_useful_interface_call_single_arg_method_b ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # gboolean arg_arg_b, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1021s # "SingleArgMethodB", 1021s # g_variant_new ("(b)", 1021s # arg_arg_b), 1021s # G_DBUS_CALL_FLAGS_NONE, 1021s # -1, 1021s # cancellable, 1021s # callback, 1021s # user_data); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_b_finish: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1021s # * @error: Return location for error or %NULL. 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1021s # * 1021s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1021s # */ 1021s # gboolean 1021s # org_project_useful_interface_call_single_arg_method_b_finish ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GVariant *_ret; 1021s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1021s # if (_ret == NULL) 1021s # goto _out; 1021s # g_variant_get (_ret, 1021s # "()"); 1021s # g_variant_unref (_ret); 1021s # _out: 1021s # return _ret != NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_b_sync: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @arg_arg_b: Argument to pass with the method invocation. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL. 1021s # * 1021s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1021s # * 1021s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1021s # */ 1021s # gboolean 1021s # org_project_useful_interface_call_single_arg_method_b_sync ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # gboolean arg_arg_b, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GVariant *_ret; 1021s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1021s # "SingleArgMethodB", 1021s # g_variant_new ("(b)", 1021s # arg_arg_b), 1021s # G_DBUS_CALL_FLAGS_NONE, 1021s # -1, 1021s # cancellable, 1021s # error); 1021s # if (_ret == NULL) 1021s # goto _out; 1021s # g_variant_get (_ret, 1021s # "()"); 1021s # g_variant_unref (_ret); 1021s # _out: 1021s # return _ret != NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_complete_single_arg_method_b: 1021s # * @object: A #OrgProjectUsefulInterface. 1021s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1021s # * 1021s # * 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. 1021s # * 1021s # * This method will free @invocation, you cannot use it afterwards. 1021s # */ 1021s # void 1021s # org_project_useful_interface_complete_single_arg_method_b ( 1021s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1021s # GDBusMethodInvocation *invocation) 1021s # { 1021s # g_dbus_method_invocation_return_value (invocation, 1021s # g_variant_new ("()")); 1021s # } 1021s # 1021s # /* ------------------------------------------------------------------------ */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceProxy: 1021s # * 1021s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceProxyClass: 1021s # * @parent_class: The parent class. 1021s # * 1021s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1021s # */ 1021s # 1021s # struct _OrgProjectUsefulInterfaceProxyPrivate 1021s # { 1021s # GData *qdata; 1021s # }; 1021s # 1021s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1021s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1021s # 1021s # #else 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1021s # 1021s # #endif 1021s # static void 1021s # org_project_useful_interface_proxy_finalize (GObject *object) 1021s # { 1021s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1021s # g_datalist_clear (&proxy->priv->qdata); 1021s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1021s # guint prop_id G_GNUC_UNUSED, 1021s # GValue *value G_GNUC_UNUSED, 1021s # GParamSpec *pspec G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1021s # guint prop_id G_GNUC_UNUSED, 1021s # const GValue *value G_GNUC_UNUSED, 1021s # GParamSpec *pspec G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1021s # const gchar *sender_name G_GNUC_UNUSED, 1021s # const gchar *signal_name, 1021s # GVariant *parameters) 1021s # { 1021s # _ExtendedGDBusSignalInfo *info; 1021s # GVariantIter iter; 1021s # GVariant *child; 1021s # GValue *paramv; 1021s # gsize num_params; 1021s # gsize n; 1021s # guint signal_id; 1021s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1021s # if (info == NULL) 1021s # return; 1021s # num_params = g_variant_n_children (parameters); 1021s # paramv = g_new0 (GValue, num_params + 1); 1021s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_set_object (¶mv[0], proxy); 1021s # g_variant_iter_init (&iter, parameters); 1021s # n = 1; 1021s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1021s # { 1021s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1021s # if (arg_info->use_gvariant) 1021s # { 1021s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1021s # g_value_set_variant (¶mv[n], child); 1021s # n++; 1021s # } 1021s # else 1021s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1021s # g_variant_unref (child); 1021s # } 1021s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_signal_emitv (paramv, signal_id, 0, NULL); 1021s # for (n = 0; n < num_params + 1; n++) 1021s # g_value_unset (¶mv[n]); 1021s # g_free (paramv); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1021s # GVariant *changed_properties, 1021s # const gchar *const *invalidated_properties) 1021s # { 1021s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1021s # guint n; 1021s # const gchar *key; 1021s # GVariantIter *iter; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # g_variant_get (changed_properties, "a{sv}", &iter); 1021s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1021s # { 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1021s # g_datalist_remove_data (&proxy->priv->qdata, key); 1021s # if (info != NULL) 1021s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1021s # } 1021s # g_variant_iter_free (iter); 1021s # for (n = 0; invalidated_properties[n] != NULL; n++) 1021s # { 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1021s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1021s # if (info != NULL) 1021s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1021s # } 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1021s # { 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1021s # #else 1021s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1021s # #endif 1021s # 1021s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1021s # { 1021s # GObjectClass *gobject_class; 1021s # GDBusProxyClass *proxy_class; 1021s # 1021s # gobject_class = G_OBJECT_CLASS (klass); 1021s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1021s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1021s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1021s # 1021s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1021s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1021s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1021s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1021s # #endif 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new: 1021s # * @connection: A #GDBusConnection. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1021s # * 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1021s # */ 1021s # void 1021s # org_project_useful_interface_proxy_new ( 1021s # GDBusConnection *connection, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # 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); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_finish: 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_finish ( 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GObject *ret; 1021s # GObject *source_object; 1021s # source_object = g_async_result_get_source_object (res); 1021s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1021s # g_object_unref (source_object); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_sync: 1021s # * @connection: A #GDBusConnection. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1021s # * 1021s # * The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_sync ( 1021s # GDBusConnection *connection, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GInitable *ret; 1021s # 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); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus: 1021s # * @bus_type: A #GBusType. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: A bus name (well-known or unique). 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1021s # * 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1021s # */ 1021s # void 1021s # org_project_useful_interface_proxy_new_for_bus ( 1021s # GBusType bus_type, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # 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); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus_finish: 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_for_bus_finish ( 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GObject *ret; 1021s # GObject *source_object; 1021s # source_object = g_async_result_get_source_object (res); 1021s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1021s # g_object_unref (source_object); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus_sync: 1021s # * @bus_type: A #GBusType. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: A bus name (well-known or unique). 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1021s # * 1021s # * The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_for_bus_sync ( 1021s # GBusType bus_type, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GInitable *ret; 1021s # 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); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # 1021s # /* ------------------------------------------------------------------------ */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceSkeleton: 1021s # * 1021s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceSkeletonClass: 1021s # * @parent_class: The parent class. 1021s # * 1021s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1021s # */ 1021s # 1021s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1021s # { 1021s # GValue *properties; 1021s # GList *changed_properties; 1021s # GSource *changed_properties_idle_source; 1021s # GMainContext *context; 1021s # GMutex lock; 1021s # }; 1021s # 1021s # static void 1021s # _org_project_useful_interface_skeleton_handle_method_call ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name, 1021s # const gchar *method_name, 1021s # GVariant *parameters, 1021s # GDBusMethodInvocation *invocation, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # _ExtendedGDBusMethodInfo *info; 1021s # GVariantIter iter; 1021s # GVariant *child; 1021s # GValue *paramv; 1021s # gsize num_params; 1021s # guint num_extra; 1021s # gsize n; 1021s # guint signal_id; 1021s # GValue return_value = G_VALUE_INIT; 1021s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1021s # g_assert (info != NULL); 1021s # num_params = g_variant_n_children (parameters); 1021s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1021s # n = 0; 1021s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_set_object (¶mv[n++], skeleton); 1021s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1021s # g_value_set_object (¶mv[n++], invocation); 1021s # if (info->pass_fdlist) 1021s # { 1021s # #ifdef G_OS_UNIX 1021s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1021s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1021s # #else 1021s # g_assert_not_reached (); 1021s # #endif 1021s # } 1021s # g_variant_iter_init (&iter, parameters); 1021s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1021s # { 1021s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1021s # if (arg_info->use_gvariant) 1021s # { 1021s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1021s # g_value_set_variant (¶mv[n], child); 1021s # n++; 1021s # } 1021s # else 1021s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1021s # g_variant_unref (child); 1021s # } 1021s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1021s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1021s # if (!g_value_get_boolean (&return_value)) 1021s # 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); 1021s # g_value_unset (&return_value); 1021s # for (n = 0; n < num_params + num_extra; n++) 1021s # g_value_unset (¶mv[n]); 1021s # g_free (paramv); 1021s # } 1021s # 1021s # static GVariant * 1021s # _org_project_useful_interface_skeleton_handle_get_property ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name G_GNUC_UNUSED, 1021s # const gchar *property_name, 1021s # GError **error, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # GValue value = G_VALUE_INIT; 1021s # GParamSpec *pspec; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # GVariant *ret; 1021s # ret = NULL; 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1021s # g_assert (info != NULL); 1021s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1021s # if (pspec == NULL) 1021s # { 1021s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1021s # } 1021s # else 1021s # { 1021s # g_value_init (&value, pspec->value_type); 1021s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1021s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1021s # g_value_unset (&value); 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static gboolean 1021s # _org_project_useful_interface_skeleton_handle_set_property ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name G_GNUC_UNUSED, 1021s # const gchar *property_name, 1021s # GVariant *variant, 1021s # GError **error, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # GValue value = G_VALUE_INIT; 1021s # GParamSpec *pspec; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # gboolean ret; 1021s # ret = FALSE; 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1021s # g_assert (info != NULL); 1021s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1021s # if (pspec == NULL) 1021s # { 1021s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1021s # } 1021s # else 1021s # { 1021s # if (info->use_gvariant) 1021s # g_value_set_variant (&value, variant); 1021s # else 1021s # g_dbus_gvariant_to_gvalue (variant, &value); 1021s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1021s # g_value_unset (&value); 1021s # ret = TRUE; 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1021s # { 1021s # _org_project_useful_interface_skeleton_handle_method_call, 1021s # _org_project_useful_interface_skeleton_handle_get_property, 1021s # _org_project_useful_interface_skeleton_handle_set_property, 1021s # {NULL} 1021s # }; 1021s # 1021s # static GDBusInterfaceInfo * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1021s # { 1021s # return org_project_useful_interface_interface_info (); 1021s # } 1021s # 1021s # static GDBusInterfaceVTable * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1021s # { 1021s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1021s # } 1021s # 1021s # static GVariant * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1021s # 1021s # GVariantBuilder builder; 1021s # guint n; 1021s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1021s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1021s # goto out; 1021s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1021s # { 1021s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1021s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1021s # { 1021s # GVariant *value; 1021s # 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); 1021s # if (value != NULL) 1021s # { 1021s # g_variant_take_ref (value); 1021s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1021s # g_variant_unref (value); 1021s # } 1021s # } 1021s # } 1021s # out: 1021s # return g_variant_builder_end (&builder); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1021s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1021s # 1021s # #else 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1021s # 1021s # #endif 1021s # static void 1021s # org_project_useful_interface_skeleton_finalize (GObject *object) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1021s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1021s # if (skeleton->priv->changed_properties_idle_source != NULL) 1021s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1021s # g_main_context_unref (skeleton->priv->context); 1021s # g_mutex_clear (&skeleton->priv->lock); 1021s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1021s # { 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1021s # #else 1021s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1021s # #endif 1021s # 1021s # g_mutex_init (&skeleton->priv->lock); 1021s # skeleton->priv->context = g_main_context_ref_thread_default (); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1021s # { 1021s # GObjectClass *gobject_class; 1021s # GDBusInterfaceSkeletonClass *skeleton_class; 1021s # 1021s # gobject_class = G_OBJECT_CLASS (klass); 1021s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1021s # 1021s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1021s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1021s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1021s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1021s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1021s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1021s # #endif 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_skeleton_new: 1021s # * 1021s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_skeleton_new (void) 1021s # { 1021s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1021s # } 1021s # /tmp/tmp32mbzb2s/tmpaifr0d0a.xml: 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp32mbzb2s/tmpaifr0d0a.xml', '--output', '-', '--body'] 1021s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1021s # Output: /* 1021s # * This file is generated by gdbus-codegen, do not modify it. 1021s # * 1021s # * The license of this code is the same as for the D-Bus interface description 1021s # * it was derived from. Note that it links to GLib, so must comply with the 1021s # * LGPL linking clauses. 1021s # */ 1021s # 1021s # #ifdef HAVE_CONFIG_H 1021s # # include "config.h" 1021s # #endif 1021s # 1021s # #include 1021s # #ifdef G_OS_UNIX 1021s # # include 1021s # #endif 1021s # 1021s # #ifdef G_ENABLE_DEBUG 1021s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1021s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1021s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1021s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1021s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1021s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1021s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1021s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1021s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1021s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1021s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1021s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1021s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1021s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1021s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1021s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1021s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1021s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1021s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1021s # #else /* !G_ENABLE_DEBUG */ 1021s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1021s # * Do not access GValues directly in your code. Instead, use the 1021s # * g_value_get_*() functions 1021s # */ 1021s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1021s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1021s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1021s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1021s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1021s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1021s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1021s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1021s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1021s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1021s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1021s # #endif /* !G_ENABLE_DEBUG */ 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusArgInfo parent_struct; 1021s # gboolean use_gvariant; 1021s # } _ExtendedGDBusArgInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusMethodInfo parent_struct; 1021s # const gchar *signal_name; 1021s # gboolean pass_fdlist; 1021s # } _ExtendedGDBusMethodInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusSignalInfo parent_struct; 1021s # const gchar *signal_name; 1021s # } _ExtendedGDBusSignalInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusPropertyInfo parent_struct; 1021s # const gchar *hyphen_name; 1021s # guint use_gvariant : 1; 1021s # guint emits_changed_signal : 1; 1021s # } _ExtendedGDBusPropertyInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusInterfaceInfo parent_struct; 1021s # const gchar *hyphen_name; 1021s # } _ExtendedGDBusInterfaceInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # const _ExtendedGDBusPropertyInfo *info; 1021s # guint prop_id; 1021s # GValue orig_value; /* the value before the change */ 1021s # } ChangedProperty; 1021s # 1021s # static void 1021s # _changed_property_free (ChangedProperty *data) 1021s # { 1021s # g_value_unset (&data->orig_value); 1021s # g_free (data); 1021s # } 1021s # 1021s # static gboolean 1021s # _g_strv_equal0 (gchar **a, gchar **b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # guint n; 1021s # if (a == NULL && b == NULL) 1021s # { 1021s # ret = TRUE; 1021s # goto out; 1021s # } 1021s # if (a == NULL || b == NULL) 1021s # goto out; 1021s # if (g_strv_length (a) != g_strv_length (b)) 1021s # goto out; 1021s # for (n = 0; a[n] != NULL; n++) 1021s # if (g_strcmp0 (a[n], b[n]) != 0) 1021s # goto out; 1021s # ret = TRUE; 1021s # out: 1021s # return ret; 1021s # } 1021s # 1021s # static gboolean 1021s # _g_variant_equal0 (GVariant *a, GVariant *b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # if (a == NULL && b == NULL) 1021s # { 1021s # ret = TRUE; 1021s # goto out; 1021s # } 1021s # if (a == NULL || b == NULL) 1021s # goto out; 1021s # ret = g_variant_equal (a, b); 1021s # out: 1021s # return ret; 1021s # } 1021s # 1021s # G_GNUC_UNUSED static gboolean 1021s # _g_value_equal (const GValue *a, const GValue *b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1021s # switch (G_VALUE_TYPE (a)) 1021s # { 1021s # case G_TYPE_BOOLEAN: 1021s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1021s # break; 1021s # case G_TYPE_UCHAR: 1021s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1021s # break; 1021s # case G_TYPE_INT: 1021s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1021s # break; 1021s # case G_TYPE_UINT: 1021s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1021s # break; 1021s # case G_TYPE_INT64: 1021s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1021s # break; 1021s # case G_TYPE_UINT64: 1021s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1021s # break; 1021s # case G_TYPE_DOUBLE: 1021s # { 1021s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1021s # gdouble da = g_value_get_double (a); 1021s # gdouble db = g_value_get_double (b); 1021s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1021s # } 1021s # break; 1021s # case G_TYPE_STRING: 1021s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1021s # break; 1021s # case G_TYPE_VARIANT: 1021s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1021s # break; 1021s # default: 1021s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1021s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1021s # else 1021s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1021s # break; 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static void 1021s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 1021s # GClosure *closure, 1021s # GValue *return_value, 1021s # unsigned int n_param_values, 1021s # const GValue *param_values, 1021s # void *invocation_hint G_GNUC_UNUSED, 1021s # void *marshal_data) 1021s # { 1021s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1021s # (void *data1, 1021s # GDBusMethodInvocation *arg_method_invocation, 1021s # guchar arg_arg_y, 1021s # void *data2); 1021s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 1021s # GCClosure *cc = (GCClosure*) closure; 1021s # void *data1, *data2; 1021s # gboolean v_return; 1021s # 1021s # g_return_if_fail (return_value != NULL); 1021s # g_return_if_fail (n_param_values == 3); 1021s # 1021s # if (G_CCLOSURE_SWAP_DATA (closure)) 1021s # { 1021s # data1 = closure->data; 1021s # data2 = g_value_peek_pointer (param_values + 0); 1021s # } 1021s # else 1021s # { 1021s # data1 = g_value_peek_pointer (param_values + 0); 1021s # data2 = closure->data; 1021s # } 1021s # 1021s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1021s # (marshal_data ? marshal_data : cc->callback); 1021s # 1021s # v_return = 1021s # callback (data1, 1021s # g_marshal_value_peek_object (param_values + 1), 1021s # g_marshal_value_peek_uchar (param_values + 2), 1021s # data2); 1021s # 1021s # g_value_set_boolean (return_value, v_return); 1021s # } 1021s # 1021s # /* ------------------------------------------------------------------------ 1021s # * Code for interface org.project.UsefulInterface 1021s # * ------------------------------------------------------------------------ 1021s # */ 1021s # 1021s # /** 1021s # * SECTION:OrgProjectUsefulInterface 1021s # * @title: OrgProjectUsefulInterface 1021s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1021s # * 1021s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1021s # */ 1021s # 1021s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1021s # 1021s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "arg_y", 1021s # (gchar *) "y", 1021s # NULL 1021s # }, 1021s # FALSE 1021s # }; 1021s # 1021s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 1021s # { 1021s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 1021s # NULL 1021s # }; 1021s # 1021s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "SingleArgMethodY", 1021s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 1021s # NULL, 1021s # NULL 1021s # }, 1021s # "handle-single-arg-method-y", 1021s # FALSE 1021s # }; 1021s # 1021s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1021s # { 1021s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1021s # NULL 1021s # }; 1021s # 1021s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "org.project.UsefulInterface", 1021s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1021s # NULL, 1021s # NULL, 1021s # NULL 1021s # }, 1021s # "org-project-useful-interface", 1021s # }; 1021s # 1021s # 1021s # /** 1021s # * org_project_useful_interface_interface_info: 1021s # * 1021s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1021s # * 1021s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1021s # */ 1021s # GDBusInterfaceInfo * 1021s # org_project_useful_interface_interface_info (void) 1021s # { 1021s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_override_properties: 1021s # * @klass: The class structure for a #GObject derived class. 1021s # * @property_id_begin: The property id to assign to the first overridden property. 1021s # * 1021s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1021s # * The properties are overridden in the order they are defined. 1021s # * 1021s # * Returns: The last property id. 1021s # */ 1021s # guint 1021s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1021s # { 1021s # return property_id_begin - 1; 1021s # } 1021s # 1021s # 1021s # inline static void 1021s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1021s # GClosure *closure, 1021s # GValue *return_value, 1021s # unsigned int n_param_values, 1021s # const GValue *param_values, 1021s # void *invocation_hint, 1021s # void *marshal_data) 1021s # { 1021s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 1021s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1021s # } 1021s # 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterface: 1021s # * 1021s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceIface: 1021s # * @parent_iface: The parent interface. 1021s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1021s # * 1021s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1021s # */ 1021s # 1021s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1021s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1021s # 1021s # static void 1021s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1021s # { 1021s # /* GObject signals for incoming D-Bus method calls: */ 1021s # /** 1021s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1021s # * @object: A #OrgProjectUsefulInterface. 1021s # * @invocation: A #GDBusMethodInvocation. 1021s # * @arg_arg_y: Argument passed by remote caller. 1021s # * 1021s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1021s # * 1021s # * 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. 1021s # * 1021s # * 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. 1021s # */ 1021s # g_signal_new ("handle-single-arg-method-y", 1021s # G_TYPE_FROM_INTERFACE (iface), 1021s # G_SIGNAL_RUN_LAST, 1021s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1021s # g_signal_accumulator_true_handled, 1021s # NULL, 1021s # org_project_useful_interface_method_marshal_single_arg_method_y, 1021s # G_TYPE_BOOLEAN, 1021s # 2, 1021s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 1021s # 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_y: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @arg_arg_y: Argument to pass with the method invocation. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1021s # */ 1021s # void 1021s # org_project_useful_interface_call_single_arg_method_y ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # guchar arg_arg_y, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1021s # "SingleArgMethodY", 1021s # g_variant_new ("(y)", 1021s # arg_arg_y), 1021s # G_DBUS_CALL_FLAGS_NONE, 1021s # -1, 1021s # cancellable, 1021s # callback, 1021s # user_data); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_y_finish: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1021s # * @error: Return location for error or %NULL. 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1021s # * 1021s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1021s # */ 1021s # gboolean 1021s # org_project_useful_interface_call_single_arg_method_y_finish ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GVariant *_ret; 1021s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1021s # if (_ret == NULL) 1021s # goto _out; 1021s # g_variant_get (_ret, 1021s # "()"); 1021s # g_variant_unref (_ret); 1021s # _out: 1021s # return _ret != NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_y_sync: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @arg_arg_y: Argument to pass with the method invocation. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL. 1021s # * 1021s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1021s # * 1021s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1021s # */ 1021s # gboolean 1021s # org_project_useful_interface_call_single_arg_method_y_sync ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # guchar arg_arg_y, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GVariant *_ret; 1021s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1021s # "SingleArgMethodY", 1021s # g_variant_new ("(y)", 1021s # arg_arg_y), 1021s # G_DBUS_CALL_FLAGS_NONE, 1021s # -1, 1021s # cancellable, 1021s # error); 1021s # if (_ret == NULL) 1021s # goto _out; 1021s # g_variant_get (_ret, 1021s # "()"); 1021s # g_variant_unref (_ret); 1021s # _out: 1021s # return _ret != NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_complete_single_arg_method_y: 1021s # * @object: A #OrgProjectUsefulInterface. 1021s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1021s # * 1021s # * 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. 1021s # * 1021s # * This method will free @invocation, you cannot use it afterwards. 1021s # */ 1021s # void 1021s # org_project_useful_interface_complete_single_arg_method_y ( 1021s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1021s # GDBusMethodInvocation *invocation) 1021s # { 1021s # g_dbus_method_invocation_return_value (invocation, 1021s # g_variant_new ("()")); 1021s # } 1021s # 1021s # /* ------------------------------------------------------------------------ */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceProxy: 1021s # * 1021s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceProxyClass: 1021s # * @parent_class: The parent class. 1021s # * 1021s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1021s # */ 1021s # 1021s # struct _OrgProjectUsefulInterfaceProxyPrivate 1021s # { 1021s # GData *qdata; 1021s # }; 1021s # 1021s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1021s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1021s # 1021s # #else 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1021s # 1021s # #endif 1021s # static void 1021s # org_project_useful_interface_proxy_finalize (GObject *object) 1021s # { 1021s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1021s # g_datalist_clear (&proxy->priv->qdata); 1021s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1021s # guint prop_id G_GNUC_UNUSED, 1021s # GValue *value G_GNUC_UNUSED, 1021s # GParamSpec *pspec G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1021s # guint prop_id G_GNUC_UNUSED, 1021s # const GValue *value G_GNUC_UNUSED, 1021s # GParamSpec *pspec G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1021s # const gchar *sender_name G_GNUC_UNUSED, 1021s # const gchar *signal_name, 1021s # GVariant *parameters) 1021s # { 1021s # _ExtendedGDBusSignalInfo *info; 1021s # GVariantIter iter; 1021s # GVariant *child; 1021s # GValue *paramv; 1021s # gsize num_params; 1021s # gsize n; 1021s # guint signal_id; 1021s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1021s # if (info == NULL) 1021s # return; 1021s # num_params = g_variant_n_children (parameters); 1021s # paramv = g_new0 (GValue, num_params + 1); 1021s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_set_object (¶mv[0], proxy); 1021s # g_variant_iter_init (&iter, parameters); 1021s # n = 1; 1021s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1021s # { 1021s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1021s # if (arg_info->use_gvariant) 1021s # { 1021s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1021s # g_value_set_variant (¶mv[n], child); 1021s # n++; 1021s # } 1021s # else 1021s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1021s # g_variant_unref (child); 1021s # } 1021s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_signal_emitv (paramv, signal_id, 0, NULL); 1021s # for (n = 0; n < num_params + 1; n++) 1021s # g_value_unset (¶mv[n]); 1021s # g_free (paramv); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1021s # GVariant *changed_properties, 1021s # const gchar *const *invalidated_properties) 1021s # { 1021s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1021s # guint n; 1021s # const gchar *key; 1021s # GVariantIter *iter; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # g_variant_get (changed_properties, "a{sv}", &iter); 1021s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1021s # { 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1021s # g_datalist_remove_data (&proxy->priv->qdata, key); 1021s # if (info != NULL) 1021s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1021s # } 1021s # g_variant_iter_free (iter); 1021s # for (n = 0; invalidated_properties[n] != NULL; n++) 1021s # { 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1021s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1021s # if (info != NULL) 1021s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1021s # } 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1021s # { 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1021s # #else 1021s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1021s # #endif 1021s # 1021s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1021s # { 1021s # GObjectClass *gobject_class; 1021s # GDBusProxyClass *proxy_class; 1021s # 1021s # gobject_class = G_OBJECT_CLASS (klass); 1021s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1021s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1021s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1021s # 1021s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1021s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1021s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1021s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1021s # #endif 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new: 1021s # * @connection: A #GDBusConnection. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1021s # * 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1021s # */ 1021s # void 1021s # org_project_useful_interface_proxy_new ( 1021s # GDBusConnection *connection, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # 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); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_finish: 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_finish ( 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GObject *ret; 1021s # GObject *source_object; 1021s # source_object = g_async_result_get_source_object (res); 1021s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1021s # g_object_unref (source_object); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_sync: 1021s # * @connection: A #GDBusConnection. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1021s # * 1021s # * The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_sync ( 1021s # GDBusConnection *connection, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GInitable *ret; 1021s # 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); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus: 1021s # * @bus_type: A #GBusType. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: A bus name (well-known or unique). 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1021s # * 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1021s # */ 1021s # void 1021s # org_project_useful_interface_proxy_new_for_bus ( 1021s # GBusType bus_type, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # 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); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus_finish: 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_for_bus_finish ( 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GObject *ret; 1021s # GObject *source_object; 1021s # source_object = g_async_result_get_source_object (res); 1021s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1021s # g_object_unref (source_object); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus_sync: 1021s # * @bus_type: A #GBusType. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: A bus name (well-known or unique). 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1021s # * 1021s # * The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_for_bus_sync ( 1021s # GBusType bus_type, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GInitable *ret; 1021s # 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); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # 1021s # /* ------------------------------------------------------------------------ */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceSkeleton: 1021s # * 1021s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceSkeletonClass: 1021s # * @parent_class: The parent class. 1021s # * 1021s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1021s # */ 1021s # 1021s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1021s # { 1021s # GValue *properties; 1021s # GList *changed_properties; 1021s # GSource *changed_properties_idle_source; 1021s # GMainContext *context; 1021s # GMutex lock; 1021s # }; 1021s # 1021s # static void 1021s # _org_project_useful_interface_skeleton_handle_method_call ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name, 1021s # const gchar *method_name, 1021s # GVariant *parameters, 1021s # GDBusMethodInvocation *invocation, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # _ExtendedGDBusMethodInfo *info; 1021s # GVariantIter iter; 1021s # GVariant *child; 1021s # GValue *paramv; 1021s # gsize num_params; 1021s # guint num_extra; 1021s # gsize n; 1021s # guint signal_id; 1021s # GValue return_value = G_VALUE_INIT; 1021s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1021s # g_assert (info != NULL); 1021s # num_params = g_variant_n_children (parameters); 1021s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1021s # n = 0; 1021s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_set_object (¶mv[n++], skeleton); 1021s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1021s # g_value_set_object (¶mv[n++], invocation); 1021s # if (info->pass_fdlist) 1021s # { 1021s # #ifdef G_OS_UNIX 1021s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1021s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1021s # #else 1021s # g_assert_not_reached (); 1021s # #endif 1021s # } 1021s # g_variant_iter_init (&iter, parameters); 1021s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1021s # { 1021s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1021s # if (arg_info->use_gvariant) 1021s # { 1021s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1021s # g_value_set_variant (¶mv[n], child); 1021s # n++; 1021s # } 1021s # else 1021s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1021s # g_variant_unref (child); 1021s # } 1021s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1021s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1021s # if (!g_value_get_boolean (&return_value)) 1021s # 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); 1021s # g_value_unset (&return_value); 1021s # for (n = 0; n < num_params + num_extra; n++) 1021s # g_value_unset (¶mv[n]); 1021s # g_free (paramv); 1021s # } 1021s # 1021s # static GVariant * 1021s # _org_project_useful_interface_skeleton_handle_get_property ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name G_GNUC_UNUSED, 1021s # const gchar *property_name, 1021s # GError **error, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # GValue value = G_VALUE_INIT; 1021s # GParamSpec *pspec; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # GVariant *ret; 1021s # ret = NULL; 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1021s # g_assert (info != NULL); 1021s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1021s # if (pspec == NULL) 1021s # { 1021s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1021s # } 1021s # else 1021s # { 1021s # g_value_init (&value, pspec->value_type); 1021s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1021s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1021s # g_value_unset (&value); 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static gboolean 1021s # _org_project_useful_interface_skeleton_handle_set_property ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name G_GNUC_UNUSED, 1021s # const gchar *property_name, 1021s # GVariant *variant, 1021s # GError **error, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # GValue value = G_VALUE_INIT; 1021s # GParamSpec *pspec; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # gboolean ret; 1021s # ret = FALSE; 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1021s # g_assert (info != NULL); 1021s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1021s # if (pspec == NULL) 1021s # { 1021s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1021s # } 1021s # else 1021s # { 1021s # if (info->use_gvariant) 1021s # g_value_set_variant (&value, variant); 1021s # else 1021s # g_dbus_gvariant_to_gvalue (variant, &value); 1021s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1021s # g_value_unset (&value); 1021s # ret = TRUE; 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1021s # { 1021s # _org_project_useful_interface_skeleton_handle_method_call, 1021s # _org_project_useful_interface_skeleton_handle_get_property, 1021s # _org_project_useful_interface_skeleton_handle_set_property, 1021s # {NULL} 1021s # }; 1021s # 1021s # static GDBusInterfaceInfo * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1021s # { 1021s # return org_project_useful_interface_interface_info (); 1021s # } 1021s # 1021s # static GDBusInterfaceVTable * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1021s # { 1021s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1021s # } 1021s # 1021s # static GVariant * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1021s # 1021s # GVariantBuilder builder; 1021s # guint n; 1021s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1021s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1021s # goto out; 1021s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1021s # { 1021s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1021s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1021s # { 1021s # GVariant *value; 1021s # 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); 1021s # if (value != NULL) 1021s # { 1021s # g_variant_take_ref (value); 1021s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1021s # g_variant_unref (value); 1021s # } 1021s # } 1021s # } 1021s # out: 1021s # return g_variant_builder_end (&builder); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1021s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1021s # 1021s # #else 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1021s # 1021s # #endif 1021s # static void 1021s # org_project_useful_interface_skeleton_finalize (GObject *object) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1021s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1021s # if (skeleton->priv->changed_properties_idle_source != NULL) 1021s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1021s # g_main_context_unref (skeleton->priv->context); 1021s # g_mutex_clear (&skeleton->priv->lock); 1021s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1021s # { 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1021s # #else 1021s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1021s # #endif 1021s # 1021s # g_mutex_init (&skeleton->priv->lock); 1021s # skeleton->priv->context = g_main_context_ref_thread_default (); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1021s # { 1021s # GObjectClass *gobject_class; 1021s # GDBusInterfaceSkeletonClass *skeleton_class; 1021s # 1021s # gobject_class = G_OBJECT_CLASS (klass); 1021s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1021s # 1021s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1021s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1021s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1021s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1021s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1021s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1021s # #endif 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_skeleton_new: 1021s # * 1021s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_skeleton_new (void) 1021s # { 1021s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1021s # } 1021s # /tmp/tmp32mbzb2s/tmpojlk9_cd.xml: 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp32mbzb2s/tmpojlk9_cd.xml', '--output', '-', '--body'] 1021s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1021s # Output: /* 1021s # * This file is generated by gdbus-codegen, do not modify it. 1021s # * 1021s # * The license of this code is the same as for the D-Bus interface description 1021s # * it was derived from. Note that it links to GLib, so must comply with the 1021s # * LGPL linking clauses. 1021s # */ 1021s # 1021s # #ifdef HAVE_CONFIG_H 1021s # # include "config.h" 1021s # #endif 1021s # 1021s # #include 1021s # #ifdef G_OS_UNIX 1021s # # include 1021s # #endif 1021s # 1021s # #ifdef G_ENABLE_DEBUG 1021s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1021s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1021s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1021s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1021s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1021s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1021s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1021s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1021s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1021s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1021s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1021s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1021s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1021s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1021s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1021s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1021s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1021s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1021s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1021s # #else /* !G_ENABLE_DEBUG */ 1021s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1021s # * Do not access GValues directly in your code. Instead, use the 1021s # * g_value_get_*() functions 1021s # */ 1021s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1021s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1021s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1021s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1021s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1021s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1021s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1021s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1021s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1021s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1021s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1021s # #endif /* !G_ENABLE_DEBUG */ 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusArgInfo parent_struct; 1021s # gboolean use_gvariant; 1021s # } _ExtendedGDBusArgInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusMethodInfo parent_struct; 1021s # const gchar *signal_name; 1021s # gboolean pass_fdlist; 1021s # } _ExtendedGDBusMethodInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusSignalInfo parent_struct; 1021s # const gchar *signal_name; 1021s # } _ExtendedGDBusSignalInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusPropertyInfo parent_struct; 1021s # const gchar *hyphen_name; 1021s # guint use_gvariant : 1; 1021s # guint emits_changed_signal : 1; 1021s # } _ExtendedGDBusPropertyInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusInterfaceInfo parent_struct; 1021s # const gchar *hyphen_name; 1021s # } _ExtendedGDBusInterfaceInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # const _ExtendedGDBusPropertyInfo *info; 1021s # guint prop_id; 1021s # GValue orig_value; /* the value before the change */ 1021s # } ChangedProperty; 1021s # 1021s # static void 1021s # _changed_property_free (ChangedProperty *data) 1021s # { 1021s # g_value_unset (&data->orig_value); 1021s # g_free (data); 1021s # } 1021s # 1021s # static gboolean 1021s # _g_strv_equal0 (gchar **a, gchar **b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # guint n; 1021s # if (a == NULL && b == NULL) 1021s # { 1021s # ret = TRUE; 1021s # goto out; 1021s # } 1021s # if (a == NULL || b == NULL) 1021s # goto out; 1021s # if (g_strv_length (a) != g_strv_length (b)) 1021s # goto out; 1021s # for (n = 0; a[n] != NULL; n++) 1021s # if (g_strcmp0 (a[n], b[n]) != 0) 1021s # goto out; 1021s # ret = TRUE; 1021s # out: 1021s # return ret; 1021s # } 1021s # 1021s # static gboolean 1021s # _g_variant_equal0 (GVariant *a, GVariant *b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # if (a == NULL && b == NULL) 1021s # { 1021s # ret = TRUE; 1021s # goto out; 1021s # } 1021s # if (a == NULL || b == NULL) 1021s # goto out; 1021s # ret = g_variant_equal (a, b); 1021s # out: 1021s # return ret; 1021s # } 1021s # 1021s # G_GNUC_UNUSED static gboolean 1021s # _g_value_equal (const GValue *a, const GValue *b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1021s # switch (G_VALUE_TYPE (a)) 1021s # { 1021s # case G_TYPE_BOOLEAN: 1021s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1021s # break; 1021s # case G_TYPE_UCHAR: 1021s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1021s # break; 1021s # case G_TYPE_INT: 1021s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1021s # break; 1021s # case G_TYPE_UINT: 1021s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1021s # break; 1021s # case G_TYPE_INT64: 1021s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1021s # break; 1021s # case G_TYPE_UINT64: 1021s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1021s # break; 1021s # case G_TYPE_DOUBLE: 1021s # { 1021s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1021s # gdouble da = g_value_get_double (a); 1021s # gdouble db = g_value_get_double (b); 1021s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1021s # } 1021s # break; 1021s # case G_TYPE_STRING: 1021s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1021s # break; 1021s # case G_TYPE_VARIANT: 1021s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1021s # break; 1021s # default: 1021s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1021s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1021s # else 1021s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1021s # break; 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static void 1021s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1021s # GClosure *closure, 1021s # GValue *return_value, 1021s # unsigned int n_param_values, 1021s # const GValue *param_values, 1021s # void *invocation_hint G_GNUC_UNUSED, 1021s # void *marshal_data) 1021s # { 1021s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1021s # (void *data1, 1021s # GDBusMethodInvocation *arg_method_invocation, 1021s # gint16 arg_arg_n, 1021s # void *data2); 1021s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1021s # GCClosure *cc = (GCClosure*) closure; 1021s # void *data1, *data2; 1021s # gboolean v_return; 1021s # 1021s # g_return_if_fail (return_value != NULL); 1021s # g_return_if_fail (n_param_values == 3); 1021s # 1021s # if (G_CCLOSURE_SWAP_DATA (closure)) 1021s # { 1021s # data1 = closure->data; 1021s # data2 = g_value_peek_pointer (param_values + 0); 1021s # } 1021s # else 1021s # { 1021s # data1 = g_value_peek_pointer (param_values + 0); 1021s # data2 = closure->data; 1021s # } 1021s # 1021s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1021s # (marshal_data ? marshal_data : cc->callback); 1021s # 1021s # v_return = 1021s # callback (data1, 1021s # g_marshal_value_peek_object (param_values + 1), 1021s # g_marshal_value_peek_int (param_values + 2), 1021s # data2); 1021s # 1021s # g_value_set_boolean (return_value, v_return); 1021s # } 1021s # 1021s # /* ------------------------------------------------------------------------ 1021s # * Code for interface org.project.UsefulInterface 1021s # * ------------------------------------------------------------------------ 1021s # */ 1021s # 1021s # /** 1021s # * SECTION:OrgProjectUsefulInterface 1021s # * @title: OrgProjectUsefulInterface 1021s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1021s # * 1021s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1021s # */ 1021s # 1021s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1021s # 1021s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "arg_n", 1021s # (gchar *) "n", 1021s # NULL 1021s # }, 1021s # FALSE 1021s # }; 1021s # 1021s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 1021s # { 1021s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 1021s # NULL 1021s # }; 1021s # 1021s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "SingleArgMethodN", 1021s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 1021s # NULL, 1021s # NULL 1021s # }, 1021s # "handle-single-arg-method-n", 1021s # FALSE 1021s # }; 1021s # 1021s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1021s # { 1021s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1021s # NULL 1021s # }; 1021s # 1021s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "org.project.UsefulInterface", 1021s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1021s # NULL, 1021s # NULL, 1021s # NULL 1021s # }, 1021s # "org-project-useful-interface", 1021s # }; 1021s # 1021s # 1021s # /** 1021s # * org_project_useful_interface_interface_info: 1021s # * 1021s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1021s # * 1021s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1021s # */ 1021s # GDBusInterfaceInfo * 1021s # org_project_useful_interface_interface_info (void) 1021s # { 1021s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_override_properties: 1021s # * @klass: The class structure for a #GObject derived class. 1021s # * @property_id_begin: The property id to assign to the first overridden property. 1021s # * 1021s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1021s # * The properties are overridden in the order they are defined. 1021s # * 1021s # * Returns: The last property id. 1021s # */ 1021s # guint 1021s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1021s # { 1021s # return property_id_begin - 1; 1021s # } 1021s # 1021s # 1021s # inline static void 1021s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1021s # GClosure *closure, 1021s # GValue *return_value, 1021s # unsigned int n_param_values, 1021s # const GValue *param_values, 1021s # void *invocation_hint, 1021s # void *marshal_data) 1021s # { 1021s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1021s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1021s # } 1021s # 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterface: 1021s # * 1021s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceIface: 1021s # * @parent_iface: The parent interface. 1021s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1021s # * 1021s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1021s # */ 1021s # 1021s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1021s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1021s # 1021s # static void 1021s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1021s # { 1021s # /* GObject signals for incoming D-Bus method calls: */ 1021s # /** 1021s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1021s # * @object: A #OrgProjectUsefulInterface. 1021s # * @invocation: A #GDBusMethodInvocation. 1021s # * @arg_arg_n: Argument passed by remote caller. 1021s # * 1021s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1021s # * 1021s # * 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. 1021s # * 1021s # * 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. 1021s # */ 1021s # g_signal_new ("handle-single-arg-method-n", 1021s # G_TYPE_FROM_INTERFACE (iface), 1021s # G_SIGNAL_RUN_LAST, 1021s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1021s # g_signal_accumulator_true_handled, 1021s # NULL, 1021s # org_project_useful_interface_method_marshal_single_arg_method_n, 1021s # G_TYPE_BOOLEAN, 1021s # 2, 1021s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1021s # 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_n: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @arg_arg_n: Argument to pass with the method invocation. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1021s # */ 1021s # void 1021s # org_project_useful_interface_call_single_arg_method_n ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # gint16 arg_arg_n, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1021s # "SingleArgMethodN", 1021s # g_variant_new ("(n)", 1021s # arg_arg_n), 1021s # G_DBUS_CALL_FLAGS_NONE, 1021s # -1, 1021s # cancellable, 1021s # callback, 1021s # user_data); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_n_finish: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1021s # * @error: Return location for error or %NULL. 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1021s # * 1021s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1021s # */ 1021s # gboolean 1021s # org_project_useful_interface_call_single_arg_method_n_finish ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GVariant *_ret; 1021s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1021s # if (_ret == NULL) 1021s # goto _out; 1021s # g_variant_get (_ret, 1021s # "()"); 1021s # g_variant_unref (_ret); 1021s # _out: 1021s # return _ret != NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_n_sync: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @arg_arg_n: Argument to pass with the method invocation. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL. 1021s # * 1021s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1021s # * 1021s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1021s # */ 1021s # gboolean 1021s # org_project_useful_interface_call_single_arg_method_n_sync ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # gint16 arg_arg_n, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GVariant *_ret; 1021s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1021s # "SingleArgMethodN", 1021s # g_variant_new ("(n)", 1021s # arg_arg_n), 1021s # G_DBUS_CALL_FLAGS_NONE, 1021s # -1, 1021s # cancellable, 1021s # error); 1021s # if (_ret == NULL) 1021s # goto _out; 1021s # g_variant_get (_ret, 1021s # "()"); 1021s # g_variant_unref (_ret); 1021s # _out: 1021s # return _ret != NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_complete_single_arg_method_n: 1021s # * @object: A #OrgProjectUsefulInterface. 1021s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1021s # * 1021s # * 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. 1021s # * 1021s # * This method will free @invocation, you cannot use it afterwards. 1021s # */ 1021s # void 1021s # org_project_useful_interface_complete_single_arg_method_n ( 1021s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1021s # GDBusMethodInvocation *invocation) 1021s # { 1021s # g_dbus_method_invocation_return_value (invocation, 1021s # g_variant_new ("()")); 1021s # } 1021s # 1021s # /* ------------------------------------------------------------------------ */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceProxy: 1021s # * 1021s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceProxyClass: 1021s # * @parent_class: The parent class. 1021s # * 1021s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1021s # */ 1021s # 1021s # struct _OrgProjectUsefulInterfaceProxyPrivate 1021s # { 1021s # GData *qdata; 1021s # }; 1021s # 1021s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1021s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1021s # 1021s # #else 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1021s # 1021s # #endif 1021s # static void 1021s # org_project_useful_interface_proxy_finalize (GObject *object) 1021s # { 1021s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1021s # g_datalist_clear (&proxy->priv->qdata); 1021s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1021s # guint prop_id G_GNUC_UNUSED, 1021s # GValue *value G_GNUC_UNUSED, 1021s # GParamSpec *pspec G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1021s # guint prop_id G_GNUC_UNUSED, 1021s # const GValue *value G_GNUC_UNUSED, 1021s # GParamSpec *pspec G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1021s # const gchar *sender_name G_GNUC_UNUSED, 1021s # const gchar *signal_name, 1021s # GVariant *parameters) 1021s # { 1021s # _ExtendedGDBusSignalInfo *info; 1021s # GVariantIter iter; 1021s # GVariant *child; 1021s # GValue *paramv; 1021s # gsize num_params; 1021s # gsize n; 1021s # guint signal_id; 1021s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1021s # if (info == NULL) 1021s # return; 1021s # num_params = g_variant_n_children (parameters); 1021s # paramv = g_new0 (GValue, num_params + 1); 1021s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_set_object (¶mv[0], proxy); 1021s # g_variant_iter_init (&iter, parameters); 1021s # n = 1; 1021s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1021s # { 1021s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1021s # if (arg_info->use_gvariant) 1021s # { 1021s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1021s # g_value_set_variant (¶mv[n], child); 1021s # n++; 1021s # } 1021s # else 1021s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1021s # g_variant_unref (child); 1021s # } 1021s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_signal_emitv (paramv, signal_id, 0, NULL); 1021s # for (n = 0; n < num_params + 1; n++) 1021s # g_value_unset (¶mv[n]); 1021s # g_free (paramv); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1021s # GVariant *changed_properties, 1021s # const gchar *const *invalidated_properties) 1021s # { 1021s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1021s # guint n; 1021s # const gchar *key; 1021s # GVariantIter *iter; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # g_variant_get (changed_properties, "a{sv}", &iter); 1021s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1021s # { 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1021s # g_datalist_remove_data (&proxy->priv->qdata, key); 1021s # if (info != NULL) 1021s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1021s # } 1021s # g_variant_iter_free (iter); 1021s # for (n = 0; invalidated_properties[n] != NULL; n++) 1021s # { 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1021s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1021s # if (info != NULL) 1021s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1021s # } 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1021s # { 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1021s # #else 1021s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1021s # #endif 1021s # 1021s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1021s # { 1021s # GObjectClass *gobject_class; 1021s # GDBusProxyClass *proxy_class; 1021s # 1021s # gobject_class = G_OBJECT_CLASS (klass); 1021s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1021s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1021s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1021s # 1021s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1021s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1021s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1021s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1021s # #endif 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new: 1021s # * @connection: A #GDBusConnection. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1021s # * 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1021s # */ 1021s # void 1021s # org_project_useful_interface_proxy_new ( 1021s # GDBusConnection *connection, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # 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); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_finish: 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_finish ( 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GObject *ret; 1021s # GObject *source_object; 1021s # source_object = g_async_result_get_source_object (res); 1021s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1021s # g_object_unref (source_object); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_sync: 1021s # * @connection: A #GDBusConnection. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1021s # * 1021s # * The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_sync ( 1021s # GDBusConnection *connection, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GInitable *ret; 1021s # 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); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus: 1021s # * @bus_type: A #GBusType. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: A bus name (well-known or unique). 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1021s # * 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1021s # */ 1021s # void 1021s # org_project_useful_interface_proxy_new_for_bus ( 1021s # GBusType bus_type, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # 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); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus_finish: 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_for_bus_finish ( 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GObject *ret; 1021s # GObject *source_object; 1021s # source_object = g_async_result_get_source_object (res); 1021s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1021s # g_object_unref (source_object); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus_sync: 1021s # * @bus_type: A #GBusType. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: A bus name (well-known or unique). 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1021s # * 1021s # * The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_for_bus_sync ( 1021s # GBusType bus_type, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GInitable *ret; 1021s # 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); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # 1021s # /* ------------------------------------------------------------------------ */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceSkeleton: 1021s # * 1021s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceSkeletonClass: 1021s # * @parent_class: The parent class. 1021s # * 1021s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1021s # */ 1021s # 1021s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1021s # { 1021s # GValue *properties; 1021s # GList *changed_properties; 1021s # GSource *changed_properties_idle_source; 1021s # GMainContext *context; 1021s # GMutex lock; 1021s # }; 1021s # 1021s # static void 1021s # _org_project_useful_interface_skeleton_handle_method_call ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name, 1021s # const gchar *method_name, 1021s # GVariant *parameters, 1021s # GDBusMethodInvocation *invocation, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # _ExtendedGDBusMethodInfo *info; 1021s # GVariantIter iter; 1021s # GVariant *child; 1021s # GValue *paramv; 1021s # gsize num_params; 1021s # guint num_extra; 1021s # gsize n; 1021s # guint signal_id; 1021s # GValue return_value = G_VALUE_INIT; 1021s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1021s # g_assert (info != NULL); 1021s # num_params = g_variant_n_children (parameters); 1021s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1021s # n = 0; 1021s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_set_object (¶mv[n++], skeleton); 1021s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1021s # g_value_set_object (¶mv[n++], invocation); 1021s # if (info->pass_fdlist) 1021s # { 1021s # #ifdef G_OS_UNIX 1021s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1021s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1021s # #else 1021s # g_assert_not_reached (); 1021s # #endif 1021s # } 1021s # g_variant_iter_init (&iter, parameters); 1021s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1021s # { 1021s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1021s # if (arg_info->use_gvariant) 1021s # { 1021s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1021s # g_value_set_variant (¶mv[n], child); 1021s # n++; 1021s # } 1021s # else 1021s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1021s # g_variant_unref (child); 1021s # } 1021s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1021s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1021s # if (!g_value_get_boolean (&return_value)) 1021s # 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); 1021s # g_value_unset (&return_value); 1021s # for (n = 0; n < num_params + num_extra; n++) 1021s # g_value_unset (¶mv[n]); 1021s # g_free (paramv); 1021s # } 1021s # 1021s # static GVariant * 1021s # _org_project_useful_interface_skeleton_handle_get_property ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name G_GNUC_UNUSED, 1021s # const gchar *property_name, 1021s # GError **error, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # GValue value = G_VALUE_INIT; 1021s # GParamSpec *pspec; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # GVariant *ret; 1021s # ret = NULL; 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1021s # g_assert (info != NULL); 1021s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1021s # if (pspec == NULL) 1021s # { 1021s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1021s # } 1021s # else 1021s # { 1021s # g_value_init (&value, pspec->value_type); 1021s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1021s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1021s # g_value_unset (&value); 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static gboolean 1021s # _org_project_useful_interface_skeleton_handle_set_property ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name G_GNUC_UNUSED, 1021s # const gchar *property_name, 1021s # GVariant *variant, 1021s # GError **error, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # GValue value = G_VALUE_INIT; 1021s # GParamSpec *pspec; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # gboolean ret; 1021s # ret = FALSE; 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1021s # g_assert (info != NULL); 1021s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1021s # if (pspec == NULL) 1021s # { 1021s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1021s # } 1021s # else 1021s # { 1021s # if (info->use_gvariant) 1021s # g_value_set_variant (&value, variant); 1021s # else 1021s # g_dbus_gvariant_to_gvalue (variant, &value); 1021s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1021s # g_value_unset (&value); 1021s # ret = TRUE; 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1021s # { 1021s # _org_project_useful_interface_skeleton_handle_method_call, 1021s # _org_project_useful_interface_skeleton_handle_get_property, 1021s # _org_project_useful_interface_skeleton_handle_set_property, 1021s # {NULL} 1021s # }; 1021s # 1021s # static GDBusInterfaceInfo * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1021s # { 1021s # return org_project_useful_interface_interface_info (); 1021s # } 1021s # 1021s # static GDBusInterfaceVTable * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1021s # { 1021s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1021s # } 1021s # 1021s # static GVariant * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1021s # 1021s # GVariantBuilder builder; 1021s # guint n; 1021s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1021s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1021s # goto out; 1021s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1021s # { 1021s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1021s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1021s # { 1021s # GVariant *value; 1021s # 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); 1021s # if (value != NULL) 1021s # { 1021s # g_variant_take_ref (value); 1021s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1021s # g_variant_unref (value); 1021s # } 1021s # } 1021s # } 1021s # out: 1021s # return g_variant_builder_end (&builder); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1021s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1021s # 1021s # #else 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1021s # 1021s # #endif 1021s # static void 1021s # org_project_useful_interface_skeleton_finalize (GObject *object) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1021s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1021s # if (skeleton->priv->changed_properties_idle_source != NULL) 1021s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1021s # g_main_context_unref (skeleton->priv->context); 1021s # g_mutex_clear (&skeleton->priv->lock); 1021s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1021s # { 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1021s # #else 1021s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1021s # #endif 1021s # 1021s # g_mutex_init (&skeleton->priv->lock); 1021s # skeleton->priv->context = g_main_context_ref_thread_default (); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1021s # { 1021s # GObjectClass *gobject_class; 1021s # GDBusInterfaceSkeletonClass *skeleton_class; 1021s # 1021s # gobject_class = G_OBJECT_CLASS (klass); 1021s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1021s # 1021s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1021s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1021s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1021s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1021s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1021s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1021s # #endif 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_skeleton_new: 1021s # * 1021s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_skeleton_new (void) 1021s # { 1021s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1021s # } 1021s # /tmp/tmp32mbzb2s/tmpaaj8ftjm.xml: 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp32mbzb2s/tmpaaj8ftjm.xml', '--output', '-', '--body'] 1021s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1021s # Output: /* 1021s # * This file is generated by gdbus-codegen, do not modify it. 1021s # * 1021s # * The license of this code is the same as for the D-Bus interface description 1021s # * it was derived from. Note that it links to GLib, so must comply with the 1021s # * LGPL linking clauses. 1021s # */ 1021s # 1021s # #ifdef HAVE_CONFIG_H 1021s # # include "config.h" 1021s # #endif 1021s # 1021s # #include 1021s # #ifdef G_OS_UNIX 1021s # # include 1021s # #endif 1021s # 1021s # #ifdef G_ENABLE_DEBUG 1021s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1021s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1021s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1021s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1021s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1021s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1021s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1021s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1021s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1021s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1021s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1021s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1021s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1021s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1021s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1021s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1021s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1021s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1021s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1021s # #else /* !G_ENABLE_DEBUG */ 1021s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1021s # * Do not access GValues directly in your code. Instead, use the 1021s # * g_value_get_*() functions 1021s # */ 1021s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1021s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1021s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1021s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1021s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1021s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1021s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1021s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1021s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1021s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1021s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1021s # #endif /* !G_ENABLE_DEBUG */ 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusArgInfo parent_struct; 1021s # gboolean use_gvariant; 1021s # } _ExtendedGDBusArgInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusMethodInfo parent_struct; 1021s # const gchar *signal_name; 1021s # gboolean pass_fdlist; 1021s # } _ExtendedGDBusMethodInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusSignalInfo parent_struct; 1021s # const gchar *signal_name; 1021s # } _ExtendedGDBusSignalInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusPropertyInfo parent_struct; 1021s # const gchar *hyphen_name; 1021s # guint use_gvariant : 1; 1021s # guint emits_changed_signal : 1; 1021s # } _ExtendedGDBusPropertyInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusInterfaceInfo parent_struct; 1021s # const gchar *hyphen_name; 1021s # } _ExtendedGDBusInterfaceInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # const _ExtendedGDBusPropertyInfo *info; 1021s # guint prop_id; 1021s # GValue orig_value; /* the value before the change */ 1021s # } ChangedProperty; 1021s # 1021s # static void 1021s # _changed_property_free (ChangedProperty *data) 1021s # { 1021s # g_value_unset (&data->orig_value); 1021s # g_free (data); 1021s # } 1021s # 1021s # static gboolean 1021s # _g_strv_equal0 (gchar **a, gchar **b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # guint n; 1021s # if (a == NULL && b == NULL) 1021s # { 1021s # ret = TRUE; 1021s # goto out; 1021s # } 1021s # if (a == NULL || b == NULL) 1021s # goto out; 1021s # if (g_strv_length (a) != g_strv_length (b)) 1021s # goto out; 1021s # for (n = 0; a[n] != NULL; n++) 1021s # if (g_strcmp0 (a[n], b[n]) != 0) 1021s # goto out; 1021s # ret = TRUE; 1021s # out: 1021s # return ret; 1021s # } 1021s # 1021s # static gboolean 1021s # _g_variant_equal0 (GVariant *a, GVariant *b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # if (a == NULL && b == NULL) 1021s # { 1021s # ret = TRUE; 1021s # goto out; 1021s # } 1021s # if (a == NULL || b == NULL) 1021s # goto out; 1021s # ret = g_variant_equal (a, b); 1021s # out: 1021s # return ret; 1021s # } 1021s # 1021s # G_GNUC_UNUSED static gboolean 1021s # _g_value_equal (const GValue *a, const GValue *b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1021s # switch (G_VALUE_TYPE (a)) 1021s # { 1021s # case G_TYPE_BOOLEAN: 1021s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1021s # break; 1021s # case G_TYPE_UCHAR: 1021s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1021s # break; 1021s # case G_TYPE_INT: 1021s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1021s # break; 1021s # case G_TYPE_UINT: 1021s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1021s # break; 1021s # case G_TYPE_INT64: 1021s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1021s # break; 1021s # case G_TYPE_UINT64: 1021s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1021s # break; 1021s # case G_TYPE_DOUBLE: 1021s # { 1021s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1021s # gdouble da = g_value_get_double (a); 1021s # gdouble db = g_value_get_double (b); 1021s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1021s # } 1021s # break; 1021s # case G_TYPE_STRING: 1021s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1021s # break; 1021s # case G_TYPE_VARIANT: 1021s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1021s # break; 1021s # default: 1021s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1021s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1021s # else 1021s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1021s # break; 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static void 1021s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1021s # GClosure *closure, 1021s # GValue *return_value, 1021s # unsigned int n_param_values, 1021s # const GValue *param_values, 1021s # void *invocation_hint G_GNUC_UNUSED, 1021s # void *marshal_data) 1021s # { 1021s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1021s # (void *data1, 1021s # GDBusMethodInvocation *arg_method_invocation, 1021s # guint16 arg_arg_q, 1021s # void *data2); 1021s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1021s # GCClosure *cc = (GCClosure*) closure; 1021s # void *data1, *data2; 1021s # gboolean v_return; 1021s # 1021s # g_return_if_fail (return_value != NULL); 1021s # g_return_if_fail (n_param_values == 3); 1021s # 1021s # if (G_CCLOSURE_SWAP_DATA (closure)) 1021s # { 1021s # data1 = closure->data; 1021s # data2 = g_value_peek_pointer (param_values + 0); 1021s # } 1021s # else 1021s # { 1021s # data1 = g_value_peek_pointer (param_values + 0); 1021s # data2 = closure->data; 1021s # } 1021s # 1021s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1021s # (marshal_data ? marshal_data : cc->callback); 1021s # 1021s # v_return = 1021s # callback (data1, 1021s # g_marshal_value_peek_object (param_values + 1), 1021s # g_marshal_value_peek_uint (param_values + 2), 1021s # data2); 1021s # 1021s # g_value_set_boolean (return_value, v_return); 1021s # } 1021s # 1021s # /* ------------------------------------------------------------------------ 1021s # * Code for interface org.project.UsefulInterface 1021s # * ------------------------------------------------------------------------ 1021s # */ 1021s # 1021s # /** 1021s # * SECTION:OrgProjectUsefulInterface 1021s # * @title: OrgProjectUsefulInterface 1021s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1021s # * 1021s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1021s # */ 1021s # 1021s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1021s # 1021s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "arg_q", 1021s # (gchar *) "q", 1021s # NULL 1021s # }, 1021s # FALSE 1021s # }; 1021s # 1021s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 1021s # { 1021s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 1021s # NULL 1021s # }; 1021s # 1021s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "SingleArgMethodQ", 1021s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 1021s # NULL, 1021s # NULL 1021s # }, 1021s # "handle-single-arg-method-q", 1021s # FALSE 1021s # }; 1021s # 1021s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1021s # { 1021s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1021s # NULL 1021s # }; 1021s # 1021s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "org.project.UsefulInterface", 1021s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1021s # NULL, 1021s # NULL, 1021s # NULL 1021s # }, 1021s # "org-project-useful-interface", 1021s # }; 1021s # 1021s # 1021s # /** 1021s # * org_project_useful_interface_interface_info: 1021s # * 1021s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1021s # * 1021s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1021s # */ 1021s # GDBusInterfaceInfo * 1021s # org_project_useful_interface_interface_info (void) 1021s # { 1021s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_override_properties: 1021s # * @klass: The class structure for a #GObject derived class. 1021s # * @property_id_begin: The property id to assign to the first overridden property. 1021s # * 1021s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1021s # * The properties are overridden in the order they are defined. 1021s # * 1021s # * Returns: The last property id. 1021s # */ 1021s # guint 1021s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1021s # { 1021s # return property_id_begin - 1; 1021s # } 1021s # 1021s # 1021s # inline static void 1021s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1021s # GClosure *closure, 1021s # GValue *return_value, 1021s # unsigned int n_param_values, 1021s # const GValue *param_values, 1021s # void *invocation_hint, 1021s # void *marshal_data) 1021s # { 1021s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1021s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1021s # } 1021s # 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterface: 1021s # * 1021s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceIface: 1021s # * @parent_iface: The parent interface. 1021s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1021s # * 1021s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1021s # */ 1021s # 1021s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1021s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1021s # 1021s # static void 1021s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1021s # { 1021s # /* GObject signals for incoming D-Bus method calls: */ 1021s # /** 1021s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1021s # * @object: A #OrgProjectUsefulInterface. 1021s # * @invocation: A #GDBusMethodInvocation. 1021s # * @arg_arg_q: Argument passed by remote caller. 1021s # * 1021s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1021s # * 1021s # * 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. 1021s # * 1021s # * 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. 1021s # */ 1021s # g_signal_new ("handle-single-arg-method-q", 1021s # G_TYPE_FROM_INTERFACE (iface), 1021s # G_SIGNAL_RUN_LAST, 1021s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1021s # g_signal_accumulator_true_handled, 1021s # NULL, 1021s # org_project_useful_interface_method_marshal_single_arg_method_q, 1021s # G_TYPE_BOOLEAN, 1021s # 2, 1021s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1021s # 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_q: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @arg_arg_q: Argument to pass with the method invocation. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1021s # */ 1021s # void 1021s # org_project_useful_interface_call_single_arg_method_q ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # guint16 arg_arg_q, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1021s # "SingleArgMethodQ", 1021s # g_variant_new ("(q)", 1021s # arg_arg_q), 1021s # G_DBUS_CALL_FLAGS_NONE, 1021s # -1, 1021s # cancellable, 1021s # callback, 1021s # user_data); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_q_finish: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1021s # * @error: Return location for error or %NULL. 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1021s # * 1021s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1021s # */ 1021s # gboolean 1021s # org_project_useful_interface_call_single_arg_method_q_finish ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GVariant *_ret; 1021s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1021s # if (_ret == NULL) 1021s # goto _out; 1021s # g_variant_get (_ret, 1021s # "()"); 1021s # g_variant_unref (_ret); 1021s # _out: 1021s # return _ret != NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_q_sync: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @arg_arg_q: Argument to pass with the method invocation. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL. 1021s # * 1021s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1021s # * 1021s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1021s # */ 1021s # gboolean 1021s # org_project_useful_interface_call_single_arg_method_q_sync ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # guint16 arg_arg_q, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GVariant *_ret; 1021s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1021s # "SingleArgMethodQ", 1021s # g_variant_new ("(q)", 1021s # arg_arg_q), 1021s # G_DBUS_CALL_FLAGS_NONE, 1021s # -1, 1021s # cancellable, 1021s # error); 1021s # if (_ret == NULL) 1021s # goto _out; 1021s # g_variant_get (_ret, 1021s # "()"); 1021s # g_variant_unref (_ret); 1021s # _out: 1021s # return _ret != NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_complete_single_arg_method_q: 1021s # * @object: A #OrgProjectUsefulInterface. 1021s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1021s # * 1021s # * 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. 1021s # * 1021s # * This method will free @invocation, you cannot use it afterwards. 1021s # */ 1021s # void 1021s # org_project_useful_interface_complete_single_arg_method_q ( 1021s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1021s # GDBusMethodInvocation *invocation) 1021s # { 1021s # g_dbus_method_invocation_return_value (invocation, 1021s # g_variant_new ("()")); 1021s # } 1021s # 1021s # /* ------------------------------------------------------------------------ */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceProxy: 1021s # * 1021s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceProxyClass: 1021s # * @parent_class: The parent class. 1021s # * 1021s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1021s # */ 1021s # 1021s # struct _OrgProjectUsefulInterfaceProxyPrivate 1021s # { 1021s # GData *qdata; 1021s # }; 1021s # 1021s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1021s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1021s # 1021s # #else 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1021s # 1021s # #endif 1021s # static void 1021s # org_project_useful_interface_proxy_finalize (GObject *object) 1021s # { 1021s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1021s # g_datalist_clear (&proxy->priv->qdata); 1021s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1021s # guint prop_id G_GNUC_UNUSED, 1021s # GValue *value G_GNUC_UNUSED, 1021s # GParamSpec *pspec G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1021s # guint prop_id G_GNUC_UNUSED, 1021s # const GValue *value G_GNUC_UNUSED, 1021s # GParamSpec *pspec G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1021s # const gchar *sender_name G_GNUC_UNUSED, 1021s # const gchar *signal_name, 1021s # GVariant *parameters) 1021s # { 1021s # _ExtendedGDBusSignalInfo *info; 1021s # GVariantIter iter; 1021s # GVariant *child; 1021s # GValue *paramv; 1021s # gsize num_params; 1021s # gsize n; 1021s # guint signal_id; 1021s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1021s # if (info == NULL) 1021s # return; 1021s # num_params = g_variant_n_children (parameters); 1021s # paramv = g_new0 (GValue, num_params + 1); 1021s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_set_object (¶mv[0], proxy); 1021s # g_variant_iter_init (&iter, parameters); 1021s # n = 1; 1021s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1021s # { 1021s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1021s # if (arg_info->use_gvariant) 1021s # { 1021s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1021s # g_value_set_variant (¶mv[n], child); 1021s # n++; 1021s # } 1021s # else 1021s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1021s # g_variant_unref (child); 1021s # } 1021s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_signal_emitv (paramv, signal_id, 0, NULL); 1021s # for (n = 0; n < num_params + 1; n++) 1021s # g_value_unset (¶mv[n]); 1021s # g_free (paramv); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1021s # GVariant *changed_properties, 1021s # const gchar *const *invalidated_properties) 1021s # { 1021s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1021s # guint n; 1021s # const gchar *key; 1021s # GVariantIter *iter; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # g_variant_get (changed_properties, "a{sv}", &iter); 1021s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1021s # { 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1021s # g_datalist_remove_data (&proxy->priv->qdata, key); 1021s # if (info != NULL) 1021s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1021s # } 1021s # g_variant_iter_free (iter); 1021s # for (n = 0; invalidated_properties[n] != NULL; n++) 1021s # { 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1021s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1021s # if (info != NULL) 1021s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1021s # } 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1021s # { 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1021s # #else 1021s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1021s # #endif 1021s # 1021s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1021s # { 1021s # GObjectClass *gobject_class; 1021s # GDBusProxyClass *proxy_class; 1021s # 1021s # gobject_class = G_OBJECT_CLASS (klass); 1021s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1021s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1021s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1021s # 1021s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1021s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1021s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1021s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1021s # #endif 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new: 1021s # * @connection: A #GDBusConnection. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1021s # * 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1021s # */ 1021s # void 1021s # org_project_useful_interface_proxy_new ( 1021s # GDBusConnection *connection, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # 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); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_finish: 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_finish ( 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GObject *ret; 1021s # GObject *source_object; 1021s # source_object = g_async_result_get_source_object (res); 1021s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1021s # g_object_unref (source_object); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_sync: 1021s # * @connection: A #GDBusConnection. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1021s # * 1021s # * The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_sync ( 1021s # GDBusConnection *connection, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GInitable *ret; 1021s # 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); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus: 1021s # * @bus_type: A #GBusType. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: A bus name (well-known or unique). 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1021s # * 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1021s # */ 1021s # void 1021s # org_project_useful_interface_proxy_new_for_bus ( 1021s # GBusType bus_type, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # 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); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus_finish: 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_for_bus_finish ( 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GObject *ret; 1021s # GObject *source_object; 1021s # source_object = g_async_result_get_source_object (res); 1021s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1021s # g_object_unref (source_object); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus_sync: 1021s # * @bus_type: A #GBusType. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: A bus name (well-known or unique). 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1021s # * 1021s # * The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_for_bus_sync ( 1021s # GBusType bus_type, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GInitable *ret; 1021s # 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); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # 1021s # /* ------------------------------------------------------------------------ */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceSkeleton: 1021s # * 1021s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceSkeletonClass: 1021s # * @parent_class: The parent class. 1021s # * 1021s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1021s # */ 1021s # 1021s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1021s # { 1021s # GValue *properties; 1021s # GList *changed_properties; 1021s # GSource *changed_properties_idle_source; 1021s # GMainContext *context; 1021s # GMutex lock; 1021s # }; 1021s # 1021s # static void 1021s # _org_project_useful_interface_skeleton_handle_method_call ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name, 1021s # const gchar *method_name, 1021s # GVariant *parameters, 1021s # GDBusMethodInvocation *invocation, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # _ExtendedGDBusMethodInfo *info; 1021s # GVariantIter iter; 1021s # GVariant *child; 1021s # GValue *paramv; 1021s # gsize num_params; 1021s # guint num_extra; 1021s # gsize n; 1021s # guint signal_id; 1021s # GValue return_value = G_VALUE_INIT; 1021s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1021s # g_assert (info != NULL); 1021s # num_params = g_variant_n_children (parameters); 1021s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1021s # n = 0; 1021s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_set_object (¶mv[n++], skeleton); 1021s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1021s # g_value_set_object (¶mv[n++], invocation); 1021s # if (info->pass_fdlist) 1021s # { 1021s # #ifdef G_OS_UNIX 1021s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1021s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1021s # #else 1021s # g_assert_not_reached (); 1021s # #endif 1021s # } 1021s # g_variant_iter_init (&iter, parameters); 1021s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1021s # { 1021s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1021s # if (arg_info->use_gvariant) 1021s # { 1021s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1021s # g_value_set_variant (¶mv[n], child); 1021s # n++; 1021s # } 1021s # else 1021s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1021s # g_variant_unref (child); 1021s # } 1021s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1021s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1021s # if (!g_value_get_boolean (&return_value)) 1021s # 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); 1021s # g_value_unset (&return_value); 1021s # for (n = 0; n < num_params + num_extra; n++) 1021s # g_value_unset (¶mv[n]); 1021s # g_free (paramv); 1021s # } 1021s # 1021s # static GVariant * 1021s # _org_project_useful_interface_skeleton_handle_get_property ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name G_GNUC_UNUSED, 1021s # const gchar *property_name, 1021s # GError **error, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # GValue value = G_VALUE_INIT; 1021s # GParamSpec *pspec; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # GVariant *ret; 1021s # ret = NULL; 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1021s # g_assert (info != NULL); 1021s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1021s # if (pspec == NULL) 1021s # { 1021s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1021s # } 1021s # else 1021s # { 1021s # g_value_init (&value, pspec->value_type); 1021s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1021s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1021s # g_value_unset (&value); 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static gboolean 1021s # _org_project_useful_interface_skeleton_handle_set_property ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name G_GNUC_UNUSED, 1021s # const gchar *property_name, 1021s # GVariant *variant, 1021s # GError **error, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # GValue value = G_VALUE_INIT; 1021s # GParamSpec *pspec; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # gboolean ret; 1021s # ret = FALSE; 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1021s # g_assert (info != NULL); 1021s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1021s # if (pspec == NULL) 1021s # { 1021s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1021s # } 1021s # else 1021s # { 1021s # if (info->use_gvariant) 1021s # g_value_set_variant (&value, variant); 1021s # else 1021s # g_dbus_gvariant_to_gvalue (variant, &value); 1021s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1021s # g_value_unset (&value); 1021s # ret = TRUE; 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1021s # { 1021s # _org_project_useful_interface_skeleton_handle_method_call, 1021s # _org_project_useful_interface_skeleton_handle_get_property, 1021s # _org_project_useful_interface_skeleton_handle_set_property, 1021s # {NULL} 1021s # }; 1021s # 1021s # static GDBusInterfaceInfo * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1021s # { 1021s # return org_project_useful_interface_interface_info (); 1021s # } 1021s # 1021s # static GDBusInterfaceVTable * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1021s # { 1021s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1021s # } 1021s # 1021s # static GVariant * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1021s # 1021s # GVariantBuilder builder; 1021s # guint n; 1021s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1021s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1021s # goto out; 1021s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1021s # { 1021s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1021s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1021s # { 1021s # GVariant *value; 1021s # 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); 1021s # if (value != NULL) 1021s # { 1021s # g_variant_take_ref (value); 1021s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1021s # g_variant_unref (value); 1021s # } 1021s # } 1021s # } 1021s # out: 1021s # return g_variant_builder_end (&builder); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1021s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1021s # 1021s # #else 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1021s # 1021s # #endif 1021s # static void 1021s # org_project_useful_interface_skeleton_finalize (GObject *object) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1021s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1021s # if (skeleton->priv->changed_properties_idle_source != NULL) 1021s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1021s # g_main_context_unref (skeleton->priv->context); 1021s # g_mutex_clear (&skeleton->priv->lock); 1021s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1021s # { 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1021s # #else 1021s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1021s # #endif 1021s # 1021s # g_mutex_init (&skeleton->priv->lock); 1021s # skeleton->priv->context = g_main_context_ref_thread_default (); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1021s # { 1021s # GObjectClass *gobject_class; 1021s # GDBusInterfaceSkeletonClass *skeleton_class; 1021s # 1021s # gobject_class = G_OBJECT_CLASS (klass); 1021s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1021s # 1021s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1021s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1021s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1021s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1021s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1021s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1021s # #endif 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_skeleton_new: 1021s # * 1021s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_skeleton_new (void) 1021s # { 1021s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1021s # } 1021s # /tmp/tmp32mbzb2s/tmpx1kziasq.xml: 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp32mbzb2s/tmpx1kziasq.xml', '--output', '-', '--body'] 1021s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1021s # Output: /* 1021s # * This file is generated by gdbus-codegen, do not modify it. 1021s # * 1021s # * The license of this code is the same as for the D-Bus interface description 1021s # * it was derived from. Note that it links to GLib, so must comply with the 1021s # * LGPL linking clauses. 1021s # */ 1021s # 1021s # #ifdef HAVE_CONFIG_H 1021s # # include "config.h" 1021s # #endif 1021s # 1021s # #include 1021s # #ifdef G_OS_UNIX 1021s # # include 1021s # #endif 1021s # 1021s # #ifdef G_ENABLE_DEBUG 1021s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1021s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1021s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1021s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1021s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1021s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1021s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1021s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1021s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1021s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1021s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1021s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1021s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1021s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1021s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1021s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1021s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1021s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1021s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1021s # #else /* !G_ENABLE_DEBUG */ 1021s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1021s # * Do not access GValues directly in your code. Instead, use the 1021s # * g_value_get_*() functions 1021s # */ 1021s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1021s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1021s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1021s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1021s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1021s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1021s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1021s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1021s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1021s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1021s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1021s # #endif /* !G_ENABLE_DEBUG */ 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusArgInfo parent_struct; 1021s # gboolean use_gvariant; 1021s # } _ExtendedGDBusArgInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusMethodInfo parent_struct; 1021s # const gchar *signal_name; 1021s # gboolean pass_fdlist; 1021s # } _ExtendedGDBusMethodInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusSignalInfo parent_struct; 1021s # const gchar *signal_name; 1021s # } _ExtendedGDBusSignalInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusPropertyInfo parent_struct; 1021s # const gchar *hyphen_name; 1021s # guint use_gvariant : 1; 1021s # guint emits_changed_signal : 1; 1021s # } _ExtendedGDBusPropertyInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusInterfaceInfo parent_struct; 1021s # const gchar *hyphen_name; 1021s # } _ExtendedGDBusInterfaceInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # const _ExtendedGDBusPropertyInfo *info; 1021s # guint prop_id; 1021s # GValue orig_value; /* the value before the change */ 1021s # } ChangedProperty; 1021s # 1021s # static void 1021s # _changed_property_free (ChangedProperty *data) 1021s # { 1021s # g_value_unset (&data->orig_value); 1021s # g_free (data); 1021s # } 1021s # 1021s # static gboolean 1021s # _g_strv_equal0 (gchar **a, gchar **b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # guint n; 1021s # if (a == NULL && b == NULL) 1021s # { 1021s # ret = TRUE; 1021s # goto out; 1021s # } 1021s # if (a == NULL || b == NULL) 1021s # goto out; 1021s # if (g_strv_length (a) != g_strv_length (b)) 1021s # goto out; 1021s # for (n = 0; a[n] != NULL; n++) 1021s # if (g_strcmp0 (a[n], b[n]) != 0) 1021s # goto out; 1021s # ret = TRUE; 1021s # out: 1021s # return ret; 1021s # } 1021s # 1021s # static gboolean 1021s # _g_variant_equal0 (GVariant *a, GVariant *b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # if (a == NULL && b == NULL) 1021s # { 1021s # ret = TRUE; 1021s # goto out; 1021s # } 1021s # if (a == NULL || b == NULL) 1021s # goto out; 1021s # ret = g_variant_equal (a, b); 1021s # out: 1021s # return ret; 1021s # } 1021s # 1021s # G_GNUC_UNUSED static gboolean 1021s # _g_value_equal (const GValue *a, const GValue *b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1021s # switch (G_VALUE_TYPE (a)) 1021s # { 1021s # case G_TYPE_BOOLEAN: 1021s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1021s # break; 1021s # case G_TYPE_UCHAR: 1021s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1021s # break; 1021s # case G_TYPE_INT: 1021s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1021s # break; 1021s # case G_TYPE_UINT: 1021s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1021s # break; 1021s # case G_TYPE_INT64: 1021s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1021s # break; 1021s # case G_TYPE_UINT64: 1021s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1021s # break; 1021s # case G_TYPE_DOUBLE: 1021s # { 1021s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1021s # gdouble da = g_value_get_double (a); 1021s # gdouble db = g_value_get_double (b); 1021s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1021s # } 1021s # break; 1021s # case G_TYPE_STRING: 1021s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1021s # break; 1021s # case G_TYPE_VARIANT: 1021s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1021s # break; 1021s # default: 1021s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1021s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1021s # else 1021s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1021s # break; 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static void 1021s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1021s # GClosure *closure, 1021s # GValue *return_value, 1021s # unsigned int n_param_values, 1021s # const GValue *param_values, 1021s # void *invocation_hint G_GNUC_UNUSED, 1021s # void *marshal_data) 1021s # { 1021s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1021s # (void *data1, 1021s # GDBusMethodInvocation *arg_method_invocation, 1021s # gint arg_arg_i, 1021s # void *data2); 1021s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1021s # GCClosure *cc = (GCClosure*) closure; 1021s # void *data1, *data2; 1021s # gboolean v_return; 1021s # 1021s # g_return_if_fail (return_value != NULL); 1021s # g_return_if_fail (n_param_values == 3); 1021s # 1021s # if (G_CCLOSURE_SWAP_DATA (closure)) 1021s # { 1021s # data1 = closure->data; 1021s # data2 = g_value_peek_pointer (param_values + 0); 1021s # } 1021s # else 1021s # { 1021s # data1 = g_value_peek_pointer (param_values + 0); 1021s # data2 = closure->data; 1021s # } 1021s # 1021s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1021s # (marshal_data ? marshal_data : cc->callback); 1021s # 1021s # v_return = 1021s # callback (data1, 1021s # g_marshal_value_peek_object (param_values + 1), 1021s # g_marshal_value_peek_int (param_values + 2), 1021s # data2); 1021s # 1021s # g_value_set_boolean (return_value, v_return); 1021s # } 1021s # 1021s # /* ------------------------------------------------------------------------ 1021s # * Code for interface org.project.UsefulInterface 1021s # * ------------------------------------------------------------------------ 1021s # */ 1021s # 1021s # /** 1021s # * SECTION:OrgProjectUsefulInterface 1021s # * @title: OrgProjectUsefulInterface 1021s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1021s # * 1021s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1021s # */ 1021s # 1021s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1021s # 1021s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "arg_i", 1021s # (gchar *) "i", 1021s # NULL 1021s # }, 1021s # FALSE 1021s # }; 1021s # 1021s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 1021s # { 1021s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 1021s # NULL 1021s # }; 1021s # 1021s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "SingleArgMethodI", 1021s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 1021s # NULL, 1021s # NULL 1021s # }, 1021s # "handle-single-arg-method-i", 1021s # FALSE 1021s # }; 1021s # 1021s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1021s # { 1021s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1021s # NULL 1021s # }; 1021s # 1021s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "org.project.UsefulInterface", 1021s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1021s # NULL, 1021s # NULL, 1021s # NULL 1021s # }, 1021s # "org-project-useful-interface", 1021s # }; 1021s # 1021s # 1021s # /** 1021s # * org_project_useful_interface_interface_info: 1021s # * 1021s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1021s # * 1021s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1021s # */ 1021s # GDBusInterfaceInfo * 1021s # org_project_useful_interface_interface_info (void) 1021s # { 1021s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_override_properties: 1021s # * @klass: The class structure for a #GObject derived class. 1021s # * @property_id_begin: The property id to assign to the first overridden property. 1021s # * 1021s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1021s # * The properties are overridden in the order they are defined. 1021s # * 1021s # * Returns: The last property id. 1021s # */ 1021s # guint 1021s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1021s # { 1021s # return property_id_begin - 1; 1021s # } 1021s # 1021s # 1021s # inline static void 1021s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1021s # GClosure *closure, 1021s # GValue *return_value, 1021s # unsigned int n_param_values, 1021s # const GValue *param_values, 1021s # void *invocation_hint, 1021s # void *marshal_data) 1021s # { 1021s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1021s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1021s # } 1021s # 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterface: 1021s # * 1021s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceIface: 1021s # * @parent_iface: The parent interface. 1021s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1021s # * 1021s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1021s # */ 1021s # 1021s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1021s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1021s # 1021s # static void 1021s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1021s # { 1021s # /* GObject signals for incoming D-Bus method calls: */ 1021s # /** 1021s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1021s # * @object: A #OrgProjectUsefulInterface. 1021s # * @invocation: A #GDBusMethodInvocation. 1021s # * @arg_arg_i: Argument passed by remote caller. 1021s # * 1021s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1021s # * 1021s # * 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. 1021s # * 1021s # * 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. 1021s # */ 1021s # g_signal_new ("handle-single-arg-method-i", 1021s # G_TYPE_FROM_INTERFACE (iface), 1021s # G_SIGNAL_RUN_LAST, 1021s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1021s # g_signal_accumulator_true_handled, 1021s # NULL, 1021s # org_project_useful_interface_method_marshal_single_arg_method_i, 1021s # G_TYPE_BOOLEAN, 1021s # 2, 1021s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1021s # 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_i: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @arg_arg_i: Argument to pass with the method invocation. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1021s # */ 1021s # void 1021s # org_project_useful_interface_call_single_arg_method_i ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # gint arg_arg_i, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1021s # "SingleArgMethodI", 1021s # g_variant_new ("(i)", 1021s # arg_arg_i), 1021s # G_DBUS_CALL_FLAGS_NONE, 1021s # -1, 1021s # cancellable, 1021s # callback, 1021s # user_data); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_i_finish: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1021s # * @error: Return location for error or %NULL. 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1021s # * 1021s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1021s # */ 1021s # gboolean 1021s # org_project_useful_interface_call_single_arg_method_i_finish ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GVariant *_ret; 1021s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1021s # if (_ret == NULL) 1021s # goto _out; 1021s # g_variant_get (_ret, 1021s # "()"); 1021s # g_variant_unref (_ret); 1021s # _out: 1021s # return _ret != NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_i_sync: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @arg_arg_i: Argument to pass with the method invocation. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL. 1021s # * 1021s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1021s # * 1021s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1021s # */ 1021s # gboolean 1021s # org_project_useful_interface_call_single_arg_method_i_sync ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # gint arg_arg_i, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GVariant *_ret; 1021s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1021s # "SingleArgMethodI", 1021s # g_variant_new ("(i)", 1021s # arg_arg_i), 1021s # G_DBUS_CALL_FLAGS_NONE, 1021s # -1, 1021s # cancellable, 1021s # error); 1021s # if (_ret == NULL) 1021s # goto _out; 1021s # g_variant_get (_ret, 1021s # "()"); 1021s # g_variant_unref (_ret); 1021s # _out: 1021s # return _ret != NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_complete_single_arg_method_i: 1021s # * @object: A #OrgProjectUsefulInterface. 1021s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1021s # * 1021s # * 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. 1021s # * 1021s # * This method will free @invocation, you cannot use it afterwards. 1021s # */ 1021s # void 1021s # org_project_useful_interface_complete_single_arg_method_i ( 1021s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1021s # GDBusMethodInvocation *invocation) 1021s # { 1021s # g_dbus_method_invocation_return_value (invocation, 1021s # g_variant_new ("()")); 1021s # } 1021s # 1021s # /* ------------------------------------------------------------------------ */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceProxy: 1021s # * 1021s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceProxyClass: 1021s # * @parent_class: The parent class. 1021s # * 1021s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1021s # */ 1021s # 1021s # struct _OrgProjectUsefulInterfaceProxyPrivate 1021s # { 1021s # GData *qdata; 1021s # }; 1021s # 1021s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1021s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1021s # 1021s # #else 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1021s # 1021s # #endif 1021s # static void 1021s # org_project_useful_interface_proxy_finalize (GObject *object) 1021s # { 1021s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1021s # g_datalist_clear (&proxy->priv->qdata); 1021s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1021s # guint prop_id G_GNUC_UNUSED, 1021s # GValue *value G_GNUC_UNUSED, 1021s # GParamSpec *pspec G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1021s # guint prop_id G_GNUC_UNUSED, 1021s # const GValue *value G_GNUC_UNUSED, 1021s # GParamSpec *pspec G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1021s # const gchar *sender_name G_GNUC_UNUSED, 1021s # const gchar *signal_name, 1021s # GVariant *parameters) 1021s # { 1021s # _ExtendedGDBusSignalInfo *info; 1021s # GVariantIter iter; 1021s # GVariant *child; 1021s # GValue *paramv; 1021s # gsize num_params; 1021s # gsize n; 1021s # guint signal_id; 1021s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1021s # if (info == NULL) 1021s # return; 1021s # num_params = g_variant_n_children (parameters); 1021s # paramv = g_new0 (GValue, num_params + 1); 1021s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_set_object (¶mv[0], proxy); 1021s # g_variant_iter_init (&iter, parameters); 1021s # n = 1; 1021s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1021s # { 1021s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1021s # if (arg_info->use_gvariant) 1021s # { 1021s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1021s # g_value_set_variant (¶mv[n], child); 1021s # n++; 1021s # } 1021s # else 1021s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1021s # g_variant_unref (child); 1021s # } 1021s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_signal_emitv (paramv, signal_id, 0, NULL); 1021s # for (n = 0; n < num_params + 1; n++) 1021s # g_value_unset (¶mv[n]); 1021s # g_free (paramv); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1021s # GVariant *changed_properties, 1021s # const gchar *const *invalidated_properties) 1021s # { 1021s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1021s # guint n; 1021s # const gchar *key; 1021s # GVariantIter *iter; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # g_variant_get (changed_properties, "a{sv}", &iter); 1021s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1021s # { 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1021s # g_datalist_remove_data (&proxy->priv->qdata, key); 1021s # if (info != NULL) 1021s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1021s # } 1021s # g_variant_iter_free (iter); 1021s # for (n = 0; invalidated_properties[n] != NULL; n++) 1021s # { 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1021s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1021s # if (info != NULL) 1021s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1021s # } 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1021s # { 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1021s # #else 1021s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1021s # #endif 1021s # 1021s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1021s # { 1021s # GObjectClass *gobject_class; 1021s # GDBusProxyClass *proxy_class; 1021s # 1021s # gobject_class = G_OBJECT_CLASS (klass); 1021s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1021s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1021s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1021s # 1021s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1021s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1021s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1021s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1021s # #endif 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new: 1021s # * @connection: A #GDBusConnection. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1021s # * 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1021s # */ 1021s # void 1021s # org_project_useful_interface_proxy_new ( 1021s # GDBusConnection *connection, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # 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); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_finish: 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_finish ( 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GObject *ret; 1021s # GObject *source_object; 1021s # source_object = g_async_result_get_source_object (res); 1021s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1021s # g_object_unref (source_object); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_sync: 1021s # * @connection: A #GDBusConnection. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1021s # * 1021s # * The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_sync ( 1021s # GDBusConnection *connection, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GInitable *ret; 1021s # 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); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus: 1021s # * @bus_type: A #GBusType. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: A bus name (well-known or unique). 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1021s # * 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1021s # */ 1021s # void 1021s # org_project_useful_interface_proxy_new_for_bus ( 1021s # GBusType bus_type, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # 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); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus_finish: 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_for_bus_finish ( 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GObject *ret; 1021s # GObject *source_object; 1021s # source_object = g_async_result_get_source_object (res); 1021s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1021s # g_object_unref (source_object); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus_sync: 1021s # * @bus_type: A #GBusType. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: A bus name (well-known or unique). 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1021s # * 1021s # * The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_for_bus_sync ( 1021s # GBusType bus_type, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GInitable *ret; 1021s # 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); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # 1021s # /* ------------------------------------------------------------------------ */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceSkeleton: 1021s # * 1021s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceSkeletonClass: 1021s # * @parent_class: The parent class. 1021s # * 1021s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1021s # */ 1021s # 1021s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1021s # { 1021s # GValue *properties; 1021s # GList *changed_properties; 1021s # GSource *changed_properties_idle_source; 1021s # GMainContext *context; 1021s # GMutex lock; 1021s # }; 1021s # 1021s # static void 1021s # _org_project_useful_interface_skeleton_handle_method_call ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name, 1021s # const gchar *method_name, 1021s # GVariant *parameters, 1021s # GDBusMethodInvocation *invocation, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # _ExtendedGDBusMethodInfo *info; 1021s # GVariantIter iter; 1021s # GVariant *child; 1021s # GValue *paramv; 1021s # gsize num_params; 1021s # guint num_extra; 1021s # gsize n; 1021s # guint signal_id; 1021s # GValue return_value = G_VALUE_INIT; 1021s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1021s # g_assert (info != NULL); 1021s # num_params = g_variant_n_children (parameters); 1021s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1021s # n = 0; 1021s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_set_object (¶mv[n++], skeleton); 1021s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1021s # g_value_set_object (¶mv[n++], invocation); 1021s # if (info->pass_fdlist) 1021s # { 1021s # #ifdef G_OS_UNIX 1021s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1021s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1021s # #else 1021s # g_assert_not_reached (); 1021s # #endif 1021s # } 1021s # g_variant_iter_init (&iter, parameters); 1021s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1021s # { 1021s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1021s # if (arg_info->use_gvariant) 1021s # { 1021s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1021s # g_value_set_variant (¶mv[n], child); 1021s # n++; 1021s # } 1021s # else 1021s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1021s # g_variant_unref (child); 1021s # } 1021s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1021s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1021s # if (!g_value_get_boolean (&return_value)) 1021s # 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); 1021s # g_value_unset (&return_value); 1021s # for (n = 0; n < num_params + num_extra; n++) 1021s # g_value_unset (¶mv[n]); 1021s # g_free (paramv); 1021s # } 1021s # 1021s # static GVariant * 1021s # _org_project_useful_interface_skeleton_handle_get_property ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name G_GNUC_UNUSED, 1021s # const gchar *property_name, 1021s # GError **error, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # GValue value = G_VALUE_INIT; 1021s # GParamSpec *pspec; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # GVariant *ret; 1021s # ret = NULL; 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1021s # g_assert (info != NULL); 1021s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1021s # if (pspec == NULL) 1021s # { 1021s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1021s # } 1021s # else 1021s # { 1021s # g_value_init (&value, pspec->value_type); 1021s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1021s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1021s # g_value_unset (&value); 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static gboolean 1021s # _org_project_useful_interface_skeleton_handle_set_property ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name G_GNUC_UNUSED, 1021s # const gchar *property_name, 1021s # GVariant *variant, 1021s # GError **error, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # GValue value = G_VALUE_INIT; 1021s # GParamSpec *pspec; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # gboolean ret; 1021s # ret = FALSE; 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1021s # g_assert (info != NULL); 1021s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1021s # if (pspec == NULL) 1021s # { 1021s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1021s # } 1021s # else 1021s # { 1021s # if (info->use_gvariant) 1021s # g_value_set_variant (&value, variant); 1021s # else 1021s # g_dbus_gvariant_to_gvalue (variant, &value); 1021s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1021s # g_value_unset (&value); 1021s # ret = TRUE; 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1021s # { 1021s # _org_project_useful_interface_skeleton_handle_method_call, 1021s # _org_project_useful_interface_skeleton_handle_get_property, 1021s # _org_project_useful_interface_skeleton_handle_set_property, 1021s # {NULL} 1021s # }; 1021s # 1021s # static GDBusInterfaceInfo * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1021s # { 1021s # return org_project_useful_interface_interface_info (); 1021s # } 1021s # 1021s # static GDBusInterfaceVTable * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1021s # { 1021s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1021s # } 1021s # 1021s # static GVariant * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1021s # 1021s # GVariantBuilder builder; 1021s # guint n; 1021s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1021s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1021s # goto out; 1021s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1021s # { 1021s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1021s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1021s # { 1021s # GVariant *value; 1021s # 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); 1021s # if (value != NULL) 1021s # { 1021s # g_variant_take_ref (value); 1021s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1021s # g_variant_unref (value); 1021s # } 1021s # } 1021s # } 1021s # out: 1021s # return g_variant_builder_end (&builder); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1021s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1021s # 1021s # #else 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1021s # 1021s # #endif 1021s # static void 1021s # org_project_useful_interface_skeleton_finalize (GObject *object) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1021s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1021s # if (skeleton->priv->changed_properties_idle_source != NULL) 1021s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1021s # g_main_context_unref (skeleton->priv->context); 1021s # g_mutex_clear (&skeleton->priv->lock); 1021s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1021s # { 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1021s # #else 1021s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1021s # #endif 1021s # 1021s # g_mutex_init (&skeleton->priv->lock); 1021s # skeleton->priv->context = g_main_context_ref_thread_default (); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1021s # { 1021s # GObjectClass *gobject_class; 1021s # GDBusInterfaceSkeletonClass *skeleton_class; 1021s # 1021s # gobject_class = G_OBJECT_CLASS (klass); 1021s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1021s # 1021s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1021s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1021s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1021s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1021s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1021s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1021s # #endif 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_skeleton_new: 1021s # * 1021s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_skeleton_new (void) 1021s # { 1021s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1021s # } 1021s # /tmp/tmp32mbzb2s/tmpazt9iz1h.xml: 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp32mbzb2s/tmpazt9iz1h.xml', '--output', '-', '--body'] 1021s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1021s # Output: /* 1021s # * This file is generated by gdbus-codegen, do not modify it. 1021s # * 1021s # * The license of this code is the same as for the D-Bus interface description 1021s # * it was derived from. Note that it links to GLib, so must comply with the 1021s # * LGPL linking clauses. 1021s # */ 1021s # 1021s # #ifdef HAVE_CONFIG_H 1021s # # include "config.h" 1021s # #endif 1021s # 1021s # #include 1021s # #ifdef G_OS_UNIX 1021s # # include 1021s # #endif 1021s # 1021s # #ifdef G_ENABLE_DEBUG 1021s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1021s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1021s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1021s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1021s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1021s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1021s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1021s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1021s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1021s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1021s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1021s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1021s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1021s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1021s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1021s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1021s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1021s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1021s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1021s # #else /* !G_ENABLE_DEBUG */ 1021s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1021s # * Do not access GValues directly in your code. Instead, use the 1021s # * g_value_get_*() functions 1021s # */ 1021s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1021s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1021s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1021s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1021s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1021s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1021s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1021s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1021s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1021s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1021s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1021s # #endif /* !G_ENABLE_DEBUG */ 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusArgInfo parent_struct; 1021s # gboolean use_gvariant; 1021s # } _ExtendedGDBusArgInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusMethodInfo parent_struct; 1021s # const gchar *signal_name; 1021s # gboolean pass_fdlist; 1021s # } _ExtendedGDBusMethodInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusSignalInfo parent_struct; 1021s # const gchar *signal_name; 1021s # } _ExtendedGDBusSignalInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusPropertyInfo parent_struct; 1021s # const gchar *hyphen_name; 1021s # guint use_gvariant : 1; 1021s # guint emits_changed_signal : 1; 1021s # } _ExtendedGDBusPropertyInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusInterfaceInfo parent_struct; 1021s # const gchar *hyphen_name; 1021s # } _ExtendedGDBusInterfaceInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # const _ExtendedGDBusPropertyInfo *info; 1021s # guint prop_id; 1021s # GValue orig_value; /* the value before the change */ 1021s # } ChangedProperty; 1021s # 1021s # static void 1021s # _changed_property_free (ChangedProperty *data) 1021s # { 1021s # g_value_unset (&data->orig_value); 1021s # g_free (data); 1021s # } 1021s # 1021s # static gboolean 1021s # _g_strv_equal0 (gchar **a, gchar **b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # guint n; 1021s # if (a == NULL && b == NULL) 1021s # { 1021s # ret = TRUE; 1021s # goto out; 1021s # } 1021s # if (a == NULL || b == NULL) 1021s # goto out; 1021s # if (g_strv_length (a) != g_strv_length (b)) 1021s # goto out; 1021s # for (n = 0; a[n] != NULL; n++) 1021s # if (g_strcmp0 (a[n], b[n]) != 0) 1021s # goto out; 1021s # ret = TRUE; 1021s # out: 1021s # return ret; 1021s # } 1021s # 1021s # static gboolean 1021s # _g_variant_equal0 (GVariant *a, GVariant *b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # if (a == NULL && b == NULL) 1021s # { 1021s # ret = TRUE; 1021s # goto out; 1021s # } 1021s # if (a == NULL || b == NULL) 1021s # goto out; 1021s # ret = g_variant_equal (a, b); 1021s # out: 1021s # return ret; 1021s # } 1021s # 1021s # G_GNUC_UNUSED static gboolean 1021s # _g_value_equal (const GValue *a, const GValue *b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1021s # switch (G_VALUE_TYPE (a)) 1021s # { 1021s # case G_TYPE_BOOLEAN: 1021s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1021s # break; 1021s # case G_TYPE_UCHAR: 1021s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1021s # break; 1021s # case G_TYPE_INT: 1021s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1021s # break; 1021s # case G_TYPE_UINT: 1021s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1021s # break; 1021s # case G_TYPE_INT64: 1021s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1021s # break; 1021s # case G_TYPE_UINT64: 1021s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1021s # break; 1021s # case G_TYPE_DOUBLE: 1021s # { 1021s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1021s # gdouble da = g_value_get_double (a); 1021s # gdouble db = g_value_get_double (b); 1021s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1021s # } 1021s # break; 1021s # case G_TYPE_STRING: 1021s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1021s # break; 1021s # case G_TYPE_VARIANT: 1021s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1021s # break; 1021s # default: 1021s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1021s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1021s # else 1021s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1021s # break; 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static void 1021s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1021s # GClosure *closure, 1021s # GValue *return_value, 1021s # unsigned int n_param_values, 1021s # const GValue *param_values, 1021s # void *invocation_hint G_GNUC_UNUSED, 1021s # void *marshal_data) 1021s # { 1021s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1021s # (void *data1, 1021s # GDBusMethodInvocation *arg_method_invocation, 1021s # guint arg_arg_u, 1021s # void *data2); 1021s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1021s # GCClosure *cc = (GCClosure*) closure; 1021s # void *data1, *data2; 1021s # gboolean v_return; 1021s # 1021s # g_return_if_fail (return_value != NULL); 1021s # g_return_if_fail (n_param_values == 3); 1021s # 1021s # if (G_CCLOSURE_SWAP_DATA (closure)) 1021s # { 1021s # data1 = closure->data; 1021s # data2 = g_value_peek_pointer (param_values + 0); 1021s # } 1021s # else 1021s # { 1021s # data1 = g_value_peek_pointer (param_values + 0); 1021s # data2 = closure->data; 1021s # } 1021s # 1021s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1021s # (marshal_data ? marshal_data : cc->callback); 1021s # 1021s # v_return = 1021s # callback (data1, 1021s # g_marshal_value_peek_object (param_values + 1), 1021s # g_marshal_value_peek_uint (param_values + 2), 1021s # data2); 1021s # 1021s # g_value_set_boolean (return_value, v_return); 1021s # } 1021s # 1021s # /* ------------------------------------------------------------------------ 1021s # * Code for interface org.project.UsefulInterface 1021s # * ------------------------------------------------------------------------ 1021s # */ 1021s # 1021s # /** 1021s # * SECTION:OrgProjectUsefulInterface 1021s # * @title: OrgProjectUsefulInterface 1021s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1021s # * 1021s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1021s # */ 1021s # 1021s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1021s # 1021s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "arg_u", 1021s # (gchar *) "u", 1021s # NULL 1021s # }, 1021s # FALSE 1021s # }; 1021s # 1021s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 1021s # { 1021s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 1021s # NULL 1021s # }; 1021s # 1021s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "SingleArgMethodU", 1021s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 1021s # NULL, 1021s # NULL 1021s # }, 1021s # "handle-single-arg-method-u", 1021s # FALSE 1021s # }; 1021s # 1021s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1021s # { 1021s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1021s # NULL 1021s # }; 1021s # 1021s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "org.project.UsefulInterface", 1021s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1021s # NULL, 1021s # NULL, 1021s # NULL 1021s # }, 1021s # "org-project-useful-interface", 1021s # }; 1021s # 1021s # 1021s # /** 1021s # * org_project_useful_interface_interface_info: 1021s # * 1021s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1021s # * 1021s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1021s # */ 1021s # GDBusInterfaceInfo * 1021s # org_project_useful_interface_interface_info (void) 1021s # { 1021s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_override_properties: 1021s # * @klass: The class structure for a #GObject derived class. 1021s # * @property_id_begin: The property id to assign to the first overridden property. 1021s # * 1021s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1021s # * The properties are overridden in the order they are defined. 1021s # * 1021s # * Returns: The last property id. 1021s # */ 1021s # guint 1021s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1021s # { 1021s # return property_id_begin - 1; 1021s # } 1021s # 1021s # 1021s # inline static void 1021s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1021s # GClosure *closure, 1021s # GValue *return_value, 1021s # unsigned int n_param_values, 1021s # const GValue *param_values, 1021s # void *invocation_hint, 1021s # void *marshal_data) 1021s # { 1021s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1021s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1021s # } 1021s # 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterface: 1021s # * 1021s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceIface: 1021s # * @parent_iface: The parent interface. 1021s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1021s # * 1021s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1021s # */ 1021s # 1021s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1021s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1021s # 1021s # static void 1021s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1021s # { 1021s # /* GObject signals for incoming D-Bus method calls: */ 1021s # /** 1021s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1021s # * @object: A #OrgProjectUsefulInterface. 1021s # * @invocation: A #GDBusMethodInvocation. 1021s # * @arg_arg_u: Argument passed by remote caller. 1021s # * 1021s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1021s # * 1021s # * 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. 1021s # * 1021s # * 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. 1021s # */ 1021s # g_signal_new ("handle-single-arg-method-u", 1021s # G_TYPE_FROM_INTERFACE (iface), 1021s # G_SIGNAL_RUN_LAST, 1021s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1021s # g_signal_accumulator_true_handled, 1021s # NULL, 1021s # org_project_useful_interface_method_marshal_single_arg_method_u, 1021s # G_TYPE_BOOLEAN, 1021s # 2, 1021s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1021s # 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_u: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @arg_arg_u: Argument to pass with the method invocation. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1021s # */ 1021s # void 1021s # org_project_useful_interface_call_single_arg_method_u ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # guint arg_arg_u, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1021s # "SingleArgMethodU", 1021s # g_variant_new ("(u)", 1021s # arg_arg_u), 1021s # G_DBUS_CALL_FLAGS_NONE, 1021s # -1, 1021s # cancellable, 1021s # callback, 1021s # user_data); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_u_finish: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1021s # * @error: Return location for error or %NULL. 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1021s # * 1021s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1021s # */ 1021s # gboolean 1021s # org_project_useful_interface_call_single_arg_method_u_finish ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GVariant *_ret; 1021s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1021s # if (_ret == NULL) 1021s # goto _out; 1021s # g_variant_get (_ret, 1021s # "()"); 1021s # g_variant_unref (_ret); 1021s # _out: 1021s # return _ret != NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_u_sync: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @arg_arg_u: Argument to pass with the method invocation. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL. 1021s # * 1021s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1021s # * 1021s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1021s # */ 1021s # gboolean 1021s # org_project_useful_interface_call_single_arg_method_u_sync ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # guint arg_arg_u, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GVariant *_ret; 1021s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1021s # "SingleArgMethodU", 1021s # g_variant_new ("(u)", 1021s # arg_arg_u), 1021s # G_DBUS_CALL_FLAGS_NONE, 1021s # -1, 1021s # cancellable, 1021s # error); 1021s # if (_ret == NULL) 1021s # goto _out; 1021s # g_variant_get (_ret, 1021s # "()"); 1021s # g_variant_unref (_ret); 1021s # _out: 1021s # return _ret != NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_complete_single_arg_method_u: 1021s # * @object: A #OrgProjectUsefulInterface. 1021s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1021s # * 1021s # * 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. 1021s # * 1021s # * This method will free @invocation, you cannot use it afterwards. 1021s # */ 1021s # void 1021s # org_project_useful_interface_complete_single_arg_method_u ( 1021s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1021s # GDBusMethodInvocation *invocation) 1021s # { 1021s # g_dbus_method_invocation_return_value (invocation, 1021s # g_variant_new ("()")); 1021s # } 1021s # 1021s # /* ------------------------------------------------------------------------ */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceProxy: 1021s # * 1021s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceProxyClass: 1021s # * @parent_class: The parent class. 1021s # * 1021s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1021s # */ 1021s # 1021s # struct _OrgProjectUsefulInterfaceProxyPrivate 1021s # { 1021s # GData *qdata; 1021s # }; 1021s # 1021s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1021s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1021s # 1021s # #else 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1021s # 1021s # #endif 1021s # static void 1021s # org_project_useful_interface_proxy_finalize (GObject *object) 1021s # { 1021s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1021s # g_datalist_clear (&proxy->priv->qdata); 1021s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1021s # guint prop_id G_GNUC_UNUSED, 1021s # GValue *value G_GNUC_UNUSED, 1021s # GParamSpec *pspec G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1021s # guint prop_id G_GNUC_UNUSED, 1021s # const GValue *value G_GNUC_UNUSED, 1021s # GParamSpec *pspec G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1021s # const gchar *sender_name G_GNUC_UNUSED, 1021s # const gchar *signal_name, 1021s # GVariant *parameters) 1021s # { 1021s # _ExtendedGDBusSignalInfo *info; 1021s # GVariantIter iter; 1021s # GVariant *child; 1021s # GValue *paramv; 1021s # gsize num_params; 1021s # gsize n; 1021s # guint signal_id; 1021s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1021s # if (info == NULL) 1021s # return; 1021s # num_params = g_variant_n_children (parameters); 1021s # paramv = g_new0 (GValue, num_params + 1); 1021s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_set_object (¶mv[0], proxy); 1021s # g_variant_iter_init (&iter, parameters); 1021s # n = 1; 1021s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1021s # { 1021s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1021s # if (arg_info->use_gvariant) 1021s # { 1021s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1021s # g_value_set_variant (¶mv[n], child); 1021s # n++; 1021s # } 1021s # else 1021s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1021s # g_variant_unref (child); 1021s # } 1021s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_signal_emitv (paramv, signal_id, 0, NULL); 1021s # for (n = 0; n < num_params + 1; n++) 1021s # g_value_unset (¶mv[n]); 1021s # g_free (paramv); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1021s # GVariant *changed_properties, 1021s # const gchar *const *invalidated_properties) 1021s # { 1021s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1021s # guint n; 1021s # const gchar *key; 1021s # GVariantIter *iter; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # g_variant_get (changed_properties, "a{sv}", &iter); 1021s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1021s # { 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1021s # g_datalist_remove_data (&proxy->priv->qdata, key); 1021s # if (info != NULL) 1021s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1021s # } 1021s # g_variant_iter_free (iter); 1021s # for (n = 0; invalidated_properties[n] != NULL; n++) 1021s # { 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1021s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1021s # if (info != NULL) 1021s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1021s # } 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1021s # { 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1021s # #else 1021s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1021s # #endif 1021s # 1021s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1021s # { 1021s # GObjectClass *gobject_class; 1021s # GDBusProxyClass *proxy_class; 1021s # 1021s # gobject_class = G_OBJECT_CLASS (klass); 1021s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1021s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1021s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1021s # 1021s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1021s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1021s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1021s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1021s # #endif 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new: 1021s # * @connection: A #GDBusConnection. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1021s # * 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1021s # */ 1021s # void 1021s # org_project_useful_interface_proxy_new ( 1021s # GDBusConnection *connection, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # 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); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_finish: 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_finish ( 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GObject *ret; 1021s # GObject *source_object; 1021s # source_object = g_async_result_get_source_object (res); 1021s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1021s # g_object_unref (source_object); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_sync: 1021s # * @connection: A #GDBusConnection. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1021s # * 1021s # * The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_sync ( 1021s # GDBusConnection *connection, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GInitable *ret; 1021s # 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); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus: 1021s # * @bus_type: A #GBusType. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: A bus name (well-known or unique). 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1021s # * 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1021s # */ 1021s # void 1021s # org_project_useful_interface_proxy_new_for_bus ( 1021s # GBusType bus_type, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # 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); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus_finish: 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_for_bus_finish ( 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GObject *ret; 1021s # GObject *source_object; 1021s # source_object = g_async_result_get_source_object (res); 1021s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1021s # g_object_unref (source_object); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus_sync: 1021s # * @bus_type: A #GBusType. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: A bus name (well-known or unique). 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1021s # * 1021s # * The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_for_bus_sync ( 1021s # GBusType bus_type, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GInitable *ret; 1021s # 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); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # 1021s # /* ------------------------------------------------------------------------ */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceSkeleton: 1021s # * 1021s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceSkeletonClass: 1021s # * @parent_class: The parent class. 1021s # * 1021s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1021s # */ 1021s # 1021s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1021s # { 1021s # GValue *properties; 1021s # GList *changed_properties; 1021s # GSource *changed_properties_idle_source; 1021s # GMainContext *context; 1021s # GMutex lock; 1021s # }; 1021s # 1021s # static void 1021s # _org_project_useful_interface_skeleton_handle_method_call ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name, 1021s # const gchar *method_name, 1021s # GVariant *parameters, 1021s # GDBusMethodInvocation *invocation, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # _ExtendedGDBusMethodInfo *info; 1021s # GVariantIter iter; 1021s # GVariant *child; 1021s # GValue *paramv; 1021s # gsize num_params; 1021s # guint num_extra; 1021s # gsize n; 1021s # guint signal_id; 1021s # GValue return_value = G_VALUE_INIT; 1021s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1021s # g_assert (info != NULL); 1021s # num_params = g_variant_n_children (parameters); 1021s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1021s # n = 0; 1021s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_set_object (¶mv[n++], skeleton); 1021s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1021s # g_value_set_object (¶mv[n++], invocation); 1021s # if (info->pass_fdlist) 1021s # { 1021s # #ifdef G_OS_UNIX 1021s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1021s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1021s # #else 1021s # g_assert_not_reached (); 1021s # #endif 1021s # } 1021s # g_variant_iter_init (&iter, parameters); 1021s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1021s # { 1021s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1021s # if (arg_info->use_gvariant) 1021s # { 1021s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1021s # g_value_set_variant (¶mv[n], child); 1021s # n++; 1021s # } 1021s # else 1021s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1021s # g_variant_unref (child); 1021s # } 1021s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1021s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1021s # if (!g_value_get_boolean (&return_value)) 1021s # 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); 1021s # g_value_unset (&return_value); 1021s # for (n = 0; n < num_params + num_extra; n++) 1021s # g_value_unset (¶mv[n]); 1021s # g_free (paramv); 1021s # } 1021s # 1021s # static GVariant * 1021s # _org_project_useful_interface_skeleton_handle_get_property ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name G_GNUC_UNUSED, 1021s # const gchar *property_name, 1021s # GError **error, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # GValue value = G_VALUE_INIT; 1021s # GParamSpec *pspec; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # GVariant *ret; 1021s # ret = NULL; 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1021s # g_assert (info != NULL); 1021s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1021s # if (pspec == NULL) 1021s # { 1021s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1021s # } 1021s # else 1021s # { 1021s # g_value_init (&value, pspec->value_type); 1021s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1021s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1021s # g_value_unset (&value); 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static gboolean 1021s # _org_project_useful_interface_skeleton_handle_set_property ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name G_GNUC_UNUSED, 1021s # const gchar *property_name, 1021s # GVariant *variant, 1021s # GError **error, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # GValue value = G_VALUE_INIT; 1021s # GParamSpec *pspec; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # gboolean ret; 1021s # ret = FALSE; 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1021s # g_assert (info != NULL); 1021s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1021s # if (pspec == NULL) 1021s # { 1021s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1021s # } 1021s # else 1021s # { 1021s # if (info->use_gvariant) 1021s # g_value_set_variant (&value, variant); 1021s # else 1021s # g_dbus_gvariant_to_gvalue (variant, &value); 1021s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1021s # g_value_unset (&value); 1021s # ret = TRUE; 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1021s # { 1021s # _org_project_useful_interface_skeleton_handle_method_call, 1021s # _org_project_useful_interface_skeleton_handle_get_property, 1021s # _org_project_useful_interface_skeleton_handle_set_property, 1021s # {NULL} 1021s # }; 1021s # 1021s # static GDBusInterfaceInfo * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1021s # { 1021s # return org_project_useful_interface_interface_info (); 1021s # } 1021s # 1021s # static GDBusInterfaceVTable * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1021s # { 1021s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1021s # } 1021s # 1021s # static GVariant * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1021s # 1021s # GVariantBuilder builder; 1021s # guint n; 1021s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1021s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1021s # goto out; 1021s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1021s # { 1021s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1021s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1021s # { 1021s # GVariant *value; 1021s # 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); 1021s # if (value != NULL) 1021s # { 1021s # g_variant_take_ref (value); 1021s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1021s # g_variant_unref (value); 1021s # } 1021s # } 1021s # } 1021s # out: 1021s # return g_variant_builder_end (&builder); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1021s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1021s # 1021s # #else 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1021s # 1021s # #endif 1021s # static void 1021s # org_project_useful_interface_skeleton_finalize (GObject *object) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1021s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1021s # if (skeleton->priv->changed_properties_idle_source != NULL) 1021s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1021s # g_main_context_unref (skeleton->priv->context); 1021s # g_mutex_clear (&skeleton->priv->lock); 1021s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1021s # { 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1021s # #else 1021s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1021s # #endif 1021s # 1021s # g_mutex_init (&skeleton->priv->lock); 1021s # skeleton->priv->context = g_main_context_ref_thread_default (); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1021s # { 1021s # GObjectClass *gobject_class; 1021s # GDBusInterfaceSkeletonClass *skeleton_class; 1021s # 1021s # gobject_class = G_OBJECT_CLASS (klass); 1021s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1021s # 1021s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1021s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1021s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1021s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1021s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1021s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1021s # #endif 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_skeleton_new: 1021s # * 1021s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_skeleton_new (void) 1021s # { 1021s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1021s # } 1021s # /tmp/tmp32mbzb2s/tmp1d8wwwxb.xml: 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp32mbzb2s/tmp1d8wwwxb.xml', '--output', '-', '--body'] 1021s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1021s # Output: /* 1021s # * This file is generated by gdbus-codegen, do not modify it. 1021s # * 1021s # * The license of this code is the same as for the D-Bus interface description 1021s # * it was derived from. Note that it links to GLib, so must comply with the 1021s # * LGPL linking clauses. 1021s # */ 1021s # 1021s # #ifdef HAVE_CONFIG_H 1021s # # include "config.h" 1021s # #endif 1021s # 1021s # #include 1021s # #ifdef G_OS_UNIX 1021s # # include 1021s # #endif 1021s # 1021s # #ifdef G_ENABLE_DEBUG 1021s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1021s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1021s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1021s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1021s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1021s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1021s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1021s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1021s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1021s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1021s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1021s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1021s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1021s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1021s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1021s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1021s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1021s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1021s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1021s # #else /* !G_ENABLE_DEBUG */ 1021s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1021s # * Do not access GValues directly in your code. Instead, use the 1021s # * g_value_get_*() functions 1021s # */ 1021s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1021s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1021s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1021s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1021s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1021s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1021s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1021s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1021s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1021s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1021s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1021s # #endif /* !G_ENABLE_DEBUG */ 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusArgInfo parent_struct; 1021s # gboolean use_gvariant; 1021s # } _ExtendedGDBusArgInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusMethodInfo parent_struct; 1021s # const gchar *signal_name; 1021s # gboolean pass_fdlist; 1021s # } _ExtendedGDBusMethodInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusSignalInfo parent_struct; 1021s # const gchar *signal_name; 1021s # } _ExtendedGDBusSignalInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusPropertyInfo parent_struct; 1021s # const gchar *hyphen_name; 1021s # guint use_gvariant : 1; 1021s # guint emits_changed_signal : 1; 1021s # } _ExtendedGDBusPropertyInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusInterfaceInfo parent_struct; 1021s # const gchar *hyphen_name; 1021s # } _ExtendedGDBusInterfaceInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # const _ExtendedGDBusPropertyInfo *info; 1021s # guint prop_id; 1021s # GValue orig_value; /* the value before the change */ 1021s # } ChangedProperty; 1021s # 1021s # static void 1021s # _changed_property_free (ChangedProperty *data) 1021s # { 1021s # g_value_unset (&data->orig_value); 1021s # g_free (data); 1021s # } 1021s # 1021s # static gboolean 1021s # _g_strv_equal0 (gchar **a, gchar **b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # guint n; 1021s # if (a == NULL && b == NULL) 1021s # { 1021s # ret = TRUE; 1021s # goto out; 1021s # } 1021s # if (a == NULL || b == NULL) 1021s # goto out; 1021s # if (g_strv_length (a) != g_strv_length (b)) 1021s # goto out; 1021s # for (n = 0; a[n] != NULL; n++) 1021s # if (g_strcmp0 (a[n], b[n]) != 0) 1021s # goto out; 1021s # ret = TRUE; 1021s # out: 1021s # return ret; 1021s # } 1021s # 1021s # static gboolean 1021s # _g_variant_equal0 (GVariant *a, GVariant *b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # if (a == NULL && b == NULL) 1021s # { 1021s # ret = TRUE; 1021s # goto out; 1021s # } 1021s # if (a == NULL || b == NULL) 1021s # goto out; 1021s # ret = g_variant_equal (a, b); 1021s # out: 1021s # return ret; 1021s # } 1021s # 1021s # G_GNUC_UNUSED static gboolean 1021s # _g_value_equal (const GValue *a, const GValue *b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1021s # switch (G_VALUE_TYPE (a)) 1021s # { 1021s # case G_TYPE_BOOLEAN: 1021s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1021s # break; 1021s # case G_TYPE_UCHAR: 1021s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1021s # break; 1021s # case G_TYPE_INT: 1021s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1021s # break; 1021s # case G_TYPE_UINT: 1021s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1021s # break; 1021s # case G_TYPE_INT64: 1021s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1021s # break; 1021s # case G_TYPE_UINT64: 1021s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1021s # break; 1021s # case G_TYPE_DOUBLE: 1021s # { 1021s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1021s # gdouble da = g_value_get_double (a); 1021s # gdouble db = g_value_get_double (b); 1021s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1021s # } 1021s # break; 1021s # case G_TYPE_STRING: 1021s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1021s # break; 1021s # case G_TYPE_VARIANT: 1021s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1021s # break; 1021s # default: 1021s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1021s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1021s # else 1021s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1021s # break; 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static void 1021s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 1021s # GClosure *closure, 1021s # GValue *return_value, 1021s # unsigned int n_param_values, 1021s # const GValue *param_values, 1021s # void *invocation_hint G_GNUC_UNUSED, 1021s # void *marshal_data) 1021s # { 1021s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1021s # (void *data1, 1021s # GDBusMethodInvocation *arg_method_invocation, 1021s # gint64 arg_arg_x, 1021s # void *data2); 1021s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 1021s # GCClosure *cc = (GCClosure*) closure; 1021s # void *data1, *data2; 1021s # gboolean v_return; 1021s # 1021s # g_return_if_fail (return_value != NULL); 1021s # g_return_if_fail (n_param_values == 3); 1021s # 1021s # if (G_CCLOSURE_SWAP_DATA (closure)) 1021s # { 1021s # data1 = closure->data; 1021s # data2 = g_value_peek_pointer (param_values + 0); 1021s # } 1021s # else 1021s # { 1021s # data1 = g_value_peek_pointer (param_values + 0); 1021s # data2 = closure->data; 1021s # } 1021s # 1021s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1021s # (marshal_data ? marshal_data : cc->callback); 1021s # 1021s # v_return = 1021s # callback (data1, 1021s # g_marshal_value_peek_object (param_values + 1), 1021s # g_marshal_value_peek_int64 (param_values + 2), 1021s # data2); 1021s # 1021s # g_value_set_boolean (return_value, v_return); 1021s # } 1021s # 1021s # /* ------------------------------------------------------------------------ 1021s # * Code for interface org.project.UsefulInterface 1021s # * ------------------------------------------------------------------------ 1021s # */ 1021s # 1021s # /** 1021s # * SECTION:OrgProjectUsefulInterface 1021s # * @title: OrgProjectUsefulInterface 1021s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1021s # * 1021s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1021s # */ 1021s # 1021s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1021s # 1021s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "arg_x", 1021s # (gchar *) "x", 1021s # NULL 1021s # }, 1021s # FALSE 1021s # }; 1021s # 1021s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 1021s # { 1021s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 1021s # NULL 1021s # }; 1021s # 1021s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "SingleArgMethodX", 1021s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 1021s # NULL, 1021s # NULL 1021s # }, 1021s # "handle-single-arg-method-x", 1021s # FALSE 1021s # }; 1021s # 1021s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1021s # { 1021s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1021s # NULL 1021s # }; 1021s # 1021s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "org.project.UsefulInterface", 1021s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1021s # NULL, 1021s # NULL, 1021s # NULL 1021s # }, 1021s # "org-project-useful-interface", 1021s # }; 1021s # 1021s # 1021s # /** 1021s # * org_project_useful_interface_interface_info: 1021s # * 1021s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1021s # * 1021s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1021s # */ 1021s # GDBusInterfaceInfo * 1021s # org_project_useful_interface_interface_info (void) 1021s # { 1021s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_override_properties: 1021s # * @klass: The class structure for a #GObject derived class. 1021s # * @property_id_begin: The property id to assign to the first overridden property. 1021s # * 1021s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1021s # * The properties are overridden in the order they are defined. 1021s # * 1021s # * Returns: The last property id. 1021s # */ 1021s # guint 1021s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1021s # { 1021s # return property_id_begin - 1; 1021s # } 1021s # 1021s # 1021s # inline static void 1021s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1021s # GClosure *closure, 1021s # GValue *return_value, 1021s # unsigned int n_param_values, 1021s # const GValue *param_values, 1021s # void *invocation_hint, 1021s # void *marshal_data) 1021s # { 1021s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 1021s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1021s # } 1021s # 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterface: 1021s # * 1021s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceIface: 1021s # * @parent_iface: The parent interface. 1021s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1021s # * 1021s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1021s # */ 1021s # 1021s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1021s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1021s # 1021s # static void 1021s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1021s # { 1021s # /* GObject signals for incoming D-Bus method calls: */ 1021s # /** 1021s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1021s # * @object: A #OrgProjectUsefulInterface. 1021s # * @invocation: A #GDBusMethodInvocation. 1021s # * @arg_arg_x: Argument passed by remote caller. 1021s # * 1021s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1021s # * 1021s # * 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. 1021s # * 1021s # * 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. 1021s # */ 1021s # g_signal_new ("handle-single-arg-method-x", 1021s # G_TYPE_FROM_INTERFACE (iface), 1021s # G_SIGNAL_RUN_LAST, 1021s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1021s # g_signal_accumulator_true_handled, 1021s # NULL, 1021s # org_project_useful_interface_method_marshal_single_arg_method_x, 1021s # G_TYPE_BOOLEAN, 1021s # 2, 1021s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 1021s # 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_x: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @arg_arg_x: Argument to pass with the method invocation. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1021s # */ 1021s # void 1021s # org_project_useful_interface_call_single_arg_method_x ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # gint64 arg_arg_x, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1021s # "SingleArgMethodX", 1021s # g_variant_new ("(x)", 1021s # arg_arg_x), 1021s # G_DBUS_CALL_FLAGS_NONE, 1021s # -1, 1021s # cancellable, 1021s # callback, 1021s # user_data); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_x_finish: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1021s # * @error: Return location for error or %NULL. 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1021s # * 1021s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1021s # */ 1021s # gboolean 1021s # org_project_useful_interface_call_single_arg_method_x_finish ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GVariant *_ret; 1021s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1021s # if (_ret == NULL) 1021s # goto _out; 1021s # g_variant_get (_ret, 1021s # "()"); 1021s # g_variant_unref (_ret); 1021s # _out: 1021s # return _ret != NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_x_sync: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @arg_arg_x: Argument to pass with the method invocation. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL. 1021s # * 1021s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1021s # * 1021s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1021s # */ 1021s # gboolean 1021s # org_project_useful_interface_call_single_arg_method_x_sync ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # gint64 arg_arg_x, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GVariant *_ret; 1021s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1021s # "SingleArgMethodX", 1021s # g_variant_new ("(x)", 1021s # arg_arg_x), 1021s # G_DBUS_CALL_FLAGS_NONE, 1021s # -1, 1021s # cancellable, 1021s # error); 1021s # if (_ret == NULL) 1021s # goto _out; 1021s # g_variant_get (_ret, 1021s # "()"); 1021s # g_variant_unref (_ret); 1021s # _out: 1021s # return _ret != NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_complete_single_arg_method_x: 1021s # * @object: A #OrgProjectUsefulInterface. 1021s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1021s # * 1021s # * 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. 1021s # * 1021s # * This method will free @invocation, you cannot use it afterwards. 1021s # */ 1021s # void 1021s # org_project_useful_interface_complete_single_arg_method_x ( 1021s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1021s # GDBusMethodInvocation *invocation) 1021s # { 1021s # g_dbus_method_invocation_return_value (invocation, 1021s # g_variant_new ("()")); 1021s # } 1021s # 1021s # /* ------------------------------------------------------------------------ */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceProxy: 1021s # * 1021s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceProxyClass: 1021s # * @parent_class: The parent class. 1021s # * 1021s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1021s # */ 1021s # 1021s # struct _OrgProjectUsefulInterfaceProxyPrivate 1021s # { 1021s # GData *qdata; 1021s # }; 1021s # 1021s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1021s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1021s # 1021s # #else 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1021s # 1021s # #endif 1021s # static void 1021s # org_project_useful_interface_proxy_finalize (GObject *object) 1021s # { 1021s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1021s # g_datalist_clear (&proxy->priv->qdata); 1021s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1021s # guint prop_id G_GNUC_UNUSED, 1021s # GValue *value G_GNUC_UNUSED, 1021s # GParamSpec *pspec G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1021s # guint prop_id G_GNUC_UNUSED, 1021s # const GValue *value G_GNUC_UNUSED, 1021s # GParamSpec *pspec G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1021s # const gchar *sender_name G_GNUC_UNUSED, 1021s # const gchar *signal_name, 1021s # GVariant *parameters) 1021s # { 1021s # _ExtendedGDBusSignalInfo *info; 1021s # GVariantIter iter; 1021s # GVariant *child; 1021s # GValue *paramv; 1021s # gsize num_params; 1021s # gsize n; 1021s # guint signal_id; 1021s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1021s # if (info == NULL) 1021s # return; 1021s # num_params = g_variant_n_children (parameters); 1021s # paramv = g_new0 (GValue, num_params + 1); 1021s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_set_object (¶mv[0], proxy); 1021s # g_variant_iter_init (&iter, parameters); 1021s # n = 1; 1021s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1021s # { 1021s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1021s # if (arg_info->use_gvariant) 1021s # { 1021s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1021s # g_value_set_variant (¶mv[n], child); 1021s # n++; 1021s # } 1021s # else 1021s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1021s # g_variant_unref (child); 1021s # } 1021s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_signal_emitv (paramv, signal_id, 0, NULL); 1021s # for (n = 0; n < num_params + 1; n++) 1021s # g_value_unset (¶mv[n]); 1021s # g_free (paramv); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1021s # GVariant *changed_properties, 1021s # const gchar *const *invalidated_properties) 1021s # { 1021s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1021s # guint n; 1021s # const gchar *key; 1021s # GVariantIter *iter; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # g_variant_get (changed_properties, "a{sv}", &iter); 1021s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1021s # { 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1021s # g_datalist_remove_data (&proxy->priv->qdata, key); 1021s # if (info != NULL) 1021s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1021s # } 1021s # g_variant_iter_free (iter); 1021s # for (n = 0; invalidated_properties[n] != NULL; n++) 1021s # { 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1021s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1021s # if (info != NULL) 1021s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1021s # } 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1021s # { 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1021s # #else 1021s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1021s # #endif 1021s # 1021s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1021s # { 1021s # GObjectClass *gobject_class; 1021s # GDBusProxyClass *proxy_class; 1021s # 1021s # gobject_class = G_OBJECT_CLASS (klass); 1021s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1021s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1021s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1021s # 1021s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1021s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1021s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1021s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1021s # #endif 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new: 1021s # * @connection: A #GDBusConnection. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1021s # * 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1021s # */ 1021s # void 1021s # org_project_useful_interface_proxy_new ( 1021s # GDBusConnection *connection, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # 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); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_finish: 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_finish ( 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GObject *ret; 1021s # GObject *source_object; 1021s # source_object = g_async_result_get_source_object (res); 1021s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1021s # g_object_unref (source_object); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_sync: 1021s # * @connection: A #GDBusConnection. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1021s # * 1021s # * The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_sync ( 1021s # GDBusConnection *connection, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GInitable *ret; 1021s # 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); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus: 1021s # * @bus_type: A #GBusType. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: A bus name (well-known or unique). 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1021s # * 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1021s # */ 1021s # void 1021s # org_project_useful_interface_proxy_new_for_bus ( 1021s # GBusType bus_type, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # 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); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus_finish: 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_for_bus_finish ( 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GObject *ret; 1021s # GObject *source_object; 1021s # source_object = g_async_result_get_source_object (res); 1021s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1021s # g_object_unref (source_object); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus_sync: 1021s # * @bus_type: A #GBusType. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: A bus name (well-known or unique). 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1021s # * 1021s # * The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_for_bus_sync ( 1021s # GBusType bus_type, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GInitable *ret; 1021s # 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); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # 1021s # /* ------------------------------------------------------------------------ */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceSkeleton: 1021s # * 1021s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceSkeletonClass: 1021s # * @parent_class: The parent class. 1021s # * 1021s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1021s # */ 1021s # 1021s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1021s # { 1021s # GValue *properties; 1021s # GList *changed_properties; 1021s # GSource *changed_properties_idle_source; 1021s # GMainContext *context; 1021s # GMutex lock; 1021s # }; 1021s # 1021s # static void 1021s # _org_project_useful_interface_skeleton_handle_method_call ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name, 1021s # const gchar *method_name, 1021s # GVariant *parameters, 1021s # GDBusMethodInvocation *invocation, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # _ExtendedGDBusMethodInfo *info; 1021s # GVariantIter iter; 1021s # GVariant *child; 1021s # GValue *paramv; 1021s # gsize num_params; 1021s # guint num_extra; 1021s # gsize n; 1021s # guint signal_id; 1021s # GValue return_value = G_VALUE_INIT; 1021s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1021s # g_assert (info != NULL); 1021s # num_params = g_variant_n_children (parameters); 1021s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1021s # n = 0; 1021s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_set_object (¶mv[n++], skeleton); 1021s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1021s # g_value_set_object (¶mv[n++], invocation); 1021s # if (info->pass_fdlist) 1021s # { 1021s # #ifdef G_OS_UNIX 1021s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1021s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1021s # #else 1021s # g_assert_not_reached (); 1021s # #endif 1021s # } 1021s # g_variant_iter_init (&iter, parameters); 1021s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1021s # { 1021s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1021s # if (arg_info->use_gvariant) 1021s # { 1021s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1021s # g_value_set_variant (¶mv[n], child); 1021s # n++; 1021s # } 1021s # else 1021s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1021s # g_variant_unref (child); 1021s # } 1021s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1021s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1021s # if (!g_value_get_boolean (&return_value)) 1021s # 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); 1021s # g_value_unset (&return_value); 1021s # for (n = 0; n < num_params + num_extra; n++) 1021s # g_value_unset (¶mv[n]); 1021s # g_free (paramv); 1021s # } 1021s # 1021s # static GVariant * 1021s # _org_project_useful_interface_skeleton_handle_get_property ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name G_GNUC_UNUSED, 1021s # const gchar *property_name, 1021s # GError **error, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # GValue value = G_VALUE_INIT; 1021s # GParamSpec *pspec; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # GVariant *ret; 1021s # ret = NULL; 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1021s # g_assert (info != NULL); 1021s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1021s # if (pspec == NULL) 1021s # { 1021s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1021s # } 1021s # else 1021s # { 1021s # g_value_init (&value, pspec->value_type); 1021s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1021s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1021s # g_value_unset (&value); 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static gboolean 1021s # _org_project_useful_interface_skeleton_handle_set_property ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name G_GNUC_UNUSED, 1021s # const gchar *property_name, 1021s # GVariant *variant, 1021s # GError **error, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # GValue value = G_VALUE_INIT; 1021s # GParamSpec *pspec; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # gboolean ret; 1021s # ret = FALSE; 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1021s # g_assert (info != NULL); 1021s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1021s # if (pspec == NULL) 1021s # { 1021s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1021s # } 1021s # else 1021s # { 1021s # if (info->use_gvariant) 1021s # g_value_set_variant (&value, variant); 1021s # else 1021s # g_dbus_gvariant_to_gvalue (variant, &value); 1021s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1021s # g_value_unset (&value); 1021s # ret = TRUE; 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1021s # { 1021s # _org_project_useful_interface_skeleton_handle_method_call, 1021s # _org_project_useful_interface_skeleton_handle_get_property, 1021s # _org_project_useful_interface_skeleton_handle_set_property, 1021s # {NULL} 1021s # }; 1021s # 1021s # static GDBusInterfaceInfo * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1021s # { 1021s # return org_project_useful_interface_interface_info (); 1021s # } 1021s # 1021s # static GDBusInterfaceVTable * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1021s # { 1021s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1021s # } 1021s # 1021s # static GVariant * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1021s # 1021s # GVariantBuilder builder; 1021s # guint n; 1021s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1021s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1021s # goto out; 1021s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1021s # { 1021s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1021s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1021s # { 1021s # GVariant *value; 1021s # 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); 1021s # if (value != NULL) 1021s # { 1021s # g_variant_take_ref (value); 1021s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1021s # g_variant_unref (value); 1021s # } 1021s # } 1021s # } 1021s # out: 1021s # return g_variant_builder_end (&builder); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1021s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1021s # 1021s # #else 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1021s # 1021s # #endif 1021s # static void 1021s # org_project_useful_interface_skeleton_finalize (GObject *object) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1021s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1021s # if (skeleton->priv->changed_properties_idle_source != NULL) 1021s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1021s # g_main_context_unref (skeleton->priv->context); 1021s # g_mutex_clear (&skeleton->priv->lock); 1021s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1021s # { 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1021s # #else 1021s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1021s # #endif 1021s # 1021s # g_mutex_init (&skeleton->priv->lock); 1021s # skeleton->priv->context = g_main_context_ref_thread_default (); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1021s # { 1021s # GObjectClass *gobject_class; 1021s # GDBusInterfaceSkeletonClass *skeleton_class; 1021s # 1021s # gobject_class = G_OBJECT_CLASS (klass); 1021s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1021s # 1021s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1021s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1021s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1021s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1021s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1021s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1021s # #endif 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_skeleton_new: 1021s # * 1021s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_skeleton_new (void) 1021s # { 1021s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1021s # } 1021s # /tmp/tmp32mbzb2s/tmp2k7v78zf.xml: 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp32mbzb2s/tmp2k7v78zf.xml', '--output', '-', '--body'] 1021s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1021s # Output: /* 1021s # * This file is generated by gdbus-codegen, do not modify it. 1021s # * 1021s # * The license of this code is the same as for the D-Bus interface description 1021s # * it was derived from. Note that it links to GLib, so must comply with the 1021s # * LGPL linking clauses. 1021s # */ 1021s # 1021s # #ifdef HAVE_CONFIG_H 1021s # # include "config.h" 1021s # #endif 1021s # 1021s # #include 1021s # #ifdef G_OS_UNIX 1021s # # include 1021s # #endif 1021s # 1021s # #ifdef G_ENABLE_DEBUG 1021s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1021s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1021s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1021s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1021s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1021s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1021s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1021s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1021s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1021s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1021s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1021s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1021s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1021s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1021s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1021s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1021s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1021s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1021s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1021s # #else /* !G_ENABLE_DEBUG */ 1021s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1021s # * Do not access GValues directly in your code. Instead, use the 1021s # * g_value_get_*() functions 1021s # */ 1021s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1021s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1021s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1021s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1021s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1021s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1021s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1021s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1021s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1021s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1021s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1021s # #endif /* !G_ENABLE_DEBUG */ 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusArgInfo parent_struct; 1021s # gboolean use_gvariant; 1021s # } _ExtendedGDBusArgInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusMethodInfo parent_struct; 1021s # const gchar *signal_name; 1021s # gboolean pass_fdlist; 1021s # } _ExtendedGDBusMethodInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusSignalInfo parent_struct; 1021s # const gchar *signal_name; 1021s # } _ExtendedGDBusSignalInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusPropertyInfo parent_struct; 1021s # const gchar *hyphen_name; 1021s # guint use_gvariant : 1; 1021s # guint emits_changed_signal : 1; 1021s # } _ExtendedGDBusPropertyInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusInterfaceInfo parent_struct; 1021s # const gchar *hyphen_name; 1021s # } _ExtendedGDBusInterfaceInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # const _ExtendedGDBusPropertyInfo *info; 1021s # guint prop_id; 1021s # GValue orig_value; /* the value before the change */ 1021s # } ChangedProperty; 1021s # 1021s # static void 1021s # _changed_property_free (ChangedProperty *data) 1021s # { 1021s # g_value_unset (&data->orig_value); 1021s # g_free (data); 1021s # } 1021s # 1021s # static gboolean 1021s # _g_strv_equal0 (gchar **a, gchar **b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # guint n; 1021s # if (a == NULL && b == NULL) 1021s # { 1021s # ret = TRUE; 1021s # goto out; 1021s # } 1021s # if (a == NULL || b == NULL) 1021s # goto out; 1021s # if (g_strv_length (a) != g_strv_length (b)) 1021s # goto out; 1021s # for (n = 0; a[n] != NULL; n++) 1021s # if (g_strcmp0 (a[n], b[n]) != 0) 1021s # goto out; 1021s # ret = TRUE; 1021s # out: 1021s # return ret; 1021s # } 1021s # 1021s # static gboolean 1021s # _g_variant_equal0 (GVariant *a, GVariant *b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # if (a == NULL && b == NULL) 1021s # { 1021s # ret = TRUE; 1021s # goto out; 1021s # } 1021s # if (a == NULL || b == NULL) 1021s # goto out; 1021s # ret = g_variant_equal (a, b); 1021s # out: 1021s # return ret; 1021s # } 1021s # 1021s # G_GNUC_UNUSED static gboolean 1021s # _g_value_equal (const GValue *a, const GValue *b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1021s # switch (G_VALUE_TYPE (a)) 1021s # { 1021s # case G_TYPE_BOOLEAN: 1021s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1021s # break; 1021s # case G_TYPE_UCHAR: 1021s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1021s # break; 1021s # case G_TYPE_INT: 1021s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1021s # break; 1021s # case G_TYPE_UINT: 1021s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1021s # break; 1021s # case G_TYPE_INT64: 1021s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1021s # break; 1021s # case G_TYPE_UINT64: 1021s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1021s # break; 1021s # case G_TYPE_DOUBLE: 1021s # { 1021s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1021s # gdouble da = g_value_get_double (a); 1021s # gdouble db = g_value_get_double (b); 1021s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1021s # } 1021s # break; 1021s # case G_TYPE_STRING: 1021s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1021s # break; 1021s # case G_TYPE_VARIANT: 1021s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1021s # break; 1021s # default: 1021s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1021s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1021s # else 1021s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1021s # break; 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static void 1021s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 1021s # GClosure *closure, 1021s # GValue *return_value, 1021s # unsigned int n_param_values, 1021s # const GValue *param_values, 1021s # void *invocation_hint G_GNUC_UNUSED, 1021s # void *marshal_data) 1021s # { 1021s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1021s # (void *data1, 1021s # GDBusMethodInvocation *arg_method_invocation, 1021s # guint64 arg_arg_t, 1021s # void *data2); 1021s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 1021s # GCClosure *cc = (GCClosure*) closure; 1021s # void *data1, *data2; 1021s # gboolean v_return; 1021s # 1021s # g_return_if_fail (return_value != NULL); 1021s # g_return_if_fail (n_param_values == 3); 1021s # 1021s # if (G_CCLOSURE_SWAP_DATA (closure)) 1021s # { 1021s # data1 = closure->data; 1021s # data2 = g_value_peek_pointer (param_values + 0); 1021s # } 1021s # else 1021s # { 1021s # data1 = g_value_peek_pointer (param_values + 0); 1021s # data2 = closure->data; 1021s # } 1021s # 1021s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1021s # (marshal_data ? marshal_data : cc->callback); 1021s # 1021s # v_return = 1021s # callback (data1, 1021s # g_marshal_value_peek_object (param_values + 1), 1021s # g_marshal_value_peek_uint64 (param_values + 2), 1021s # data2); 1021s # 1021s # g_value_set_boolean (return_value, v_return); 1021s # } 1021s # 1021s # /* ------------------------------------------------------------------------ 1021s # * Code for interface org.project.UsefulInterface 1021s # * ------------------------------------------------------------------------ 1021s # */ 1021s # 1021s # /** 1021s # * SECTION:OrgProjectUsefulInterface 1021s # * @title: OrgProjectUsefulInterface 1021s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1021s # * 1021s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1021s # */ 1021s # 1021s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1021s # 1021s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "arg_t", 1021s # (gchar *) "t", 1021s # NULL 1021s # }, 1021s # FALSE 1021s # }; 1021s # 1021s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 1021s # { 1021s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 1021s # NULL 1021s # }; 1021s # 1021s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "SingleArgMethodT", 1021s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 1021s # NULL, 1021s # NULL 1021s # }, 1021s # "handle-single-arg-method-t", 1021s # FALSE 1021s # }; 1021s # 1021s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1021s # { 1021s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1021s # NULL 1021s # }; 1021s # 1021s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "org.project.UsefulInterface", 1021s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1021s # NULL, 1021s # NULL, 1021s # NULL 1021s # }, 1021s # "org-project-useful-interface", 1021s # }; 1021s # 1021s # 1021s # /** 1021s # * org_project_useful_interface_interface_info: 1021s # * 1021s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1021s # * 1021s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1021s # */ 1021s # GDBusInterfaceInfo * 1021s # org_project_useful_interface_interface_info (void) 1021s # { 1021s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_override_properties: 1021s # * @klass: The class structure for a #GObject derived class. 1021s # * @property_id_begin: The property id to assign to the first overridden property. 1021s # * 1021s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1021s # * The properties are overridden in the order they are defined. 1021s # * 1021s # * Returns: The last property id. 1021s # */ 1021s # guint 1021s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1021s # { 1021s # return property_id_begin - 1; 1021s # } 1021s # 1021s # 1021s # inline static void 1021s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1021s # GClosure *closure, 1021s # GValue *return_value, 1021s # unsigned int n_param_values, 1021s # const GValue *param_values, 1021s # void *invocation_hint, 1021s # void *marshal_data) 1021s # { 1021s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 1021s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1021s # } 1021s # 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterface: 1021s # * 1021s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceIface: 1021s # * @parent_iface: The parent interface. 1021s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1021s # * 1021s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1021s # */ 1021s # 1021s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1021s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1021s # 1021s # static void 1021s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1021s # { 1021s # /* GObject signals for incoming D-Bus method calls: */ 1021s # /** 1021s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1021s # * @object: A #OrgProjectUsefulInterface. 1021s # * @invocation: A #GDBusMethodInvocation. 1021s # * @arg_arg_t: Argument passed by remote caller. 1021s # * 1021s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1021s # * 1021s # * 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. 1021s # * 1021s # * 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. 1021s # */ 1021s # g_signal_new ("handle-single-arg-method-t", 1021s # G_TYPE_FROM_INTERFACE (iface), 1021s # G_SIGNAL_RUN_LAST, 1021s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1021s # g_signal_accumulator_true_handled, 1021s # NULL, 1021s # org_project_useful_interface_method_marshal_single_arg_method_t, 1021s # G_TYPE_BOOLEAN, 1021s # 2, 1021s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 1021s # 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_t: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @arg_arg_t: Argument to pass with the method invocation. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1021s # */ 1021s # void 1021s # org_project_useful_interface_call_single_arg_method_t ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # guint64 arg_arg_t, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1021s # "SingleArgMethodT", 1021s # g_variant_new ("(t)", 1021s # arg_arg_t), 1021s # G_DBUS_CALL_FLAGS_NONE, 1021s # -1, 1021s # cancellable, 1021s # callback, 1021s # user_data); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_t_finish: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1021s # * @error: Return location for error or %NULL. 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1021s # * 1021s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1021s # */ 1021s # gboolean 1021s # org_project_useful_interface_call_single_arg_method_t_finish ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GVariant *_ret; 1021s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1021s # if (_ret == NULL) 1021s # goto _out; 1021s # g_variant_get (_ret, 1021s # "()"); 1021s # g_variant_unref (_ret); 1021s # _out: 1021s # return _ret != NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_t_sync: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @arg_arg_t: Argument to pass with the method invocation. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL. 1021s # * 1021s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1021s # * 1021s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1021s # */ 1021s # gboolean 1021s # org_project_useful_interface_call_single_arg_method_t_sync ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # guint64 arg_arg_t, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GVariant *_ret; 1021s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1021s # "SingleArgMethodT", 1021s # g_variant_new ("(t)", 1021s # arg_arg_t), 1021s # G_DBUS_CALL_FLAGS_NONE, 1021s # -1, 1021s # cancellable, 1021s # error); 1021s # if (_ret == NULL) 1021s # goto _out; 1021s # g_variant_get (_ret, 1021s # "()"); 1021s # g_variant_unref (_ret); 1021s # _out: 1021s # return _ret != NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_complete_single_arg_method_t: 1021s # * @object: A #OrgProjectUsefulInterface. 1021s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1021s # * 1021s # * 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. 1021s # * 1021s # * This method will free @invocation, you cannot use it afterwards. 1021s # */ 1021s # void 1021s # org_project_useful_interface_complete_single_arg_method_t ( 1021s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1021s # GDBusMethodInvocation *invocation) 1021s # { 1021s # g_dbus_method_invocation_return_value (invocation, 1021s # g_variant_new ("()")); 1021s # } 1021s # 1021s # /* ------------------------------------------------------------------------ */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceProxy: 1021s # * 1021s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceProxyClass: 1021s # * @parent_class: The parent class. 1021s # * 1021s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1021s # */ 1021s # 1021s # struct _OrgProjectUsefulInterfaceProxyPrivate 1021s # { 1021s # GData *qdata; 1021s # }; 1021s # 1021s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1021s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1021s # 1021s # #else 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1021s # 1021s # #endif 1021s # static void 1021s # org_project_useful_interface_proxy_finalize (GObject *object) 1021s # { 1021s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1021s # g_datalist_clear (&proxy->priv->qdata); 1021s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1021s # guint prop_id G_GNUC_UNUSED, 1021s # GValue *value G_GNUC_UNUSED, 1021s # GParamSpec *pspec G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1021s # guint prop_id G_GNUC_UNUSED, 1021s # const GValue *value G_GNUC_UNUSED, 1021s # GParamSpec *pspec G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1021s # const gchar *sender_name G_GNUC_UNUSED, 1021s # const gchar *signal_name, 1021s # GVariant *parameters) 1021s # { 1021s # _ExtendedGDBusSignalInfo *info; 1021s # GVariantIter iter; 1021s # GVariant *child; 1021s # GValue *paramv; 1021s # gsize num_params; 1021s # gsize n; 1021s # guint signal_id; 1021s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1021s # if (info == NULL) 1021s # return; 1021s # num_params = g_variant_n_children (parameters); 1021s # paramv = g_new0 (GValue, num_params + 1); 1021s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_set_object (¶mv[0], proxy); 1021s # g_variant_iter_init (&iter, parameters); 1021s # n = 1; 1021s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1021s # { 1021s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1021s # if (arg_info->use_gvariant) 1021s # { 1021s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1021s # g_value_set_variant (¶mv[n], child); 1021s # n++; 1021s # } 1021s # else 1021s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1021s # g_variant_unref (child); 1021s # } 1021s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_signal_emitv (paramv, signal_id, 0, NULL); 1021s # for (n = 0; n < num_params + 1; n++) 1021s # g_value_unset (¶mv[n]); 1021s # g_free (paramv); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1021s # GVariant *changed_properties, 1021s # const gchar *const *invalidated_properties) 1021s # { 1021s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1021s # guint n; 1021s # const gchar *key; 1021s # GVariantIter *iter; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # g_variant_get (changed_properties, "a{sv}", &iter); 1021s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1021s # { 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1021s # g_datalist_remove_data (&proxy->priv->qdata, key); 1021s # if (info != NULL) 1021s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1021s # } 1021s # g_variant_iter_free (iter); 1021s # for (n = 0; invalidated_properties[n] != NULL; n++) 1021s # { 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1021s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1021s # if (info != NULL) 1021s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1021s # } 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1021s # { 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1021s # #else 1021s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1021s # #endif 1021s # 1021s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1021s # { 1021s # GObjectClass *gobject_class; 1021s # GDBusProxyClass *proxy_class; 1021s # 1021s # gobject_class = G_OBJECT_CLASS (klass); 1021s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1021s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1021s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1021s # 1021s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1021s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1021s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1021s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1021s # #endif 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new: 1021s # * @connection: A #GDBusConnection. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1021s # * 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1021s # */ 1021s # void 1021s # org_project_useful_interface_proxy_new ( 1021s # GDBusConnection *connection, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # 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); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_finish: 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_finish ( 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GObject *ret; 1021s # GObject *source_object; 1021s # source_object = g_async_result_get_source_object (res); 1021s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1021s # g_object_unref (source_object); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_sync: 1021s # * @connection: A #GDBusConnection. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1021s # * 1021s # * The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_sync ( 1021s # GDBusConnection *connection, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GInitable *ret; 1021s # 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); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus: 1021s # * @bus_type: A #GBusType. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: A bus name (well-known or unique). 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1021s # * 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1021s # */ 1021s # void 1021s # org_project_useful_interface_proxy_new_for_bus ( 1021s # GBusType bus_type, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # 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); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus_finish: 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_for_bus_finish ( 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GObject *ret; 1021s # GObject *source_object; 1021s # source_object = g_async_result_get_source_object (res); 1021s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1021s # g_object_unref (source_object); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus_sync: 1021s # * @bus_type: A #GBusType. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: A bus name (well-known or unique). 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1021s # * 1021s # * The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_for_bus_sync ( 1021s # GBusType bus_type, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GInitable *ret; 1021s # 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); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # 1021s # /* ------------------------------------------------------------------------ */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceSkeleton: 1021s # * 1021s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceSkeletonClass: 1021s # * @parent_class: The parent class. 1021s # * 1021s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1021s # */ 1021s # 1021s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1021s # { 1021s # GValue *properties; 1021s # GList *changed_properties; 1021s # GSource *changed_properties_idle_source; 1021s # GMainContext *context; 1021s # GMutex lock; 1021s # }; 1021s # 1021s # static void 1021s # _org_project_useful_interface_skeleton_handle_method_call ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name, 1021s # const gchar *method_name, 1021s # GVariant *parameters, 1021s # GDBusMethodInvocation *invocation, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # _ExtendedGDBusMethodInfo *info; 1021s # GVariantIter iter; 1021s # GVariant *child; 1021s # GValue *paramv; 1021s # gsize num_params; 1021s # guint num_extra; 1021s # gsize n; 1021s # guint signal_id; 1021s # GValue return_value = G_VALUE_INIT; 1021s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1021s # g_assert (info != NULL); 1021s # num_params = g_variant_n_children (parameters); 1021s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1021s # n = 0; 1021s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_set_object (¶mv[n++], skeleton); 1021s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1021s # g_value_set_object (¶mv[n++], invocation); 1021s # if (info->pass_fdlist) 1021s # { 1021s # #ifdef G_OS_UNIX 1021s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1021s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1021s # #else 1021s # g_assert_not_reached (); 1021s # #endif 1021s # } 1021s # g_variant_iter_init (&iter, parameters); 1021s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1021s # { 1021s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1021s # if (arg_info->use_gvariant) 1021s # { 1021s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1021s # g_value_set_variant (¶mv[n], child); 1021s # n++; 1021s # } 1021s # else 1021s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1021s # g_variant_unref (child); 1021s # } 1021s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1021s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1021s # if (!g_value_get_boolean (&return_value)) 1021s # 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); 1021s # g_value_unset (&return_value); 1021s # for (n = 0; n < num_params + num_extra; n++) 1021s # g_value_unset (¶mv[n]); 1021s # g_free (paramv); 1021s # } 1021s # 1021s # static GVariant * 1021s # _org_project_useful_interface_skeleton_handle_get_property ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name G_GNUC_UNUSED, 1021s # const gchar *property_name, 1021s # GError **error, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # GValue value = G_VALUE_INIT; 1021s # GParamSpec *pspec; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # GVariant *ret; 1021s # ret = NULL; 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1021s # g_assert (info != NULL); 1021s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1021s # if (pspec == NULL) 1021s # { 1021s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1021s # } 1021s # else 1021s # { 1021s # g_value_init (&value, pspec->value_type); 1021s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1021s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1021s # g_value_unset (&value); 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static gboolean 1021s # _org_project_useful_interface_skeleton_handle_set_property ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name G_GNUC_UNUSED, 1021s # const gchar *property_name, 1021s # GVariant *variant, 1021s # GError **error, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # GValue value = G_VALUE_INIT; 1021s # GParamSpec *pspec; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # gboolean ret; 1021s # ret = FALSE; 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1021s # g_assert (info != NULL); 1021s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1021s # if (pspec == NULL) 1021s # { 1021s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1021s # } 1021s # else 1021s # { 1021s # if (info->use_gvariant) 1021s # g_value_set_variant (&value, variant); 1021s # else 1021s # g_dbus_gvariant_to_gvalue (variant, &value); 1021s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1021s # g_value_unset (&value); 1021s # ret = TRUE; 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1021s # { 1021s # _org_project_useful_interface_skeleton_handle_method_call, 1021s # _org_project_useful_interface_skeleton_handle_get_property, 1021s # _org_project_useful_interface_skeleton_handle_set_property, 1021s # {NULL} 1021s # }; 1021s # 1021s # static GDBusInterfaceInfo * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1021s # { 1021s # return org_project_useful_interface_interface_info (); 1021s # } 1021s # 1021s # static GDBusInterfaceVTable * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1021s # { 1021s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1021s # } 1021s # 1021s # static GVariant * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1021s # 1021s # GVariantBuilder builder; 1021s # guint n; 1021s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1021s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1021s # goto out; 1021s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1021s # { 1021s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1021s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1021s # { 1021s # GVariant *value; 1021s # 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); 1021s # if (value != NULL) 1021s # { 1021s # g_variant_take_ref (value); 1021s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1021s # g_variant_unref (value); 1021s # } 1021s # } 1021s # } 1021s # out: 1021s # return g_variant_builder_end (&builder); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1021s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1021s # 1021s # #else 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1021s # 1021s # #endif 1021s # static void 1021s # org_project_useful_interface_skeleton_finalize (GObject *object) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1021s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1021s # if (skeleton->priv->changed_properties_idle_source != NULL) 1021s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1021s # g_main_context_unref (skeleton->priv->context); 1021s # g_mutex_clear (&skeleton->priv->lock); 1021s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1021s # { 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1021s # #else 1021s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1021s # #endif 1021s # 1021s # g_mutex_init (&skeleton->priv->lock); 1021s # skeleton->priv->context = g_main_context_ref_thread_default (); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1021s # { 1021s # GObjectClass *gobject_class; 1021s # GDBusInterfaceSkeletonClass *skeleton_class; 1021s # 1021s # gobject_class = G_OBJECT_CLASS (klass); 1021s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1021s # 1021s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1021s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1021s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1021s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1021s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1021s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1021s # #endif 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_skeleton_new: 1021s # * 1021s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_skeleton_new (void) 1021s # { 1021s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1021s # } 1021s # /tmp/tmp32mbzb2s/tmp78fr0sg1.xml: 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp32mbzb2s/tmp78fr0sg1.xml', '--output', '-', '--body'] 1021s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1021s # Output: /* 1021s # * This file is generated by gdbus-codegen, do not modify it. 1021s # * 1021s # * The license of this code is the same as for the D-Bus interface description 1021s # * it was derived from. Note that it links to GLib, so must comply with the 1021s # * LGPL linking clauses. 1021s # */ 1021s # 1021s # #ifdef HAVE_CONFIG_H 1021s # # include "config.h" 1021s # #endif 1021s # 1021s # #include 1021s # #ifdef G_OS_UNIX 1021s # # include 1021s # #endif 1021s # 1021s # #ifdef G_ENABLE_DEBUG 1021s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1021s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1021s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1021s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1021s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1021s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1021s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1021s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1021s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1021s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1021s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1021s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1021s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1021s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1021s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1021s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1021s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1021s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1021s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1021s # #else /* !G_ENABLE_DEBUG */ 1021s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1021s # * Do not access GValues directly in your code. Instead, use the 1021s # * g_value_get_*() functions 1021s # */ 1021s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1021s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1021s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1021s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1021s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1021s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1021s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1021s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1021s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1021s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1021s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1021s # #endif /* !G_ENABLE_DEBUG */ 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusArgInfo parent_struct; 1021s # gboolean use_gvariant; 1021s # } _ExtendedGDBusArgInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusMethodInfo parent_struct; 1021s # const gchar *signal_name; 1021s # gboolean pass_fdlist; 1021s # } _ExtendedGDBusMethodInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusSignalInfo parent_struct; 1021s # const gchar *signal_name; 1021s # } _ExtendedGDBusSignalInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusPropertyInfo parent_struct; 1021s # const gchar *hyphen_name; 1021s # guint use_gvariant : 1; 1021s # guint emits_changed_signal : 1; 1021s # } _ExtendedGDBusPropertyInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusInterfaceInfo parent_struct; 1021s # const gchar *hyphen_name; 1021s # } _ExtendedGDBusInterfaceInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # const _ExtendedGDBusPropertyInfo *info; 1021s # guint prop_id; 1021s # GValue orig_value; /* the value before the change */ 1021s # } ChangedProperty; 1021s # 1021s # static void 1021s # _changed_property_free (ChangedProperty *data) 1021s # { 1021s # g_value_unset (&data->orig_value); 1021s # g_free (data); 1021s # } 1021s # 1021s # static gboolean 1021s # _g_strv_equal0 (gchar **a, gchar **b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # guint n; 1021s # if (a == NULL && b == NULL) 1021s # { 1021s # ret = TRUE; 1021s # goto out; 1021s # } 1021s # if (a == NULL || b == NULL) 1021s # goto out; 1021s # if (g_strv_length (a) != g_strv_length (b)) 1021s # goto out; 1021s # for (n = 0; a[n] != NULL; n++) 1021s # if (g_strcmp0 (a[n], b[n]) != 0) 1021s # goto out; 1021s # ret = TRUE; 1021s # out: 1021s # return ret; 1021s # } 1021s # 1021s # static gboolean 1021s # _g_variant_equal0 (GVariant *a, GVariant *b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # if (a == NULL && b == NULL) 1021s # { 1021s # ret = TRUE; 1021s # goto out; 1021s # } 1021s # if (a == NULL || b == NULL) 1021s # goto out; 1021s # ret = g_variant_equal (a, b); 1021s # out: 1021s # return ret; 1021s # } 1021s # 1021s # G_GNUC_UNUSED static gboolean 1021s # _g_value_equal (const GValue *a, const GValue *b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1021s # switch (G_VALUE_TYPE (a)) 1021s # { 1021s # case G_TYPE_BOOLEAN: 1021s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1021s # break; 1021s # case G_TYPE_UCHAR: 1021s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1021s # break; 1021s # case G_TYPE_INT: 1021s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1021s # break; 1021s # case G_TYPE_UINT: 1021s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1021s # break; 1021s # case G_TYPE_INT64: 1021s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1021s # break; 1021s # case G_TYPE_UINT64: 1021s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1021s # break; 1021s # case G_TYPE_DOUBLE: 1021s # { 1021s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1021s # gdouble da = g_value_get_double (a); 1021s # gdouble db = g_value_get_double (b); 1021s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1021s # } 1021s # break; 1021s # case G_TYPE_STRING: 1021s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1021s # break; 1021s # case G_TYPE_VARIANT: 1021s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1021s # break; 1021s # default: 1021s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1021s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1021s # else 1021s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1021s # break; 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static void 1021s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 1021s # GClosure *closure, 1021s # GValue *return_value, 1021s # unsigned int n_param_values, 1021s # const GValue *param_values, 1021s # void *invocation_hint G_GNUC_UNUSED, 1021s # void *marshal_data) 1021s # { 1021s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1021s # (void *data1, 1021s # GDBusMethodInvocation *arg_method_invocation, 1021s # gdouble arg_arg_d, 1021s # void *data2); 1021s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 1021s # GCClosure *cc = (GCClosure*) closure; 1021s # void *data1, *data2; 1021s # gboolean v_return; 1021s # 1021s # g_return_if_fail (return_value != NULL); 1021s # g_return_if_fail (n_param_values == 3); 1021s # 1021s # if (G_CCLOSURE_SWAP_DATA (closure)) 1021s # { 1021s # data1 = closure->data; 1021s # data2 = g_value_peek_pointer (param_values + 0); 1021s # } 1021s # else 1021s # { 1021s # data1 = g_value_peek_pointer (param_values + 0); 1021s # data2 = closure->data; 1021s # } 1021s # 1021s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1021s # (marshal_data ? marshal_data : cc->callback); 1021s # 1021s # v_return = 1021s # callback (data1, 1021s # g_marshal_value_peek_object (param_values + 1), 1021s # g_marshal_value_peek_double (param_values + 2), 1021s # data2); 1021s # 1021s # g_value_set_boolean (return_value, v_return); 1021s # } 1021s # 1021s # /* ------------------------------------------------------------------------ 1021s # * Code for interface org.project.UsefulInterface 1021s # * ------------------------------------------------------------------------ 1021s # */ 1021s # 1021s # /** 1021s # * SECTION:OrgProjectUsefulInterface 1021s # * @title: OrgProjectUsefulInterface 1021s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1021s # * 1021s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1021s # */ 1021s # 1021s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1021s # 1021s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "arg_d", 1021s # (gchar *) "d", 1021s # NULL 1021s # }, 1021s # FALSE 1021s # }; 1021s # 1021s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 1021s # { 1021s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 1021s # NULL 1021s # }; 1021s # 1021s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "SingleArgMethodD", 1021s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 1021s # NULL, 1021s # NULL 1021s # }, 1021s # "handle-single-arg-method-d", 1021s # FALSE 1021s # }; 1021s # 1021s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1021s # { 1021s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1021s # NULL 1021s # }; 1021s # 1021s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "org.project.UsefulInterface", 1021s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1021s # NULL, 1021s # NULL, 1021s # NULL 1021s # }, 1021s # "org-project-useful-interface", 1021s # }; 1021s # 1021s # 1021s # /** 1021s # * org_project_useful_interface_interface_info: 1021s # * 1021s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1021s # * 1021s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1021s # */ 1021s # GDBusInterfaceInfo * 1021s # org_project_useful_interface_interface_info (void) 1021s # { 1021s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_override_properties: 1021s # * @klass: The class structure for a #GObject derived class. 1021s # * @property_id_begin: The property id to assign to the first overridden property. 1021s # * 1021s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1021s # * The properties are overridden in the order they are defined. 1021s # * 1021s # * Returns: The last property id. 1021s # */ 1021s # guint 1021s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1021s # { 1021s # return property_id_begin - 1; 1021s # } 1021s # 1021s # 1021s # inline static void 1021s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1021s # GClosure *closure, 1021s # GValue *return_value, 1021s # unsigned int n_param_values, 1021s # const GValue *param_values, 1021s # void *invocation_hint, 1021s # void *marshal_data) 1021s # { 1021s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 1021s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1021s # } 1021s # 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterface: 1021s # * 1021s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceIface: 1021s # * @parent_iface: The parent interface. 1021s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1021s # * 1021s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1021s # */ 1021s # 1021s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1021s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1021s # 1021s # static void 1021s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1021s # { 1021s # /* GObject signals for incoming D-Bus method calls: */ 1021s # /** 1021s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1021s # * @object: A #OrgProjectUsefulInterface. 1021s # * @invocation: A #GDBusMethodInvocation. 1021s # * @arg_arg_d: Argument passed by remote caller. 1021s # * 1021s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1021s # * 1021s # * 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. 1021s # * 1021s # * 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. 1021s # */ 1021s # g_signal_new ("handle-single-arg-method-d", 1021s # G_TYPE_FROM_INTERFACE (iface), 1021s # G_SIGNAL_RUN_LAST, 1021s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1021s # g_signal_accumulator_true_handled, 1021s # NULL, 1021s # org_project_useful_interface_method_marshal_single_arg_method_d, 1021s # G_TYPE_BOOLEAN, 1021s # 2, 1021s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 1021s # 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_d: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @arg_arg_d: Argument to pass with the method invocation. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1021s # */ 1021s # void 1021s # org_project_useful_interface_call_single_arg_method_d ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # gdouble arg_arg_d, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1021s # "SingleArgMethodD", 1021s # g_variant_new ("(d)", 1021s # arg_arg_d), 1021s # G_DBUS_CALL_FLAGS_NONE, 1021s # -1, 1021s # cancellable, 1021s # callback, 1021s # user_data); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_d_finish: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1021s # * @error: Return location for error or %NULL. 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1021s # * 1021s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1021s # */ 1021s # gboolean 1021s # org_project_useful_interface_call_single_arg_method_d_finish ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GVariant *_ret; 1021s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1021s # if (_ret == NULL) 1021s # goto _out; 1021s # g_variant_get (_ret, 1021s # "()"); 1021s # g_variant_unref (_ret); 1021s # _out: 1021s # return _ret != NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_d_sync: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @arg_arg_d: Argument to pass with the method invocation. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL. 1021s # * 1021s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1021s # * 1021s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1021s # */ 1021s # gboolean 1021s # org_project_useful_interface_call_single_arg_method_d_sync ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # gdouble arg_arg_d, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GVariant *_ret; 1021s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1021s # "SingleArgMethodD", 1021s # g_variant_new ("(d)", 1021s # arg_arg_d), 1021s # G_DBUS_CALL_FLAGS_NONE, 1021s # -1, 1021s # cancellable, 1021s # error); 1021s # if (_ret == NULL) 1021s # goto _out; 1021s # g_variant_get (_ret, 1021s # "()"); 1021s # g_variant_unref (_ret); 1021s # _out: 1021s # return _ret != NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_complete_single_arg_method_d: 1021s # * @object: A #OrgProjectUsefulInterface. 1021s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1021s # * 1021s # * 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. 1021s # * 1021s # * This method will free @invocation, you cannot use it afterwards. 1021s # */ 1021s # void 1021s # org_project_useful_interface_complete_single_arg_method_d ( 1021s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1021s # GDBusMethodInvocation *invocation) 1021s # { 1021s # g_dbus_method_invocation_return_value (invocation, 1021s # g_variant_new ("()")); 1021s # } 1021s # 1021s # /* ------------------------------------------------------------------------ */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceProxy: 1021s # * 1021s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceProxyClass: 1021s # * @parent_class: The parent class. 1021s # * 1021s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1021s # */ 1021s # 1021s # struct _OrgProjectUsefulInterfaceProxyPrivate 1021s # { 1021s # GData *qdata; 1021s # }; 1021s # 1021s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1021s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1021s # 1021s # #else 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1021s # 1021s # #endif 1021s # static void 1021s # org_project_useful_interface_proxy_finalize (GObject *object) 1021s # { 1021s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1021s # g_datalist_clear (&proxy->priv->qdata); 1021s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1021s # guint prop_id G_GNUC_UNUSED, 1021s # GValue *value G_GNUC_UNUSED, 1021s # GParamSpec *pspec G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1021s # guint prop_id G_GNUC_UNUSED, 1021s # const GValue *value G_GNUC_UNUSED, 1021s # GParamSpec *pspec G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1021s # const gchar *sender_name G_GNUC_UNUSED, 1021s # const gchar *signal_name, 1021s # GVariant *parameters) 1021s # { 1021s # _ExtendedGDBusSignalInfo *info; 1021s # GVariantIter iter; 1021s # GVariant *child; 1021s # GValue *paramv; 1021s # gsize num_params; 1021s # gsize n; 1021s # guint signal_id; 1021s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1021s # if (info == NULL) 1021s # return; 1021s # num_params = g_variant_n_children (parameters); 1021s # paramv = g_new0 (GValue, num_params + 1); 1021s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_set_object (¶mv[0], proxy); 1021s # g_variant_iter_init (&iter, parameters); 1021s # n = 1; 1021s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1021s # { 1021s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1021s # if (arg_info->use_gvariant) 1021s # { 1021s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1021s # g_value_set_variant (¶mv[n], child); 1021s # n++; 1021s # } 1021s # else 1021s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1021s # g_variant_unref (child); 1021s # } 1021s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_signal_emitv (paramv, signal_id, 0, NULL); 1021s # for (n = 0; n < num_params + 1; n++) 1021s # g_value_unset (¶mv[n]); 1021s # g_free (paramv); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1021s # GVariant *changed_properties, 1021s # const gchar *const *invalidated_properties) 1021s # { 1021s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1021s # guint n; 1021s # const gchar *key; 1021s # GVariantIter *iter; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # g_variant_get (changed_properties, "a{sv}", &iter); 1021s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1021s # { 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1021s # g_datalist_remove_data (&proxy->priv->qdata, key); 1021s # if (info != NULL) 1021s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1021s # } 1021s # g_variant_iter_free (iter); 1021s # for (n = 0; invalidated_properties[n] != NULL; n++) 1021s # { 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1021s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1021s # if (info != NULL) 1021s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1021s # } 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1021s # { 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1021s # #else 1021s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1021s # #endif 1021s # 1021s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1021s # { 1021s # GObjectClass *gobject_class; 1021s # GDBusProxyClass *proxy_class; 1021s # 1021s # gobject_class = G_OBJECT_CLASS (klass); 1021s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1021s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1021s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1021s # 1021s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1021s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1021s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1021s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1021s # #endif 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new: 1021s # * @connection: A #GDBusConnection. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1021s # * 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1021s # */ 1021s # void 1021s # org_project_useful_interface_proxy_new ( 1021s # GDBusConnection *connection, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # 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); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_finish: 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_finish ( 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GObject *ret; 1021s # GObject *source_object; 1021s # source_object = g_async_result_get_source_object (res); 1021s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1021s # g_object_unref (source_object); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_sync: 1021s # * @connection: A #GDBusConnection. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1021s # * 1021s # * The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_sync ( 1021s # GDBusConnection *connection, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GInitable *ret; 1021s # 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); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus: 1021s # * @bus_type: A #GBusType. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: A bus name (well-known or unique). 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1021s # * 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1021s # */ 1021s # void 1021s # org_project_useful_interface_proxy_new_for_bus ( 1021s # GBusType bus_type, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # 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); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus_finish: 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_for_bus_finish ( 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GObject *ret; 1021s # GObject *source_object; 1021s # source_object = g_async_result_get_source_object (res); 1021s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1021s # g_object_unref (source_object); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus_sync: 1021s # * @bus_type: A #GBusType. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: A bus name (well-known or unique). 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1021s # * 1021s # * The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_for_bus_sync ( 1021s # GBusType bus_type, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GInitable *ret; 1021s # 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); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # 1021s # /* ------------------------------------------------------------------------ */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceSkeleton: 1021s # * 1021s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceSkeletonClass: 1021s # * @parent_class: The parent class. 1021s # * 1021s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1021s # */ 1021s # 1021s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1021s # { 1021s # GValue *properties; 1021s # GList *changed_properties; 1021s # GSource *changed_properties_idle_source; 1021s # GMainContext *context; 1021s # GMutex lock; 1021s # }; 1021s # 1021s # static void 1021s # _org_project_useful_interface_skeleton_handle_method_call ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name, 1021s # const gchar *method_name, 1021s # GVariant *parameters, 1021s # GDBusMethodInvocation *invocation, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # _ExtendedGDBusMethodInfo *info; 1021s # GVariantIter iter; 1021s # GVariant *child; 1021s # GValue *paramv; 1021s # gsize num_params; 1021s # guint num_extra; 1021s # gsize n; 1021s # guint signal_id; 1021s # GValue return_value = G_VALUE_INIT; 1021s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1021s # g_assert (info != NULL); 1021s # num_params = g_variant_n_children (parameters); 1021s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1021s # n = 0; 1021s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_set_object (¶mv[n++], skeleton); 1021s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1021s # g_value_set_object (¶mv[n++], invocation); 1021s # if (info->pass_fdlist) 1021s # { 1021s # #ifdef G_OS_UNIX 1021s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1021s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1021s # #else 1021s # g_assert_not_reached (); 1021s # #endif 1021s # } 1021s # g_variant_iter_init (&iter, parameters); 1021s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1021s # { 1021s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1021s # if (arg_info->use_gvariant) 1021s # { 1021s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1021s # g_value_set_variant (¶mv[n], child); 1021s # n++; 1021s # } 1021s # else 1021s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1021s # g_variant_unref (child); 1021s # } 1021s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1021s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1021s # if (!g_value_get_boolean (&return_value)) 1021s # 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); 1021s # g_value_unset (&return_value); 1021s # for (n = 0; n < num_params + num_extra; n++) 1021s # g_value_unset (¶mv[n]); 1021s # g_free (paramv); 1021s # } 1021s # 1021s # static GVariant * 1021s # _org_project_useful_interface_skeleton_handle_get_property ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name G_GNUC_UNUSED, 1021s # const gchar *property_name, 1021s # GError **error, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # GValue value = G_VALUE_INIT; 1021s # GParamSpec *pspec; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # GVariant *ret; 1021s # ret = NULL; 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1021s # g_assert (info != NULL); 1021s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1021s # if (pspec == NULL) 1021s # { 1021s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1021s # } 1021s # else 1021s # { 1021s # g_value_init (&value, pspec->value_type); 1021s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1021s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1021s # g_value_unset (&value); 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static gboolean 1021s # _org_project_useful_interface_skeleton_handle_set_property ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name G_GNUC_UNUSED, 1021s # const gchar *property_name, 1021s # GVariant *variant, 1021s # GError **error, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # GValue value = G_VALUE_INIT; 1021s # GParamSpec *pspec; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # gboolean ret; 1021s # ret = FALSE; 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1021s # g_assert (info != NULL); 1021s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1021s # if (pspec == NULL) 1021s # { 1021s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1021s # } 1021s # else 1021s # { 1021s # if (info->use_gvariant) 1021s # g_value_set_variant (&value, variant); 1021s # else 1021s # g_dbus_gvariant_to_gvalue (variant, &value); 1021s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1021s # g_value_unset (&value); 1021s # ret = TRUE; 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1021s # { 1021s # _org_project_useful_interface_skeleton_handle_method_call, 1021s # _org_project_useful_interface_skeleton_handle_get_property, 1021s # _org_project_useful_interface_skeleton_handle_set_property, 1021s # {NULL} 1021s # }; 1021s # 1021s # static GDBusInterfaceInfo * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1021s # { 1021s # return org_project_useful_interface_interface_info (); 1021s # } 1021s # 1021s # static GDBusInterfaceVTable * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1021s # { 1021s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1021s # } 1021s # 1021s # static GVariant * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1021s # 1021s # GVariantBuilder builder; 1021s # guint n; 1021s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1021s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1021s # goto out; 1021s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1021s # { 1021s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1021s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1021s # { 1021s # GVariant *value; 1021s # 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); 1021s # if (value != NULL) 1021s # { 1021s # g_variant_take_ref (value); 1021s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1021s # g_variant_unref (value); 1021s # } 1021s # } 1021s # } 1021s # out: 1021s # return g_variant_builder_end (&builder); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1021s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1021s # 1021s # #else 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1021s # 1021s # #endif 1021s # static void 1021s # org_project_useful_interface_skeleton_finalize (GObject *object) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1021s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1021s # if (skeleton->priv->changed_properties_idle_source != NULL) 1021s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1021s # g_main_context_unref (skeleton->priv->context); 1021s # g_mutex_clear (&skeleton->priv->lock); 1021s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1021s # { 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1021s # #else 1021s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1021s # #endif 1021s # 1021s # g_mutex_init (&skeleton->priv->lock); 1021s # skeleton->priv->context = g_main_context_ref_thread_default (); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1021s # { 1021s # GObjectClass *gobject_class; 1021s # GDBusInterfaceSkeletonClass *skeleton_class; 1021s # 1021s # gobject_class = G_OBJECT_CLASS (klass); 1021s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1021s # 1021s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1021s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1021s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1021s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1021s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1021s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1021s # #endif 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_skeleton_new: 1021s # * 1021s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_skeleton_new (void) 1021s # { 1021s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1021s # } 1021s # /tmp/tmp32mbzb2s/tmpd48_zg1c.xml: 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp32mbzb2s/tmpd48_zg1c.xml', '--output', '-', '--body'] 1021s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1021s # Output: /* 1021s # * This file is generated by gdbus-codegen, do not modify it. 1021s # * 1021s # * The license of this code is the same as for the D-Bus interface description 1021s # * it was derived from. Note that it links to GLib, so must comply with the 1021s # * LGPL linking clauses. 1021s # */ 1021s # 1021s # #ifdef HAVE_CONFIG_H 1021s # # include "config.h" 1021s # #endif 1021s # 1021s # #include 1021s # #ifdef G_OS_UNIX 1021s # # include 1021s # #endif 1021s # 1021s # #ifdef G_ENABLE_DEBUG 1021s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1021s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1021s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1021s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1021s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1021s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1021s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1021s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1021s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1021s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1021s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1021s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1021s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1021s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1021s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1021s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1021s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1021s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1021s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1021s # #else /* !G_ENABLE_DEBUG */ 1021s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1021s # * Do not access GValues directly in your code. Instead, use the 1021s # * g_value_get_*() functions 1021s # */ 1021s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1021s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1021s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1021s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1021s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1021s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1021s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1021s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1021s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1021s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1021s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1021s # #endif /* !G_ENABLE_DEBUG */ 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusArgInfo parent_struct; 1021s # gboolean use_gvariant; 1021s # } _ExtendedGDBusArgInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusMethodInfo parent_struct; 1021s # const gchar *signal_name; 1021s # gboolean pass_fdlist; 1021s # } _ExtendedGDBusMethodInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusSignalInfo parent_struct; 1021s # const gchar *signal_name; 1021s # } _ExtendedGDBusSignalInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusPropertyInfo parent_struct; 1021s # const gchar *hyphen_name; 1021s # guint use_gvariant : 1; 1021s # guint emits_changed_signal : 1; 1021s # } _ExtendedGDBusPropertyInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusInterfaceInfo parent_struct; 1021s # const gchar *hyphen_name; 1021s # } _ExtendedGDBusInterfaceInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # const _ExtendedGDBusPropertyInfo *info; 1021s # guint prop_id; 1021s # GValue orig_value; /* the value before the change */ 1021s # } ChangedProperty; 1021s # 1021s # static void 1021s # _changed_property_free (ChangedProperty *data) 1021s # { 1021s # g_value_unset (&data->orig_value); 1021s # g_free (data); 1021s # } 1021s # 1021s # static gboolean 1021s # _g_strv_equal0 (gchar **a, gchar **b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # guint n; 1021s # if (a == NULL && b == NULL) 1021s # { 1021s # ret = TRUE; 1021s # goto out; 1021s # } 1021s # if (a == NULL || b == NULL) 1021s # goto out; 1021s # if (g_strv_length (a) != g_strv_length (b)) 1021s # goto out; 1021s # for (n = 0; a[n] != NULL; n++) 1021s # if (g_strcmp0 (a[n], b[n]) != 0) 1021s # goto out; 1021s # ret = TRUE; 1021s # out: 1021s # return ret; 1021s # } 1021s # 1021s # static gboolean 1021s # _g_variant_equal0 (GVariant *a, GVariant *b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # if (a == NULL && b == NULL) 1021s # { 1021s # ret = TRUE; 1021s # goto out; 1021s # } 1021s # if (a == NULL || b == NULL) 1021s # goto out; 1021s # ret = g_variant_equal (a, b); 1021s # out: 1021s # return ret; 1021s # } 1021s # 1021s # G_GNUC_UNUSED static gboolean 1021s # _g_value_equal (const GValue *a, const GValue *b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1021s # switch (G_VALUE_TYPE (a)) 1021s # { 1021s # case G_TYPE_BOOLEAN: 1021s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1021s # break; 1021s # case G_TYPE_UCHAR: 1021s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1021s # break; 1021s # case G_TYPE_INT: 1021s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1021s # break; 1021s # case G_TYPE_UINT: 1021s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1021s # break; 1021s # case G_TYPE_INT64: 1021s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1021s # break; 1021s # case G_TYPE_UINT64: 1021s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1021s # break; 1021s # case G_TYPE_DOUBLE: 1021s # { 1021s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1021s # gdouble da = g_value_get_double (a); 1021s # gdouble db = g_value_get_double (b); 1021s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1021s # } 1021s # break; 1021s # case G_TYPE_STRING: 1021s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1021s # break; 1021s # case G_TYPE_VARIANT: 1021s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1021s # break; 1021s # default: 1021s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1021s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1021s # else 1021s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1021s # break; 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static void 1021s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1021s # GClosure *closure, 1021s # GValue *return_value, 1021s # unsigned int n_param_values, 1021s # const GValue *param_values, 1021s # void *invocation_hint G_GNUC_UNUSED, 1021s # void *marshal_data) 1021s # { 1021s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1021s # (void *data1, 1021s # GDBusMethodInvocation *arg_method_invocation, 1021s # const gchar *arg_arg_s, 1021s # void *data2); 1021s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1021s # GCClosure *cc = (GCClosure*) closure; 1021s # void *data1, *data2; 1021s # gboolean v_return; 1021s # 1021s # g_return_if_fail (return_value != NULL); 1021s # g_return_if_fail (n_param_values == 3); 1021s # 1021s # if (G_CCLOSURE_SWAP_DATA (closure)) 1021s # { 1021s # data1 = closure->data; 1021s # data2 = g_value_peek_pointer (param_values + 0); 1021s # } 1021s # else 1021s # { 1021s # data1 = g_value_peek_pointer (param_values + 0); 1021s # data2 = closure->data; 1021s # } 1021s # 1021s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1021s # (marshal_data ? marshal_data : cc->callback); 1021s # 1021s # v_return = 1021s # callback (data1, 1021s # g_marshal_value_peek_object (param_values + 1), 1021s # g_marshal_value_peek_string (param_values + 2), 1021s # data2); 1021s # 1021s # g_value_set_boolean (return_value, v_return); 1021s # } 1021s # 1021s # /* ------------------------------------------------------------------------ 1021s # * Code for interface org.project.UsefulInterface 1021s # * ------------------------------------------------------------------------ 1021s # */ 1021s # 1021s # /** 1021s # * SECTION:OrgProjectUsefulInterface 1021s # * @title: OrgProjectUsefulInterface 1021s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1021s # * 1021s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1021s # */ 1021s # 1021s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1021s # 1021s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "arg_s", 1021s # (gchar *) "s", 1021s # NULL 1021s # }, 1021s # FALSE 1021s # }; 1021s # 1021s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 1021s # { 1021s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 1021s # NULL 1021s # }; 1021s # 1021s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "SingleArgMethodS", 1021s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 1021s # NULL, 1021s # NULL 1021s # }, 1021s # "handle-single-arg-method-s", 1021s # FALSE 1021s # }; 1021s # 1021s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1021s # { 1021s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1021s # NULL 1021s # }; 1021s # 1021s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "org.project.UsefulInterface", 1021s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1021s # NULL, 1021s # NULL, 1021s # NULL 1021s # }, 1021s # "org-project-useful-interface", 1021s # }; 1021s # 1021s # 1021s # /** 1021s # * org_project_useful_interface_interface_info: 1021s # * 1021s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1021s # * 1021s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1021s # */ 1021s # GDBusInterfaceInfo * 1021s # org_project_useful_interface_interface_info (void) 1021s # { 1021s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_override_properties: 1021s # * @klass: The class structure for a #GObject derived class. 1021s # * @property_id_begin: The property id to assign to the first overridden property. 1021s # * 1021s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1021s # * The properties are overridden in the order they are defined. 1021s # * 1021s # * Returns: The last property id. 1021s # */ 1021s # guint 1021s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1021s # { 1021s # return property_id_begin - 1; 1021s # } 1021s # 1021s # 1021s # inline static void 1021s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1021s # GClosure *closure, 1021s # GValue *return_value, 1021s # unsigned int n_param_values, 1021s # const GValue *param_values, 1021s # void *invocation_hint, 1021s # void *marshal_data) 1021s # { 1021s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1021s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1021s # } 1021s # 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterface: 1021s # * 1021s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceIface: 1021s # * @parent_iface: The parent interface. 1021s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1021s # * 1021s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1021s # */ 1021s # 1021s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1021s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1021s # 1021s # static void 1021s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1021s # { 1021s # /* GObject signals for incoming D-Bus method calls: */ 1021s # /** 1021s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1021s # * @object: A #OrgProjectUsefulInterface. 1021s # * @invocation: A #GDBusMethodInvocation. 1021s # * @arg_arg_s: Argument passed by remote caller. 1021s # * 1021s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1021s # * 1021s # * 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. 1021s # * 1021s # * 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. 1021s # */ 1021s # g_signal_new ("handle-single-arg-method-s", 1021s # G_TYPE_FROM_INTERFACE (iface), 1021s # G_SIGNAL_RUN_LAST, 1021s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1021s # g_signal_accumulator_true_handled, 1021s # NULL, 1021s # org_project_useful_interface_method_marshal_single_arg_method_s, 1021s # G_TYPE_BOOLEAN, 1021s # 2, 1021s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1021s # 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_s: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @arg_arg_s: Argument to pass with the method invocation. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1021s # */ 1021s # void 1021s # org_project_useful_interface_call_single_arg_method_s ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # const gchar *arg_arg_s, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1021s # "SingleArgMethodS", 1021s # g_variant_new ("(s)", 1021s # arg_arg_s), 1021s # G_DBUS_CALL_FLAGS_NONE, 1021s # -1, 1021s # cancellable, 1021s # callback, 1021s # user_data); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_s_finish: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1021s # * @error: Return location for error or %NULL. 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1021s # * 1021s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1021s # */ 1021s # gboolean 1021s # org_project_useful_interface_call_single_arg_method_s_finish ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GVariant *_ret; 1021s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1021s # if (_ret == NULL) 1021s # goto _out; 1021s # g_variant_get (_ret, 1021s # "()"); 1021s # g_variant_unref (_ret); 1021s # _out: 1021s # return _ret != NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_s_sync: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @arg_arg_s: Argument to pass with the method invocation. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL. 1021s # * 1021s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1021s # * 1021s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1021s # */ 1021s # gboolean 1021s # org_project_useful_interface_call_single_arg_method_s_sync ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # const gchar *arg_arg_s, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GVariant *_ret; 1021s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1021s # "SingleArgMethodS", 1021s # g_variant_new ("(s)", 1021s # arg_arg_s), 1021s # G_DBUS_CALL_FLAGS_NONE, 1021s # -1, 1021s # cancellable, 1021s # error); 1021s # if (_ret == NULL) 1021s # goto _out; 1021s # g_variant_get (_ret, 1021s # "()"); 1021s # g_variant_unref (_ret); 1021s # _out: 1021s # return _ret != NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_complete_single_arg_method_s: 1021s # * @object: A #OrgProjectUsefulInterface. 1021s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1021s # * 1021s # * 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. 1021s # * 1021s # * This method will free @invocation, you cannot use it afterwards. 1021s # */ 1021s # void 1021s # org_project_useful_interface_complete_single_arg_method_s ( 1021s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1021s # GDBusMethodInvocation *invocation) 1021s # { 1021s # g_dbus_method_invocation_return_value (invocation, 1021s # g_variant_new ("()")); 1021s # } 1021s # 1021s # /* ------------------------------------------------------------------------ */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceProxy: 1021s # * 1021s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceProxyClass: 1021s # * @parent_class: The parent class. 1021s # * 1021s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1021s # */ 1021s # 1021s # struct _OrgProjectUsefulInterfaceProxyPrivate 1021s # { 1021s # GData *qdata; 1021s # }; 1021s # 1021s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1021s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1021s # 1021s # #else 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1021s # 1021s # #endif 1021s # static void 1021s # org_project_useful_interface_proxy_finalize (GObject *object) 1021s # { 1021s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1021s # g_datalist_clear (&proxy->priv->qdata); 1021s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1021s # guint prop_id G_GNUC_UNUSED, 1021s # GValue *value G_GNUC_UNUSED, 1021s # GParamSpec *pspec G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1021s # guint prop_id G_GNUC_UNUSED, 1021s # const GValue *value G_GNUC_UNUSED, 1021s # GParamSpec *pspec G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1021s # const gchar *sender_name G_GNUC_UNUSED, 1021s # const gchar *signal_name, 1021s # GVariant *parameters) 1021s # { 1021s # _ExtendedGDBusSignalInfo *info; 1021s # GVariantIter iter; 1021s # GVariant *child; 1021s # GValue *paramv; 1021s # gsize num_params; 1021s # gsize n; 1021s # guint signal_id; 1021s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1021s # if (info == NULL) 1021s # return; 1021s # num_params = g_variant_n_children (parameters); 1021s # paramv = g_new0 (GValue, num_params + 1); 1021s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_set_object (¶mv[0], proxy); 1021s # g_variant_iter_init (&iter, parameters); 1021s # n = 1; 1021s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1021s # { 1021s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1021s # if (arg_info->use_gvariant) 1021s # { 1021s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1021s # g_value_set_variant (¶mv[n], child); 1021s # n++; 1021s # } 1021s # else 1021s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1021s # g_variant_unref (child); 1021s # } 1021s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_signal_emitv (paramv, signal_id, 0, NULL); 1021s # for (n = 0; n < num_params + 1; n++) 1021s # g_value_unset (¶mv[n]); 1021s # g_free (paramv); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1021s # GVariant *changed_properties, 1021s # const gchar *const *invalidated_properties) 1021s # { 1021s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1021s # guint n; 1021s # const gchar *key; 1021s # GVariantIter *iter; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # g_variant_get (changed_properties, "a{sv}", &iter); 1021s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1021s # { 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1021s # g_datalist_remove_data (&proxy->priv->qdata, key); 1021s # if (info != NULL) 1021s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1021s # } 1021s # g_variant_iter_free (iter); 1021s # for (n = 0; invalidated_properties[n] != NULL; n++) 1021s # { 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1021s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1021s # if (info != NULL) 1021s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1021s # } 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1021s # { 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1021s # #else 1021s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1021s # #endif 1021s # 1021s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1021s # { 1021s # GObjectClass *gobject_class; 1021s # GDBusProxyClass *proxy_class; 1021s # 1021s # gobject_class = G_OBJECT_CLASS (klass); 1021s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1021s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1021s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1021s # 1021s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1021s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1021s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1021s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1021s # #endif 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new: 1021s # * @connection: A #GDBusConnection. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1021s # * 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1021s # */ 1021s # void 1021s # org_project_useful_interface_proxy_new ( 1021s # GDBusConnection *connection, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # 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); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_finish: 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_finish ( 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GObject *ret; 1021s # GObject *source_object; 1021s # source_object = g_async_result_get_source_object (res); 1021s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1021s # g_object_unref (source_object); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_sync: 1021s # * @connection: A #GDBusConnection. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1021s # * 1021s # * The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_sync ( 1021s # GDBusConnection *connection, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GInitable *ret; 1021s # 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); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus: 1021s # * @bus_type: A #GBusType. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: A bus name (well-known or unique). 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1021s # * 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1021s # */ 1021s # void 1021s # org_project_useful_interface_proxy_new_for_bus ( 1021s # GBusType bus_type, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # 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); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus_finish: 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_for_bus_finish ( 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GObject *ret; 1021s # GObject *source_object; 1021s # source_object = g_async_result_get_source_object (res); 1021s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1021s # g_object_unref (source_object); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus_sync: 1021s # * @bus_type: A #GBusType. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: A bus name (well-known or unique). 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1021s # * 1021s # * The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_for_bus_sync ( 1021s # GBusType bus_type, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GInitable *ret; 1021s # 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); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # 1021s # /* ------------------------------------------------------------------------ */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceSkeleton: 1021s # * 1021s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceSkeletonClass: 1021s # * @parent_class: The parent class. 1021s # * 1021s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1021s # */ 1021s # 1021s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1021s # { 1021s # GValue *properties; 1021s # GList *changed_properties; 1021s # GSource *changed_properties_idle_source; 1021s # GMainContext *context; 1021s # GMutex lock; 1021s # }; 1021s # 1021s # static void 1021s # _org_project_useful_interface_skeleton_handle_method_call ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name, 1021s # const gchar *method_name, 1021s # GVariant *parameters, 1021s # GDBusMethodInvocation *invocation, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # _ExtendedGDBusMethodInfo *info; 1021s # GVariantIter iter; 1021s # GVariant *child; 1021s # GValue *paramv; 1021s # gsize num_params; 1021s # guint num_extra; 1021s # gsize n; 1021s # guint signal_id; 1021s # GValue return_value = G_VALUE_INIT; 1021s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1021s # g_assert (info != NULL); 1021s # num_params = g_variant_n_children (parameters); 1021s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1021s # n = 0; 1021s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_set_object (¶mv[n++], skeleton); 1021s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1021s # g_value_set_object (¶mv[n++], invocation); 1021s # if (info->pass_fdlist) 1021s # { 1021s # #ifdef G_OS_UNIX 1021s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1021s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1021s # #else 1021s # g_assert_not_reached (); 1021s # #endif 1021s # } 1021s # g_variant_iter_init (&iter, parameters); 1021s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1021s # { 1021s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1021s # if (arg_info->use_gvariant) 1021s # { 1021s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1021s # g_value_set_variant (¶mv[n], child); 1021s # n++; 1021s # } 1021s # else 1021s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1021s # g_variant_unref (child); 1021s # } 1021s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1021s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1021s # if (!g_value_get_boolean (&return_value)) 1021s # 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); 1021s # g_value_unset (&return_value); 1021s # for (n = 0; n < num_params + num_extra; n++) 1021s # g_value_unset (¶mv[n]); 1021s # g_free (paramv); 1021s # } 1021s # 1021s # static GVariant * 1021s # _org_project_useful_interface_skeleton_handle_get_property ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name G_GNUC_UNUSED, 1021s # const gchar *property_name, 1021s # GError **error, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # GValue value = G_VALUE_INIT; 1021s # GParamSpec *pspec; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # GVariant *ret; 1021s # ret = NULL; 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1021s # g_assert (info != NULL); 1021s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1021s # if (pspec == NULL) 1021s # { 1021s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1021s # } 1021s # else 1021s # { 1021s # g_value_init (&value, pspec->value_type); 1021s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1021s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1021s # g_value_unset (&value); 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static gboolean 1021s # _org_project_useful_interface_skeleton_handle_set_property ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name G_GNUC_UNUSED, 1021s # const gchar *property_name, 1021s # GVariant *variant, 1021s # GError **error, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # GValue value = G_VALUE_INIT; 1021s # GParamSpec *pspec; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # gboolean ret; 1021s # ret = FALSE; 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1021s # g_assert (info != NULL); 1021s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1021s # if (pspec == NULL) 1021s # { 1021s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1021s # } 1021s # else 1021s # { 1021s # if (info->use_gvariant) 1021s # g_value_set_variant (&value, variant); 1021s # else 1021s # g_dbus_gvariant_to_gvalue (variant, &value); 1021s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1021s # g_value_unset (&value); 1021s # ret = TRUE; 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1021s # { 1021s # _org_project_useful_interface_skeleton_handle_method_call, 1021s # _org_project_useful_interface_skeleton_handle_get_property, 1021s # _org_project_useful_interface_skeleton_handle_set_property, 1021s # {NULL} 1021s # }; 1021s # 1021s # static GDBusInterfaceInfo * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1021s # { 1021s # return org_project_useful_interface_interface_info (); 1021s # } 1021s # 1021s # static GDBusInterfaceVTable * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1021s # { 1021s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1021s # } 1021s # 1021s # static GVariant * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1021s # 1021s # GVariantBuilder builder; 1021s # guint n; 1021s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1021s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1021s # goto out; 1021s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1021s # { 1021s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1021s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1021s # { 1021s # GVariant *value; 1021s # 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); 1021s # if (value != NULL) 1021s # { 1021s # g_variant_take_ref (value); 1021s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1021s # g_variant_unref (value); 1021s # } 1021s # } 1021s # } 1021s # out: 1021s # return g_variant_builder_end (&builder); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1021s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1021s # 1021s # #else 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1021s # 1021s # #endif 1021s # static void 1021s # org_project_useful_interface_skeleton_finalize (GObject *object) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1021s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1021s # if (skeleton->priv->changed_properties_idle_source != NULL) 1021s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1021s # g_main_context_unref (skeleton->priv->context); 1021s # g_mutex_clear (&skeleton->priv->lock); 1021s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1021s # { 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1021s # #else 1021s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1021s # #endif 1021s # 1021s # g_mutex_init (&skeleton->priv->lock); 1021s # skeleton->priv->context = g_main_context_ref_thread_default (); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1021s # { 1021s # GObjectClass *gobject_class; 1021s # GDBusInterfaceSkeletonClass *skeleton_class; 1021s # 1021s # gobject_class = G_OBJECT_CLASS (klass); 1021s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1021s # 1021s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1021s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1021s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1021s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1021s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1021s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1021s # #endif 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_skeleton_new: 1021s # * 1021s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_skeleton_new (void) 1021s # { 1021s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1021s # } 1021s # /tmp/tmp32mbzb2s/tmp3515w_ea.xml: 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp32mbzb2s/tmp3515w_ea.xml', '--output', '-', '--body'] 1021s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1021s # Output: /* 1021s # * This file is generated by gdbus-codegen, do not modify it. 1021s # * 1021s # * The license of this code is the same as for the D-Bus interface description 1021s # * it was derived from. Note that it links to GLib, so must comply with the 1021s # * LGPL linking clauses. 1021s # */ 1021s # 1021s # #ifdef HAVE_CONFIG_H 1021s # # include "config.h" 1021s # #endif 1021s # 1021s # #include 1021s # #ifdef G_OS_UNIX 1021s # # include 1021s # #endif 1021s # 1021s # #ifdef G_ENABLE_DEBUG 1021s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1021s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1021s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1021s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1021s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1021s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1021s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1021s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1021s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1021s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1021s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1021s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1021s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1021s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1021s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1021s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1021s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1021s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1021s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1021s # #else /* !G_ENABLE_DEBUG */ 1021s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1021s # * Do not access GValues directly in your code. Instead, use the 1021s # * g_value_get_*() functions 1021s # */ 1021s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1021s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1021s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1021s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1021s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1021s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1021s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1021s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1021s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1021s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1021s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1021s # #endif /* !G_ENABLE_DEBUG */ 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusArgInfo parent_struct; 1021s # gboolean use_gvariant; 1021s # } _ExtendedGDBusArgInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusMethodInfo parent_struct; 1021s # const gchar *signal_name; 1021s # gboolean pass_fdlist; 1021s # } _ExtendedGDBusMethodInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusSignalInfo parent_struct; 1021s # const gchar *signal_name; 1021s # } _ExtendedGDBusSignalInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusPropertyInfo parent_struct; 1021s # const gchar *hyphen_name; 1021s # guint use_gvariant : 1; 1021s # guint emits_changed_signal : 1; 1021s # } _ExtendedGDBusPropertyInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusInterfaceInfo parent_struct; 1021s # const gchar *hyphen_name; 1021s # } _ExtendedGDBusInterfaceInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # const _ExtendedGDBusPropertyInfo *info; 1021s # guint prop_id; 1021s # GValue orig_value; /* the value before the change */ 1021s # } ChangedProperty; 1021s # 1021s # static void 1021s # _changed_property_free (ChangedProperty *data) 1021s # { 1021s # g_value_unset (&data->orig_value); 1021s # g_free (data); 1021s # } 1021s # 1021s # static gboolean 1021s # _g_strv_equal0 (gchar **a, gchar **b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # guint n; 1021s # if (a == NULL && b == NULL) 1021s # { 1021s # ret = TRUE; 1021s # goto out; 1021s # } 1021s # if (a == NULL || b == NULL) 1021s # goto out; 1021s # if (g_strv_length (a) != g_strv_length (b)) 1021s # goto out; 1021s # for (n = 0; a[n] != NULL; n++) 1021s # if (g_strcmp0 (a[n], b[n]) != 0) 1021s # goto out; 1021s # ret = TRUE; 1021s # out: 1021s # return ret; 1021s # } 1021s # 1021s # static gboolean 1021s # _g_variant_equal0 (GVariant *a, GVariant *b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # if (a == NULL && b == NULL) 1021s # { 1021s # ret = TRUE; 1021s # goto out; 1021s # } 1021s # if (a == NULL || b == NULL) 1021s # goto out; 1021s # ret = g_variant_equal (a, b); 1021s # out: 1021s # return ret; 1021s # } 1021s # 1021s # G_GNUC_UNUSED static gboolean 1021s # _g_value_equal (const GValue *a, const GValue *b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1021s # switch (G_VALUE_TYPE (a)) 1021s # { 1021s # case G_TYPE_BOOLEAN: 1021s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1021s # break; 1021s # case G_TYPE_UCHAR: 1021s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1021s # break; 1021s # case G_TYPE_INT: 1021s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1021s # break; 1021s # case G_TYPE_UINT: 1021s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1021s # break; 1021s # case G_TYPE_INT64: 1021s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1021s # break; 1021s # case G_TYPE_UINT64: 1021s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1021s # break; 1021s # case G_TYPE_DOUBLE: 1021s # { 1021s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1021s # gdouble da = g_value_get_double (a); 1021s # gdouble db = g_value_get_double (b); 1021s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1021s # } 1021s # break; 1021s # case G_TYPE_STRING: 1021s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1021s # break; 1021s # case G_TYPE_VARIANT: 1021s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1021s # break; 1021s # default: 1021s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1021s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1021s # else 1021s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1021s # break; 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static void 1021s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1021s # GClosure *closure, 1021s # GValue *return_value, 1021s # unsigned int n_param_values, 1021s # const GValue *param_values, 1021s # void *invocation_hint G_GNUC_UNUSED, 1021s # void *marshal_data) 1021s # { 1021s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1021s # (void *data1, 1021s # GDBusMethodInvocation *arg_method_invocation, 1021s # const gchar *arg_arg_o, 1021s # void *data2); 1021s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1021s # GCClosure *cc = (GCClosure*) closure; 1021s # void *data1, *data2; 1021s # gboolean v_return; 1021s # 1021s # g_return_if_fail (return_value != NULL); 1021s # g_return_if_fail (n_param_values == 3); 1021s # 1021s # if (G_CCLOSURE_SWAP_DATA (closure)) 1021s # { 1021s # data1 = closure->data; 1021s # data2 = g_value_peek_pointer (param_values + 0); 1021s # } 1021s # else 1021s # { 1021s # data1 = g_value_peek_pointer (param_values + 0); 1021s # data2 = closure->data; 1021s # } 1021s # 1021s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1021s # (marshal_data ? marshal_data : cc->callback); 1021s # 1021s # v_return = 1021s # callback (data1, 1021s # g_marshal_value_peek_object (param_values + 1), 1021s # g_marshal_value_peek_string (param_values + 2), 1021s # data2); 1021s # 1021s # g_value_set_boolean (return_value, v_return); 1021s # } 1021s # 1021s # /* ------------------------------------------------------------------------ 1021s # * Code for interface org.project.UsefulInterface 1021s # * ------------------------------------------------------------------------ 1021s # */ 1021s # 1021s # /** 1021s # * SECTION:OrgProjectUsefulInterface 1021s # * @title: OrgProjectUsefulInterface 1021s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1021s # * 1021s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1021s # */ 1021s # 1021s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1021s # 1021s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "arg_o", 1021s # (gchar *) "o", 1021s # NULL 1021s # }, 1021s # FALSE 1021s # }; 1021s # 1021s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 1021s # { 1021s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 1021s # NULL 1021s # }; 1021s # 1021s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "SingleArgMethodO", 1021s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 1021s # NULL, 1021s # NULL 1021s # }, 1021s # "handle-single-arg-method-o", 1021s # FALSE 1021s # }; 1021s # 1021s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1021s # { 1021s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1021s # NULL 1021s # }; 1021s # 1021s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "org.project.UsefulInterface", 1021s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1021s # NULL, 1021s # NULL, 1021s # NULL 1021s # }, 1021s # "org-project-useful-interface", 1021s # }; 1021s # 1021s # 1021s # /** 1021s # * org_project_useful_interface_interface_info: 1021s # * 1021s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1021s # * 1021s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1021s # */ 1021s # GDBusInterfaceInfo * 1021s # org_project_useful_interface_interface_info (void) 1021s # { 1021s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_override_properties: 1021s # * @klass: The class structure for a #GObject derived class. 1021s # * @property_id_begin: The property id to assign to the first overridden property. 1021s # * 1021s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1021s # * The properties are overridden in the order they are defined. 1021s # * 1021s # * Returns: The last property id. 1021s # */ 1021s # guint 1021s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1021s # { 1021s # return property_id_begin - 1; 1021s # } 1021s # 1021s # 1021s # inline static void 1021s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1021s # GClosure *closure, 1021s # GValue *return_value, 1021s # unsigned int n_param_values, 1021s # const GValue *param_values, 1021s # void *invocation_hint, 1021s # void *marshal_data) 1021s # { 1021s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1021s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1021s # } 1021s # 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterface: 1021s # * 1021s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceIface: 1021s # * @parent_iface: The parent interface. 1021s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1021s # * 1021s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1021s # */ 1021s # 1021s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1021s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1021s # 1021s # static void 1021s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1021s # { 1021s # /* GObject signals for incoming D-Bus method calls: */ 1021s # /** 1021s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1021s # * @object: A #OrgProjectUsefulInterface. 1021s # * @invocation: A #GDBusMethodInvocation. 1021s # * @arg_arg_o: Argument passed by remote caller. 1021s # * 1021s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1021s # * 1021s # * 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. 1021s # * 1021s # * 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. 1021s # */ 1021s # g_signal_new ("handle-single-arg-method-o", 1021s # G_TYPE_FROM_INTERFACE (iface), 1021s # G_SIGNAL_RUN_LAST, 1021s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1021s # g_signal_accumulator_true_handled, 1021s # NULL, 1021s # org_project_useful_interface_method_marshal_single_arg_method_o, 1021s # G_TYPE_BOOLEAN, 1021s # 2, 1021s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1021s # 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_o: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @arg_arg_o: Argument to pass with the method invocation. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1021s # */ 1021s # void 1021s # org_project_useful_interface_call_single_arg_method_o ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # const gchar *arg_arg_o, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1021s # "SingleArgMethodO", 1021s # g_variant_new ("(o)", 1021s # arg_arg_o), 1021s # G_DBUS_CALL_FLAGS_NONE, 1021s # -1, 1021s # cancellable, 1021s # callback, 1021s # user_data); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_o_finish: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1021s # * @error: Return location for error or %NULL. 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1021s # * 1021s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1021s # */ 1021s # gboolean 1021s # org_project_useful_interface_call_single_arg_method_o_finish ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GVariant *_ret; 1021s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1021s # if (_ret == NULL) 1021s # goto _out; 1021s # g_variant_get (_ret, 1021s # "()"); 1021s # g_variant_unref (_ret); 1021s # _out: 1021s # return _ret != NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_o_sync: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @arg_arg_o: Argument to pass with the method invocation. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL. 1021s # * 1021s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1021s # * 1021s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1021s # */ 1021s # gboolean 1021s # org_project_useful_interface_call_single_arg_method_o_sync ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # const gchar *arg_arg_o, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GVariant *_ret; 1021s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1021s # "SingleArgMethodO", 1021s # g_variant_new ("(o)", 1021s # arg_arg_o), 1021s # G_DBUS_CALL_FLAGS_NONE, 1021s # -1, 1021s # cancellable, 1021s # error); 1021s # if (_ret == NULL) 1021s # goto _out; 1021s # g_variant_get (_ret, 1021s # "()"); 1021s # g_variant_unref (_ret); 1021s # _out: 1021s # return _ret != NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_complete_single_arg_method_o: 1021s # * @object: A #OrgProjectUsefulInterface. 1021s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1021s # * 1021s # * 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. 1021s # * 1021s # * This method will free @invocation, you cannot use it afterwards. 1021s # */ 1021s # void 1021s # org_project_useful_interface_complete_single_arg_method_o ( 1021s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1021s # GDBusMethodInvocation *invocation) 1021s # { 1021s # g_dbus_method_invocation_return_value (invocation, 1021s # g_variant_new ("()")); 1021s # } 1021s # 1021s # /* ------------------------------------------------------------------------ */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceProxy: 1021s # * 1021s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceProxyClass: 1021s # * @parent_class: The parent class. 1021s # * 1021s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1021s # */ 1021s # 1021s # struct _OrgProjectUsefulInterfaceProxyPrivate 1021s # { 1021s # GData *qdata; 1021s # }; 1021s # 1021s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1021s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1021s # 1021s # #else 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1021s # 1021s # #endif 1021s # static void 1021s # org_project_useful_interface_proxy_finalize (GObject *object) 1021s # { 1021s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1021s # g_datalist_clear (&proxy->priv->qdata); 1021s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1021s # guint prop_id G_GNUC_UNUSED, 1021s # GValue *value G_GNUC_UNUSED, 1021s # GParamSpec *pspec G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1021s # guint prop_id G_GNUC_UNUSED, 1021s # const GValue *value G_GNUC_UNUSED, 1021s # GParamSpec *pspec G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1021s # const gchar *sender_name G_GNUC_UNUSED, 1021s # const gchar *signal_name, 1021s # GVariant *parameters) 1021s # { 1021s # _ExtendedGDBusSignalInfo *info; 1021s # GVariantIter iter; 1021s # GVariant *child; 1021s # GValue *paramv; 1021s # gsize num_params; 1021s # gsize n; 1021s # guint signal_id; 1021s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1021s # if (info == NULL) 1021s # return; 1021s # num_params = g_variant_n_children (parameters); 1021s # paramv = g_new0 (GValue, num_params + 1); 1021s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_set_object (¶mv[0], proxy); 1021s # g_variant_iter_init (&iter, parameters); 1021s # n = 1; 1021s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1021s # { 1021s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1021s # if (arg_info->use_gvariant) 1021s # { 1021s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1021s # g_value_set_variant (¶mv[n], child); 1021s # n++; 1021s # } 1021s # else 1021s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1021s # g_variant_unref (child); 1021s # } 1021s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_signal_emitv (paramv, signal_id, 0, NULL); 1021s # for (n = 0; n < num_params + 1; n++) 1021s # g_value_unset (¶mv[n]); 1021s # g_free (paramv); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1021s # GVariant *changed_properties, 1021s # const gchar *const *invalidated_properties) 1021s # { 1021s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1021s # guint n; 1021s # const gchar *key; 1021s # GVariantIter *iter; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # g_variant_get (changed_properties, "a{sv}", &iter); 1021s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1021s # { 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1021s # g_datalist_remove_data (&proxy->priv->qdata, key); 1021s # if (info != NULL) 1021s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1021s # } 1021s # g_variant_iter_free (iter); 1021s # for (n = 0; invalidated_properties[n] != NULL; n++) 1021s # { 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1021s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1021s # if (info != NULL) 1021s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1021s # } 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1021s # { 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1021s # #else 1021s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1021s # #endif 1021s # 1021s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1021s # { 1021s # GObjectClass *gobject_class; 1021s # GDBusProxyClass *proxy_class; 1021s # 1021s # gobject_class = G_OBJECT_CLASS (klass); 1021s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1021s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1021s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1021s # 1021s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1021s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1021s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1021s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1021s # #endif 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new: 1021s # * @connection: A #GDBusConnection. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1021s # * 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1021s # */ 1021s # void 1021s # org_project_useful_interface_proxy_new ( 1021s # GDBusConnection *connection, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # 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); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_finish: 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_finish ( 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GObject *ret; 1021s # GObject *source_object; 1021s # source_object = g_async_result_get_source_object (res); 1021s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1021s # g_object_unref (source_object); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_sync: 1021s # * @connection: A #GDBusConnection. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1021s # * 1021s # * The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_sync ( 1021s # GDBusConnection *connection, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GInitable *ret; 1021s # 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); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus: 1021s # * @bus_type: A #GBusType. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: A bus name (well-known or unique). 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1021s # * 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1021s # */ 1021s # void 1021s # org_project_useful_interface_proxy_new_for_bus ( 1021s # GBusType bus_type, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # 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); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus_finish: 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_for_bus_finish ( 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GObject *ret; 1021s # GObject *source_object; 1021s # source_object = g_async_result_get_source_object (res); 1021s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1021s # g_object_unref (source_object); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus_sync: 1021s # * @bus_type: A #GBusType. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: A bus name (well-known or unique). 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1021s # * 1021s # * The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_for_bus_sync ( 1021s # GBusType bus_type, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GInitable *ret; 1021s # 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); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # 1021s # /* ------------------------------------------------------------------------ */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceSkeleton: 1021s # * 1021s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceSkeletonClass: 1021s # * @parent_class: The parent class. 1021s # * 1021s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1021s # */ 1021s # 1021s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1021s # { 1021s # GValue *properties; 1021s # GList *changed_properties; 1021s # GSource *changed_properties_idle_source; 1021s # GMainContext *context; 1021s # GMutex lock; 1021s # }; 1021s # 1021s # static void 1021s # _org_project_useful_interface_skeleton_handle_method_call ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name, 1021s # const gchar *method_name, 1021s # GVariant *parameters, 1021s # GDBusMethodInvocation *invocation, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # _ExtendedGDBusMethodInfo *info; 1021s # GVariantIter iter; 1021s # GVariant *child; 1021s # GValue *paramv; 1021s # gsize num_params; 1021s # guint num_extra; 1021s # gsize n; 1021s # guint signal_id; 1021s # GValue return_value = G_VALUE_INIT; 1021s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1021s # g_assert (info != NULL); 1021s # num_params = g_variant_n_children (parameters); 1021s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1021s # n = 0; 1021s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_set_object (¶mv[n++], skeleton); 1021s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1021s # g_value_set_object (¶mv[n++], invocation); 1021s # if (info->pass_fdlist) 1021s # { 1021s # #ifdef G_OS_UNIX 1021s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1021s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1021s # #else 1021s # g_assert_not_reached (); 1021s # #endif 1021s # } 1021s # g_variant_iter_init (&iter, parameters); 1021s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1021s # { 1021s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1021s # if (arg_info->use_gvariant) 1021s # { 1021s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1021s # g_value_set_variant (¶mv[n], child); 1021s # n++; 1021s # } 1021s # else 1021s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1021s # g_variant_unref (child); 1021s # } 1021s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1021s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1021s # if (!g_value_get_boolean (&return_value)) 1021s # 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); 1021s # g_value_unset (&return_value); 1021s # for (n = 0; n < num_params + num_extra; n++) 1021s # g_value_unset (¶mv[n]); 1021s # g_free (paramv); 1021s # } 1021s # 1021s # static GVariant * 1021s # _org_project_useful_interface_skeleton_handle_get_property ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name G_GNUC_UNUSED, 1021s # const gchar *property_name, 1021s # GError **error, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # GValue value = G_VALUE_INIT; 1021s # GParamSpec *pspec; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # GVariant *ret; 1021s # ret = NULL; 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1021s # g_assert (info != NULL); 1021s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1021s # if (pspec == NULL) 1021s # { 1021s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1021s # } 1021s # else 1021s # { 1021s # g_value_init (&value, pspec->value_type); 1021s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1021s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1021s # g_value_unset (&value); 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static gboolean 1021s # _org_project_useful_interface_skeleton_handle_set_property ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name G_GNUC_UNUSED, 1021s # const gchar *property_name, 1021s # GVariant *variant, 1021s # GError **error, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # GValue value = G_VALUE_INIT; 1021s # GParamSpec *pspec; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # gboolean ret; 1021s # ret = FALSE; 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1021s # g_assert (info != NULL); 1021s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1021s # if (pspec == NULL) 1021s # { 1021s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1021s # } 1021s # else 1021s # { 1021s # if (info->use_gvariant) 1021s # g_value_set_variant (&value, variant); 1021s # else 1021s # g_dbus_gvariant_to_gvalue (variant, &value); 1021s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1021s # g_value_unset (&value); 1021s # ret = TRUE; 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1021s # { 1021s # _org_project_useful_interface_skeleton_handle_method_call, 1021s # _org_project_useful_interface_skeleton_handle_get_property, 1021s # _org_project_useful_interface_skeleton_handle_set_property, 1021s # {NULL} 1021s # }; 1021s # 1021s # static GDBusInterfaceInfo * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1021s # { 1021s # return org_project_useful_interface_interface_info (); 1021s # } 1021s # 1021s # static GDBusInterfaceVTable * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1021s # { 1021s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1021s # } 1021s # 1021s # static GVariant * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1021s # 1021s # GVariantBuilder builder; 1021s # guint n; 1021s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1021s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1021s # goto out; 1021s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1021s # { 1021s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1021s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1021s # { 1021s # GVariant *value; 1021s # 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); 1021s # if (value != NULL) 1021s # { 1021s # g_variant_take_ref (value); 1021s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1021s # g_variant_unref (value); 1021s # } 1021s # } 1021s # } 1021s # out: 1021s # return g_variant_builder_end (&builder); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1021s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1021s # 1021s # #else 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1021s # 1021s # #endif 1021s # static void 1021s # org_project_useful_interface_skeleton_finalize (GObject *object) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1021s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1021s # if (skeleton->priv->changed_properties_idle_source != NULL) 1021s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1021s # g_main_context_unref (skeleton->priv->context); 1021s # g_mutex_clear (&skeleton->priv->lock); 1021s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1021s # { 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1021s # #else 1021s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1021s # #endif 1021s # 1021s # g_mutex_init (&skeleton->priv->lock); 1021s # skeleton->priv->context = g_main_context_ref_thread_default (); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1021s # { 1021s # GObjectClass *gobject_class; 1021s # GDBusInterfaceSkeletonClass *skeleton_class; 1021s # 1021s # gobject_class = G_OBJECT_CLASS (klass); 1021s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1021s # 1021s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1021s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1021s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1021s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1021s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1021s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1021s # #endif 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_skeleton_new: 1021s # * 1021s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_skeleton_new (void) 1021s # { 1021s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1021s # } 1021s # /tmp/tmp32mbzb2s/tmpfo31kl4e.xml: 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp32mbzb2s/tmpfo31kl4e.xml', '--output', '-', '--body'] 1021s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1021s # Output: /* 1021s # * This file is generated by gdbus-codegen, do not modify it. 1021s # * 1021s # * The license of this code is the same as for the D-Bus interface description 1021s # * it was derived from. Note that it links to GLib, so must comply with the 1021s # * LGPL linking clauses. 1021s # */ 1021s # 1021s # #ifdef HAVE_CONFIG_H 1021s # # include "config.h" 1021s # #endif 1021s # 1021s # #include 1021s # #ifdef G_OS_UNIX 1021s # # include 1021s # #endif 1021s # 1021s # #ifdef G_ENABLE_DEBUG 1021s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1021s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1021s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1021s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1021s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1021s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1021s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1021s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1021s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1021s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1021s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1021s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1021s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1021s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1021s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1021s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1021s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1021s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1021s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1021s # #else /* !G_ENABLE_DEBUG */ 1021s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1021s # * Do not access GValues directly in your code. Instead, use the 1021s # * g_value_get_*() functions 1021s # */ 1021s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1021s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1021s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1021s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1021s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1021s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1021s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1021s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1021s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1021s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1021s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1021s # #endif /* !G_ENABLE_DEBUG */ 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusArgInfo parent_struct; 1021s # gboolean use_gvariant; 1021s # } _ExtendedGDBusArgInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusMethodInfo parent_struct; 1021s # const gchar *signal_name; 1021s # gboolean pass_fdlist; 1021s # } _ExtendedGDBusMethodInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusSignalInfo parent_struct; 1021s # const gchar *signal_name; 1021s # } _ExtendedGDBusSignalInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusPropertyInfo parent_struct; 1021s # const gchar *hyphen_name; 1021s # guint use_gvariant : 1; 1021s # guint emits_changed_signal : 1; 1021s # } _ExtendedGDBusPropertyInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusInterfaceInfo parent_struct; 1021s # const gchar *hyphen_name; 1021s # } _ExtendedGDBusInterfaceInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # const _ExtendedGDBusPropertyInfo *info; 1021s # guint prop_id; 1021s # GValue orig_value; /* the value before the change */ 1021s # } ChangedProperty; 1021s # 1021s # static void 1021s # _changed_property_free (ChangedProperty *data) 1021s # { 1021s # g_value_unset (&data->orig_value); 1021s # g_free (data); 1021s # } 1021s # 1021s # static gboolean 1021s # _g_strv_equal0 (gchar **a, gchar **b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # guint n; 1021s # if (a == NULL && b == NULL) 1021s # { 1021s # ret = TRUE; 1021s # goto out; 1021s # } 1021s # if (a == NULL || b == NULL) 1021s # goto out; 1021s # if (g_strv_length (a) != g_strv_length (b)) 1021s # goto out; 1021s # for (n = 0; a[n] != NULL; n++) 1021s # if (g_strcmp0 (a[n], b[n]) != 0) 1021s # goto out; 1021s # ret = TRUE; 1021s # out: 1021s # return ret; 1021s # } 1021s # 1021s # static gboolean 1021s # _g_variant_equal0 (GVariant *a, GVariant *b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # if (a == NULL && b == NULL) 1021s # { 1021s # ret = TRUE; 1021s # goto out; 1021s # } 1021s # if (a == NULL || b == NULL) 1021s # goto out; 1021s # ret = g_variant_equal (a, b); 1021s # out: 1021s # return ret; 1021s # } 1021s # 1021s # G_GNUC_UNUSED static gboolean 1021s # _g_value_equal (const GValue *a, const GValue *b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1021s # switch (G_VALUE_TYPE (a)) 1021s # { 1021s # case G_TYPE_BOOLEAN: 1021s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1021s # break; 1021s # case G_TYPE_UCHAR: 1021s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1021s # break; 1021s # case G_TYPE_INT: 1021s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1021s # break; 1021s # case G_TYPE_UINT: 1021s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1021s # break; 1021s # case G_TYPE_INT64: 1021s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1021s # break; 1021s # case G_TYPE_UINT64: 1021s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1021s # break; 1021s # case G_TYPE_DOUBLE: 1021s # { 1021s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1021s # gdouble da = g_value_get_double (a); 1021s # gdouble db = g_value_get_double (b); 1021s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1021s # } 1021s # break; 1021s # case G_TYPE_STRING: 1021s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1021s # break; 1021s # case G_TYPE_VARIANT: 1021s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1021s # break; 1021s # default: 1021s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1021s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1021s # else 1021s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1021s # break; 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static void 1021s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1021s # GClosure *closure, 1021s # GValue *return_value, 1021s # unsigned int n_param_values, 1021s # const GValue *param_values, 1021s # void *invocation_hint G_GNUC_UNUSED, 1021s # void *marshal_data) 1021s # { 1021s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1021s # (void *data1, 1021s # GDBusMethodInvocation *arg_method_invocation, 1021s # const gchar *arg_arg_g, 1021s # void *data2); 1021s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1021s # GCClosure *cc = (GCClosure*) closure; 1021s # void *data1, *data2; 1021s # gboolean v_return; 1021s # 1021s # g_return_if_fail (return_value != NULL); 1021s # g_return_if_fail (n_param_values == 3); 1021s # 1021s # if (G_CCLOSURE_SWAP_DATA (closure)) 1021s # { 1021s # data1 = closure->data; 1021s # data2 = g_value_peek_pointer (param_values + 0); 1021s # } 1021s # else 1021s # { 1021s # data1 = g_value_peek_pointer (param_values + 0); 1021s # data2 = closure->data; 1021s # } 1021s # 1021s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1021s # (marshal_data ? marshal_data : cc->callback); 1021s # 1021s # v_return = 1021s # callback (data1, 1021s # g_marshal_value_peek_object (param_values + 1), 1021s # g_marshal_value_peek_string (param_values + 2), 1021s # data2); 1021s # 1021s # g_value_set_boolean (return_value, v_return); 1021s # } 1021s # 1021s # /* ------------------------------------------------------------------------ 1021s # * Code for interface org.project.UsefulInterface 1021s # * ------------------------------------------------------------------------ 1021s # */ 1021s # 1021s # /** 1021s # * SECTION:OrgProjectUsefulInterface 1021s # * @title: OrgProjectUsefulInterface 1021s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1021s # * 1021s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1021s # */ 1021s # 1021s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1021s # 1021s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "arg_g", 1021s # (gchar *) "g", 1021s # NULL 1021s # }, 1021s # FALSE 1021s # }; 1021s # 1021s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 1021s # { 1021s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 1021s # NULL 1021s # }; 1021s # 1021s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "SingleArgMethodG", 1021s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 1021s # NULL, 1021s # NULL 1021s # }, 1021s # "handle-single-arg-method-g", 1021s # FALSE 1021s # }; 1021s # 1021s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1021s # { 1021s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1021s # NULL 1021s # }; 1021s # 1021s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "org.project.UsefulInterface", 1021s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1021s # NULL, 1021s # NULL, 1021s # NULL 1021s # }, 1021s # "org-project-useful-interface", 1021s # }; 1021s # 1021s # 1021s # /** 1021s # * org_project_useful_interface_interface_info: 1021s # * 1021s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1021s # * 1021s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1021s # */ 1021s # GDBusInterfaceInfo * 1021s # org_project_useful_interface_interface_info (void) 1021s # { 1021s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_override_properties: 1021s # * @klass: The class structure for a #GObject derived class. 1021s # * @property_id_begin: The property id to assign to the first overridden property. 1021s # * 1021s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1021s # * The properties are overridden in the order they are defined. 1021s # * 1021s # * Returns: The last property id. 1021s # */ 1021s # guint 1021s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1021s # { 1021s # return property_id_begin - 1; 1021s # } 1021s # 1021s # 1021s # inline static void 1021s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1021s # GClosure *closure, 1021s # GValue *return_value, 1021s # unsigned int n_param_values, 1021s # const GValue *param_values, 1021s # void *invocation_hint, 1021s # void *marshal_data) 1021s # { 1021s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1021s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1021s # } 1021s # 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterface: 1021s # * 1021s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceIface: 1021s # * @parent_iface: The parent interface. 1021s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1021s # * 1021s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1021s # */ 1021s # 1021s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1021s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1021s # 1021s # static void 1021s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1021s # { 1021s # /* GObject signals for incoming D-Bus method calls: */ 1021s # /** 1021s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1021s # * @object: A #OrgProjectUsefulInterface. 1021s # * @invocation: A #GDBusMethodInvocation. 1021s # * @arg_arg_g: Argument passed by remote caller. 1021s # * 1021s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1021s # * 1021s # * 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. 1021s # * 1021s # * 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. 1021s # */ 1021s # g_signal_new ("handle-single-arg-method-g", 1021s # G_TYPE_FROM_INTERFACE (iface), 1021s # G_SIGNAL_RUN_LAST, 1021s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1021s # g_signal_accumulator_true_handled, 1021s # NULL, 1021s # org_project_useful_interface_method_marshal_single_arg_method_g, 1021s # G_TYPE_BOOLEAN, 1021s # 2, 1021s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1021s # 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_g: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @arg_arg_g: Argument to pass with the method invocation. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1021s # */ 1021s # void 1021s # org_project_useful_interface_call_single_arg_method_g ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # const gchar *arg_arg_g, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1021s # "SingleArgMethodG", 1021s # g_variant_new ("(g)", 1021s # arg_arg_g), 1021s # G_DBUS_CALL_FLAGS_NONE, 1021s # -1, 1021s # cancellable, 1021s # callback, 1021s # user_data); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_g_finish: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1021s # * @error: Return location for error or %NULL. 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1021s # * 1021s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1021s # */ 1021s # gboolean 1021s # org_project_useful_interface_call_single_arg_method_g_finish ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GVariant *_ret; 1021s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1021s # if (_ret == NULL) 1021s # goto _out; 1021s # g_variant_get (_ret, 1021s # "()"); 1021s # g_variant_unref (_ret); 1021s # _out: 1021s # return _ret != NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_g_sync: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @arg_arg_g: Argument to pass with the method invocation. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL. 1021s # * 1021s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1021s # * 1021s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1021s # */ 1021s # gboolean 1021s # org_project_useful_interface_call_single_arg_method_g_sync ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # const gchar *arg_arg_g, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GVariant *_ret; 1021s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1021s # "SingleArgMethodG", 1021s # g_variant_new ("(g)", 1021s # arg_arg_g), 1021s # G_DBUS_CALL_FLAGS_NONE, 1021s # -1, 1021s # cancellable, 1021s # error); 1021s # if (_ret == NULL) 1021s # goto _out; 1021s # g_variant_get (_ret, 1021s # "()"); 1021s # g_variant_unref (_ret); 1021s # _out: 1021s # return _ret != NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_complete_single_arg_method_g: 1021s # * @object: A #OrgProjectUsefulInterface. 1021s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1021s # * 1021s # * 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. 1021s # * 1021s # * This method will free @invocation, you cannot use it afterwards. 1021s # */ 1021s # void 1021s # org_project_useful_interface_complete_single_arg_method_g ( 1021s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1021s # GDBusMethodInvocation *invocation) 1021s # { 1021s # g_dbus_method_invocation_return_value (invocation, 1021s # g_variant_new ("()")); 1021s # } 1021s # 1021s # /* ------------------------------------------------------------------------ */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceProxy: 1021s # * 1021s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceProxyClass: 1021s # * @parent_class: The parent class. 1021s # * 1021s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1021s # */ 1021s # 1021s # struct _OrgProjectUsefulInterfaceProxyPrivate 1021s # { 1021s # GData *qdata; 1021s # }; 1021s # 1021s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1021s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1021s # 1021s # #else 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1021s # 1021s # #endif 1021s # static void 1021s # org_project_useful_interface_proxy_finalize (GObject *object) 1021s # { 1021s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1021s # g_datalist_clear (&proxy->priv->qdata); 1021s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1021s # guint prop_id G_GNUC_UNUSED, 1021s # GValue *value G_GNUC_UNUSED, 1021s # GParamSpec *pspec G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1021s # guint prop_id G_GNUC_UNUSED, 1021s # const GValue *value G_GNUC_UNUSED, 1021s # GParamSpec *pspec G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1021s # const gchar *sender_name G_GNUC_UNUSED, 1021s # const gchar *signal_name, 1021s # GVariant *parameters) 1021s # { 1021s # _ExtendedGDBusSignalInfo *info; 1021s # GVariantIter iter; 1021s # GVariant *child; 1021s # GValue *paramv; 1021s # gsize num_params; 1021s # gsize n; 1021s # guint signal_id; 1021s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1021s # if (info == NULL) 1021s # return; 1021s # num_params = g_variant_n_children (parameters); 1021s # paramv = g_new0 (GValue, num_params + 1); 1021s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_set_object (¶mv[0], proxy); 1021s # g_variant_iter_init (&iter, parameters); 1021s # n = 1; 1021s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1021s # { 1021s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1021s # if (arg_info->use_gvariant) 1021s # { 1021s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1021s # g_value_set_variant (¶mv[n], child); 1021s # n++; 1021s # } 1021s # else 1021s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1021s # g_variant_unref (child); 1021s # } 1021s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_signal_emitv (paramv, signal_id, 0, NULL); 1021s # for (n = 0; n < num_params + 1; n++) 1021s # g_value_unset (¶mv[n]); 1021s # g_free (paramv); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1021s # GVariant *changed_properties, 1021s # const gchar *const *invalidated_properties) 1021s # { 1021s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1021s # guint n; 1021s # const gchar *key; 1021s # GVariantIter *iter; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # g_variant_get (changed_properties, "a{sv}", &iter); 1021s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1021s # { 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1021s # g_datalist_remove_data (&proxy->priv->qdata, key); 1021s # if (info != NULL) 1021s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1021s # } 1021s # g_variant_iter_free (iter); 1021s # for (n = 0; invalidated_properties[n] != NULL; n++) 1021s # { 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1021s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1021s # if (info != NULL) 1021s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1021s # } 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1021s # { 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1021s # #else 1021s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1021s # #endif 1021s # 1021s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1021s # { 1021s # GObjectClass *gobject_class; 1021s # GDBusProxyClass *proxy_class; 1021s # 1021s # gobject_class = G_OBJECT_CLASS (klass); 1021s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1021s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1021s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1021s # 1021s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1021s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1021s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1021s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1021s # #endif 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new: 1021s # * @connection: A #GDBusConnection. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1021s # * 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1021s # */ 1021s # void 1021s # org_project_useful_interface_proxy_new ( 1021s # GDBusConnection *connection, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # 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); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_finish: 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_finish ( 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GObject *ret; 1021s # GObject *source_object; 1021s # source_object = g_async_result_get_source_object (res); 1021s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1021s # g_object_unref (source_object); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_sync: 1021s # * @connection: A #GDBusConnection. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1021s # * 1021s # * The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_sync ( 1021s # GDBusConnection *connection, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GInitable *ret; 1021s # 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); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus: 1021s # * @bus_type: A #GBusType. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: A bus name (well-known or unique). 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1021s # * 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1021s # */ 1021s # void 1021s # org_project_useful_interface_proxy_new_for_bus ( 1021s # GBusType bus_type, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # 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); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus_finish: 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_for_bus_finish ( 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GObject *ret; 1021s # GObject *source_object; 1021s # source_object = g_async_result_get_source_object (res); 1021s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1021s # g_object_unref (source_object); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus_sync: 1021s # * @bus_type: A #GBusType. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: A bus name (well-known or unique). 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1021s # * 1021s # * The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_for_bus_sync ( 1021s # GBusType bus_type, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GInitable *ret; 1021s # 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); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # 1021s # /* ------------------------------------------------------------------------ */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceSkeleton: 1021s # * 1021s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceSkeletonClass: 1021s # * @parent_class: The parent class. 1021s # * 1021s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1021s # */ 1021s # 1021s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1021s # { 1021s # GValue *properties; 1021s # GList *changed_properties; 1021s # GSource *changed_properties_idle_source; 1021s # GMainContext *context; 1021s # GMutex lock; 1021s # }; 1021s # 1021s # static void 1021s # _org_project_useful_interface_skeleton_handle_method_call ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name, 1021s # const gchar *method_name, 1021s # GVariant *parameters, 1021s # GDBusMethodInvocation *invocation, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # _ExtendedGDBusMethodInfo *info; 1021s # GVariantIter iter; 1021s # GVariant *child; 1021s # GValue *paramv; 1021s # gsize num_params; 1021s # guint num_extra; 1021s # gsize n; 1021s # guint signal_id; 1021s # GValue return_value = G_VALUE_INIT; 1021s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1021s # g_assert (info != NULL); 1021s # num_params = g_variant_n_children (parameters); 1021s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1021s # n = 0; 1021s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_set_object (¶mv[n++], skeleton); 1021s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1021s # g_value_set_object (¶mv[n++], invocation); 1021s # if (info->pass_fdlist) 1021s # { 1021s # #ifdef G_OS_UNIX 1021s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1021s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1021s # #else 1021s # g_assert_not_reached (); 1021s # #endif 1021s # } 1021s # g_variant_iter_init (&iter, parameters); 1021s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1021s # { 1021s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1021s # if (arg_info->use_gvariant) 1021s # { 1021s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1021s # g_value_set_variant (¶mv[n], child); 1021s # n++; 1021s # } 1021s # else 1021s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1021s # g_variant_unref (child); 1021s # } 1021s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1021s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1021s # if (!g_value_get_boolean (&return_value)) 1021s # 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); 1021s # g_value_unset (&return_value); 1021s # for (n = 0; n < num_params + num_extra; n++) 1021s # g_value_unset (¶mv[n]); 1021s # g_free (paramv); 1021s # } 1021s # 1021s # static GVariant * 1021s # _org_project_useful_interface_skeleton_handle_get_property ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name G_GNUC_UNUSED, 1021s # const gchar *property_name, 1021s # GError **error, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # GValue value = G_VALUE_INIT; 1021s # GParamSpec *pspec; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # GVariant *ret; 1021s # ret = NULL; 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1021s # g_assert (info != NULL); 1021s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1021s # if (pspec == NULL) 1021s # { 1021s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1021s # } 1021s # else 1021s # { 1021s # g_value_init (&value, pspec->value_type); 1021s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1021s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1021s # g_value_unset (&value); 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static gboolean 1021s # _org_project_useful_interface_skeleton_handle_set_property ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name G_GNUC_UNUSED, 1021s # const gchar *property_name, 1021s # GVariant *variant, 1021s # GError **error, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # GValue value = G_VALUE_INIT; 1021s # GParamSpec *pspec; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # gboolean ret; 1021s # ret = FALSE; 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1021s # g_assert (info != NULL); 1021s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1021s # if (pspec == NULL) 1021s # { 1021s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1021s # } 1021s # else 1021s # { 1021s # if (info->use_gvariant) 1021s # g_value_set_variant (&value, variant); 1021s # else 1021s # g_dbus_gvariant_to_gvalue (variant, &value); 1021s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1021s # g_value_unset (&value); 1021s # ret = TRUE; 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1021s # { 1021s # _org_project_useful_interface_skeleton_handle_method_call, 1021s # _org_project_useful_interface_skeleton_handle_get_property, 1021s # _org_project_useful_interface_skeleton_handle_set_property, 1021s # {NULL} 1021s # }; 1021s # 1021s # static GDBusInterfaceInfo * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1021s # { 1021s # return org_project_useful_interface_interface_info (); 1021s # } 1021s # 1021s # static GDBusInterfaceVTable * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1021s # { 1021s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1021s # } 1021s # 1021s # static GVariant * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1021s # 1021s # GVariantBuilder builder; 1021s # guint n; 1021s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1021s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1021s # goto out; 1021s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1021s # { 1021s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1021s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1021s # { 1021s # GVariant *value; 1021s # 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); 1021s # if (value != NULL) 1021s # { 1021s # g_variant_take_ref (value); 1021s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1021s # g_variant_unref (value); 1021s # } 1021s # } 1021s # } 1021s # out: 1021s # return g_variant_builder_end (&builder); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1021s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1021s # 1021s # #else 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1021s # 1021s # #endif 1021s # static void 1021s # org_project_useful_interface_skeleton_finalize (GObject *object) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1021s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1021s # if (skeleton->priv->changed_properties_idle_source != NULL) 1021s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1021s # g_main_context_unref (skeleton->priv->context); 1021s # g_mutex_clear (&skeleton->priv->lock); 1021s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1021s # { 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1021s # #else 1021s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1021s # #endif 1021s # 1021s # g_mutex_init (&skeleton->priv->lock); 1021s # skeleton->priv->context = g_main_context_ref_thread_default (); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1021s # { 1021s # GObjectClass *gobject_class; 1021s # GDBusInterfaceSkeletonClass *skeleton_class; 1021s # 1021s # gobject_class = G_OBJECT_CLASS (klass); 1021s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1021s # 1021s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1021s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1021s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1021s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1021s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1021s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1021s # #endif 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_skeleton_new: 1021s # * 1021s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_skeleton_new (void) 1021s # { 1021s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1021s # } 1021s # /tmp/tmp32mbzb2s/tmp86yc6swv.xml: 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp32mbzb2s/tmp86yc6swv.xml', '--output', '-', '--body'] 1021s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1021s # Output: /* 1021s # * This file is generated by gdbus-codegen, do not modify it. 1021s # * 1021s # * The license of this code is the same as for the D-Bus interface description 1021s # * it was derived from. Note that it links to GLib, so must comply with the 1021s # * LGPL linking clauses. 1021s # */ 1021s # 1021s # #ifdef HAVE_CONFIG_H 1021s # # include "config.h" 1021s # #endif 1021s # 1021s # #include 1021s # #ifdef G_OS_UNIX 1021s # # include 1021s # #endif 1021s # 1021s # #ifdef G_ENABLE_DEBUG 1021s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1021s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1021s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1021s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1021s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1021s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1021s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1021s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1021s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1021s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1021s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1021s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1021s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1021s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1021s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1021s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1021s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1021s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1021s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1021s # #else /* !G_ENABLE_DEBUG */ 1021s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1021s # * Do not access GValues directly in your code. Instead, use the 1021s # * g_value_get_*() functions 1021s # */ 1021s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1021s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1021s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1021s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1021s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1021s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1021s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1021s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1021s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1021s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1021s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1021s # #endif /* !G_ENABLE_DEBUG */ 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusArgInfo parent_struct; 1021s # gboolean use_gvariant; 1021s # } _ExtendedGDBusArgInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusMethodInfo parent_struct; 1021s # const gchar *signal_name; 1021s # gboolean pass_fdlist; 1021s # } _ExtendedGDBusMethodInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusSignalInfo parent_struct; 1021s # const gchar *signal_name; 1021s # } _ExtendedGDBusSignalInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusPropertyInfo parent_struct; 1021s # const gchar *hyphen_name; 1021s # guint use_gvariant : 1; 1021s # guint emits_changed_signal : 1; 1021s # } _ExtendedGDBusPropertyInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusInterfaceInfo parent_struct; 1021s # const gchar *hyphen_name; 1021s # } _ExtendedGDBusInterfaceInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # const _ExtendedGDBusPropertyInfo *info; 1021s # guint prop_id; 1021s # GValue orig_value; /* the value before the change */ 1021s # } ChangedProperty; 1021s # 1021s # static void 1021s # _changed_property_free (ChangedProperty *data) 1021s # { 1021s # g_value_unset (&data->orig_value); 1021s # g_free (data); 1021s # } 1021s # 1021s # static gboolean 1021s # _g_strv_equal0 (gchar **a, gchar **b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # guint n; 1021s # if (a == NULL && b == NULL) 1021s # { 1021s # ret = TRUE; 1021s # goto out; 1021s # } 1021s # if (a == NULL || b == NULL) 1021s # goto out; 1021s # if (g_strv_length (a) != g_strv_length (b)) 1021s # goto out; 1021s # for (n = 0; a[n] != NULL; n++) 1021s # if (g_strcmp0 (a[n], b[n]) != 0) 1021s # goto out; 1021s # ret = TRUE; 1021s # out: 1021s # return ret; 1021s # } 1021s # 1021s # static gboolean 1021s # _g_variant_equal0 (GVariant *a, GVariant *b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # if (a == NULL && b == NULL) 1021s # { 1021s # ret = TRUE; 1021s # goto out; 1021s # } 1021s # if (a == NULL || b == NULL) 1021s # goto out; 1021s # ret = g_variant_equal (a, b); 1021s # out: 1021s # return ret; 1021s # } 1021s # 1021s # G_GNUC_UNUSED static gboolean 1021s # _g_value_equal (const GValue *a, const GValue *b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1021s # switch (G_VALUE_TYPE (a)) 1021s # { 1021s # case G_TYPE_BOOLEAN: 1021s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1021s # break; 1021s # case G_TYPE_UCHAR: 1021s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1021s # break; 1021s # case G_TYPE_INT: 1021s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1021s # break; 1021s # case G_TYPE_UINT: 1021s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1021s # break; 1021s # case G_TYPE_INT64: 1021s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1021s # break; 1021s # case G_TYPE_UINT64: 1021s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1021s # break; 1021s # case G_TYPE_DOUBLE: 1021s # { 1021s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1021s # gdouble da = g_value_get_double (a); 1021s # gdouble db = g_value_get_double (b); 1021s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1021s # } 1021s # break; 1021s # case G_TYPE_STRING: 1021s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1021s # break; 1021s # case G_TYPE_VARIANT: 1021s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1021s # break; 1021s # default: 1021s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1021s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1021s # else 1021s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1021s # break; 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static void 1021s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1021s # GClosure *closure, 1021s # GValue *return_value, 1021s # unsigned int n_param_values, 1021s # const GValue *param_values, 1021s # void *invocation_hint G_GNUC_UNUSED, 1021s # void *marshal_data) 1021s # { 1021s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1021s # (void *data1, 1021s # GDBusMethodInvocation *arg_method_invocation, 1021s # GVariant *arg_arg_h, 1021s # void *data2); 1021s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1021s # GCClosure *cc = (GCClosure*) closure; 1021s # void *data1, *data2; 1021s # gboolean v_return; 1021s # 1021s # g_return_if_fail (return_value != NULL); 1021s # g_return_if_fail (n_param_values == 3); 1021s # 1021s # if (G_CCLOSURE_SWAP_DATA (closure)) 1021s # { 1021s # data1 = closure->data; 1021s # data2 = g_value_peek_pointer (param_values + 0); 1021s # } 1021s # else 1021s # { 1021s # data1 = g_value_peek_pointer (param_values + 0); 1021s # data2 = closure->data; 1021s # } 1021s # 1021s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1021s # (marshal_data ? marshal_data : cc->callback); 1021s # 1021s # v_return = 1021s # callback (data1, 1021s # g_marshal_value_peek_object (param_values + 1), 1021s # g_marshal_value_peek_variant (param_values + 2), 1021s # data2); 1021s # 1021s # g_value_set_boolean (return_value, v_return); 1021s # } 1021s # 1021s # /* ------------------------------------------------------------------------ 1021s # * Code for interface org.project.UsefulInterface 1021s # * ------------------------------------------------------------------------ 1021s # */ 1021s # 1021s # /** 1021s # * SECTION:OrgProjectUsefulInterface 1021s # * @title: OrgProjectUsefulInterface 1021s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1021s # * 1021s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1021s # */ 1021s # 1021s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1021s # 1021s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "arg_h", 1021s # (gchar *) "h", 1021s # NULL 1021s # }, 1021s # FALSE 1021s # }; 1021s # 1021s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 1021s # { 1021s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 1021s # NULL 1021s # }; 1021s # 1021s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "SingleArgMethodH", 1021s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 1021s # NULL, 1021s # NULL 1021s # }, 1021s # "handle-single-arg-method-h", 1021s # FALSE 1021s # }; 1021s # 1021s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1021s # { 1021s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1021s # NULL 1021s # }; 1021s # 1021s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "org.project.UsefulInterface", 1021s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1021s # NULL, 1021s # NULL, 1021s # NULL 1021s # }, 1021s # "org-project-useful-interface", 1021s # }; 1021s # 1021s # 1021s # /** 1021s # * org_project_useful_interface_interface_info: 1021s # * 1021s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1021s # * 1021s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1021s # */ 1021s # GDBusInterfaceInfo * 1021s # org_project_useful_interface_interface_info (void) 1021s # { 1021s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_override_properties: 1021s # * @klass: The class structure for a #GObject derived class. 1021s # * @property_id_begin: The property id to assign to the first overridden property. 1021s # * 1021s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1021s # * The properties are overridden in the order they are defined. 1021s # * 1021s # * Returns: The last property id. 1021s # */ 1021s # guint 1021s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1021s # { 1021s # return property_id_begin - 1; 1021s # } 1021s # 1021s # 1021s # inline static void 1021s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1021s # GClosure *closure, 1021s # GValue *return_value, 1021s # unsigned int n_param_values, 1021s # const GValue *param_values, 1021s # void *invocation_hint, 1021s # void *marshal_data) 1021s # { 1021s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1021s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1021s # } 1021s # 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterface: 1021s # * 1021s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceIface: 1021s # * @parent_iface: The parent interface. 1021s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1021s # * 1021s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1021s # */ 1021s # 1021s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1021s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1021s # 1021s # static void 1021s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1021s # { 1021s # /* GObject signals for incoming D-Bus method calls: */ 1021s # /** 1021s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1021s # * @object: A #OrgProjectUsefulInterface. 1021s # * @invocation: A #GDBusMethodInvocation. 1021s # * @arg_arg_h: Argument passed by remote caller. 1021s # * 1021s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1021s # * 1021s # * 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. 1021s # * 1021s # * 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. 1021s # */ 1021s # g_signal_new ("handle-single-arg-method-h", 1021s # G_TYPE_FROM_INTERFACE (iface), 1021s # G_SIGNAL_RUN_LAST, 1021s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1021s # g_signal_accumulator_true_handled, 1021s # NULL, 1021s # org_project_useful_interface_method_marshal_single_arg_method_h, 1021s # G_TYPE_BOOLEAN, 1021s # 2, 1021s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1021s # 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_h: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @arg_arg_h: Argument to pass with the method invocation. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1021s # */ 1021s # void 1021s # org_project_useful_interface_call_single_arg_method_h ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # GVariant *arg_arg_h, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1021s # "SingleArgMethodH", 1021s # g_variant_new ("(@h)", 1021s # arg_arg_h), 1021s # G_DBUS_CALL_FLAGS_NONE, 1021s # -1, 1021s # cancellable, 1021s # callback, 1021s # user_data); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_h_finish: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1021s # * @error: Return location for error or %NULL. 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1021s # * 1021s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1021s # */ 1021s # gboolean 1021s # org_project_useful_interface_call_single_arg_method_h_finish ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GVariant *_ret; 1021s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1021s # if (_ret == NULL) 1021s # goto _out; 1021s # g_variant_get (_ret, 1021s # "()"); 1021s # g_variant_unref (_ret); 1021s # _out: 1021s # return _ret != NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_h_sync: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @arg_arg_h: Argument to pass with the method invocation. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL. 1021s # * 1021s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1021s # * 1021s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1021s # */ 1021s # gboolean 1021s # org_project_useful_interface_call_single_arg_method_h_sync ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # GVariant *arg_arg_h, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GVariant *_ret; 1021s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1021s # "SingleArgMethodH", 1021s # g_variant_new ("(@h)", 1021s # arg_arg_h), 1021s # G_DBUS_CALL_FLAGS_NONE, 1021s # -1, 1021s # cancellable, 1021s # error); 1021s # if (_ret == NULL) 1021s # goto _out; 1021s # g_variant_get (_ret, 1021s # "()"); 1021s # g_variant_unref (_ret); 1021s # _out: 1021s # return _ret != NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_complete_single_arg_method_h: 1021s # * @object: A #OrgProjectUsefulInterface. 1021s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1021s # * 1021s # * 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. 1021s # * 1021s # * This method will free @invocation, you cannot use it afterwards. 1021s # */ 1021s # void 1021s # org_project_useful_interface_complete_single_arg_method_h ( 1021s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1021s # GDBusMethodInvocation *invocation) 1021s # { 1021s # g_dbus_method_invocation_return_value (invocation, 1021s # g_variant_new ("()")); 1021s # } 1021s # 1021s # /* ------------------------------------------------------------------------ */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceProxy: 1021s # * 1021s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceProxyClass: 1021s # * @parent_class: The parent class. 1021s # * 1021s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1021s # */ 1021s # 1021s # struct _OrgProjectUsefulInterfaceProxyPrivate 1021s # { 1021s # GData *qdata; 1021s # }; 1021s # 1021s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1021s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1021s # 1021s # #else 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1021s # 1021s # #endif 1021s # static void 1021s # org_project_useful_interface_proxy_finalize (GObject *object) 1021s # { 1021s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1021s # g_datalist_clear (&proxy->priv->qdata); 1021s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1021s # guint prop_id G_GNUC_UNUSED, 1021s # GValue *value G_GNUC_UNUSED, 1021s # GParamSpec *pspec G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1021s # guint prop_id G_GNUC_UNUSED, 1021s # const GValue *value G_GNUC_UNUSED, 1021s # GParamSpec *pspec G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1021s # const gchar *sender_name G_GNUC_UNUSED, 1021s # const gchar *signal_name, 1021s # GVariant *parameters) 1021s # { 1021s # _ExtendedGDBusSignalInfo *info; 1021s # GVariantIter iter; 1021s # GVariant *child; 1021s # GValue *paramv; 1021s # gsize num_params; 1021s # gsize n; 1021s # guint signal_id; 1021s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1021s # if (info == NULL) 1021s # return; 1021s # num_params = g_variant_n_children (parameters); 1021s # paramv = g_new0 (GValue, num_params + 1); 1021s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_set_object (¶mv[0], proxy); 1021s # g_variant_iter_init (&iter, parameters); 1021s # n = 1; 1021s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1021s # { 1021s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1021s # if (arg_info->use_gvariant) 1021s # { 1021s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1021s # g_value_set_variant (¶mv[n], child); 1021s # n++; 1021s # } 1021s # else 1021s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1021s # g_variant_unref (child); 1021s # } 1021s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_signal_emitv (paramv, signal_id, 0, NULL); 1021s # for (n = 0; n < num_params + 1; n++) 1021s # g_value_unset (¶mv[n]); 1021s # g_free (paramv); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1021s # GVariant *changed_properties, 1021s # const gchar *const *invalidated_properties) 1021s # { 1021s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1021s # guint n; 1021s # const gchar *key; 1021s # GVariantIter *iter; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # g_variant_get (changed_properties, "a{sv}", &iter); 1021s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1021s # { 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1021s # g_datalist_remove_data (&proxy->priv->qdata, key); 1021s # if (info != NULL) 1021s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1021s # } 1021s # g_variant_iter_free (iter); 1021s # for (n = 0; invalidated_properties[n] != NULL; n++) 1021s # { 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1021s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1021s # if (info != NULL) 1021s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1021s # } 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1021s # { 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1021s # #else 1021s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1021s # #endif 1021s # 1021s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1021s # { 1021s # GObjectClass *gobject_class; 1021s # GDBusProxyClass *proxy_class; 1021s # 1021s # gobject_class = G_OBJECT_CLASS (klass); 1021s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1021s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1021s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1021s # 1021s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1021s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1021s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1021s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1021s # #endif 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new: 1021s # * @connection: A #GDBusConnection. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1021s # * 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1021s # */ 1021s # void 1021s # org_project_useful_interface_proxy_new ( 1021s # GDBusConnection *connection, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # 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); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_finish: 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_finish ( 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GObject *ret; 1021s # GObject *source_object; 1021s # source_object = g_async_result_get_source_object (res); 1021s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1021s # g_object_unref (source_object); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_sync: 1021s # * @connection: A #GDBusConnection. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1021s # * 1021s # * The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_sync ( 1021s # GDBusConnection *connection, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GInitable *ret; 1021s # 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); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus: 1021s # * @bus_type: A #GBusType. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: A bus name (well-known or unique). 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1021s # * 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1021s # */ 1021s # void 1021s # org_project_useful_interface_proxy_new_for_bus ( 1021s # GBusType bus_type, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # 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); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus_finish: 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_for_bus_finish ( 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GObject *ret; 1021s # GObject *source_object; 1021s # source_object = g_async_result_get_source_object (res); 1021s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1021s # g_object_unref (source_object); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus_sync: 1021s # * @bus_type: A #GBusType. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: A bus name (well-known or unique). 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1021s # * 1021s # * The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_for_bus_sync ( 1021s # GBusType bus_type, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GInitable *ret; 1021s # 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); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # 1021s # /* ------------------------------------------------------------------------ */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceSkeleton: 1021s # * 1021s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceSkeletonClass: 1021s # * @parent_class: The parent class. 1021s # * 1021s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1021s # */ 1021s # 1021s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1021s # { 1021s # GValue *properties; 1021s # GList *changed_properties; 1021s # GSource *changed_properties_idle_source; 1021s # GMainContext *context; 1021s # GMutex lock; 1021s # }; 1021s # 1021s # static void 1021s # _org_project_useful_interface_skeleton_handle_method_call ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name, 1021s # const gchar *method_name, 1021s # GVariant *parameters, 1021s # GDBusMethodInvocation *invocation, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # _ExtendedGDBusMethodInfo *info; 1021s # GVariantIter iter; 1021s # GVariant *child; 1021s # GValue *paramv; 1021s # gsize num_params; 1021s # guint num_extra; 1021s # gsize n; 1021s # guint signal_id; 1021s # GValue return_value = G_VALUE_INIT; 1021s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1021s # g_assert (info != NULL); 1021s # num_params = g_variant_n_children (parameters); 1021s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1021s # n = 0; 1021s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_set_object (¶mv[n++], skeleton); 1021s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1021s # g_value_set_object (¶mv[n++], invocation); 1021s # if (info->pass_fdlist) 1021s # { 1021s # #ifdef G_OS_UNIX 1021s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1021s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1021s # #else 1021s # g_assert_not_reached (); 1021s # #endif 1021s # } 1021s # g_variant_iter_init (&iter, parameters); 1021s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1021s # { 1021s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1021s # if (arg_info->use_gvariant) 1021s # { 1021s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1021s # g_value_set_variant (¶mv[n], child); 1021s # n++; 1021s # } 1021s # else 1021s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1021s # g_variant_unref (child); 1021s # } 1021s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1021s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1021s # if (!g_value_get_boolean (&return_value)) 1021s # 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); 1021s # g_value_unset (&return_value); 1021s # for (n = 0; n < num_params + num_extra; n++) 1021s # g_value_unset (¶mv[n]); 1021s # g_free (paramv); 1021s # } 1021s # 1021s # static GVariant * 1021s # _org_project_useful_interface_skeleton_handle_get_property ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name G_GNUC_UNUSED, 1021s # const gchar *property_name, 1021s # GError **error, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # GValue value = G_VALUE_INIT; 1021s # GParamSpec *pspec; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # GVariant *ret; 1021s # ret = NULL; 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1021s # g_assert (info != NULL); 1021s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1021s # if (pspec == NULL) 1021s # { 1021s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1021s # } 1021s # else 1021s # { 1021s # g_value_init (&value, pspec->value_type); 1021s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1021s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1021s # g_value_unset (&value); 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static gboolean 1021s # _org_project_useful_interface_skeleton_handle_set_property ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name G_GNUC_UNUSED, 1021s # const gchar *property_name, 1021s # GVariant *variant, 1021s # GError **error, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # GValue value = G_VALUE_INIT; 1021s # GParamSpec *pspec; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # gboolean ret; 1021s # ret = FALSE; 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1021s # g_assert (info != NULL); 1021s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1021s # if (pspec == NULL) 1021s # { 1021s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1021s # } 1021s # else 1021s # { 1021s # if (info->use_gvariant) 1021s # g_value_set_variant (&value, variant); 1021s # else 1021s # g_dbus_gvariant_to_gvalue (variant, &value); 1021s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1021s # g_value_unset (&value); 1021s # ret = TRUE; 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1021s # { 1021s # _org_project_useful_interface_skeleton_handle_method_call, 1021s # _org_project_useful_interface_skeleton_handle_get_property, 1021s # _org_project_useful_interface_skeleton_handle_set_property, 1021s # {NULL} 1021s # }; 1021s # 1021s # static GDBusInterfaceInfo * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1021s # { 1021s # return org_project_useful_interface_interface_info (); 1021s # } 1021s # 1021s # static GDBusInterfaceVTable * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1021s # { 1021s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1021s # } 1021s # 1021s # static GVariant * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1021s # 1021s # GVariantBuilder builder; 1021s # guint n; 1021s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1021s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1021s # goto out; 1021s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1021s # { 1021s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1021s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1021s # { 1021s # GVariant *value; 1021s # 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); 1021s # if (value != NULL) 1021s # { 1021s # g_variant_take_ref (value); 1021s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1021s # g_variant_unref (value); 1021s # } 1021s # } 1021s # } 1021s # out: 1021s # return g_variant_builder_end (&builder); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1021s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1021s # 1021s # #else 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1021s # 1021s # #endif 1021s # static void 1021s # org_project_useful_interface_skeleton_finalize (GObject *object) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1021s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1021s # if (skeleton->priv->changed_properties_idle_source != NULL) 1021s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1021s # g_main_context_unref (skeleton->priv->context); 1021s # g_mutex_clear (&skeleton->priv->lock); 1021s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1021s # { 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1021s # #else 1021s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1021s # #endif 1021s # 1021s # g_mutex_init (&skeleton->priv->lock); 1021s # skeleton->priv->context = g_main_context_ref_thread_default (); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1021s # { 1021s # GObjectClass *gobject_class; 1021s # GDBusInterfaceSkeletonClass *skeleton_class; 1021s # 1021s # gobject_class = G_OBJECT_CLASS (klass); 1021s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1021s # 1021s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1021s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1021s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1021s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1021s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1021s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1021s # #endif 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_skeleton_new: 1021s # * 1021s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_skeleton_new (void) 1021s # { 1021s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1021s # } 1021s # /tmp/tmp32mbzb2s/tmp00sx9spy.xml: 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # 1021s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp32mbzb2s/tmp00sx9spy.xml', '--output', '-', '--body'] 1021s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1021s # Output: /* 1021s # * This file is generated by gdbus-codegen, do not modify it. 1021s # * 1021s # * The license of this code is the same as for the D-Bus interface description 1021s # * it was derived from. Note that it links to GLib, so must comply with the 1021s # * LGPL linking clauses. 1021s # */ 1021s # 1021s # #ifdef HAVE_CONFIG_H 1021s # # include "config.h" 1021s # #endif 1021s # 1021s # #include 1021s # #ifdef G_OS_UNIX 1021s # # include 1021s # #endif 1021s # 1021s # #ifdef G_ENABLE_DEBUG 1021s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1021s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1021s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1021s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1021s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1021s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1021s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1021s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1021s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1021s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1021s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1021s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1021s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1021s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1021s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1021s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1021s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1021s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1021s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1021s # #else /* !G_ENABLE_DEBUG */ 1021s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1021s # * Do not access GValues directly in your code. Instead, use the 1021s # * g_value_get_*() functions 1021s # */ 1021s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1021s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1021s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1021s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1021s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1021s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1021s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1021s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1021s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1021s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1021s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1021s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1021s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1021s # #endif /* !G_ENABLE_DEBUG */ 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusArgInfo parent_struct; 1021s # gboolean use_gvariant; 1021s # } _ExtendedGDBusArgInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusMethodInfo parent_struct; 1021s # const gchar *signal_name; 1021s # gboolean pass_fdlist; 1021s # } _ExtendedGDBusMethodInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusSignalInfo parent_struct; 1021s # const gchar *signal_name; 1021s # } _ExtendedGDBusSignalInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusPropertyInfo parent_struct; 1021s # const gchar *hyphen_name; 1021s # guint use_gvariant : 1; 1021s # guint emits_changed_signal : 1; 1021s # } _ExtendedGDBusPropertyInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # GDBusInterfaceInfo parent_struct; 1021s # const gchar *hyphen_name; 1021s # } _ExtendedGDBusInterfaceInfo; 1021s # 1021s # typedef struct 1021s # { 1021s # const _ExtendedGDBusPropertyInfo *info; 1021s # guint prop_id; 1021s # GValue orig_value; /* the value before the change */ 1021s # } ChangedProperty; 1021s # 1021s # static void 1021s # _changed_property_free (ChangedProperty *data) 1021s # { 1021s # g_value_unset (&data->orig_value); 1021s # g_free (data); 1021s # } 1021s # 1021s # static gboolean 1021s # _g_strv_equal0 (gchar **a, gchar **b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # guint n; 1021s # if (a == NULL && b == NULL) 1021s # { 1021s # ret = TRUE; 1021s # goto out; 1021s # } 1021s # if (a == NULL || b == NULL) 1021s # goto out; 1021s # if (g_strv_length (a) != g_strv_length (b)) 1021s # goto out; 1021s # for (n = 0; a[n] != NULL; n++) 1021s # if (g_strcmp0 (a[n], b[n]) != 0) 1021s # goto out; 1021s # ret = TRUE; 1021s # out: 1021s # return ret; 1021s # } 1021s # 1021s # static gboolean 1021s # _g_variant_equal0 (GVariant *a, GVariant *b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # if (a == NULL && b == NULL) 1021s # { 1021s # ret = TRUE; 1021s # goto out; 1021s # } 1021s # if (a == NULL || b == NULL) 1021s # goto out; 1021s # ret = g_variant_equal (a, b); 1021s # out: 1021s # return ret; 1021s # } 1021s # 1021s # G_GNUC_UNUSED static gboolean 1021s # _g_value_equal (const GValue *a, const GValue *b) 1021s # { 1021s # gboolean ret = FALSE; 1021s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1021s # switch (G_VALUE_TYPE (a)) 1021s # { 1021s # case G_TYPE_BOOLEAN: 1021s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1021s # break; 1021s # case G_TYPE_UCHAR: 1021s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1021s # break; 1021s # case G_TYPE_INT: 1021s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1021s # break; 1021s # case G_TYPE_UINT: 1021s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1021s # break; 1021s # case G_TYPE_INT64: 1021s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1021s # break; 1021s # case G_TYPE_UINT64: 1021s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1021s # break; 1021s # case G_TYPE_DOUBLE: 1021s # { 1021s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1021s # gdouble da = g_value_get_double (a); 1021s # gdouble db = g_value_get_double (b); 1021s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1021s # } 1021s # break; 1021s # case G_TYPE_STRING: 1021s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1021s # break; 1021s # case G_TYPE_VARIANT: 1021s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1021s # break; 1021s # default: 1021s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1021s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1021s # else 1021s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1021s # break; 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static void 1021s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1021s # GClosure *closure, 1021s # GValue *return_value, 1021s # unsigned int n_param_values, 1021s # const GValue *param_values, 1021s # void *invocation_hint G_GNUC_UNUSED, 1021s # void *marshal_data) 1021s # { 1021s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1021s # (void *data1, 1021s # GDBusMethodInvocation *arg_method_invocation, 1021s # const gchar *arg_arg_ay, 1021s # void *data2); 1021s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1021s # GCClosure *cc = (GCClosure*) closure; 1021s # void *data1, *data2; 1021s # gboolean v_return; 1021s # 1021s # g_return_if_fail (return_value != NULL); 1021s # g_return_if_fail (n_param_values == 3); 1021s # 1021s # if (G_CCLOSURE_SWAP_DATA (closure)) 1021s # { 1021s # data1 = closure->data; 1021s # data2 = g_value_peek_pointer (param_values + 0); 1021s # } 1021s # else 1021s # { 1021s # data1 = g_value_peek_pointer (param_values + 0); 1021s # data2 = closure->data; 1021s # } 1021s # 1021s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1021s # (marshal_data ? marshal_data : cc->callback); 1021s # 1021s # v_return = 1021s # callback (data1, 1021s # g_marshal_value_peek_object (param_values + 1), 1021s # g_marshal_value_peek_string (param_values + 2), 1021s # data2); 1021s # 1021s # g_value_set_boolean (return_value, v_return); 1021s # } 1021s # 1021s # /* ------------------------------------------------------------------------ 1021s # * Code for interface org.project.UsefulInterface 1021s # * ------------------------------------------------------------------------ 1021s # */ 1021s # 1021s # /** 1021s # * SECTION:OrgProjectUsefulInterface 1021s # * @title: OrgProjectUsefulInterface 1021s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1021s # * 1021s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1021s # */ 1021s # 1021s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1021s # 1021s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "arg_ay", 1021s # (gchar *) "ay", 1021s # NULL 1021s # }, 1021s # FALSE 1021s # }; 1021s # 1021s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 1021s # { 1021s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 1021s # NULL 1021s # }; 1021s # 1021s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "SingleArgMethodAy", 1021s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 1021s # NULL, 1021s # NULL 1021s # }, 1021s # "handle-single-arg-method-ay", 1021s # FALSE 1021s # }; 1021s # 1021s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1021s # { 1021s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1021s # NULL 1021s # }; 1021s # 1021s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1021s # { 1021s # { 1021s # -1, 1021s # (gchar *) "org.project.UsefulInterface", 1021s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1021s # NULL, 1021s # NULL, 1021s # NULL 1021s # }, 1021s # "org-project-useful-interface", 1021s # }; 1021s # 1021s # 1021s # /** 1021s # * org_project_useful_interface_interface_info: 1021s # * 1021s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1021s # * 1021s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1021s # */ 1021s # GDBusInterfaceInfo * 1021s # org_project_useful_interface_interface_info (void) 1021s # { 1021s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_override_properties: 1021s # * @klass: The class structure for a #GObject derived class. 1021s # * @property_id_begin: The property id to assign to the first overridden property. 1021s # * 1021s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1021s # * The properties are overridden in the order they are defined. 1021s # * 1021s # * Returns: The last property id. 1021s # */ 1021s # guint 1021s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1021s # { 1021s # return property_id_begin - 1; 1021s # } 1021s # 1021s # 1021s # inline static void 1021s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1021s # GClosure *closure, 1021s # GValue *return_value, 1021s # unsigned int n_param_values, 1021s # const GValue *param_values, 1021s # void *invocation_hint, 1021s # void *marshal_data) 1021s # { 1021s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1021s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1021s # } 1021s # 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterface: 1021s # * 1021s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceIface: 1021s # * @parent_iface: The parent interface. 1021s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1021s # * 1021s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1021s # */ 1021s # 1021s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1021s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1021s # 1021s # static void 1021s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1021s # { 1021s # /* GObject signals for incoming D-Bus method calls: */ 1021s # /** 1021s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1021s # * @object: A #OrgProjectUsefulInterface. 1021s # * @invocation: A #GDBusMethodInvocation. 1021s # * @arg_arg_ay: Argument passed by remote caller. 1021s # * 1021s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1021s # * 1021s # * 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. 1021s # * 1021s # * 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. 1021s # */ 1021s # g_signal_new ("handle-single-arg-method-ay", 1021s # G_TYPE_FROM_INTERFACE (iface), 1021s # G_SIGNAL_RUN_LAST, 1021s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1021s # g_signal_accumulator_true_handled, 1021s # NULL, 1021s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1021s # G_TYPE_BOOLEAN, 1021s # 2, 1021s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1021s # 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_ay: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @arg_arg_ay: Argument to pass with the method invocation. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1021s # */ 1021s # void 1021s # org_project_useful_interface_call_single_arg_method_ay ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # const gchar *arg_arg_ay, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1021s # "SingleArgMethodAy", 1021s # g_variant_new ("(^ay)", 1021s # arg_arg_ay), 1021s # G_DBUS_CALL_FLAGS_NONE, 1021s # -1, 1021s # cancellable, 1021s # callback, 1021s # user_data); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1021s # * @error: Return location for error or %NULL. 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1021s # * 1021s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1021s # */ 1021s # gboolean 1021s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GVariant *_ret; 1021s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1021s # if (_ret == NULL) 1021s # goto _out; 1021s # g_variant_get (_ret, 1021s # "()"); 1021s # g_variant_unref (_ret); 1021s # _out: 1021s # return _ret != NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1021s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1021s # * @arg_arg_ay: Argument to pass with the method invocation. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL. 1021s # * 1021s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1021s # * 1021s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1021s # */ 1021s # gboolean 1021s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1021s # OrgProjectUsefulInterface *proxy, 1021s # const gchar *arg_arg_ay, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GVariant *_ret; 1021s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1021s # "SingleArgMethodAy", 1021s # g_variant_new ("(^ay)", 1021s # arg_arg_ay), 1021s # G_DBUS_CALL_FLAGS_NONE, 1021s # -1, 1021s # cancellable, 1021s # error); 1021s # if (_ret == NULL) 1021s # goto _out; 1021s # g_variant_get (_ret, 1021s # "()"); 1021s # g_variant_unref (_ret); 1021s # _out: 1021s # return _ret != NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_complete_single_arg_method_ay: 1021s # * @object: A #OrgProjectUsefulInterface. 1021s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1021s # * 1021s # * 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. 1021s # * 1021s # * This method will free @invocation, you cannot use it afterwards. 1021s # */ 1021s # void 1021s # org_project_useful_interface_complete_single_arg_method_ay ( 1021s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1021s # GDBusMethodInvocation *invocation) 1021s # { 1021s # g_dbus_method_invocation_return_value (invocation, 1021s # g_variant_new ("()")); 1021s # } 1021s # 1021s # /* ------------------------------------------------------------------------ */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceProxy: 1021s # * 1021s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceProxyClass: 1021s # * @parent_class: The parent class. 1021s # * 1021s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1021s # */ 1021s # 1021s # struct _OrgProjectUsefulInterfaceProxyPrivate 1021s # { 1021s # GData *qdata; 1021s # }; 1021s # 1021s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1021s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1021s # 1021s # #else 1021s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1021s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1021s # 1021s # #endif 1021s # static void 1021s # org_project_useful_interface_proxy_finalize (GObject *object) 1021s # { 1021s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1021s # g_datalist_clear (&proxy->priv->qdata); 1021s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1021s # guint prop_id G_GNUC_UNUSED, 1021s # GValue *value G_GNUC_UNUSED, 1021s # GParamSpec *pspec G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1021s # guint prop_id G_GNUC_UNUSED, 1021s # const GValue *value G_GNUC_UNUSED, 1021s # GParamSpec *pspec G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1021s # const gchar *sender_name G_GNUC_UNUSED, 1021s # const gchar *signal_name, 1021s # GVariant *parameters) 1021s # { 1021s # _ExtendedGDBusSignalInfo *info; 1021s # GVariantIter iter; 1021s # GVariant *child; 1021s # GValue *paramv; 1021s # gsize num_params; 1021s # gsize n; 1021s # guint signal_id; 1021s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1021s # if (info == NULL) 1021s # return; 1021s # num_params = g_variant_n_children (parameters); 1021s # paramv = g_new0 (GValue, num_params + 1); 1021s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_set_object (¶mv[0], proxy); 1021s # g_variant_iter_init (&iter, parameters); 1021s # n = 1; 1021s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1021s # { 1021s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1021s # if (arg_info->use_gvariant) 1021s # { 1021s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1021s # g_value_set_variant (¶mv[n], child); 1021s # n++; 1021s # } 1021s # else 1021s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1021s # g_variant_unref (child); 1021s # } 1021s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_signal_emitv (paramv, signal_id, 0, NULL); 1021s # for (n = 0; n < num_params + 1; n++) 1021s # g_value_unset (¶mv[n]); 1021s # g_free (paramv); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1021s # GVariant *changed_properties, 1021s # const gchar *const *invalidated_properties) 1021s # { 1021s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1021s # guint n; 1021s # const gchar *key; 1021s # GVariantIter *iter; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # g_variant_get (changed_properties, "a{sv}", &iter); 1021s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1021s # { 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1021s # g_datalist_remove_data (&proxy->priv->qdata, key); 1021s # if (info != NULL) 1021s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1021s # } 1021s # g_variant_iter_free (iter); 1021s # for (n = 0; invalidated_properties[n] != NULL; n++) 1021s # { 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1021s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1021s # if (info != NULL) 1021s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1021s # } 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1021s # { 1021s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1021s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1021s # #else 1021s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1021s # #endif 1021s # 1021s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1021s # { 1021s # GObjectClass *gobject_class; 1021s # GDBusProxyClass *proxy_class; 1021s # 1021s # gobject_class = G_OBJECT_CLASS (klass); 1021s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1021s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1021s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1021s # 1021s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1021s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1021s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1021s # 1021s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1021s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1021s # #endif 1021s # } 1021s # 1021s # static void 1021s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1021s # { 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new: 1021s # * @connection: A #GDBusConnection. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1021s # * 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1021s # */ 1021s # void 1021s # org_project_useful_interface_proxy_new ( 1021s # GDBusConnection *connection, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # 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); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_finish: 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_finish ( 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GObject *ret; 1021s # GObject *source_object; 1021s # source_object = g_async_result_get_source_object (res); 1021s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1021s # g_object_unref (source_object); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_sync: 1021s # * @connection: A #GDBusConnection. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1021s # * 1021s # * The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_sync ( 1021s # GDBusConnection *connection, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GInitable *ret; 1021s # 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); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus: 1021s # * @bus_type: A #GBusType. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: A bus name (well-known or unique). 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1021s # * @user_data: User data to pass to @callback. 1021s # * 1021s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1021s # * 1021s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1021s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1021s # */ 1021s # void 1021s # org_project_useful_interface_proxy_new_for_bus ( 1021s # GBusType bus_type, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GAsyncReadyCallback callback, 1021s # gpointer user_data) 1021s # { 1021s # 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); 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus_finish: 1021s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_for_bus_finish ( 1021s # GAsyncResult *res, 1021s # GError **error) 1021s # { 1021s # GObject *ret; 1021s # GObject *source_object; 1021s # source_object = g_async_result_get_source_object (res); 1021s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1021s # g_object_unref (source_object); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # /** 1021s # * org_project_useful_interface_proxy_new_for_bus_sync: 1021s # * @bus_type: A #GBusType. 1021s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1021s # * @name: A bus name (well-known or unique). 1021s # * @object_path: An object path. 1021s # * @cancellable: (nullable): A #GCancellable or %NULL. 1021s # * @error: Return location for error or %NULL 1021s # * 1021s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1021s # * 1021s # * The calling thread is blocked until a reply is received. 1021s # * 1021s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1021s # * 1021s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1021s # */ 1021s # OrgProjectUsefulInterface * 1021s # org_project_useful_interface_proxy_new_for_bus_sync ( 1021s # GBusType bus_type, 1021s # GDBusProxyFlags flags, 1021s # const gchar *name, 1021s # const gchar *object_path, 1021s # GCancellable *cancellable, 1021s # GError **error) 1021s # { 1021s # GInitable *ret; 1021s # 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); 1021s # if (ret != NULL) 1021s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1021s # else 1021s # return NULL; 1021s # } 1021s # 1021s # 1021s # /* ------------------------------------------------------------------------ */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceSkeleton: 1021s # * 1021s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1021s # */ 1021s # 1021s # /** 1021s # * OrgProjectUsefulInterfaceSkeletonClass: 1021s # * @parent_class: The parent class. 1021s # * 1021s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1021s # */ 1021s # 1021s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1021s # { 1021s # GValue *properties; 1021s # GList *changed_properties; 1021s # GSource *changed_properties_idle_source; 1021s # GMainContext *context; 1021s # GMutex lock; 1021s # }; 1021s # 1021s # static void 1021s # _org_project_useful_interface_skeleton_handle_method_call ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name, 1021s # const gchar *method_name, 1021s # GVariant *parameters, 1021s # GDBusMethodInvocation *invocation, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # _ExtendedGDBusMethodInfo *info; 1021s # GVariantIter iter; 1021s # GVariant *child; 1021s # GValue *paramv; 1021s # gsize num_params; 1021s # guint num_extra; 1021s # gsize n; 1021s # guint signal_id; 1021s # GValue return_value = G_VALUE_INIT; 1021s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1021s # g_assert (info != NULL); 1021s # num_params = g_variant_n_children (parameters); 1021s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1021s # n = 0; 1021s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_set_object (¶mv[n++], skeleton); 1021s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1021s # g_value_set_object (¶mv[n++], invocation); 1021s # if (info->pass_fdlist) 1021s # { 1021s # #ifdef G_OS_UNIX 1021s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1021s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1021s # #else 1021s # g_assert_not_reached (); 1021s # #endif 1021s # } 1021s # g_variant_iter_init (&iter, parameters); 1021s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1021s # { 1021s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1021s # if (arg_info->use_gvariant) 1021s # { 1021s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1021s # g_value_set_variant (¶mv[n], child); 1021s # n++; 1021s # } 1021s # else 1021s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1021s # g_variant_unref (child); 1021s # } 1021s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1021s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1021s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1021s # if (!g_value_get_boolean (&return_value)) 1021s # 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); 1021s # g_value_unset (&return_value); 1021s # for (n = 0; n < num_params + num_extra; n++) 1021s # g_value_unset (¶mv[n]); 1021s # g_free (paramv); 1021s # } 1021s # 1021s # static GVariant * 1021s # _org_project_useful_interface_skeleton_handle_get_property ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name G_GNUC_UNUSED, 1021s # const gchar *property_name, 1021s # GError **error, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # GValue value = G_VALUE_INIT; 1021s # GParamSpec *pspec; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # GVariant *ret; 1021s # ret = NULL; 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1021s # g_assert (info != NULL); 1021s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1021s # if (pspec == NULL) 1021s # { 1021s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1021s # } 1021s # else 1021s # { 1021s # g_value_init (&value, pspec->value_type); 1021s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1021s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1021s # g_value_unset (&value); 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static gboolean 1021s # _org_project_useful_interface_skeleton_handle_set_property ( 1021s # GDBusConnection *connection G_GNUC_UNUSED, 1021s # const gchar *sender G_GNUC_UNUSED, 1021s # const gchar *object_path G_GNUC_UNUSED, 1021s # const gchar *interface_name G_GNUC_UNUSED, 1021s # const gchar *property_name, 1021s # GVariant *variant, 1021s # GError **error, 1021s # gpointer user_data) 1021s # { 1021s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1021s # GValue value = G_VALUE_INIT; 1021s # GParamSpec *pspec; 1021s # _ExtendedGDBusPropertyInfo *info; 1021s # gboolean ret; 1021s # ret = FALSE; 1021s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1021s # g_assert (info != NULL); 1021s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1021s # if (pspec == NULL) 1021s # { 1021s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1021s # } 1021s # else 1021s # { 1021s # if (info->use_gvariant) 1021s # g_value_set_variant (&value, variant); 1021s # else 1021s # g_dbus_gvariant_to_gvalue (variant, &value); 1021s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1021s # g_value_unset (&value); 1021s # ret = TRUE; 1021s # } 1021s # return ret; 1021s # } 1021s # 1021s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1021s # { 1021s # _org_project_useful_interface_skeleton_handle_method_call, 1021s # _org_project_useful_interface_skeleton_handle_get_property, 1021s # _org_project_useful_interface_skeleton_handle_set_property, 1021s # {NULL} 1021s # }; 1021s # 1021s # static GDBusInterfaceInfo * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1021s # { 1021s # return org_project_useful_interface_interface_info (); 1021s # } 1021s # 1021s # static GDBusInterfaceVTable * 1021s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1021s # { 1021s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1022s # } 1022s # 1022s # static GVariant * 1022s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1022s # { 1022s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1022s # 1022s # GVariantBuilder builder; 1022s # guint n; 1022s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1022s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1022s # goto out; 1022s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1022s # { 1022s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1022s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1022s # { 1022s # GVariant *value; 1022s # 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); 1022s # if (value != NULL) 1022s # { 1022s # g_variant_take_ref (value); 1022s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1022s # g_variant_unref (value); 1022s # } 1022s # } 1022s # } 1022s # out: 1022s # return g_variant_builder_end (&builder); 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1022s # { 1022s # } 1022s # 1022s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1022s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1022s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1022s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1022s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1022s # 1022s # #else 1022s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1022s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1022s # 1022s # #endif 1022s # static void 1022s # org_project_useful_interface_skeleton_finalize (GObject *object) 1022s # { 1022s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1022s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1022s # if (skeleton->priv->changed_properties_idle_source != NULL) 1022s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1022s # g_main_context_unref (skeleton->priv->context); 1022s # g_mutex_clear (&skeleton->priv->lock); 1022s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1022s # { 1022s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1022s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1022s # #else 1022s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1022s # #endif 1022s # 1022s # g_mutex_init (&skeleton->priv->lock); 1022s # skeleton->priv->context = g_main_context_ref_thread_default (); 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1022s # { 1022s # GObjectClass *gobject_class; 1022s # GDBusInterfaceSkeletonClass *skeleton_class; 1022s # 1022s # gobject_class = G_OBJECT_CLASS (klass); 1022s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1022s # 1022s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1022s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1022s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1022s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1022s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1022s # 1022s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1022s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1022s # #endif 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1022s # { 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_skeleton_new: 1022s # * 1022s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1022s # * 1022s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1022s # */ 1022s # OrgProjectUsefulInterface * 1022s # org_project_useful_interface_skeleton_new (void) 1022s # { 1022s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1022s # } 1022s # /tmp/tmp32mbzb2s/tmp4gbdj07i.xml: 1022s # 1022s # 1022s # 1022s # 1022s # 1022s # 1022s # 1022s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp32mbzb2s/tmp4gbdj07i.xml', '--output', '-', '--body'] 1022s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1022s # Output: /* 1022s # * This file is generated by gdbus-codegen, do not modify it. 1022s # * 1022s # * The license of this code is the same as for the D-Bus interface description 1022s # * it was derived from. Note that it links to GLib, so must comply with the 1022s # * LGPL linking clauses. 1022s # */ 1022s # 1022s # #ifdef HAVE_CONFIG_H 1022s # # include "config.h" 1022s # #endif 1022s # 1022s # #include 1022s # #ifdef G_OS_UNIX 1022s # # include 1022s # #endif 1022s # 1022s # #ifdef G_ENABLE_DEBUG 1022s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1022s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1022s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1022s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1022s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1022s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1022s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1022s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1022s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1022s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1022s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1022s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1022s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1022s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1022s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1022s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1022s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1022s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1022s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1022s # #else /* !G_ENABLE_DEBUG */ 1022s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1022s # * Do not access GValues directly in your code. Instead, use the 1022s # * g_value_get_*() functions 1022s # */ 1022s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1022s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1022s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1022s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1022s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1022s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1022s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1022s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1022s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1022s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1022s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1022s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1022s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1022s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1022s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1022s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1022s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1022s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1022s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1022s # #endif /* !G_ENABLE_DEBUG */ 1022s # 1022s # typedef struct 1022s # { 1022s # GDBusArgInfo parent_struct; 1022s # gboolean use_gvariant; 1022s # } _ExtendedGDBusArgInfo; 1022s # 1022s # typedef struct 1022s # { 1022s # GDBusMethodInfo parent_struct; 1022s # const gchar *signal_name; 1022s # gboolean pass_fdlist; 1022s # } _ExtendedGDBusMethodInfo; 1022s # 1022s # typedef struct 1022s # { 1022s # GDBusSignalInfo parent_struct; 1022s # const gchar *signal_name; 1022s # } _ExtendedGDBusSignalInfo; 1022s # 1022s # typedef struct 1022s # { 1022s # GDBusPropertyInfo parent_struct; 1022s # const gchar *hyphen_name; 1022s # guint use_gvariant : 1; 1022s # guint emits_changed_signal : 1; 1022s # } _ExtendedGDBusPropertyInfo; 1022s # 1022s # typedef struct 1022s # { 1022s # GDBusInterfaceInfo parent_struct; 1022s # const gchar *hyphen_name; 1022s # } _ExtendedGDBusInterfaceInfo; 1022s # 1022s # typedef struct 1022s # { 1022s # const _ExtendedGDBusPropertyInfo *info; 1022s # guint prop_id; 1022s # GValue orig_value; /* the value before the change */ 1022s # } ChangedProperty; 1022s # 1022s # static void 1022s # _changed_property_free (ChangedProperty *data) 1022s # { 1022s # g_value_unset (&data->orig_value); 1022s # g_free (data); 1022s # } 1022s # 1022s # static gboolean 1022s # _g_strv_equal0 (gchar **a, gchar **b) 1022s # { 1022s # gboolean ret = FALSE; 1022s # guint n; 1022s # if (a == NULL && b == NULL) 1022s # { 1022s # ret = TRUE; 1022s # goto out; 1022s # } 1022s # if (a == NULL || b == NULL) 1022s # goto out; 1022s # if (g_strv_length (a) != g_strv_length (b)) 1022s # goto out; 1022s # for (n = 0; a[n] != NULL; n++) 1022s # if (g_strcmp0 (a[n], b[n]) != 0) 1022s # goto out; 1022s # ret = TRUE; 1022s # out: 1022s # return ret; 1022s # } 1022s # 1022s # static gboolean 1022s # _g_variant_equal0 (GVariant *a, GVariant *b) 1022s # { 1022s # gboolean ret = FALSE; 1022s # if (a == NULL && b == NULL) 1022s # { 1022s # ret = TRUE; 1022s # goto out; 1022s # } 1022s # if (a == NULL || b == NULL) 1022s # goto out; 1022s # ret = g_variant_equal (a, b); 1022s # out: 1022s # return ret; 1022s # } 1022s # 1022s # G_GNUC_UNUSED static gboolean 1022s # _g_value_equal (const GValue *a, const GValue *b) 1022s # { 1022s # gboolean ret = FALSE; 1022s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1022s # switch (G_VALUE_TYPE (a)) 1022s # { 1022s # case G_TYPE_BOOLEAN: 1022s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1022s # break; 1022s # case G_TYPE_UCHAR: 1022s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1022s # break; 1022s # case G_TYPE_INT: 1022s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1022s # break; 1022s # case G_TYPE_UINT: 1022s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1022s # break; 1022s # case G_TYPE_INT64: 1022s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1022s # break; 1022s # case G_TYPE_UINT64: 1022s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1022s # break; 1022s # case G_TYPE_DOUBLE: 1022s # { 1022s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1022s # gdouble da = g_value_get_double (a); 1022s # gdouble db = g_value_get_double (b); 1022s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1022s # } 1022s # break; 1022s # case G_TYPE_STRING: 1022s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1022s # break; 1022s # case G_TYPE_VARIANT: 1022s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1022s # break; 1022s # default: 1022s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1022s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1022s # else 1022s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1022s # break; 1022s # } 1022s # return ret; 1022s # } 1022s # 1022s # static void 1022s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1022s # GClosure *closure, 1022s # GValue *return_value, 1022s # unsigned int n_param_values, 1022s # const GValue *param_values, 1022s # void *invocation_hint G_GNUC_UNUSED, 1022s # void *marshal_data) 1022s # { 1022s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1022s # (void *data1, 1022s # GDBusMethodInvocation *arg_method_invocation, 1022s # const gchar *const *arg_arg_as, 1022s # void *data2); 1022s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1022s # GCClosure *cc = (GCClosure*) closure; 1022s # void *data1, *data2; 1022s # gboolean v_return; 1022s # 1022s # g_return_if_fail (return_value != NULL); 1022s # g_return_if_fail (n_param_values == 3); 1022s # 1022s # if (G_CCLOSURE_SWAP_DATA (closure)) 1022s # { 1022s # data1 = closure->data; 1022s # data2 = g_value_peek_pointer (param_values + 0); 1022s # } 1022s # else 1022s # { 1022s # data1 = g_value_peek_pointer (param_values + 0); 1022s # data2 = closure->data; 1022s # } 1022s # 1022s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1022s # (marshal_data ? marshal_data : cc->callback); 1022s # 1022s # v_return = 1022s # callback (data1, 1022s # g_marshal_value_peek_object (param_values + 1), 1022s # g_marshal_value_peek_boxed (param_values + 2), 1022s # data2); 1022s # 1022s # g_value_set_boolean (return_value, v_return); 1022s # } 1022s # 1022s # /* ------------------------------------------------------------------------ 1022s # * Code for interface org.project.UsefulInterface 1022s # * ------------------------------------------------------------------------ 1022s # */ 1022s # 1022s # /** 1022s # * SECTION:OrgProjectUsefulInterface 1022s # * @title: OrgProjectUsefulInterface 1022s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1022s # * 1022s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1022s # */ 1022s # 1022s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1022s # 1022s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 1022s # { 1022s # { 1022s # -1, 1022s # (gchar *) "arg_as", 1022s # (gchar *) "as", 1022s # NULL 1022s # }, 1022s # FALSE 1022s # }; 1022s # 1022s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 1022s # { 1022s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 1022s # NULL 1022s # }; 1022s # 1022s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1022s # { 1022s # { 1022s # -1, 1022s # (gchar *) "SingleArgMethodAs", 1022s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 1022s # NULL, 1022s # NULL 1022s # }, 1022s # "handle-single-arg-method-as", 1022s # FALSE 1022s # }; 1022s # 1022s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1022s # { 1022s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1022s # NULL 1022s # }; 1022s # 1022s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1022s # { 1022s # { 1022s # -1, 1022s # (gchar *) "org.project.UsefulInterface", 1022s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1022s # NULL, 1022s # NULL, 1022s # NULL 1022s # }, 1022s # "org-project-useful-interface", 1022s # }; 1022s # 1022s # 1022s # /** 1022s # * org_project_useful_interface_interface_info: 1022s # * 1022s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1022s # * 1022s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1022s # */ 1022s # GDBusInterfaceInfo * 1022s # org_project_useful_interface_interface_info (void) 1022s # { 1022s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_override_properties: 1022s # * @klass: The class structure for a #GObject derived class. 1022s # * @property_id_begin: The property id to assign to the first overridden property. 1022s # * 1022s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1022s # * The properties are overridden in the order they are defined. 1022s # * 1022s # * Returns: The last property id. 1022s # */ 1022s # guint 1022s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1022s # { 1022s # return property_id_begin - 1; 1022s # } 1022s # 1022s # 1022s # inline static void 1022s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1022s # GClosure *closure, 1022s # GValue *return_value, 1022s # unsigned int n_param_values, 1022s # const GValue *param_values, 1022s # void *invocation_hint, 1022s # void *marshal_data) 1022s # { 1022s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1022s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1022s # } 1022s # 1022s # 1022s # /** 1022s # * OrgProjectUsefulInterface: 1022s # * 1022s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1022s # */ 1022s # 1022s # /** 1022s # * OrgProjectUsefulInterfaceIface: 1022s # * @parent_iface: The parent interface. 1022s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1022s # * 1022s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1022s # */ 1022s # 1022s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1022s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1022s # 1022s # static void 1022s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1022s # { 1022s # /* GObject signals for incoming D-Bus method calls: */ 1022s # /** 1022s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1022s # * @object: A #OrgProjectUsefulInterface. 1022s # * @invocation: A #GDBusMethodInvocation. 1022s # * @arg_arg_as: Argument passed by remote caller. 1022s # * 1022s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1022s # * 1022s # * 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. 1022s # * 1022s # * 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. 1022s # */ 1022s # g_signal_new ("handle-single-arg-method-as", 1022s # G_TYPE_FROM_INTERFACE (iface), 1022s # G_SIGNAL_RUN_LAST, 1022s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1022s # g_signal_accumulator_true_handled, 1022s # NULL, 1022s # org_project_useful_interface_method_marshal_single_arg_method_as, 1022s # G_TYPE_BOOLEAN, 1022s # 2, 1022s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1022s # 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_call_single_arg_method_as: 1022s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1022s # * @arg_arg_as: Argument to pass with the method invocation. 1022s # * @cancellable: (nullable): A #GCancellable or %NULL. 1022s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1022s # * @user_data: User data to pass to @callback. 1022s # * 1022s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1022s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1022s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1022s # * 1022s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1022s # */ 1022s # void 1022s # org_project_useful_interface_call_single_arg_method_as ( 1022s # OrgProjectUsefulInterface *proxy, 1022s # const gchar *const *arg_arg_as, 1022s # GCancellable *cancellable, 1022s # GAsyncReadyCallback callback, 1022s # gpointer user_data) 1022s # { 1022s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1022s # "SingleArgMethodAs", 1022s # g_variant_new ("(^as)", 1022s # arg_arg_as), 1022s # G_DBUS_CALL_FLAGS_NONE, 1022s # -1, 1022s # cancellable, 1022s # callback, 1022s # user_data); 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_call_single_arg_method_as_finish: 1022s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1022s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1022s # * @error: Return location for error or %NULL. 1022s # * 1022s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1022s # * 1022s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1022s # */ 1022s # gboolean 1022s # org_project_useful_interface_call_single_arg_method_as_finish ( 1022s # OrgProjectUsefulInterface *proxy, 1022s # GAsyncResult *res, 1022s # GError **error) 1022s # { 1022s # GVariant *_ret; 1022s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1022s # if (_ret == NULL) 1022s # goto _out; 1022s # g_variant_get (_ret, 1022s # "()"); 1022s # g_variant_unref (_ret); 1022s # _out: 1022s # return _ret != NULL; 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_call_single_arg_method_as_sync: 1022s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1022s # * @arg_arg_as: Argument to pass with the method invocation. 1022s # * @cancellable: (nullable): A #GCancellable or %NULL. 1022s # * @error: Return location for error or %NULL. 1022s # * 1022s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1022s # * 1022s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1022s # * 1022s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1022s # */ 1022s # gboolean 1022s # org_project_useful_interface_call_single_arg_method_as_sync ( 1022s # OrgProjectUsefulInterface *proxy, 1022s # const gchar *const *arg_arg_as, 1022s # GCancellable *cancellable, 1022s # GError **error) 1022s # { 1022s # GVariant *_ret; 1022s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1022s # "SingleArgMethodAs", 1022s # g_variant_new ("(^as)", 1022s # arg_arg_as), 1022s # G_DBUS_CALL_FLAGS_NONE, 1022s # -1, 1022s # cancellable, 1022s # error); 1022s # if (_ret == NULL) 1022s # goto _out; 1022s # g_variant_get (_ret, 1022s # "()"); 1022s # g_variant_unref (_ret); 1022s # _out: 1022s # return _ret != NULL; 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_complete_single_arg_method_as: 1022s # * @object: A #OrgProjectUsefulInterface. 1022s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1022s # * 1022s # * 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. 1022s # * 1022s # * This method will free @invocation, you cannot use it afterwards. 1022s # */ 1022s # void 1022s # org_project_useful_interface_complete_single_arg_method_as ( 1022s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1022s # GDBusMethodInvocation *invocation) 1022s # { 1022s # g_dbus_method_invocation_return_value (invocation, 1022s # g_variant_new ("()")); 1022s # } 1022s # 1022s # /* ------------------------------------------------------------------------ */ 1022s # 1022s # /** 1022s # * OrgProjectUsefulInterfaceProxy: 1022s # * 1022s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1022s # */ 1022s # 1022s # /** 1022s # * OrgProjectUsefulInterfaceProxyClass: 1022s # * @parent_class: The parent class. 1022s # * 1022s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1022s # */ 1022s # 1022s # struct _OrgProjectUsefulInterfaceProxyPrivate 1022s # { 1022s # GData *qdata; 1022s # }; 1022s # 1022s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1022s # 1022s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1022s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1022s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1022s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1022s # 1022s # #else 1022s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1022s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1022s # 1022s # #endif 1022s # static void 1022s # org_project_useful_interface_proxy_finalize (GObject *object) 1022s # { 1022s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1022s # g_datalist_clear (&proxy->priv->qdata); 1022s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1022s # guint prop_id G_GNUC_UNUSED, 1022s # GValue *value G_GNUC_UNUSED, 1022s # GParamSpec *pspec G_GNUC_UNUSED) 1022s # { 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1022s # guint prop_id G_GNUC_UNUSED, 1022s # const GValue *value G_GNUC_UNUSED, 1022s # GParamSpec *pspec G_GNUC_UNUSED) 1022s # { 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1022s # const gchar *sender_name G_GNUC_UNUSED, 1022s # const gchar *signal_name, 1022s # GVariant *parameters) 1022s # { 1022s # _ExtendedGDBusSignalInfo *info; 1022s # GVariantIter iter; 1022s # GVariant *child; 1022s # GValue *paramv; 1022s # gsize num_params; 1022s # gsize n; 1022s # guint signal_id; 1022s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1022s # if (info == NULL) 1022s # return; 1022s # num_params = g_variant_n_children (parameters); 1022s # paramv = g_new0 (GValue, num_params + 1); 1022s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1022s # g_value_set_object (¶mv[0], proxy); 1022s # g_variant_iter_init (&iter, parameters); 1022s # n = 1; 1022s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1022s # { 1022s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1022s # if (arg_info->use_gvariant) 1022s # { 1022s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1022s # g_value_set_variant (¶mv[n], child); 1022s # n++; 1022s # } 1022s # else 1022s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1022s # g_variant_unref (child); 1022s # } 1022s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1022s # g_signal_emitv (paramv, signal_id, 0, NULL); 1022s # for (n = 0; n < num_params + 1; n++) 1022s # g_value_unset (¶mv[n]); 1022s # g_free (paramv); 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1022s # GVariant *changed_properties, 1022s # const gchar *const *invalidated_properties) 1022s # { 1022s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1022s # guint n; 1022s # const gchar *key; 1022s # GVariantIter *iter; 1022s # _ExtendedGDBusPropertyInfo *info; 1022s # g_variant_get (changed_properties, "a{sv}", &iter); 1022s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1022s # { 1022s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1022s # g_datalist_remove_data (&proxy->priv->qdata, key); 1022s # if (info != NULL) 1022s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1022s # } 1022s # g_variant_iter_free (iter); 1022s # for (n = 0; invalidated_properties[n] != NULL; n++) 1022s # { 1022s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1022s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1022s # if (info != NULL) 1022s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1022s # } 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1022s # { 1022s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1022s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1022s # #else 1022s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1022s # #endif 1022s # 1022s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1022s # { 1022s # GObjectClass *gobject_class; 1022s # GDBusProxyClass *proxy_class; 1022s # 1022s # gobject_class = G_OBJECT_CLASS (klass); 1022s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1022s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1022s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1022s # 1022s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1022s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1022s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1022s # 1022s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1022s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1022s # #endif 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1022s # { 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_proxy_new: 1022s # * @connection: A #GDBusConnection. 1022s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1022s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1022s # * @object_path: An object path. 1022s # * @cancellable: (nullable): A #GCancellable or %NULL. 1022s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1022s # * @user_data: User data to pass to @callback. 1022s # * 1022s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1022s # * 1022s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1022s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1022s # * 1022s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1022s # */ 1022s # void 1022s # org_project_useful_interface_proxy_new ( 1022s # GDBusConnection *connection, 1022s # GDBusProxyFlags flags, 1022s # const gchar *name, 1022s # const gchar *object_path, 1022s # GCancellable *cancellable, 1022s # GAsyncReadyCallback callback, 1022s # gpointer user_data) 1022s # { 1022s # 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); 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_proxy_new_finish: 1022s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1022s # * @error: Return location for error or %NULL 1022s # * 1022s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1022s # * 1022s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1022s # */ 1022s # OrgProjectUsefulInterface * 1022s # org_project_useful_interface_proxy_new_finish ( 1022s # GAsyncResult *res, 1022s # GError **error) 1022s # { 1022s # GObject *ret; 1022s # GObject *source_object; 1022s # source_object = g_async_result_get_source_object (res); 1022s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1022s # g_object_unref (source_object); 1022s # if (ret != NULL) 1022s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1022s # else 1022s # return NULL; 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_proxy_new_sync: 1022s # * @connection: A #GDBusConnection. 1022s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1022s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1022s # * @object_path: An object path. 1022s # * @cancellable: (nullable): A #GCancellable or %NULL. 1022s # * @error: Return location for error or %NULL 1022s # * 1022s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1022s # * 1022s # * The calling thread is blocked until a reply is received. 1022s # * 1022s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1022s # * 1022s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1022s # */ 1022s # OrgProjectUsefulInterface * 1022s # org_project_useful_interface_proxy_new_sync ( 1022s # GDBusConnection *connection, 1022s # GDBusProxyFlags flags, 1022s # const gchar *name, 1022s # const gchar *object_path, 1022s # GCancellable *cancellable, 1022s # GError **error) 1022s # { 1022s # GInitable *ret; 1022s # 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); 1022s # if (ret != NULL) 1022s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1022s # else 1022s # return NULL; 1022s # } 1022s # 1022s # 1022s # /** 1022s # * org_project_useful_interface_proxy_new_for_bus: 1022s # * @bus_type: A #GBusType. 1022s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1022s # * @name: A bus name (well-known or unique). 1022s # * @object_path: An object path. 1022s # * @cancellable: (nullable): A #GCancellable or %NULL. 1022s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1022s # * @user_data: User data to pass to @callback. 1022s # * 1022s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1022s # * 1022s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1022s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1022s # * 1022s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1022s # */ 1022s # void 1022s # org_project_useful_interface_proxy_new_for_bus ( 1022s # GBusType bus_type, 1022s # GDBusProxyFlags flags, 1022s # const gchar *name, 1022s # const gchar *object_path, 1022s # GCancellable *cancellable, 1022s # GAsyncReadyCallback callback, 1022s # gpointer user_data) 1022s # { 1022s # 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); 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_proxy_new_for_bus_finish: 1022s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1022s # * @error: Return location for error or %NULL 1022s # * 1022s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1022s # * 1022s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1022s # */ 1022s # OrgProjectUsefulInterface * 1022s # org_project_useful_interface_proxy_new_for_bus_finish ( 1022s # GAsyncResult *res, 1022s # GError **error) 1022s # { 1022s # GObject *ret; 1022s # GObject *source_object; 1022s # source_object = g_async_result_get_source_object (res); 1022s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1022s # g_object_unref (source_object); 1022s # if (ret != NULL) 1022s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1022s # else 1022s # return NULL; 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_proxy_new_for_bus_sync: 1022s # * @bus_type: A #GBusType. 1022s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1022s # * @name: A bus name (well-known or unique). 1022s # * @object_path: An object path. 1022s # * @cancellable: (nullable): A #GCancellable or %NULL. 1022s # * @error: Return location for error or %NULL 1022s # * 1022s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1022s # * 1022s # * The calling thread is blocked until a reply is received. 1022s # * 1022s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1022s # * 1022s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1022s # */ 1022s # OrgProjectUsefulInterface * 1022s # org_project_useful_interface_proxy_new_for_bus_sync ( 1022s # GBusType bus_type, 1022s # GDBusProxyFlags flags, 1022s # const gchar *name, 1022s # const gchar *object_path, 1022s # GCancellable *cancellable, 1022s # GError **error) 1022s # { 1022s # GInitable *ret; 1022s # 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); 1022s # if (ret != NULL) 1022s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1022s # else 1022s # return NULL; 1022s # } 1022s # 1022s # 1022s # /* ------------------------------------------------------------------------ */ 1022s # 1022s # /** 1022s # * OrgProjectUsefulInterfaceSkeleton: 1022s # * 1022s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1022s # */ 1022s # 1022s # /** 1022s # * OrgProjectUsefulInterfaceSkeletonClass: 1022s # * @parent_class: The parent class. 1022s # * 1022s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1022s # */ 1022s # 1022s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1022s # { 1022s # GValue *properties; 1022s # GList *changed_properties; 1022s # GSource *changed_properties_idle_source; 1022s # GMainContext *context; 1022s # GMutex lock; 1022s # }; 1022s # 1022s # static void 1022s # _org_project_useful_interface_skeleton_handle_method_call ( 1022s # GDBusConnection *connection G_GNUC_UNUSED, 1022s # const gchar *sender G_GNUC_UNUSED, 1022s # const gchar *object_path G_GNUC_UNUSED, 1022s # const gchar *interface_name, 1022s # const gchar *method_name, 1022s # GVariant *parameters, 1022s # GDBusMethodInvocation *invocation, 1022s # gpointer user_data) 1022s # { 1022s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1022s # _ExtendedGDBusMethodInfo *info; 1022s # GVariantIter iter; 1022s # GVariant *child; 1022s # GValue *paramv; 1022s # gsize num_params; 1022s # guint num_extra; 1022s # gsize n; 1022s # guint signal_id; 1022s # GValue return_value = G_VALUE_INIT; 1022s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1022s # g_assert (info != NULL); 1022s # num_params = g_variant_n_children (parameters); 1022s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1022s # n = 0; 1022s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1022s # g_value_set_object (¶mv[n++], skeleton); 1022s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1022s # g_value_set_object (¶mv[n++], invocation); 1022s # if (info->pass_fdlist) 1022s # { 1022s # #ifdef G_OS_UNIX 1022s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1022s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1022s # #else 1022s # g_assert_not_reached (); 1022s # #endif 1022s # } 1022s # g_variant_iter_init (&iter, parameters); 1022s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1022s # { 1022s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1022s # if (arg_info->use_gvariant) 1022s # { 1022s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1022s # g_value_set_variant (¶mv[n], child); 1022s # n++; 1022s # } 1022s # else 1022s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1022s # g_variant_unref (child); 1022s # } 1022s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1022s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1022s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1022s # if (!g_value_get_boolean (&return_value)) 1022s # 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); 1022s # g_value_unset (&return_value); 1022s # for (n = 0; n < num_params + num_extra; n++) 1022s # g_value_unset (¶mv[n]); 1022s # g_free (paramv); 1022s # } 1022s # 1022s # static GVariant * 1022s # _org_project_useful_interface_skeleton_handle_get_property ( 1022s # GDBusConnection *connection G_GNUC_UNUSED, 1022s # const gchar *sender G_GNUC_UNUSED, 1022s # const gchar *object_path G_GNUC_UNUSED, 1022s # const gchar *interface_name G_GNUC_UNUSED, 1022s # const gchar *property_name, 1022s # GError **error, 1022s # gpointer user_data) 1022s # { 1022s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1022s # GValue value = G_VALUE_INIT; 1022s # GParamSpec *pspec; 1022s # _ExtendedGDBusPropertyInfo *info; 1022s # GVariant *ret; 1022s # ret = NULL; 1022s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1022s # g_assert (info != NULL); 1022s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1022s # if (pspec == NULL) 1022s # { 1022s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1022s # } 1022s # else 1022s # { 1022s # g_value_init (&value, pspec->value_type); 1022s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1022s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1022s # g_value_unset (&value); 1022s # } 1022s # return ret; 1022s # } 1022s # 1022s # static gboolean 1022s # _org_project_useful_interface_skeleton_handle_set_property ( 1022s # GDBusConnection *connection G_GNUC_UNUSED, 1022s # const gchar *sender G_GNUC_UNUSED, 1022s # const gchar *object_path G_GNUC_UNUSED, 1022s # const gchar *interface_name G_GNUC_UNUSED, 1022s # const gchar *property_name, 1022s # GVariant *variant, 1022s # GError **error, 1022s # gpointer user_data) 1022s # { 1022s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1022s # GValue value = G_VALUE_INIT; 1022s # GParamSpec *pspec; 1022s # _ExtendedGDBusPropertyInfo *info; 1022s # gboolean ret; 1022s # ret = FALSE; 1022s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1022s # g_assert (info != NULL); 1022s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1022s # if (pspec == NULL) 1022s # { 1022s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1022s # } 1022s # else 1022s # { 1022s # if (info->use_gvariant) 1022s # g_value_set_variant (&value, variant); 1022s # else 1022s # g_dbus_gvariant_to_gvalue (variant, &value); 1022s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1022s # g_value_unset (&value); 1022s # ret = TRUE; 1022s # } 1022s # return ret; 1022s # } 1022s # 1022s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1022s # { 1022s # _org_project_useful_interface_skeleton_handle_method_call, 1022s # _org_project_useful_interface_skeleton_handle_get_property, 1022s # _org_project_useful_interface_skeleton_handle_set_property, 1022s # {NULL} 1022s # }; 1022s # 1022s # static GDBusInterfaceInfo * 1022s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1022s # { 1022s # return org_project_useful_interface_interface_info (); 1022s # } 1022s # 1022s # static GDBusInterfaceVTable * 1022s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1022s # { 1022s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1022s # } 1022s # 1022s # static GVariant * 1022s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1022s # { 1022s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1022s # 1022s # GVariantBuilder builder; 1022s # guint n; 1022s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1022s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1022s # goto out; 1022s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1022s # { 1022s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1022s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1022s # { 1022s # GVariant *value; 1022s # 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); 1022s # if (value != NULL) 1022s # { 1022s # g_variant_take_ref (value); 1022s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1022s # g_variant_unref (value); 1022s # } 1022s # } 1022s # } 1022s # out: 1022s # return g_variant_builder_end (&builder); 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1022s # { 1022s # } 1022s # 1022s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1022s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1022s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1022s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1022s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1022s # 1022s # #else 1022s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1022s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1022s # 1022s # #endif 1022s # static void 1022s # org_project_useful_interface_skeleton_finalize (GObject *object) 1022s # { 1022s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1022s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1022s # if (skeleton->priv->changed_properties_idle_source != NULL) 1022s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1022s # g_main_context_unref (skeleton->priv->context); 1022s # g_mutex_clear (&skeleton->priv->lock); 1022s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1022s # { 1022s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1022s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1022s # #else 1022s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1022s # #endif 1022s # 1022s # g_mutex_init (&skeleton->priv->lock); 1022s # skeleton->priv->context = g_main_context_ref_thread_default (); 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1022s # { 1022s # GObjectClass *gobject_class; 1022s # GDBusInterfaceSkeletonClass *skeleton_class; 1022s # 1022s # gobject_class = G_OBJECT_CLASS (klass); 1022s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1022s # 1022s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1022s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1022s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1022s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1022s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1022s # 1022s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1022s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1022s # #endif 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1022s # { 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_skeleton_new: 1022s # * 1022s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1022s # * 1022s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1022s # */ 1022s # OrgProjectUsefulInterface * 1022s # org_project_useful_interface_skeleton_new (void) 1022s # { 1022s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1022s # } 1022s # /tmp/tmp32mbzb2s/tmpd0kypoaj.xml: 1022s # 1022s # 1022s # 1022s # 1022s # 1022s # 1022s # 1022s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp32mbzb2s/tmpd0kypoaj.xml', '--output', '-', '--body'] 1022s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1022s # Output: /* 1022s # * This file is generated by gdbus-codegen, do not modify it. 1022s # * 1022s # * The license of this code is the same as for the D-Bus interface description 1022s # * it was derived from. Note that it links to GLib, so must comply with the 1022s # * LGPL linking clauses. 1022s # */ 1022s # 1022s # #ifdef HAVE_CONFIG_H 1022s # # include "config.h" 1022s # #endif 1022s # 1022s # #include 1022s # #ifdef G_OS_UNIX 1022s # # include 1022s # #endif 1022s # 1022s # #ifdef G_ENABLE_DEBUG 1022s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1022s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1022s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1022s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1022s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1022s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1022s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1022s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1022s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1022s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1022s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1022s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1022s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1022s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1022s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1022s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1022s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1022s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1022s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1022s # #else /* !G_ENABLE_DEBUG */ 1022s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1022s # * Do not access GValues directly in your code. Instead, use the 1022s # * g_value_get_*() functions 1022s # */ 1022s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1022s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1022s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1022s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1022s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1022s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1022s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1022s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1022s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1022s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1022s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1022s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1022s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1022s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1022s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1022s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1022s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1022s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1022s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1022s # #endif /* !G_ENABLE_DEBUG */ 1022s # 1022s # typedef struct 1022s # { 1022s # GDBusArgInfo parent_struct; 1022s # gboolean use_gvariant; 1022s # } _ExtendedGDBusArgInfo; 1022s # 1022s # typedef struct 1022s # { 1022s # GDBusMethodInfo parent_struct; 1022s # const gchar *signal_name; 1022s # gboolean pass_fdlist; 1022s # } _ExtendedGDBusMethodInfo; 1022s # 1022s # typedef struct 1022s # { 1022s # GDBusSignalInfo parent_struct; 1022s # const gchar *signal_name; 1022s # } _ExtendedGDBusSignalInfo; 1022s # 1022s # typedef struct 1022s # { 1022s # GDBusPropertyInfo parent_struct; 1022s # const gchar *hyphen_name; 1022s # guint use_gvariant : 1; 1022s # guint emits_changed_signal : 1; 1022s # } _ExtendedGDBusPropertyInfo; 1022s # 1022s # typedef struct 1022s # { 1022s # GDBusInterfaceInfo parent_struct; 1022s # const gchar *hyphen_name; 1022s # } _ExtendedGDBusInterfaceInfo; 1022s # 1022s # typedef struct 1022s # { 1022s # const _ExtendedGDBusPropertyInfo *info; 1022s # guint prop_id; 1022s # GValue orig_value; /* the value before the change */ 1022s # } ChangedProperty; 1022s # 1022s # static void 1022s # _changed_property_free (ChangedProperty *data) 1022s # { 1022s # g_value_unset (&data->orig_value); 1022s # g_free (data); 1022s # } 1022s # 1022s # static gboolean 1022s # _g_strv_equal0 (gchar **a, gchar **b) 1022s # { 1022s # gboolean ret = FALSE; 1022s # guint n; 1022s # if (a == NULL && b == NULL) 1022s # { 1022s # ret = TRUE; 1022s # goto out; 1022s # } 1022s # if (a == NULL || b == NULL) 1022s # goto out; 1022s # if (g_strv_length (a) != g_strv_length (b)) 1022s # goto out; 1022s # for (n = 0; a[n] != NULL; n++) 1022s # if (g_strcmp0 (a[n], b[n]) != 0) 1022s # goto out; 1022s # ret = TRUE; 1022s # out: 1022s # return ret; 1022s # } 1022s # 1022s # static gboolean 1022s # _g_variant_equal0 (GVariant *a, GVariant *b) 1022s # { 1022s # gboolean ret = FALSE; 1022s # if (a == NULL && b == NULL) 1022s # { 1022s # ret = TRUE; 1022s # goto out; 1022s # } 1022s # if (a == NULL || b == NULL) 1022s # goto out; 1022s # ret = g_variant_equal (a, b); 1022s # out: 1022s # return ret; 1022s # } 1022s # 1022s # G_GNUC_UNUSED static gboolean 1022s # _g_value_equal (const GValue *a, const GValue *b) 1022s # { 1022s # gboolean ret = FALSE; 1022s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1022s # switch (G_VALUE_TYPE (a)) 1022s # { 1022s # case G_TYPE_BOOLEAN: 1022s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1022s # break; 1022s # case G_TYPE_UCHAR: 1022s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1022s # break; 1022s # case G_TYPE_INT: 1022s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1022s # break; 1022s # case G_TYPE_UINT: 1022s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1022s # break; 1022s # case G_TYPE_INT64: 1022s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1022s # break; 1022s # case G_TYPE_UINT64: 1022s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1022s # break; 1022s # case G_TYPE_DOUBLE: 1022s # { 1022s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1022s # gdouble da = g_value_get_double (a); 1022s # gdouble db = g_value_get_double (b); 1022s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1022s # } 1022s # break; 1022s # case G_TYPE_STRING: 1022s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1022s # break; 1022s # case G_TYPE_VARIANT: 1022s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1022s # break; 1022s # default: 1022s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1022s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1022s # else 1022s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1022s # break; 1022s # } 1022s # return ret; 1022s # } 1022s # 1022s # static void 1022s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1022s # GClosure *closure, 1022s # GValue *return_value, 1022s # unsigned int n_param_values, 1022s # const GValue *param_values, 1022s # void *invocation_hint G_GNUC_UNUSED, 1022s # void *marshal_data) 1022s # { 1022s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1022s # (void *data1, 1022s # GDBusMethodInvocation *arg_method_invocation, 1022s # const gchar *const *arg_arg_ao, 1022s # void *data2); 1022s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1022s # GCClosure *cc = (GCClosure*) closure; 1022s # void *data1, *data2; 1022s # gboolean v_return; 1022s # 1022s # g_return_if_fail (return_value != NULL); 1022s # g_return_if_fail (n_param_values == 3); 1022s # 1022s # if (G_CCLOSURE_SWAP_DATA (closure)) 1022s # { 1022s # data1 = closure->data; 1022s # data2 = g_value_peek_pointer (param_values + 0); 1022s # } 1022s # else 1022s # { 1022s # data1 = g_value_peek_pointer (param_values + 0); 1022s # data2 = closure->data; 1022s # } 1022s # 1022s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1022s # (marshal_data ? marshal_data : cc->callback); 1022s # 1022s # v_return = 1022s # callback (data1, 1022s # g_marshal_value_peek_object (param_values + 1), 1022s # g_marshal_value_peek_boxed (param_values + 2), 1022s # data2); 1022s # 1022s # g_value_set_boolean (return_value, v_return); 1022s # } 1022s # 1022s # /* ------------------------------------------------------------------------ 1022s # * Code for interface org.project.UsefulInterface 1022s # * ------------------------------------------------------------------------ 1022s # */ 1022s # 1022s # /** 1022s # * SECTION:OrgProjectUsefulInterface 1022s # * @title: OrgProjectUsefulInterface 1022s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1022s # * 1022s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1022s # */ 1022s # 1022s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1022s # 1022s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 1022s # { 1022s # { 1022s # -1, 1022s # (gchar *) "arg_ao", 1022s # (gchar *) "ao", 1022s # NULL 1022s # }, 1022s # FALSE 1022s # }; 1022s # 1022s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 1022s # { 1022s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 1022s # NULL 1022s # }; 1022s # 1022s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1022s # { 1022s # { 1022s # -1, 1022s # (gchar *) "SingleArgMethodAo", 1022s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 1022s # NULL, 1022s # NULL 1022s # }, 1022s # "handle-single-arg-method-ao", 1022s # FALSE 1022s # }; 1022s # 1022s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1022s # { 1022s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1022s # NULL 1022s # }; 1022s # 1022s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1022s # { 1022s # { 1022s # -1, 1022s # (gchar *) "org.project.UsefulInterface", 1022s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1022s # NULL, 1022s # NULL, 1022s # NULL 1022s # }, 1022s # "org-project-useful-interface", 1022s # }; 1022s # 1022s # 1022s # /** 1022s # * org_project_useful_interface_interface_info: 1022s # * 1022s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1022s # * 1022s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1022s # */ 1022s # GDBusInterfaceInfo * 1022s # org_project_useful_interface_interface_info (void) 1022s # { 1022s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_override_properties: 1022s # * @klass: The class structure for a #GObject derived class. 1022s # * @property_id_begin: The property id to assign to the first overridden property. 1022s # * 1022s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1022s # * The properties are overridden in the order they are defined. 1022s # * 1022s # * Returns: The last property id. 1022s # */ 1022s # guint 1022s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1022s # { 1022s # return property_id_begin - 1; 1022s # } 1022s # 1022s # 1022s # inline static void 1022s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1022s # GClosure *closure, 1022s # GValue *return_value, 1022s # unsigned int n_param_values, 1022s # const GValue *param_values, 1022s # void *invocation_hint, 1022s # void *marshal_data) 1022s # { 1022s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1022s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1022s # } 1022s # 1022s # 1022s # /** 1022s # * OrgProjectUsefulInterface: 1022s # * 1022s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1022s # */ 1022s # 1022s # /** 1022s # * OrgProjectUsefulInterfaceIface: 1022s # * @parent_iface: The parent interface. 1022s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1022s # * 1022s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1022s # */ 1022s # 1022s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1022s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1022s # 1022s # static void 1022s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1022s # { 1022s # /* GObject signals for incoming D-Bus method calls: */ 1022s # /** 1022s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1022s # * @object: A #OrgProjectUsefulInterface. 1022s # * @invocation: A #GDBusMethodInvocation. 1022s # * @arg_arg_ao: Argument passed by remote caller. 1022s # * 1022s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1022s # * 1022s # * 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. 1022s # * 1022s # * 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. 1022s # */ 1022s # g_signal_new ("handle-single-arg-method-ao", 1022s # G_TYPE_FROM_INTERFACE (iface), 1022s # G_SIGNAL_RUN_LAST, 1022s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1022s # g_signal_accumulator_true_handled, 1022s # NULL, 1022s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1022s # G_TYPE_BOOLEAN, 1022s # 2, 1022s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1022s # 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_call_single_arg_method_ao: 1022s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1022s # * @arg_arg_ao: Argument to pass with the method invocation. 1022s # * @cancellable: (nullable): A #GCancellable or %NULL. 1022s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1022s # * @user_data: User data to pass to @callback. 1022s # * 1022s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1022s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1022s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1022s # * 1022s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1022s # */ 1022s # void 1022s # org_project_useful_interface_call_single_arg_method_ao ( 1022s # OrgProjectUsefulInterface *proxy, 1022s # const gchar *const *arg_arg_ao, 1022s # GCancellable *cancellable, 1022s # GAsyncReadyCallback callback, 1022s # gpointer user_data) 1022s # { 1022s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1022s # "SingleArgMethodAo", 1022s # g_variant_new ("(^ao)", 1022s # arg_arg_ao), 1022s # G_DBUS_CALL_FLAGS_NONE, 1022s # -1, 1022s # cancellable, 1022s # callback, 1022s # user_data); 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1022s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1022s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1022s # * @error: Return location for error or %NULL. 1022s # * 1022s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1022s # * 1022s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1022s # */ 1022s # gboolean 1022s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1022s # OrgProjectUsefulInterface *proxy, 1022s # GAsyncResult *res, 1022s # GError **error) 1022s # { 1022s # GVariant *_ret; 1022s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1022s # if (_ret == NULL) 1022s # goto _out; 1022s # g_variant_get (_ret, 1022s # "()"); 1022s # g_variant_unref (_ret); 1022s # _out: 1022s # return _ret != NULL; 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1022s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1022s # * @arg_arg_ao: Argument to pass with the method invocation. 1022s # * @cancellable: (nullable): A #GCancellable or %NULL. 1022s # * @error: Return location for error or %NULL. 1022s # * 1022s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1022s # * 1022s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1022s # * 1022s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1022s # */ 1022s # gboolean 1022s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1022s # OrgProjectUsefulInterface *proxy, 1022s # const gchar *const *arg_arg_ao, 1022s # GCancellable *cancellable, 1022s # GError **error) 1022s # { 1022s # GVariant *_ret; 1022s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1022s # "SingleArgMethodAo", 1022s # g_variant_new ("(^ao)", 1022s # arg_arg_ao), 1022s # G_DBUS_CALL_FLAGS_NONE, 1022s # -1, 1022s # cancellable, 1022s # error); 1022s # if (_ret == NULL) 1022s # goto _out; 1022s # g_variant_get (_ret, 1022s # "()"); 1022s # g_variant_unref (_ret); 1022s # _out: 1022s # return _ret != NULL; 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_complete_single_arg_method_ao: 1022s # * @object: A #OrgProjectUsefulInterface. 1022s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1022s # * 1022s # * 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. 1022s # * 1022s # * This method will free @invocation, you cannot use it afterwards. 1022s # */ 1022s # void 1022s # org_project_useful_interface_complete_single_arg_method_ao ( 1022s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1022s # GDBusMethodInvocation *invocation) 1022s # { 1022s # g_dbus_method_invocation_return_value (invocation, 1022s # g_variant_new ("()")); 1022s # } 1022s # 1022s # /* ------------------------------------------------------------------------ */ 1022s # 1022s # /** 1022s # * OrgProjectUsefulInterfaceProxy: 1022s # * 1022s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1022s # */ 1022s # 1022s # /** 1022s # * OrgProjectUsefulInterfaceProxyClass: 1022s # * @parent_class: The parent class. 1022s # * 1022s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1022s # */ 1022s # 1022s # struct _OrgProjectUsefulInterfaceProxyPrivate 1022s # { 1022s # GData *qdata; 1022s # }; 1022s # 1022s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1022s # 1022s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1022s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1022s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1022s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1022s # 1022s # #else 1022s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1022s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1022s # 1022s # #endif 1022s # static void 1022s # org_project_useful_interface_proxy_finalize (GObject *object) 1022s # { 1022s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1022s # g_datalist_clear (&proxy->priv->qdata); 1022s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1022s # guint prop_id G_GNUC_UNUSED, 1022s # GValue *value G_GNUC_UNUSED, 1022s # GParamSpec *pspec G_GNUC_UNUSED) 1022s # { 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1022s # guint prop_id G_GNUC_UNUSED, 1022s # const GValue *value G_GNUC_UNUSED, 1022s # GParamSpec *pspec G_GNUC_UNUSED) 1022s # { 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1022s # const gchar *sender_name G_GNUC_UNUSED, 1022s # const gchar *signal_name, 1022s # GVariant *parameters) 1022s # { 1022s # _ExtendedGDBusSignalInfo *info; 1022s # GVariantIter iter; 1022s # GVariant *child; 1022s # GValue *paramv; 1022s # gsize num_params; 1022s # gsize n; 1022s # guint signal_id; 1022s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1022s # if (info == NULL) 1022s # return; 1022s # num_params = g_variant_n_children (parameters); 1022s # paramv = g_new0 (GValue, num_params + 1); 1022s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1022s # g_value_set_object (¶mv[0], proxy); 1022s # g_variant_iter_init (&iter, parameters); 1022s # n = 1; 1022s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1022s # { 1022s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1022s # if (arg_info->use_gvariant) 1022s # { 1022s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1022s # g_value_set_variant (¶mv[n], child); 1022s # n++; 1022s # } 1022s # else 1022s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1022s # g_variant_unref (child); 1022s # } 1022s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1022s # g_signal_emitv (paramv, signal_id, 0, NULL); 1022s # for (n = 0; n < num_params + 1; n++) 1022s # g_value_unset (¶mv[n]); 1022s # g_free (paramv); 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1022s # GVariant *changed_properties, 1022s # const gchar *const *invalidated_properties) 1022s # { 1022s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1022s # guint n; 1022s # const gchar *key; 1022s # GVariantIter *iter; 1022s # _ExtendedGDBusPropertyInfo *info; 1022s # g_variant_get (changed_properties, "a{sv}", &iter); 1022s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1022s # { 1022s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1022s # g_datalist_remove_data (&proxy->priv->qdata, key); 1022s # if (info != NULL) 1022s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1022s # } 1022s # g_variant_iter_free (iter); 1022s # for (n = 0; invalidated_properties[n] != NULL; n++) 1022s # { 1022s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1022s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1022s # if (info != NULL) 1022s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1022s # } 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1022s # { 1022s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1022s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1022s # #else 1022s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1022s # #endif 1022s # 1022s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1022s # { 1022s # GObjectClass *gobject_class; 1022s # GDBusProxyClass *proxy_class; 1022s # 1022s # gobject_class = G_OBJECT_CLASS (klass); 1022s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1022s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1022s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1022s # 1022s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1022s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1022s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1022s # 1022s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1022s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1022s # #endif 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1022s # { 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_proxy_new: 1022s # * @connection: A #GDBusConnection. 1022s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1022s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1022s # * @object_path: An object path. 1022s # * @cancellable: (nullable): A #GCancellable or %NULL. 1022s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1022s # * @user_data: User data to pass to @callback. 1022s # * 1022s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1022s # * 1022s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1022s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1022s # * 1022s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1022s # */ 1022s # void 1022s # org_project_useful_interface_proxy_new ( 1022s # GDBusConnection *connection, 1022s # GDBusProxyFlags flags, 1022s # const gchar *name, 1022s # const gchar *object_path, 1022s # GCancellable *cancellable, 1022s # GAsyncReadyCallback callback, 1022s # gpointer user_data) 1022s # { 1022s # 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); 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_proxy_new_finish: 1022s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1022s # * @error: Return location for error or %NULL 1022s # * 1022s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1022s # * 1022s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1022s # */ 1022s # OrgProjectUsefulInterface * 1022s # org_project_useful_interface_proxy_new_finish ( 1022s # GAsyncResult *res, 1022s # GError **error) 1022s # { 1022s # GObject *ret; 1022s # GObject *source_object; 1022s # source_object = g_async_result_get_source_object (res); 1022s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1022s # g_object_unref (source_object); 1022s # if (ret != NULL) 1022s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1022s # else 1022s # return NULL; 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_proxy_new_sync: 1022s # * @connection: A #GDBusConnection. 1022s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1022s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1022s # * @object_path: An object path. 1022s # * @cancellable: (nullable): A #GCancellable or %NULL. 1022s # * @error: Return location for error or %NULL 1022s # * 1022s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1022s # * 1022s # * The calling thread is blocked until a reply is received. 1022s # * 1022s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1022s # * 1022s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1022s # */ 1022s # OrgProjectUsefulInterface * 1022s # org_project_useful_interface_proxy_new_sync ( 1022s # GDBusConnection *connection, 1022s # GDBusProxyFlags flags, 1022s # const gchar *name, 1022s # const gchar *object_path, 1022s # GCancellable *cancellable, 1022s # GError **error) 1022s # { 1022s # GInitable *ret; 1022s # 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); 1022s # if (ret != NULL) 1022s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1022s # else 1022s # return NULL; 1022s # } 1022s # 1022s # 1022s # /** 1022s # * org_project_useful_interface_proxy_new_for_bus: 1022s # * @bus_type: A #GBusType. 1022s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1022s # * @name: A bus name (well-known or unique). 1022s # * @object_path: An object path. 1022s # * @cancellable: (nullable): A #GCancellable or %NULL. 1022s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1022s # * @user_data: User data to pass to @callback. 1022s # * 1022s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1022s # * 1022s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1022s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1022s # * 1022s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1022s # */ 1022s # void 1022s # org_project_useful_interface_proxy_new_for_bus ( 1022s # GBusType bus_type, 1022s # GDBusProxyFlags flags, 1022s # const gchar *name, 1022s # const gchar *object_path, 1022s # GCancellable *cancellable, 1022s # GAsyncReadyCallback callback, 1022s # gpointer user_data) 1022s # { 1022s # 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); 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_proxy_new_for_bus_finish: 1022s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1022s # * @error: Return location for error or %NULL 1022s # * 1022s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1022s # * 1022s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1022s # */ 1022s # OrgProjectUsefulInterface * 1022s # org_project_useful_interface_proxy_new_for_bus_finish ( 1022s # GAsyncResult *res, 1022s # GError **error) 1022s # { 1022s # GObject *ret; 1022s # GObject *source_object; 1022s # source_object = g_async_result_get_source_object (res); 1022s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1022s # g_object_unref (source_object); 1022s # if (ret != NULL) 1022s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1022s # else 1022s # return NULL; 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_proxy_new_for_bus_sync: 1022s # * @bus_type: A #GBusType. 1022s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1022s # * @name: A bus name (well-known or unique). 1022s # * @object_path: An object path. 1022s # * @cancellable: (nullable): A #GCancellable or %NULL. 1022s # * @error: Return location for error or %NULL 1022s # * 1022s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1022s # * 1022s # * The calling thread is blocked until a reply is received. 1022s # * 1022s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1022s # * 1022s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1022s # */ 1022s # OrgProjectUsefulInterface * 1022s # org_project_useful_interface_proxy_new_for_bus_sync ( 1022s # GBusType bus_type, 1022s # GDBusProxyFlags flags, 1022s # const gchar *name, 1022s # const gchar *object_path, 1022s # GCancellable *cancellable, 1022s # GError **error) 1022s # { 1022s # GInitable *ret; 1022s # 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); 1022s # if (ret != NULL) 1022s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1022s # else 1022s # return NULL; 1022s # } 1022s # 1022s # 1022s # /* ------------------------------------------------------------------------ */ 1022s # 1022s # /** 1022s # * OrgProjectUsefulInterfaceSkeleton: 1022s # * 1022s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1022s # */ 1022s # 1022s # /** 1022s # * OrgProjectUsefulInterfaceSkeletonClass: 1022s # * @parent_class: The parent class. 1022s # * 1022s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1022s # */ 1022s # 1022s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1022s # { 1022s # GValue *properties; 1022s # GList *changed_properties; 1022s # GSource *changed_properties_idle_source; 1022s # GMainContext *context; 1022s # GMutex lock; 1022s # }; 1022s # 1022s # static void 1022s # _org_project_useful_interface_skeleton_handle_method_call ( 1022s # GDBusConnection *connection G_GNUC_UNUSED, 1022s # const gchar *sender G_GNUC_UNUSED, 1022s # const gchar *object_path G_GNUC_UNUSED, 1022s # const gchar *interface_name, 1022s # const gchar *method_name, 1022s # GVariant *parameters, 1022s # GDBusMethodInvocation *invocation, 1022s # gpointer user_data) 1022s # { 1022s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1022s # _ExtendedGDBusMethodInfo *info; 1022s # GVariantIter iter; 1022s # GVariant *child; 1022s # GValue *paramv; 1022s # gsize num_params; 1022s # guint num_extra; 1022s # gsize n; 1022s # guint signal_id; 1022s # GValue return_value = G_VALUE_INIT; 1022s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1022s # g_assert (info != NULL); 1022s # num_params = g_variant_n_children (parameters); 1022s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1022s # n = 0; 1022s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1022s # g_value_set_object (¶mv[n++], skeleton); 1022s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1022s # g_value_set_object (¶mv[n++], invocation); 1022s # if (info->pass_fdlist) 1022s # { 1022s # #ifdef G_OS_UNIX 1022s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1022s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1022s # #else 1022s # g_assert_not_reached (); 1022s # #endif 1022s # } 1022s # g_variant_iter_init (&iter, parameters); 1022s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1022s # { 1022s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1022s # if (arg_info->use_gvariant) 1022s # { 1022s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1022s # g_value_set_variant (¶mv[n], child); 1022s # n++; 1022s # } 1022s # else 1022s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1022s # g_variant_unref (child); 1022s # } 1022s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1022s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1022s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1022s # if (!g_value_get_boolean (&return_value)) 1022s # 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); 1022s # g_value_unset (&return_value); 1022s # for (n = 0; n < num_params + num_extra; n++) 1022s # g_value_unset (¶mv[n]); 1022s # g_free (paramv); 1022s # } 1022s # 1022s # static GVariant * 1022s # _org_project_useful_interface_skeleton_handle_get_property ( 1022s # GDBusConnection *connection G_GNUC_UNUSED, 1022s # const gchar *sender G_GNUC_UNUSED, 1022s # const gchar *object_path G_GNUC_UNUSED, 1022s # const gchar *interface_name G_GNUC_UNUSED, 1022s # const gchar *property_name, 1022s # GError **error, 1022s # gpointer user_data) 1022s # { 1022s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1022s # GValue value = G_VALUE_INIT; 1022s # GParamSpec *pspec; 1022s # _ExtendedGDBusPropertyInfo *info; 1022s # GVariant *ret; 1022s # ret = NULL; 1022s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1022s # g_assert (info != NULL); 1022s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1022s # if (pspec == NULL) 1022s # { 1022s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1022s # } 1022s # else 1022s # { 1022s # g_value_init (&value, pspec->value_type); 1022s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1022s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1022s # g_value_unset (&value); 1022s # } 1022s # return ret; 1022s # } 1022s # 1022s # static gboolean 1022s # _org_project_useful_interface_skeleton_handle_set_property ( 1022s # GDBusConnection *connection G_GNUC_UNUSED, 1022s # const gchar *sender G_GNUC_UNUSED, 1022s # const gchar *object_path G_GNUC_UNUSED, 1022s # const gchar *interface_name G_GNUC_UNUSED, 1022s # const gchar *property_name, 1022s # GVariant *variant, 1022s # GError **error, 1022s # gpointer user_data) 1022s # { 1022s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1022s # GValue value = G_VALUE_INIT; 1022s # GParamSpec *pspec; 1022s # _ExtendedGDBusPropertyInfo *info; 1022s # gboolean ret; 1022s # ret = FALSE; 1022s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1022s # g_assert (info != NULL); 1022s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1022s # if (pspec == NULL) 1022s # { 1022s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1022s # } 1022s # else 1022s # { 1022s # if (info->use_gvariant) 1022s # g_value_set_variant (&value, variant); 1022s # else 1022s # g_dbus_gvariant_to_gvalue (variant, &value); 1022s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1022s # g_value_unset (&value); 1022s # ret = TRUE; 1022s # } 1022s # return ret; 1022s # } 1022s # 1022s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1022s # { 1022s # _org_project_useful_interface_skeleton_handle_method_call, 1022s # _org_project_useful_interface_skeleton_handle_get_property, 1022s # _org_project_useful_interface_skeleton_handle_set_property, 1022s # {NULL} 1022s # }; 1022s # 1022s # static GDBusInterfaceInfo * 1022s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1022s # { 1022s # return org_project_useful_interface_interface_info (); 1022s # } 1022s # 1022s # static GDBusInterfaceVTable * 1022s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1022s # { 1022s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1022s # } 1022s # 1022s # static GVariant * 1022s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1022s # { 1022s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1022s # 1022s # GVariantBuilder builder; 1022s # guint n; 1022s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1022s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1022s # goto out; 1022s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1022s # { 1022s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1022s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1022s # { 1022s # GVariant *value; 1022s # 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); 1022s # if (value != NULL) 1022s # { 1022s # g_variant_take_ref (value); 1022s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1022s # g_variant_unref (value); 1022s # } 1022s # } 1022s # } 1022s # out: 1022s # return g_variant_builder_end (&builder); 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1022s # { 1022s # } 1022s # 1022s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1022s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1022s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1022s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1022s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1022s # 1022s # #else 1022s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1022s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1022s # 1022s # #endif 1022s # static void 1022s # org_project_useful_interface_skeleton_finalize (GObject *object) 1022s # { 1022s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1022s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1022s # if (skeleton->priv->changed_properties_idle_source != NULL) 1022s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1022s # g_main_context_unref (skeleton->priv->context); 1022s # g_mutex_clear (&skeleton->priv->lock); 1022s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1022s # { 1022s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1022s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1022s # #else 1022s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1022s # #endif 1022s # 1022s # g_mutex_init (&skeleton->priv->lock); 1022s # skeleton->priv->context = g_main_context_ref_thread_default (); 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1022s # { 1022s # GObjectClass *gobject_class; 1022s # GDBusInterfaceSkeletonClass *skeleton_class; 1022s # 1022s # gobject_class = G_OBJECT_CLASS (klass); 1022s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1022s # 1022s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1022s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1022s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1022s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1022s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1022s # 1022s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1022s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1022s # #endif 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1022s # { 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_skeleton_new: 1022s # * 1022s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1022s # * 1022s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1022s # */ 1022s # OrgProjectUsefulInterface * 1022s # org_project_useful_interface_skeleton_new (void) 1022s # { 1022s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1022s # } 1022s # /tmp/tmp32mbzb2s/tmpqwvtmve9.xml: 1022s # 1022s # 1022s # 1022s # 1022s # 1022s # 1022s # 1022s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp32mbzb2s/tmpqwvtmve9.xml', '--output', '-', '--body'] 1022s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1022s # Output: /* 1022s # * This file is generated by gdbus-codegen, do not modify it. 1022s # * 1022s # * The license of this code is the same as for the D-Bus interface description 1022s # * it was derived from. Note that it links to GLib, so must comply with the 1022s # * LGPL linking clauses. 1022s # */ 1022s # 1022s # #ifdef HAVE_CONFIG_H 1022s # # include "config.h" 1022s # #endif 1022s # 1022s # #include 1022s # #ifdef G_OS_UNIX 1022s # # include 1022s # #endif 1022s # 1022s # #ifdef G_ENABLE_DEBUG 1022s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1022s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1022s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1022s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1022s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1022s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1022s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1022s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1022s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1022s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1022s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1022s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1022s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1022s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1022s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1022s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1022s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1022s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1022s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1022s # #else /* !G_ENABLE_DEBUG */ 1022s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1022s # * Do not access GValues directly in your code. Instead, use the 1022s # * g_value_get_*() functions 1022s # */ 1022s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1022s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1022s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1022s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1022s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1022s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1022s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1022s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1022s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1022s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1022s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1022s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1022s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1022s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1022s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1022s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1022s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1022s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1022s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1022s # #endif /* !G_ENABLE_DEBUG */ 1022s # 1022s # typedef struct 1022s # { 1022s # GDBusArgInfo parent_struct; 1022s # gboolean use_gvariant; 1022s # } _ExtendedGDBusArgInfo; 1022s # 1022s # typedef struct 1022s # { 1022s # GDBusMethodInfo parent_struct; 1022s # const gchar *signal_name; 1022s # gboolean pass_fdlist; 1022s # } _ExtendedGDBusMethodInfo; 1022s # 1022s # typedef struct 1022s # { 1022s # GDBusSignalInfo parent_struct; 1022s # const gchar *signal_name; 1022s # } _ExtendedGDBusSignalInfo; 1022s # 1022s # typedef struct 1022s # { 1022s # GDBusPropertyInfo parent_struct; 1022s # const gchar *hyphen_name; 1022s # guint use_gvariant : 1; 1022s # guint emits_changed_signal : 1; 1022s # } _ExtendedGDBusPropertyInfo; 1022s # 1022s # typedef struct 1022s # { 1022s # GDBusInterfaceInfo parent_struct; 1022s # const gchar *hyphen_name; 1022s # } _ExtendedGDBusInterfaceInfo; 1022s # 1022s # typedef struct 1022s # { 1022s # const _ExtendedGDBusPropertyInfo *info; 1022s # guint prop_id; 1022s # GValue orig_value; /* the value before the change */ 1022s # } ChangedProperty; 1022s # 1022s # static void 1022s # _changed_property_free (ChangedProperty *data) 1022s # { 1022s # g_value_unset (&data->orig_value); 1022s # g_free (data); 1022s # } 1022s # 1022s # static gboolean 1022s # _g_strv_equal0 (gchar **a, gchar **b) 1022s # { 1022s # gboolean ret = FALSE; 1022s # guint n; 1022s # if (a == NULL && b == NULL) 1022s # { 1022s # ret = TRUE; 1022s # goto out; 1022s # } 1022s # if (a == NULL || b == NULL) 1022s # goto out; 1022s # if (g_strv_length (a) != g_strv_length (b)) 1022s # goto out; 1022s # for (n = 0; a[n] != NULL; n++) 1022s # if (g_strcmp0 (a[n], b[n]) != 0) 1022s # goto out; 1022s # ret = TRUE; 1022s # out: 1022s # return ret; 1022s # } 1022s # 1022s # static gboolean 1022s # _g_variant_equal0 (GVariant *a, GVariant *b) 1022s # { 1022s # gboolean ret = FALSE; 1022s # if (a == NULL && b == NULL) 1022s # { 1022s # ret = TRUE; 1022s # goto out; 1022s # } 1022s # if (a == NULL || b == NULL) 1022s # goto out; 1022s # ret = g_variant_equal (a, b); 1022s # out: 1022s # return ret; 1022s # } 1022s # 1022s # G_GNUC_UNUSED static gboolean 1022s # _g_value_equal (const GValue *a, const GValue *b) 1022s # { 1022s # gboolean ret = FALSE; 1022s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1022s # switch (G_VALUE_TYPE (a)) 1022s # { 1022s # case G_TYPE_BOOLEAN: 1022s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1022s # break; 1022s # case G_TYPE_UCHAR: 1022s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1022s # break; 1022s # case G_TYPE_INT: 1022s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1022s # break; 1022s # case G_TYPE_UINT: 1022s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1022s # break; 1022s # case G_TYPE_INT64: 1022s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1022s # break; 1022s # case G_TYPE_UINT64: 1022s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1022s # break; 1022s # case G_TYPE_DOUBLE: 1022s # { 1022s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1022s # gdouble da = g_value_get_double (a); 1022s # gdouble db = g_value_get_double (b); 1022s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1022s # } 1022s # break; 1022s # case G_TYPE_STRING: 1022s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1022s # break; 1022s # case G_TYPE_VARIANT: 1022s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1022s # break; 1022s # default: 1022s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1022s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1022s # else 1022s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1022s # break; 1022s # } 1022s # return ret; 1022s # } 1022s # 1022s # static void 1022s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1022s # GClosure *closure, 1022s # GValue *return_value, 1022s # unsigned int n_param_values, 1022s # const GValue *param_values, 1022s # void *invocation_hint G_GNUC_UNUSED, 1022s # void *marshal_data) 1022s # { 1022s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1022s # (void *data1, 1022s # GDBusMethodInvocation *arg_method_invocation, 1022s # const gchar *const *arg_arg_aay, 1022s # void *data2); 1022s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1022s # GCClosure *cc = (GCClosure*) closure; 1022s # void *data1, *data2; 1022s # gboolean v_return; 1022s # 1022s # g_return_if_fail (return_value != NULL); 1022s # g_return_if_fail (n_param_values == 3); 1022s # 1022s # if (G_CCLOSURE_SWAP_DATA (closure)) 1022s # { 1022s # data1 = closure->data; 1022s # data2 = g_value_peek_pointer (param_values + 0); 1022s # } 1022s # else 1022s # { 1022s # data1 = g_value_peek_pointer (param_values + 0); 1022s # data2 = closure->data; 1022s # } 1022s # 1022s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1022s # (marshal_data ? marshal_data : cc->callback); 1022s # 1022s # v_return = 1022s # callback (data1, 1022s # g_marshal_value_peek_object (param_values + 1), 1022s # g_marshal_value_peek_boxed (param_values + 2), 1022s # data2); 1022s # 1022s # g_value_set_boolean (return_value, v_return); 1022s # } 1022s # 1022s # /* ------------------------------------------------------------------------ 1022s # * Code for interface org.project.UsefulInterface 1022s # * ------------------------------------------------------------------------ 1022s # */ 1022s # 1022s # /** 1022s # * SECTION:OrgProjectUsefulInterface 1022s # * @title: OrgProjectUsefulInterface 1022s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1022s # * 1022s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1022s # */ 1022s # 1022s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1022s # 1022s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 1022s # { 1022s # { 1022s # -1, 1022s # (gchar *) "arg_aay", 1022s # (gchar *) "aay", 1022s # NULL 1022s # }, 1022s # FALSE 1022s # }; 1022s # 1022s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 1022s # { 1022s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 1022s # NULL 1022s # }; 1022s # 1022s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1022s # { 1022s # { 1022s # -1, 1022s # (gchar *) "SingleArgMethodAay", 1022s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 1022s # NULL, 1022s # NULL 1022s # }, 1022s # "handle-single-arg-method-aay", 1022s # FALSE 1022s # }; 1022s # 1022s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1022s # { 1022s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1022s # NULL 1022s # }; 1022s # 1022s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1022s # { 1022s # { 1022s # -1, 1022s # (gchar *) "org.project.UsefulInterface", 1022s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1022s # NULL, 1022s # NULL, 1022s # NULL 1022s # }, 1022s # "org-project-useful-interface", 1022s # }; 1022s # 1022s # 1022s # /** 1022s # * org_project_useful_interface_interface_info: 1022s # * 1022s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1022s # * 1022s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1022s # */ 1022s # GDBusInterfaceInfo * 1022s # org_project_useful_interface_interface_info (void) 1022s # { 1022s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_override_properties: 1022s # * @klass: The class structure for a #GObject derived class. 1022s # * @property_id_begin: The property id to assign to the first overridden property. 1022s # * 1022s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1022s # * The properties are overridden in the order they are defined. 1022s # * 1022s # * Returns: The last property id. 1022s # */ 1022s # guint 1022s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1022s # { 1022s # return property_id_begin - 1; 1022s # } 1022s # 1022s # 1022s # inline static void 1022s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1022s # GClosure *closure, 1022s # GValue *return_value, 1022s # unsigned int n_param_values, 1022s # const GValue *param_values, 1022s # void *invocation_hint, 1022s # void *marshal_data) 1022s # { 1022s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1022s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1022s # } 1022s # 1022s # 1022s # /** 1022s # * OrgProjectUsefulInterface: 1022s # * 1022s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1022s # */ 1022s # 1022s # /** 1022s # * OrgProjectUsefulInterfaceIface: 1022s # * @parent_iface: The parent interface. 1022s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1022s # * 1022s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1022s # */ 1022s # 1022s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1022s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1022s # 1022s # static void 1022s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1022s # { 1022s # /* GObject signals for incoming D-Bus method calls: */ 1022s # /** 1022s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1022s # * @object: A #OrgProjectUsefulInterface. 1022s # * @invocation: A #GDBusMethodInvocation. 1022s # * @arg_arg_aay: Argument passed by remote caller. 1022s # * 1022s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1022s # * 1022s # * 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. 1022s # * 1022s # * 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. 1022s # */ 1022s # g_signal_new ("handle-single-arg-method-aay", 1022s # G_TYPE_FROM_INTERFACE (iface), 1022s # G_SIGNAL_RUN_LAST, 1022s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1022s # g_signal_accumulator_true_handled, 1022s # NULL, 1022s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1022s # G_TYPE_BOOLEAN, 1022s # 2, 1022s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1022s # 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_call_single_arg_method_aay: 1022s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1022s # * @arg_arg_aay: Argument to pass with the method invocation. 1022s # * @cancellable: (nullable): A #GCancellable or %NULL. 1022s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1022s # * @user_data: User data to pass to @callback. 1022s # * 1022s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1022s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1022s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1022s # * 1022s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1022s # */ 1022s # void 1022s # org_project_useful_interface_call_single_arg_method_aay ( 1022s # OrgProjectUsefulInterface *proxy, 1022s # const gchar *const *arg_arg_aay, 1022s # GCancellable *cancellable, 1022s # GAsyncReadyCallback callback, 1022s # gpointer user_data) 1022s # { 1022s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1022s # "SingleArgMethodAay", 1022s # g_variant_new ("(^aay)", 1022s # arg_arg_aay), 1022s # G_DBUS_CALL_FLAGS_NONE, 1022s # -1, 1022s # cancellable, 1022s # callback, 1022s # user_data); 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1022s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1022s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1022s # * @error: Return location for error or %NULL. 1022s # * 1022s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1022s # * 1022s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1022s # */ 1022s # gboolean 1022s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1022s # OrgProjectUsefulInterface *proxy, 1022s # GAsyncResult *res, 1022s # GError **error) 1022s # { 1022s # GVariant *_ret; 1022s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1022s # if (_ret == NULL) 1022s # goto _out; 1022s # g_variant_get (_ret, 1022s # "()"); 1022s # g_variant_unref (_ret); 1022s # _out: 1022s # return _ret != NULL; 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1022s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1022s # * @arg_arg_aay: Argument to pass with the method invocation. 1022s # * @cancellable: (nullable): A #GCancellable or %NULL. 1022s # * @error: Return location for error or %NULL. 1022s # * 1022s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1022s # * 1022s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1022s # * 1022s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1022s # */ 1022s # gboolean 1022s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1022s # OrgProjectUsefulInterface *proxy, 1022s # const gchar *const *arg_arg_aay, 1022s # GCancellable *cancellable, 1022s # GError **error) 1022s # { 1022s # GVariant *_ret; 1022s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1022s # "SingleArgMethodAay", 1022s # g_variant_new ("(^aay)", 1022s # arg_arg_aay), 1022s # G_DBUS_CALL_FLAGS_NONE, 1022s # -1, 1022s # cancellable, 1022s # error); 1022s # if (_ret == NULL) 1022s # goto _out; 1022s # g_variant_get (_ret, 1022s # "()"); 1022s # g_variant_unref (_ret); 1022s # _out: 1022s # return _ret != NULL; 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_complete_single_arg_method_aay: 1022s # * @object: A #OrgProjectUsefulInterface. 1022s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1022s # * 1022s # * 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. 1022s # * 1022s # * This method will free @invocation, you cannot use it afterwards. 1022s # */ 1022s # void 1022s # org_project_useful_interface_complete_single_arg_method_aay ( 1022s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1022s # GDBusMethodInvocation *invocation) 1022s # { 1022s # g_dbus_method_invocation_return_value (invocation, 1022s # g_variant_new ("()")); 1022s # } 1022s # 1022s # /* ------------------------------------------------------------------------ */ 1022s # 1022s # /** 1022s # * OrgProjectUsefulInterfaceProxy: 1022s # * 1022s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1022s # */ 1022s # 1022s # /** 1022s # * OrgProjectUsefulInterfaceProxyClass: 1022s # * @parent_class: The parent class. 1022s # * 1022s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1022s # */ 1022s # 1022s # struct _OrgProjectUsefulInterfaceProxyPrivate 1022s # { 1022s # GData *qdata; 1022s # }; 1022s # 1022s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1022s # 1022s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1022s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1022s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1022s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1022s # 1022s # #else 1022s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1022s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1022s # 1022s # #endif 1022s # static void 1022s # org_project_useful_interface_proxy_finalize (GObject *object) 1022s # { 1022s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1022s # g_datalist_clear (&proxy->priv->qdata); 1022s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1022s # guint prop_id G_GNUC_UNUSED, 1022s # GValue *value G_GNUC_UNUSED, 1022s # GParamSpec *pspec G_GNUC_UNUSED) 1022s # { 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1022s # guint prop_id G_GNUC_UNUSED, 1022s # const GValue *value G_GNUC_UNUSED, 1022s # GParamSpec *pspec G_GNUC_UNUSED) 1022s # { 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1022s # const gchar *sender_name G_GNUC_UNUSED, 1022s # const gchar *signal_name, 1022s # GVariant *parameters) 1022s # { 1022s # _ExtendedGDBusSignalInfo *info; 1022s # GVariantIter iter; 1022s # GVariant *child; 1022s # GValue *paramv; 1022s # gsize num_params; 1022s # gsize n; 1022s # guint signal_id; 1022s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1022s # if (info == NULL) 1022s # return; 1022s # num_params = g_variant_n_children (parameters); 1022s # paramv = g_new0 (GValue, num_params + 1); 1022s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1022s # g_value_set_object (¶mv[0], proxy); 1022s # g_variant_iter_init (&iter, parameters); 1022s # n = 1; 1022s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1022s # { 1022s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1022s # if (arg_info->use_gvariant) 1022s # { 1022s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1022s # g_value_set_variant (¶mv[n], child); 1022s # n++; 1022s # } 1022s # else 1022s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1022s # g_variant_unref (child); 1022s # } 1022s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1022s # g_signal_emitv (paramv, signal_id, 0, NULL); 1022s # for (n = 0; n < num_params + 1; n++) 1022s # g_value_unset (¶mv[n]); 1022s # g_free (paramv); 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1022s # GVariant *changed_properties, 1022s # const gchar *const *invalidated_properties) 1022s # { 1022s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1022s # guint n; 1022s # const gchar *key; 1022s # GVariantIter *iter; 1022s # _ExtendedGDBusPropertyInfo *info; 1022s # g_variant_get (changed_properties, "a{sv}", &iter); 1022s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1022s # { 1022s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1022s # g_datalist_remove_data (&proxy->priv->qdata, key); 1022s # if (info != NULL) 1022s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1022s # } 1022s # g_variant_iter_free (iter); 1022s # for (n = 0; invalidated_properties[n] != NULL; n++) 1022s # { 1022s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1022s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1022s # if (info != NULL) 1022s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1022s # } 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1022s # { 1022s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1022s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1022s # #else 1022s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1022s # #endif 1022s # 1022s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1022s # { 1022s # GObjectClass *gobject_class; 1022s # GDBusProxyClass *proxy_class; 1022s # 1022s # gobject_class = G_OBJECT_CLASS (klass); 1022s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1022s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1022s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1022s # 1022s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1022s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1022s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1022s # 1022s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1022s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1022s # #endif 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1022s # { 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_proxy_new: 1022s # * @connection: A #GDBusConnection. 1022s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1022s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1022s # * @object_path: An object path. 1022s # * @cancellable: (nullable): A #GCancellable or %NULL. 1022s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1022s # * @user_data: User data to pass to @callback. 1022s # * 1022s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1022s # * 1022s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1022s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1022s # * 1022s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1022s # */ 1022s # void 1022s # org_project_useful_interface_proxy_new ( 1022s # GDBusConnection *connection, 1022s # GDBusProxyFlags flags, 1022s # const gchar *name, 1022s # const gchar *object_path, 1022s # GCancellable *cancellable, 1022s # GAsyncReadyCallback callback, 1022s # gpointer user_data) 1022s # { 1022s # 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); 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_proxy_new_finish: 1022s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1022s # * @error: Return location for error or %NULL 1022s # * 1022s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1022s # * 1022s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1022s # */ 1022s # OrgProjectUsefulInterface * 1022s # org_project_useful_interface_proxy_new_finish ( 1022s # GAsyncResult *res, 1022s # GError **error) 1022s # { 1022s # GObject *ret; 1022s # GObject *source_object; 1022s # source_object = g_async_result_get_source_object (res); 1022s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1022s # g_object_unref (source_object); 1022s # if (ret != NULL) 1022s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1022s # else 1022s # return NULL; 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_proxy_new_sync: 1022s # * @connection: A #GDBusConnection. 1022s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1022s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1022s # * @object_path: An object path. 1022s # * @cancellable: (nullable): A #GCancellable or %NULL. 1022s # * @error: Return location for error or %NULL 1022s # * 1022s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1022s # * 1022s # * The calling thread is blocked until a reply is received. 1022s # * 1022s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1022s # * 1022s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1022s # */ 1022s # OrgProjectUsefulInterface * 1022s # org_project_useful_interface_proxy_new_sync ( 1022s # GDBusConnection *connection, 1022s # GDBusProxyFlags flags, 1022s # const gchar *name, 1022s # const gchar *object_path, 1022s # GCancellable *cancellable, 1022s # GError **error) 1022s # { 1022s # GInitable *ret; 1022s # 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); 1022s # if (ret != NULL) 1022s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1022s # else 1022s # return NULL; 1022s # } 1022s # 1022s # 1022s # /** 1022s # * org_project_useful_interface_proxy_new_for_bus: 1022s # * @bus_type: A #GBusType. 1022s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1022s # * @name: A bus name (well-known or unique). 1022s # * @object_path: An object path. 1022s # * @cancellable: (nullable): A #GCancellable or %NULL. 1022s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1022s # * @user_data: User data to pass to @callback. 1022s # * 1022s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1022s # * 1022s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1022s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1022s # * 1022s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1022s # */ 1022s # void 1022s # org_project_useful_interface_proxy_new_for_bus ( 1022s # GBusType bus_type, 1022s # GDBusProxyFlags flags, 1022s # const gchar *name, 1022s # const gchar *object_path, 1022s # GCancellable *cancellable, 1022s # GAsyncReadyCallback callback, 1022s # gpointer user_data) 1022s # { 1022s # 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); 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_proxy_new_for_bus_finish: 1022s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1022s # * @error: Return location for error or %NULL 1022s # * 1022s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1022s # * 1022s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1022s # */ 1022s # OrgProjectUsefulInterface * 1022s # org_project_useful_interface_proxy_new_for_bus_finish ( 1022s # GAsyncResult *res, 1022s # GError **error) 1022s # { 1022s # GObject *ret; 1022s # GObject *source_object; 1022s # source_object = g_async_result_get_source_object (res); 1022s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1022s # g_object_unref (source_object); 1022s # if (ret != NULL) 1022s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1022s # else 1022s # return NULL; 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_proxy_new_for_bus_sync: 1022s # * @bus_type: A #GBusType. 1022s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1022s # * @name: A bus name (well-known or unique). 1022s # * @object_path: An object path. 1022s # * @cancellable: (nullable): A #GCancellable or %NULL. 1022s # * @error: Return location for error or %NULL 1022s # * 1022s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1022s # * 1022s # * The calling thread is blocked until a reply is received. 1022s # * 1022s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1022s # * 1022s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1022s # */ 1022s # OrgProjectUsefulInterface * 1022s # org_project_useful_interface_proxy_new_for_bus_sync ( 1022s # GBusType bus_type, 1022s # GDBusProxyFlags flags, 1022s # const gchar *name, 1022s # const gchar *object_path, 1022s # GCancellable *cancellable, 1022s # GError **error) 1022s # { 1022s # GInitable *ret; 1022s # 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); 1022s # if (ret != NULL) 1022s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1022s # else 1022s # return NULL; 1022s # } 1022s # 1022s # 1022s # /* ------------------------------------------------------------------------ */ 1022s # 1022s # /** 1022s # * OrgProjectUsefulInterfaceSkeleton: 1022s # * 1022s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1022s # */ 1022s # 1022s # /** 1022s # * OrgProjectUsefulInterfaceSkeletonClass: 1022s # * @parent_class: The parent class. 1022s # * 1022s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1022s # */ 1022s # 1022s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1022s # { 1022s # GValue *properties; 1022s # GList *changed_properties; 1022s # GSource *changed_properties_idle_source; 1022s # GMainContext *context; 1022s # GMutex lock; 1022s # }; 1022s # 1022s # static void 1022s # _org_project_useful_interface_skeleton_handle_method_call ( 1022s # GDBusConnection *connection G_GNUC_UNUSED, 1022s # const gchar *sender G_GNUC_UNUSED, 1022s # const gchar *object_path G_GNUC_UNUSED, 1022s # const gchar *interface_name, 1022s # const gchar *method_name, 1022s # GVariant *parameters, 1022s # GDBusMethodInvocation *invocation, 1022s # gpointer user_data) 1022s # { 1022s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1022s # _ExtendedGDBusMethodInfo *info; 1022s # GVariantIter iter; 1022s # GVariant *child; 1022s # GValue *paramv; 1022s # gsize num_params; 1022s # guint num_extra; 1022s # gsize n; 1022s # guint signal_id; 1022s # GValue return_value = G_VALUE_INIT; 1022s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1022s # g_assert (info != NULL); 1022s # num_params = g_variant_n_children (parameters); 1022s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1022s # n = 0; 1022s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1022s # g_value_set_object (¶mv[n++], skeleton); 1022s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1022s # g_value_set_object (¶mv[n++], invocation); 1022s # if (info->pass_fdlist) 1022s # { 1022s # #ifdef G_OS_UNIX 1022s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1022s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1022s # #else 1022s # g_assert_not_reached (); 1022s # #endif 1022s # } 1022s # g_variant_iter_init (&iter, parameters); 1022s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1022s # { 1022s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1022s # if (arg_info->use_gvariant) 1022s # { 1022s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1022s # g_value_set_variant (¶mv[n], child); 1022s # n++; 1022s # } 1022s # else 1022s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1022s # g_variant_unref (child); 1022s # } 1022s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1022s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1022s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1022s # if (!g_value_get_boolean (&return_value)) 1022s # 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); 1022s # g_value_unset (&return_value); 1022s # for (n = 0; n < num_params + num_extra; n++) 1022s # g_value_unset (¶mv[n]); 1022s # g_free (paramv); 1022s # } 1022s # 1022s # static GVariant * 1022s # _org_project_useful_interface_skeleton_handle_get_property ( 1022s # GDBusConnection *connection G_GNUC_UNUSED, 1022s # const gchar *sender G_GNUC_UNUSED, 1022s # const gchar *object_path G_GNUC_UNUSED, 1022s # const gchar *interface_name G_GNUC_UNUSED, 1022s # const gchar *property_name, 1022s # GError **error, 1022s # gpointer user_data) 1022s # { 1022s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1022s # GValue value = G_VALUE_INIT; 1022s # GParamSpec *pspec; 1022s # _ExtendedGDBusPropertyInfo *info; 1022s # GVariant *ret; 1022s # ret = NULL; 1022s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1022s # g_assert (info != NULL); 1022s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1022s # if (pspec == NULL) 1022s # { 1022s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1022s # } 1022s # else 1022s # { 1022s # g_value_init (&value, pspec->value_type); 1022s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1022s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1022s # g_value_unset (&value); 1022s # } 1022s # return ret; 1022s # } 1022s # 1022s # static gboolean 1022s # _org_project_useful_interface_skeleton_handle_set_property ( 1022s # GDBusConnection *connection G_GNUC_UNUSED, 1022s # const gchar *sender G_GNUC_UNUSED, 1022s # const gchar *object_path G_GNUC_UNUSED, 1022s # const gchar *interface_name G_GNUC_UNUSED, 1022s # const gchar *property_name, 1022s # GVariant *variant, 1022s # GError **error, 1022s # gpointer user_data) 1022s # { 1022s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1022s # GValue value = G_VALUE_INIT; 1022s # GParamSpec *pspec; 1022s # _ExtendedGDBusPropertyInfo *info; 1022s # gboolean ret; 1022s # ret = FALSE; 1022s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1022s # g_assert (info != NULL); 1022s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1022s # if (pspec == NULL) 1022s # { 1022s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1022s # } 1022s # else 1022s # { 1022s # if (info->use_gvariant) 1022s # g_value_set_variant (&value, variant); 1022s # else 1022s # g_dbus_gvariant_to_gvalue (variant, &value); 1022s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1022s # g_value_unset (&value); 1022s # ret = TRUE; 1022s # } 1022s # return ret; 1022s # } 1022s # 1022s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1022s # { 1022s # _org_project_useful_interface_skeleton_handle_method_call, 1022s # _org_project_useful_interface_skeleton_handle_get_property, 1022s # _org_project_useful_interface_skeleton_handle_set_property, 1022s # {NULL} 1022s # }; 1022s # 1022s # static GDBusInterfaceInfo * 1022s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1022s # { 1022s # return org_project_useful_interface_interface_info (); 1022s # } 1022s # 1022s # static GDBusInterfaceVTable * 1022s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1022s # { 1022s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1022s # } 1022s # 1022s # static GVariant * 1022s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1022s # { 1022s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1022s # 1022s # GVariantBuilder builder; 1022s # guint n; 1022s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1022s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1022s # goto out; 1022s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1022s # { 1022s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1022s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1022s # { 1022s # GVariant *value; 1022s # 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); 1022s # if (value != NULL) 1022s # { 1022s # g_variant_take_ref (value); 1022s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1022s # g_variant_unref (value); 1022s # } 1022s # } 1022s # } 1022s # out: 1022s # return g_variant_builder_end (&builder); 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1022s # { 1022s # } 1022s # 1022s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1022s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1022s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1022s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1022s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1022s # 1022s # #else 1022s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1022s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1022s # 1022s # #endif 1022s # static void 1022s # org_project_useful_interface_skeleton_finalize (GObject *object) 1022s # { 1022s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1022s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1022s # if (skeleton->priv->changed_properties_idle_source != NULL) 1022s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1022s # g_main_context_unref (skeleton->priv->context); 1022s # g_mutex_clear (&skeleton->priv->lock); 1022s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1022s # { 1022s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1022s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1022s # #else 1022s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1022s # #endif 1022s # 1022s # g_mutex_init (&skeleton->priv->lock); 1022s # skeleton->priv->context = g_main_context_ref_thread_default (); 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1022s # { 1022s # GObjectClass *gobject_class; 1022s # GDBusInterfaceSkeletonClass *skeleton_class; 1022s # 1022s # gobject_class = G_OBJECT_CLASS (klass); 1022s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1022s # 1022s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1022s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1022s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1022s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1022s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1022s # 1022s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1022s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1022s # #endif 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1022s # { 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_skeleton_new: 1022s # * 1022s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1022s # * 1022s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1022s # */ 1022s # OrgProjectUsefulInterface * 1022s # org_project_useful_interface_skeleton_new (void) 1022s # { 1022s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1022s # } 1022s # /tmp/tmp32mbzb2s/tmp_pvuj646.xml: 1022s # 1022s # 1022s # 1022s # 1022s # 1022s # 1022s # 1022s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp32mbzb2s/tmp_pvuj646.xml', '--output', '-', '--body'] 1022s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1022s # Output: /* 1022s # * This file is generated by gdbus-codegen, do not modify it. 1022s # * 1022s # * The license of this code is the same as for the D-Bus interface description 1022s # * it was derived from. Note that it links to GLib, so must comply with the 1022s # * LGPL linking clauses. 1022s # */ 1022s # 1022s # #ifdef HAVE_CONFIG_H 1022s # # include "config.h" 1022s # #endif 1022s # 1022s # #include 1022s # #ifdef G_OS_UNIX 1022s # # include 1022s # #endif 1022s # 1022s # #ifdef G_ENABLE_DEBUG 1022s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1022s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1022s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1022s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1022s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1022s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1022s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1022s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1022s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1022s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1022s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1022s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1022s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1022s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1022s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1022s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1022s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1022s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1022s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1022s # #else /* !G_ENABLE_DEBUG */ 1022s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1022s # * Do not access GValues directly in your code. Instead, use the 1022s # * g_value_get_*() functions 1022s # */ 1022s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1022s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1022s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1022s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1022s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1022s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1022s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1022s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1022s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1022s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1022s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1022s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1022s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1022s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1022s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1022s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1022s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1022s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1022s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1022s # #endif /* !G_ENABLE_DEBUG */ 1022s # 1022s # typedef struct 1022s # { 1022s # GDBusArgInfo parent_struct; 1022s # gboolean use_gvariant; 1022s # } _ExtendedGDBusArgInfo; 1022s # 1022s # typedef struct 1022s # { 1022s # GDBusMethodInfo parent_struct; 1022s # const gchar *signal_name; 1022s # gboolean pass_fdlist; 1022s # } _ExtendedGDBusMethodInfo; 1022s # 1022s # typedef struct 1022s # { 1022s # GDBusSignalInfo parent_struct; 1022s # const gchar *signal_name; 1022s # } _ExtendedGDBusSignalInfo; 1022s # 1022s # typedef struct 1022s # { 1022s # GDBusPropertyInfo parent_struct; 1022s # const gchar *hyphen_name; 1022s # guint use_gvariant : 1; 1022s # guint emits_changed_signal : 1; 1022s # } _ExtendedGDBusPropertyInfo; 1022s # 1022s # typedef struct 1022s # { 1022s # GDBusInterfaceInfo parent_struct; 1022s # const gchar *hyphen_name; 1022s # } _ExtendedGDBusInterfaceInfo; 1022s # 1022s # typedef struct 1022s # { 1022s # const _ExtendedGDBusPropertyInfo *info; 1022s # guint prop_id; 1022s # GValue orig_value; /* the value before the change */ 1022s # } ChangedProperty; 1022s # 1022s # static void 1022s # _changed_property_free (ChangedProperty *data) 1022s # { 1022s # g_value_unset (&data->orig_value); 1022s # g_free (data); 1022s # } 1022s # 1022s # static gboolean 1022s # _g_strv_equal0 (gchar **a, gchar **b) 1022s # { 1022s # gboolean ret = FALSE; 1022s # guint n; 1022s # if (a == NULL && b == NULL) 1022s # { 1022s # ret = TRUE; 1022s # goto out; 1022s # } 1022s # if (a == NULL || b == NULL) 1022s # goto out; 1022s # if (g_strv_length (a) != g_strv_length (b)) 1022s # goto out; 1022s # for (n = 0; a[n] != NULL; n++) 1022s # if (g_strcmp0 (a[n], b[n]) != 0) 1022s # goto out; 1022s # ret = TRUE; 1022s # out: 1022s # return ret; 1022s # } 1022s # 1022s # static gboolean 1022s # _g_variant_equal0 (GVariant *a, GVariant *b) 1022s # { 1022s # gboolean ret = FALSE; 1022s # if (a == NULL && b == NULL) 1022s # { 1022s # ret = TRUE; 1022s # goto out; 1022s # } 1022s # if (a == NULL || b == NULL) 1022s # goto out; 1022s # ret = g_variant_equal (a, b); 1022s # out: 1022s # return ret; 1022s # } 1022s # 1022s # G_GNUC_UNUSED static gboolean 1022s # _g_value_equal (const GValue *a, const GValue *b) 1022s # { 1022s # gboolean ret = FALSE; 1022s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1022s # switch (G_VALUE_TYPE (a)) 1022s # { 1022s # case G_TYPE_BOOLEAN: 1022s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1022s # break; 1022s # case G_TYPE_UCHAR: 1022s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1022s # break; 1022s # case G_TYPE_INT: 1022s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1022s # break; 1022s # case G_TYPE_UINT: 1022s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1022s # break; 1022s # case G_TYPE_INT64: 1022s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1022s # break; 1022s # case G_TYPE_UINT64: 1022s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1022s # break; 1022s # case G_TYPE_DOUBLE: 1022s # { 1022s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1022s # gdouble da = g_value_get_double (a); 1022s # gdouble db = g_value_get_double (b); 1022s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1022s # } 1022s # break; 1022s # case G_TYPE_STRING: 1022s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1022s # break; 1022s # case G_TYPE_VARIANT: 1022s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1022s # break; 1022s # default: 1022s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1022s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1022s # else 1022s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1022s # break; 1022s # } 1022s # return ret; 1022s # } 1022s # 1022s # static void 1022s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1022s # GClosure *closure, 1022s # GValue *return_value, 1022s # unsigned int n_param_values, 1022s # const GValue *param_values, 1022s # void *invocation_hint G_GNUC_UNUSED, 1022s # void *marshal_data) 1022s # { 1022s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1022s # (void *data1, 1022s # GDBusMethodInvocation *arg_method_invocation, 1022s # GVariant *arg_arg_asv, 1022s # void *data2); 1022s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1022s # GCClosure *cc = (GCClosure*) closure; 1022s # void *data1, *data2; 1022s # gboolean v_return; 1022s # 1022s # g_return_if_fail (return_value != NULL); 1022s # g_return_if_fail (n_param_values == 3); 1022s # 1022s # if (G_CCLOSURE_SWAP_DATA (closure)) 1022s # { 1022s # data1 = closure->data; 1022s # data2 = g_value_peek_pointer (param_values + 0); 1022s # } 1022s # else 1022s # { 1022s # data1 = g_value_peek_pointer (param_values + 0); 1022s # data2 = closure->data; 1022s # } 1022s # 1022s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1022s # (marshal_data ? marshal_data : cc->callback); 1022s # 1022s # v_return = 1022s # callback (data1, 1022s # g_marshal_value_peek_object (param_values + 1), 1022s # g_marshal_value_peek_variant (param_values + 2), 1022s # data2); 1022s # 1022s # g_value_set_boolean (return_value, v_return); 1022s # } 1022s # 1022s # /* ------------------------------------------------------------------------ 1022s # * Code for interface org.project.UsefulInterface 1022s # * ------------------------------------------------------------------------ 1022s # */ 1022s # 1022s # /** 1022s # * SECTION:OrgProjectUsefulInterface 1022s # * @title: OrgProjectUsefulInterface 1022s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1022s # * 1022s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1022s # */ 1022s # 1022s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1022s # 1022s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 1022s # { 1022s # { 1022s # -1, 1022s # (gchar *) "arg_asv", 1022s # (gchar *) "a{sv}", 1022s # NULL 1022s # }, 1022s # FALSE 1022s # }; 1022s # 1022s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 1022s # { 1022s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 1022s # NULL 1022s # }; 1022s # 1022s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1022s # { 1022s # { 1022s # -1, 1022s # (gchar *) "SingleArgMethodAsv", 1022s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 1022s # NULL, 1022s # NULL 1022s # }, 1022s # "handle-single-arg-method-asv", 1022s # FALSE 1022s # }; 1022s # 1022s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1022s # { 1022s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1022s # NULL 1022s # }; 1022s # 1022s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1022s # { 1022s # { 1022s # -1, 1022s # (gchar *) "org.project.UsefulInterface", 1022s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1022s # NULL, 1022s # NULL, 1022s # NULL 1022s # }, 1022s # "org-project-useful-interface", 1022s # }; 1022s # 1022s # 1022s # /** 1022s # * org_project_useful_interface_interface_info: 1022s # * 1022s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1022s # * 1022s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1022s # */ 1022s # GDBusInterfaceInfo * 1022s # org_project_useful_interface_interface_info (void) 1022s # { 1022s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_override_properties: 1022s # * @klass: The class structure for a #GObject derived class. 1022s # * @property_id_begin: The property id to assign to the first overridden property. 1022s # * 1022s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1022s # * The properties are overridden in the order they are defined. 1022s # * 1022s # * Returns: The last property id. 1022s # */ 1022s # guint 1022s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1022s # { 1022s # return property_id_begin - 1; 1022s # } 1022s # 1022s # 1022s # inline static void 1022s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1022s # GClosure *closure, 1022s # GValue *return_value, 1022s # unsigned int n_param_values, 1022s # const GValue *param_values, 1022s # void *invocation_hint, 1022s # void *marshal_data) 1022s # { 1022s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1022s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1022s # } 1022s # 1022s # 1022s # /** 1022s # * OrgProjectUsefulInterface: 1022s # * 1022s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1022s # */ 1022s # 1022s # /** 1022s # * OrgProjectUsefulInterfaceIface: 1022s # * @parent_iface: The parent interface. 1022s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1022s # * 1022s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1022s # */ 1022s # 1022s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1022s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1022s # 1022s # static void 1022s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1022s # { 1022s # /* GObject signals for incoming D-Bus method calls: */ 1022s # /** 1022s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1022s # * @object: A #OrgProjectUsefulInterface. 1022s # * @invocation: A #GDBusMethodInvocation. 1022s # * @arg_arg_asv: Argument passed by remote caller. 1022s # * 1022s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1022s # * 1022s # * 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. 1022s # * 1022s # * 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. 1022s # */ 1022s # g_signal_new ("handle-single-arg-method-asv", 1022s # G_TYPE_FROM_INTERFACE (iface), 1022s # G_SIGNAL_RUN_LAST, 1022s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1022s # g_signal_accumulator_true_handled, 1022s # NULL, 1022s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1022s # G_TYPE_BOOLEAN, 1022s # 2, 1022s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1022s # 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_call_single_arg_method_asv: 1022s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1022s # * @arg_arg_asv: Argument to pass with the method invocation. 1022s # * @cancellable: (nullable): A #GCancellable or %NULL. 1022s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1022s # * @user_data: User data to pass to @callback. 1022s # * 1022s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1022s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1022s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1022s # * 1022s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1022s # */ 1022s # void 1022s # org_project_useful_interface_call_single_arg_method_asv ( 1022s # OrgProjectUsefulInterface *proxy, 1022s # GVariant *arg_arg_asv, 1022s # GCancellable *cancellable, 1022s # GAsyncReadyCallback callback, 1022s # gpointer user_data) 1022s # { 1022s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1022s # "SingleArgMethodAsv", 1022s # g_variant_new ("(@a{sv})", 1022s # arg_arg_asv), 1022s # G_DBUS_CALL_FLAGS_NONE, 1022s # -1, 1022s # cancellable, 1022s # callback, 1022s # user_data); 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1022s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1022s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1022s # * @error: Return location for error or %NULL. 1022s # * 1022s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1022s # * 1022s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1022s # */ 1022s # gboolean 1022s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1022s # OrgProjectUsefulInterface *proxy, 1022s # GAsyncResult *res, 1022s # GError **error) 1022s # { 1022s # GVariant *_ret; 1022s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1022s # if (_ret == NULL) 1022s # goto _out; 1022s # g_variant_get (_ret, 1022s # "()"); 1022s # g_variant_unref (_ret); 1022s # _out: 1022s # return _ret != NULL; 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1022s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1022s # * @arg_arg_asv: Argument to pass with the method invocation. 1022s # * @cancellable: (nullable): A #GCancellable or %NULL. 1022s # * @error: Return location for error or %NULL. 1022s # * 1022s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1022s # * 1022s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1022s # * 1022s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1022s # */ 1022s # gboolean 1022s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1022s # OrgProjectUsefulInterface *proxy, 1022s # GVariant *arg_arg_asv, 1022s # GCancellable *cancellable, 1022s # GError **error) 1022s # { 1022s # GVariant *_ret; 1022s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1022s # "SingleArgMethodAsv", 1022s # g_variant_new ("(@a{sv})", 1022s # arg_arg_asv), 1022s # G_DBUS_CALL_FLAGS_NONE, 1022s # -1, 1022s # cancellable, 1022s # error); 1022s # if (_ret == NULL) 1022s # goto _out; 1022s # g_variant_get (_ret, 1022s # "()"); 1022s # g_variant_unref (_ret); 1022s # _out: 1022s # return _ret != NULL; 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_complete_single_arg_method_asv: 1022s # * @object: A #OrgProjectUsefulInterface. 1022s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1022s # * 1022s # * 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. 1022s # * 1022s # * This method will free @invocation, you cannot use it afterwards. 1022s # */ 1022s # void 1022s # org_project_useful_interface_complete_single_arg_method_asv ( 1022s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1022s # GDBusMethodInvocation *invocation) 1022s # { 1022s # g_dbus_method_invocation_return_value (invocation, 1022s # g_variant_new ("()")); 1022s # } 1022s # 1022s # /* ------------------------------------------------------------------------ */ 1022s # 1022s # /** 1022s # * OrgProjectUsefulInterfaceProxy: 1022s # * 1022s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1022s # */ 1022s # 1022s # /** 1022s # * OrgProjectUsefulInterfaceProxyClass: 1022s # * @parent_class: The parent class. 1022s # * 1022s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1022s # */ 1022s # 1022s # struct _OrgProjectUsefulInterfaceProxyPrivate 1022s # { 1022s # GData *qdata; 1022s # }; 1022s # 1022s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1022s # 1022s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1022s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1022s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1022s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1022s # 1022s # #else 1022s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1022s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1022s # 1022s # #endif 1022s # static void 1022s # org_project_useful_interface_proxy_finalize (GObject *object) 1022s # { 1022s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1022s # g_datalist_clear (&proxy->priv->qdata); 1022s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1022s # guint prop_id G_GNUC_UNUSED, 1022s # GValue *value G_GNUC_UNUSED, 1022s # GParamSpec *pspec G_GNUC_UNUSED) 1022s # { 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1022s # guint prop_id G_GNUC_UNUSED, 1022s # const GValue *value G_GNUC_UNUSED, 1022s # GParamSpec *pspec G_GNUC_UNUSED) 1022s # { 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1022s # const gchar *sender_name G_GNUC_UNUSED, 1022s # const gchar *signal_name, 1022s # GVariant *parameters) 1022s # { 1022s # _ExtendedGDBusSignalInfo *info; 1022s # GVariantIter iter; 1022s # GVariant *child; 1022s # GValue *paramv; 1022s # gsize num_params; 1022s # gsize n; 1022s # guint signal_id; 1022s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1022s # if (info == NULL) 1022s # return; 1022s # num_params = g_variant_n_children (parameters); 1022s # paramv = g_new0 (GValue, num_params + 1); 1022s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1022s # g_value_set_object (¶mv[0], proxy); 1022s # g_variant_iter_init (&iter, parameters); 1022s # n = 1; 1022s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1022s # { 1022s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1022s # if (arg_info->use_gvariant) 1022s # { 1022s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1022s # g_value_set_variant (¶mv[n], child); 1022s # n++; 1022s # } 1022s # else 1022s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1022s # g_variant_unref (child); 1022s # } 1022s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1022s # g_signal_emitv (paramv, signal_id, 0, NULL); 1022s # for (n = 0; n < num_params + 1; n++) 1022s # g_value_unset (¶mv[n]); 1022s # g_free (paramv); 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1022s # GVariant *changed_properties, 1022s # const gchar *const *invalidated_properties) 1022s # { 1022s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1022s # guint n; 1022s # const gchar *key; 1022s # GVariantIter *iter; 1022s # _ExtendedGDBusPropertyInfo *info; 1022s # g_variant_get (changed_properties, "a{sv}", &iter); 1022s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1022s # { 1022s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1022s # g_datalist_remove_data (&proxy->priv->qdata, key); 1022s # if (info != NULL) 1022s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1022s # } 1022s # g_variant_iter_free (iter); 1022s # for (n = 0; invalidated_properties[n] != NULL; n++) 1022s # { 1022s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1022s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1022s # if (info != NULL) 1022s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1022s # } 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1022s # { 1022s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1022s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1022s # #else 1022s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1022s # #endif 1022s # 1022s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1022s # { 1022s # GObjectClass *gobject_class; 1022s # GDBusProxyClass *proxy_class; 1022s # 1022s # gobject_class = G_OBJECT_CLASS (klass); 1022s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1022s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1022s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1022s # 1022s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1022s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1022s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1022s # 1022s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1022s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1022s # #endif 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1022s # { 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_proxy_new: 1022s # * @connection: A #GDBusConnection. 1022s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1022s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1022s # * @object_path: An object path. 1022s # * @cancellable: (nullable): A #GCancellable or %NULL. 1022s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1022s # * @user_data: User data to pass to @callback. 1022s # * 1022s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1022s # * 1022s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1022s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1022s # * 1022s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1022s # */ 1022s # void 1022s # org_project_useful_interface_proxy_new ( 1022s # GDBusConnection *connection, 1022s # GDBusProxyFlags flags, 1022s # const gchar *name, 1022s # const gchar *object_path, 1022s # GCancellable *cancellable, 1022s # GAsyncReadyCallback callback, 1022s # gpointer user_data) 1022s # { 1022s # 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); 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_proxy_new_finish: 1022s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1022s # * @error: Return location for error or %NULL 1022s # * 1022s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1022s # * 1022s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1022s # */ 1022s # OrgProjectUsefulInterface * 1022s # org_project_useful_interface_proxy_new_finish ( 1022s # GAsyncResult *res, 1022s # GError **error) 1022s # { 1022s # GObject *ret; 1022s # GObject *source_object; 1022s # source_object = g_async_result_get_source_object (res); 1022s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1022s # g_object_unref (source_object); 1022s # if (ret != NULL) 1022s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1022s # else 1022s # return NULL; 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_proxy_new_sync: 1022s # * @connection: A #GDBusConnection. 1022s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1022s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1022s # * @object_path: An object path. 1022s # * @cancellable: (nullable): A #GCancellable or %NULL. 1022s # * @error: Return location for error or %NULL 1022s # * 1022s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1022s # * 1022s # * The calling thread is blocked until a reply is received. 1022s # * 1022s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1022s # * 1022s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1022s # */ 1022s # OrgProjectUsefulInterface * 1022s # org_project_useful_interface_proxy_new_sync ( 1022s # GDBusConnection *connection, 1022s # GDBusProxyFlags flags, 1022s # const gchar *name, 1022s # const gchar *object_path, 1022s # GCancellable *cancellable, 1022s # GError **error) 1022s # { 1022s # GInitable *ret; 1022s # 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); 1022s # if (ret != NULL) 1022s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1022s # else 1022s # return NULL; 1022s # } 1022s # 1022s # 1022s # /** 1022s # * org_project_useful_interface_proxy_new_for_bus: 1022s # * @bus_type: A #GBusType. 1022s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1022s # * @name: A bus name (well-known or unique). 1022s # * @object_path: An object path. 1022s # * @cancellable: (nullable): A #GCancellable or %NULL. 1022s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1022s # * @user_data: User data to pass to @callback. 1022s # * 1022s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1022s # * 1022s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1022s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1022s # * 1022s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1022s # */ 1022s # void 1022s # org_project_useful_interface_proxy_new_for_bus ( 1022s # GBusType bus_type, 1022s # GDBusProxyFlags flags, 1022s # const gchar *name, 1022s # const gchar *object_path, 1022s # GCancellable *cancellable, 1022s # GAsyncReadyCallback callback, 1022s # gpointer user_data) 1022s # { 1022s # 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); 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_proxy_new_for_bus_finish: 1022s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1022s # * @error: Return location for error or %NULL 1022s # * 1022s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1022s # * 1022s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1022s # */ 1022s # OrgProjectUsefulInterface * 1022s # org_project_useful_interface_proxy_new_for_bus_finish ( 1022s # GAsyncResult *res, 1022s # GError **error) 1022s # { 1022s # GObject *ret; 1022s # GObject *source_object; 1022s # source_object = g_async_result_get_source_object (res); 1022s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1022s # g_object_unref (source_object); 1022s # if (ret != NULL) 1022s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1022s # else 1022s # return NULL; 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_proxy_new_for_bus_sync: 1022s # * @bus_type: A #GBusType. 1022s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1022s # * @name: A bus name (well-known or unique). 1022s # * @object_path: An object path. 1022s # * @cancellable: (nullable): A #GCancellable or %NULL. 1022s # * @error: Return location for error or %NULL 1022s # * 1022s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1022s # * 1022s # * The calling thread is blocked until a reply is received. 1022s # * 1022s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1022s # * 1022s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1022s # */ 1022s # OrgProjectUsefulInterface * 1022s # org_project_useful_interface_proxy_new_for_bus_sync ( 1022s # GBusType bus_type, 1022s # GDBusProxyFlags flags, 1022s # const gchar *name, 1022s # const gchar *object_path, 1022s # GCancellable *cancellable, 1022s # GError **error) 1022s # { 1022s # GInitable *ret; 1022s # 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); 1022s # if (ret != NULL) 1022s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1022s # else 1022s # return NULL; 1022s # } 1022s # 1022s # 1022s # /* ------------------------------------------------------------------------ */ 1022s # 1022s # /** 1022s # * OrgProjectUsefulInterfaceSkeleton: 1022s # * 1022s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1022s # */ 1022s # 1022s # /** 1022s # * OrgProjectUsefulInterfaceSkeletonClass: 1022s # * @parent_class: The parent class. 1022s # * 1022s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1022s # */ 1022s # 1022s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1022s # { 1022s # GValue *properties; 1022s # GList *changed_properties; 1022s # GSource *changed_properties_idle_source; 1022s # GMainContext *context; 1022s # GMutex lock; 1022s # }; 1022s # 1022s # static void 1022s # _org_project_useful_interface_skeleton_handle_method_call ( 1022s # GDBusConnection *connection G_GNUC_UNUSED, 1022s # const gchar *sender G_GNUC_UNUSED, 1022s # const gchar *object_path G_GNUC_UNUSED, 1022s # const gchar *interface_name, 1022s # const gchar *method_name, 1022s # GVariant *parameters, 1022s # GDBusMethodInvocation *invocation, 1022s # gpointer user_data) 1022s # { 1022s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1022s # _ExtendedGDBusMethodInfo *info; 1022s # GVariantIter iter; 1022s # GVariant *child; 1022s # GValue *paramv; 1022s # gsize num_params; 1022s # guint num_extra; 1022s # gsize n; 1022s # guint signal_id; 1022s # GValue return_value = G_VALUE_INIT; 1022s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1022s # g_assert (info != NULL); 1022s # num_params = g_variant_n_children (parameters); 1022s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1022s # n = 0; 1022s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1022s # g_value_set_object (¶mv[n++], skeleton); 1022s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1022s # g_value_set_object (¶mv[n++], invocation); 1022s # if (info->pass_fdlist) 1022s # { 1022s # #ifdef G_OS_UNIX 1022s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1022s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1022s # #else 1022s # g_assert_not_reached (); 1022s # #endif 1022s # } 1022s # g_variant_iter_init (&iter, parameters); 1022s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1022s # { 1022s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1022s # if (arg_info->use_gvariant) 1022s # { 1022s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1022s # g_value_set_variant (¶mv[n], child); 1022s # n++; 1022s # } 1022s # else 1022s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1022s # g_variant_unref (child); 1022s # } 1022s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1022s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1022s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1022s # if (!g_value_get_boolean (&return_value)) 1022s # 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); 1022s # g_value_unset (&return_value); 1022s # for (n = 0; n < num_params + num_extra; n++) 1022s # g_value_unset (¶mv[n]); 1022s # g_free (paramv); 1022s # } 1022s # 1022s # static GVariant * 1022s # _org_project_useful_interface_skeleton_handle_get_property ( 1022s # GDBusConnection *connection G_GNUC_UNUSED, 1022s # const gchar *sender G_GNUC_UNUSED, 1022s # const gchar *object_path G_GNUC_UNUSED, 1022s # const gchar *interface_name G_GNUC_UNUSED, 1022s # const gchar *property_name, 1022s # GError **error, 1022s # gpointer user_data) 1022s # { 1022s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1022s # GValue value = G_VALUE_INIT; 1022s # GParamSpec *pspec; 1022s # _ExtendedGDBusPropertyInfo *info; 1022s # GVariant *ret; 1022s # ret = NULL; 1022s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1022s # g_assert (info != NULL); 1022s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1022s # if (pspec == NULL) 1022s # { 1022s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1022s # } 1022s # else 1022s # { 1022s # g_value_init (&value, pspec->value_type); 1022s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1022s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1022s # g_value_unset (&value); 1022s # } 1022s # return ret; 1022s # } 1022s # 1022s # static gboolean 1022s # _org_project_useful_interface_skeleton_handle_set_property ( 1022s # GDBusConnection *connection G_GNUC_UNUSED, 1022s # const gchar *sender G_GNUC_UNUSED, 1022s # const gchar *object_path G_GNUC_UNUSED, 1022s # const gchar *interface_name G_GNUC_UNUSED, 1022s # const gchar *property_name, 1022s # GVariant *variant, 1022s # GError **error, 1022s # gpointer user_data) 1022s # { 1022s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1022s # GValue value = G_VALUE_INIT; 1022s # GParamSpec *pspec; 1022s # _ExtendedGDBusPropertyInfo *info; 1022s # gboolean ret; 1022s # ret = FALSE; 1022s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1022s # g_assert (info != NULL); 1022s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1022s # if (pspec == NULL) 1022s # { 1022s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1022s # } 1022s # else 1022s # { 1022s # if (info->use_gvariant) 1022s # g_value_set_variant (&value, variant); 1022s # else 1022s # g_dbus_gvariant_to_gvalue (variant, &value); 1022s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1022s # g_value_unset (&value); 1022s # ret = TRUE; 1022s # } 1022s # return ret; 1022s # } 1022s # 1022s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1022s # { 1022s # _org_project_useful_interface_skeleton_handle_method_call, 1022s # _org_project_useful_interface_skeleton_handle_get_property, 1022s # _org_project_useful_interface_skeleton_handle_set_property, 1022s # {NULL} 1022s # }; 1022s # 1022s # static GDBusInterfaceInfo * 1022s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1022s # { 1022s # return org_project_useful_interface_interface_info (); 1022s # } 1022s # 1022s # static GDBusInterfaceVTable * 1022s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1022s # { 1022s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1022s # } 1022s # 1022s # static GVariant * 1022s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1022s # { 1022s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1022s # 1022s # GVariantBuilder builder; 1022s # guint n; 1022s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1022s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1022s # goto out; 1022s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1022s # { 1022s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1022s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1022s # { 1022s # GVariant *value; 1022s # 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); 1022s # if (value != NULL) 1022s # { 1022s # g_variant_take_ref (value); 1022s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1022s # g_variant_unref (value); 1022s # } 1022s # } 1022s # } 1022s # out: 1022s # return g_variant_builder_end (&builder); 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1022s # { 1022s # } 1022s # 1022s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1022s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1022s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1022s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1022s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1022s # 1022s # #else 1022s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1022s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1022s # 1022s # #endif 1022s # static void 1022s # org_project_useful_interface_skeleton_finalize (GObject *object) 1022s # { 1022s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1022s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1022s # if (skeleton->priv->changed_properties_idle_source != NULL) 1022s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1022s # g_main_context_unref (skeleton->priv->context); 1022s # g_mutex_clear (&skeleton->priv->lock); 1022s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1022s # { 1022s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1022s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1022s # #else 1022s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1022s # #endif 1022s # 1022s # g_mutex_init (&skeleton->priv->lock); 1022s # skeleton->priv->context = g_main_context_ref_thread_default (); 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1022s # { 1022s # GObjectClass *gobject_class; 1022s # GDBusInterfaceSkeletonClass *skeleton_class; 1022s # 1022s # gobject_class = G_OBJECT_CLASS (klass); 1022s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1022s # 1022s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1022s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1022s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1022s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1022s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1022s # 1022s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1022s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1022s # #endif 1022s # } 1022s # 1022s # static void 1022s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1022s # { 1022s # } 1022s # 1022s # /** 1022s # * org_project_useful_interface_skeleton_new: 1022s # * 1022s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1022s # * 1022s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1022s # */ 1022s # OrgProjectUsefulInterface * 1022s # org_project_useful_interface_skeleton_new (void) 1022s # { 1022s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1022s # } 1023s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 1023s # tmpdir: /tmp/tmps2nvp2eo 1023s # codegen: /usr/bin/gdbus-codegen 1023s # /tmp/tmps2nvp2eo/tmps64f8pvx.xml: 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps2nvp2eo/tmps64f8pvx.xml', '--output', '-', '--body'] 1023s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1023s # Output: /* 1023s # * This file is generated by gdbus-codegen, do not modify it. 1023s # * 1023s # * The license of this code is the same as for the D-Bus interface description 1023s # * it was derived from. Note that it links to GLib, so must comply with the 1023s # * LGPL linking clauses. 1023s # */ 1023s # 1023s # #ifdef HAVE_CONFIG_H 1023s # # include "config.h" 1023s # #endif 1023s # 1023s # #include 1023s # #ifdef G_OS_UNIX 1023s # # include 1023s # #endif 1023s # 1023s # #ifdef G_ENABLE_DEBUG 1023s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1023s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1023s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1023s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1023s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1023s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1023s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1023s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1023s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1023s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1023s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1023s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1023s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1023s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1023s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1023s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1023s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1023s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1023s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1023s # #else /* !G_ENABLE_DEBUG */ 1023s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1023s # * Do not access GValues directly in your code. Instead, use the 1023s # * g_value_get_*() functions 1023s # */ 1023s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1023s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1023s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1023s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1023s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1023s # #endif /* !G_ENABLE_DEBUG */ 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusArgInfo parent_struct; 1023s # gboolean use_gvariant; 1023s # } _ExtendedGDBusArgInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusMethodInfo parent_struct; 1023s # const gchar *signal_name; 1023s # gboolean pass_fdlist; 1023s # } _ExtendedGDBusMethodInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusSignalInfo parent_struct; 1023s # const gchar *signal_name; 1023s # } _ExtendedGDBusSignalInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusPropertyInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # guint use_gvariant : 1; 1023s # guint emits_changed_signal : 1; 1023s # } _ExtendedGDBusPropertyInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusInterfaceInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # } _ExtendedGDBusInterfaceInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # const _ExtendedGDBusPropertyInfo *info; 1023s # guint prop_id; 1023s # GValue orig_value; /* the value before the change */ 1023s # } ChangedProperty; 1023s # 1023s # static void 1023s # _changed_property_free (ChangedProperty *data) 1023s # { 1023s # g_value_unset (&data->orig_value); 1023s # g_free (data); 1023s # } 1023s # 1023s # static gboolean 1023s # _g_strv_equal0 (gchar **a, gchar **b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # guint n; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # if (g_strv_length (a) != g_strv_length (b)) 1023s # goto out; 1023s # for (n = 0; a[n] != NULL; n++) 1023s # if (g_strcmp0 (a[n], b[n]) != 0) 1023s # goto out; 1023s # ret = TRUE; 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _g_variant_equal0 (GVariant *a, GVariant *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # ret = g_variant_equal (a, b); 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # G_GNUC_UNUSED static gboolean 1023s # _g_value_equal (const GValue *a, const GValue *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1023s # switch (G_VALUE_TYPE (a)) 1023s # { 1023s # case G_TYPE_BOOLEAN: 1023s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1023s # break; 1023s # case G_TYPE_UCHAR: 1023s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1023s # break; 1023s # case G_TYPE_INT: 1023s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1023s # break; 1023s # case G_TYPE_UINT: 1023s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1023s # break; 1023s # case G_TYPE_INT64: 1023s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1023s # break; 1023s # case G_TYPE_UINT64: 1023s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1023s # break; 1023s # case G_TYPE_DOUBLE: 1023s # { 1023s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1023s # gdouble da = g_value_get_double (a); 1023s # gdouble db = g_value_get_double (b); 1023s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1023s # } 1023s # break; 1023s # case G_TYPE_STRING: 1023s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1023s # break; 1023s # case G_TYPE_VARIANT: 1023s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1023s # break; 1023s # default: 1023s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1023s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1023s # else 1023s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1023s # break; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static void 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint G_GNUC_UNUSED, 1023s # void *marshal_data) 1023s # { 1023s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (void *data1, 1023s # GDBusMethodInvocation *arg_method_invocation, 1023s # void *data2); 1023s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1023s # GCClosure *cc = (GCClosure*) closure; 1023s # void *data1, *data2; 1023s # gboolean v_return; 1023s # 1023s # g_return_if_fail (return_value != NULL); 1023s # g_return_if_fail (n_param_values == 2); 1023s # 1023s # if (G_CCLOSURE_SWAP_DATA (closure)) 1023s # { 1023s # data1 = closure->data; 1023s # data2 = g_value_peek_pointer (param_values + 0); 1023s # } 1023s # else 1023s # { 1023s # data1 = g_value_peek_pointer (param_values + 0); 1023s # data2 = closure->data; 1023s # } 1023s # 1023s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (marshal_data ? marshal_data : cc->callback); 1023s # 1023s # v_return = 1023s # callback (data1, 1023s # g_marshal_value_peek_object (param_values + 1), 1023s # data2); 1023s # 1023s # g_value_set_boolean (return_value, v_return); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ 1023s # * Code for interface org.project.UsefulInterface 1023s # * ------------------------------------------------------------------------ 1023s # */ 1023s # 1023s # /** 1023s # * SECTION:OrgProjectUsefulInterface 1023s # * @title: OrgProjectUsefulInterface 1023s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1023s # * 1023s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1023s # */ 1023s # 1023s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "arg_b", 1023s # (gchar *) "b", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgMethodB", 1023s # NULL, 1023s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "handle-single-arg-method-b", 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "org.project.UsefulInterface", 1023s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1023s # NULL, 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "org-project-useful-interface", 1023s # }; 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_interface_info: 1023s # * 1023s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1023s # * 1023s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1023s # */ 1023s # GDBusInterfaceInfo * 1023s # org_project_useful_interface_interface_info (void) 1023s # { 1023s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_override_properties: 1023s # * @klass: The class structure for a #GObject derived class. 1023s # * @property_id_begin: The property id to assign to the first overridden property. 1023s # * 1023s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1023s # * The properties are overridden in the order they are defined. 1023s # * 1023s # * Returns: The last property id. 1023s # */ 1023s # guint 1023s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1023s # { 1023s # return property_id_begin - 1; 1023s # } 1023s # 1023s # 1023s # inline static void 1023s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterface: 1023s # * 1023s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceIface: 1023s # * @parent_iface: The parent interface. 1023s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1023s # * 1023s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1023s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1023s # 1023s # static void 1023s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1023s # { 1023s # /* GObject signals for incoming D-Bus method calls: */ 1023s # /** 1023s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: A #GDBusMethodInvocation. 1023s # * 1023s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1023s # * 1023s # * 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. 1023s # * 1023s # * 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. 1023s # */ 1023s # g_signal_new ("handle-single-arg-method-b", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1023s # g_signal_accumulator_true_handled, 1023s # NULL, 1023s # org_project_useful_interface_method_marshal_single_arg_method_b, 1023s # G_TYPE_BOOLEAN, 1023s # 1, 1023s # G_TYPE_DBUS_METHOD_INVOCATION); 1023s # 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_b: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1023s # */ 1023s # void 1023s # org_project_useful_interface_call_single_arg_method_b ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodB", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # callback, 1023s # user_data); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_b_finish: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_b_finish ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # gboolean *out_arg_b, 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(b)", 1023s # out_arg_b); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_b_sync: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_b_sync ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # gboolean *out_arg_b, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodB", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(b)", 1023s # out_arg_b); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_complete_single_arg_method_b: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1023s # * @arg_b: Parameter to return. 1023s # * 1023s # * 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. 1023s # * 1023s # * This method will free @invocation, you cannot use it afterwards. 1023s # */ 1023s # void 1023s # org_project_useful_interface_complete_single_arg_method_b ( 1023s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1023s # GDBusMethodInvocation *invocation, 1023s # gboolean arg_b) 1023s # { 1023s # g_dbus_method_invocation_return_value (invocation, 1023s # g_variant_new ("(b)", 1023s # arg_b)); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxy: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxyClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceProxyPrivate 1023s # { 1023s # GData *qdata; 1023s # }; 1023s # 1023s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_proxy_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1023s # g_datalist_clear (&proxy->priv->qdata); 1023s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # const GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1023s # const gchar *sender_name G_GNUC_UNUSED, 1023s # const gchar *signal_name, 1023s # GVariant *parameters) 1023s # { 1023s # _ExtendedGDBusSignalInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # gsize n; 1023s # guint signal_id; 1023s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1023s # if (info == NULL) 1023s # return; 1023s # num_params = g_variant_n_children (parameters); 1023s # paramv = g_new0 (GValue, num_params + 1); 1023s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[0], proxy); 1023s # g_variant_iter_init (&iter, parameters); 1023s # n = 1; 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_signal_emitv (paramv, signal_id, 0, NULL); 1023s # for (n = 0; n < num_params + 1; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1023s # GVariant *changed_properties, 1023s # const gchar *const *invalidated_properties) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1023s # guint n; 1023s # const gchar *key; 1023s # GVariantIter *iter; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # g_variant_get (changed_properties, "a{sv}", &iter); 1023s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1023s # g_datalist_remove_data (&proxy->priv->qdata, key); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # g_variant_iter_free (iter); 1023s # for (n = 0; invalidated_properties[n] != NULL; n++) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1023s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1023s # #else 1023s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1023s # #endif 1023s # 1023s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusProxyClass *proxy_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1023s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1023s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1023s # 1023s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1023s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1023s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_sync: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_sync ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new_for_bus ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_sync: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_sync ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeleton: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeletonClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1023s # { 1023s # GValue *properties; 1023s # GList *changed_properties; 1023s # GSource *changed_properties_idle_source; 1023s # GMainContext *context; 1023s # GMutex lock; 1023s # }; 1023s # 1023s # static void 1023s # _org_project_useful_interface_skeleton_handle_method_call ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name, 1023s # const gchar *method_name, 1023s # GVariant *parameters, 1023s # GDBusMethodInvocation *invocation, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # _ExtendedGDBusMethodInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # guint num_extra; 1023s # gsize n; 1023s # guint signal_id; 1023s # GValue return_value = G_VALUE_INIT; 1023s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1023s # g_assert (info != NULL); 1023s # num_params = g_variant_n_children (parameters); 1023s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1023s # n = 0; 1023s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[n++], skeleton); 1023s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1023s # g_value_set_object (¶mv[n++], invocation); 1023s # if (info->pass_fdlist) 1023s # { 1023s # #ifdef G_OS_UNIX 1023s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1023s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1023s # #else 1023s # g_assert_not_reached (); 1023s # #endif 1023s # } 1023s # g_variant_iter_init (&iter, parameters); 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1023s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1023s # if (!g_value_get_boolean (&return_value)) 1023s # 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); 1023s # g_value_unset (&return_value); 1023s # for (n = 0; n < num_params + num_extra; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static GVariant * 1023s # _org_project_useful_interface_skeleton_handle_get_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # GVariant *ret; 1023s # ret = NULL; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # g_value_init (&value, pspec->value_type); 1023s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1023s # g_value_unset (&value); 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _org_project_useful_interface_skeleton_handle_set_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GVariant *variant, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # gboolean ret; 1023s # ret = FALSE; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # if (info->use_gvariant) 1023s # g_value_set_variant (&value, variant); 1023s # else 1023s # g_dbus_gvariant_to_gvalue (variant, &value); 1023s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # g_value_unset (&value); 1023s # ret = TRUE; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1023s # { 1023s # _org_project_useful_interface_skeleton_handle_method_call, 1023s # _org_project_useful_interface_skeleton_handle_get_property, 1023s # _org_project_useful_interface_skeleton_handle_set_property, 1023s # {NULL} 1023s # }; 1023s # 1023s # static GDBusInterfaceInfo * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return org_project_useful_interface_interface_info (); 1023s # } 1023s # 1023s # static GDBusInterfaceVTable * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1023s # } 1023s # 1023s # static GVariant * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1023s # 1023s # GVariantBuilder builder; 1023s # guint n; 1023s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1023s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1023s # goto out; 1023s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1023s # { 1023s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1023s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1023s # { 1023s # GVariant *value; 1023s # 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); 1023s # if (value != NULL) 1023s # { 1023s # g_variant_take_ref (value); 1023s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1023s # g_variant_unref (value); 1023s # } 1023s # } 1023s # } 1023s # out: 1023s # return g_variant_builder_end (&builder); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_skeleton_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1023s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1023s # if (skeleton->priv->changed_properties_idle_source != NULL) 1023s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1023s # g_main_context_unref (skeleton->priv->context); 1023s # g_mutex_clear (&skeleton->priv->lock); 1023s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1023s # #else 1023s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1023s # #endif 1023s # 1023s # g_mutex_init (&skeleton->priv->lock); 1023s # skeleton->priv->context = g_main_context_ref_thread_default (); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusInterfaceSkeletonClass *skeleton_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1023s # 1023s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1023s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1023s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1023s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1023s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_skeleton_new: 1023s # * 1023s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_skeleton_new (void) 1023s # { 1023s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1023s # } 1023s # /tmp/tmps2nvp2eo/tmps45poy1l.xml: 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps2nvp2eo/tmps45poy1l.xml', '--output', '-', '--body'] 1023s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1023s # Output: /* 1023s # * This file is generated by gdbus-codegen, do not modify it. 1023s # * 1023s # * The license of this code is the same as for the D-Bus interface description 1023s # * it was derived from. Note that it links to GLib, so must comply with the 1023s # * LGPL linking clauses. 1023s # */ 1023s # 1023s # #ifdef HAVE_CONFIG_H 1023s # # include "config.h" 1023s # #endif 1023s # 1023s # #include 1023s # #ifdef G_OS_UNIX 1023s # # include 1023s # #endif 1023s # 1023s # #ifdef G_ENABLE_DEBUG 1023s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1023s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1023s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1023s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1023s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1023s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1023s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1023s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1023s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1023s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1023s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1023s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1023s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1023s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1023s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1023s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1023s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1023s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1023s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1023s # #else /* !G_ENABLE_DEBUG */ 1023s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1023s # * Do not access GValues directly in your code. Instead, use the 1023s # * g_value_get_*() functions 1023s # */ 1023s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1023s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1023s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1023s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1023s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1023s # #endif /* !G_ENABLE_DEBUG */ 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusArgInfo parent_struct; 1023s # gboolean use_gvariant; 1023s # } _ExtendedGDBusArgInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusMethodInfo parent_struct; 1023s # const gchar *signal_name; 1023s # gboolean pass_fdlist; 1023s # } _ExtendedGDBusMethodInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusSignalInfo parent_struct; 1023s # const gchar *signal_name; 1023s # } _ExtendedGDBusSignalInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusPropertyInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # guint use_gvariant : 1; 1023s # guint emits_changed_signal : 1; 1023s # } _ExtendedGDBusPropertyInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusInterfaceInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # } _ExtendedGDBusInterfaceInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # const _ExtendedGDBusPropertyInfo *info; 1023s # guint prop_id; 1023s # GValue orig_value; /* the value before the change */ 1023s # } ChangedProperty; 1023s # 1023s # static void 1023s # _changed_property_free (ChangedProperty *data) 1023s # { 1023s # g_value_unset (&data->orig_value); 1023s # g_free (data); 1023s # } 1023s # 1023s # static gboolean 1023s # _g_strv_equal0 (gchar **a, gchar **b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # guint n; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # if (g_strv_length (a) != g_strv_length (b)) 1023s # goto out; 1023s # for (n = 0; a[n] != NULL; n++) 1023s # if (g_strcmp0 (a[n], b[n]) != 0) 1023s # goto out; 1023s # ret = TRUE; 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _g_variant_equal0 (GVariant *a, GVariant *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # ret = g_variant_equal (a, b); 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # G_GNUC_UNUSED static gboolean 1023s # _g_value_equal (const GValue *a, const GValue *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1023s # switch (G_VALUE_TYPE (a)) 1023s # { 1023s # case G_TYPE_BOOLEAN: 1023s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1023s # break; 1023s # case G_TYPE_UCHAR: 1023s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1023s # break; 1023s # case G_TYPE_INT: 1023s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1023s # break; 1023s # case G_TYPE_UINT: 1023s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1023s # break; 1023s # case G_TYPE_INT64: 1023s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1023s # break; 1023s # case G_TYPE_UINT64: 1023s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1023s # break; 1023s # case G_TYPE_DOUBLE: 1023s # { 1023s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1023s # gdouble da = g_value_get_double (a); 1023s # gdouble db = g_value_get_double (b); 1023s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1023s # } 1023s # break; 1023s # case G_TYPE_STRING: 1023s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1023s # break; 1023s # case G_TYPE_VARIANT: 1023s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1023s # break; 1023s # default: 1023s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1023s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1023s # else 1023s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1023s # break; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static void 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint G_GNUC_UNUSED, 1023s # void *marshal_data) 1023s # { 1023s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (void *data1, 1023s # GDBusMethodInvocation *arg_method_invocation, 1023s # void *data2); 1023s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1023s # GCClosure *cc = (GCClosure*) closure; 1023s # void *data1, *data2; 1023s # gboolean v_return; 1023s # 1023s # g_return_if_fail (return_value != NULL); 1023s # g_return_if_fail (n_param_values == 2); 1023s # 1023s # if (G_CCLOSURE_SWAP_DATA (closure)) 1023s # { 1023s # data1 = closure->data; 1023s # data2 = g_value_peek_pointer (param_values + 0); 1023s # } 1023s # else 1023s # { 1023s # data1 = g_value_peek_pointer (param_values + 0); 1023s # data2 = closure->data; 1023s # } 1023s # 1023s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (marshal_data ? marshal_data : cc->callback); 1023s # 1023s # v_return = 1023s # callback (data1, 1023s # g_marshal_value_peek_object (param_values + 1), 1023s # data2); 1023s # 1023s # g_value_set_boolean (return_value, v_return); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ 1023s # * Code for interface org.project.UsefulInterface 1023s # * ------------------------------------------------------------------------ 1023s # */ 1023s # 1023s # /** 1023s # * SECTION:OrgProjectUsefulInterface 1023s # * @title: OrgProjectUsefulInterface 1023s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1023s # * 1023s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1023s # */ 1023s # 1023s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "arg_y", 1023s # (gchar *) "y", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgMethodY", 1023s # NULL, 1023s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "handle-single-arg-method-y", 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "org.project.UsefulInterface", 1023s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1023s # NULL, 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "org-project-useful-interface", 1023s # }; 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_interface_info: 1023s # * 1023s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1023s # * 1023s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1023s # */ 1023s # GDBusInterfaceInfo * 1023s # org_project_useful_interface_interface_info (void) 1023s # { 1023s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_override_properties: 1023s # * @klass: The class structure for a #GObject derived class. 1023s # * @property_id_begin: The property id to assign to the first overridden property. 1023s # * 1023s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1023s # * The properties are overridden in the order they are defined. 1023s # * 1023s # * Returns: The last property id. 1023s # */ 1023s # guint 1023s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1023s # { 1023s # return property_id_begin - 1; 1023s # } 1023s # 1023s # 1023s # inline static void 1023s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterface: 1023s # * 1023s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceIface: 1023s # * @parent_iface: The parent interface. 1023s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1023s # * 1023s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1023s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1023s # 1023s # static void 1023s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1023s # { 1023s # /* GObject signals for incoming D-Bus method calls: */ 1023s # /** 1023s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: A #GDBusMethodInvocation. 1023s # * 1023s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1023s # * 1023s # * 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. 1023s # * 1023s # * 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. 1023s # */ 1023s # g_signal_new ("handle-single-arg-method-y", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1023s # g_signal_accumulator_true_handled, 1023s # NULL, 1023s # org_project_useful_interface_method_marshal_single_arg_method_y, 1023s # G_TYPE_BOOLEAN, 1023s # 1, 1023s # G_TYPE_DBUS_METHOD_INVOCATION); 1023s # 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_y: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1023s # */ 1023s # void 1023s # org_project_useful_interface_call_single_arg_method_y ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodY", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # callback, 1023s # user_data); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_y_finish: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_y_finish ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # guchar *out_arg_y, 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(y)", 1023s # out_arg_y); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_y_sync: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_y_sync ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # guchar *out_arg_y, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodY", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(y)", 1023s # out_arg_y); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_complete_single_arg_method_y: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1023s # * @arg_y: Parameter to return. 1023s # * 1023s # * 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. 1023s # * 1023s # * This method will free @invocation, you cannot use it afterwards. 1023s # */ 1023s # void 1023s # org_project_useful_interface_complete_single_arg_method_y ( 1023s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1023s # GDBusMethodInvocation *invocation, 1023s # guchar arg_y) 1023s # { 1023s # g_dbus_method_invocation_return_value (invocation, 1023s # g_variant_new ("(y)", 1023s # arg_y)); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxy: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxyClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceProxyPrivate 1023s # { 1023s # GData *qdata; 1023s # }; 1023s # 1023s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_proxy_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1023s # g_datalist_clear (&proxy->priv->qdata); 1023s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # const GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1023s # const gchar *sender_name G_GNUC_UNUSED, 1023s # const gchar *signal_name, 1023s # GVariant *parameters) 1023s # { 1023s # _ExtendedGDBusSignalInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # gsize n; 1023s # guint signal_id; 1023s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1023s # if (info == NULL) 1023s # return; 1023s # num_params = g_variant_n_children (parameters); 1023s # paramv = g_new0 (GValue, num_params + 1); 1023s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[0], proxy); 1023s # g_variant_iter_init (&iter, parameters); 1023s # n = 1; 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_signal_emitv (paramv, signal_id, 0, NULL); 1023s # for (n = 0; n < num_params + 1; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1023s # GVariant *changed_properties, 1023s # const gchar *const *invalidated_properties) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1023s # guint n; 1023s # const gchar *key; 1023s # GVariantIter *iter; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # g_variant_get (changed_properties, "a{sv}", &iter); 1023s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1023s # g_datalist_remove_data (&proxy->priv->qdata, key); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # g_variant_iter_free (iter); 1023s # for (n = 0; invalidated_properties[n] != NULL; n++) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1023s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1023s # #else 1023s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1023s # #endif 1023s # 1023s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusProxyClass *proxy_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1023s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1023s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1023s # 1023s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1023s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1023s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_sync: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_sync ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new_for_bus ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_sync: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_sync ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeleton: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeletonClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1023s # { 1023s # GValue *properties; 1023s # GList *changed_properties; 1023s # GSource *changed_properties_idle_source; 1023s # GMainContext *context; 1023s # GMutex lock; 1023s # }; 1023s # 1023s # static void 1023s # _org_project_useful_interface_skeleton_handle_method_call ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name, 1023s # const gchar *method_name, 1023s # GVariant *parameters, 1023s # GDBusMethodInvocation *invocation, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # _ExtendedGDBusMethodInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # guint num_extra; 1023s # gsize n; 1023s # guint signal_id; 1023s # GValue return_value = G_VALUE_INIT; 1023s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1023s # g_assert (info != NULL); 1023s # num_params = g_variant_n_children (parameters); 1023s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1023s # n = 0; 1023s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[n++], skeleton); 1023s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1023s # g_value_set_object (¶mv[n++], invocation); 1023s # if (info->pass_fdlist) 1023s # { 1023s # #ifdef G_OS_UNIX 1023s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1023s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1023s # #else 1023s # g_assert_not_reached (); 1023s # #endif 1023s # } 1023s # g_variant_iter_init (&iter, parameters); 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1023s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1023s # if (!g_value_get_boolean (&return_value)) 1023s # 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); 1023s # g_value_unset (&return_value); 1023s # for (n = 0; n < num_params + num_extra; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static GVariant * 1023s # _org_project_useful_interface_skeleton_handle_get_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # GVariant *ret; 1023s # ret = NULL; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # g_value_init (&value, pspec->value_type); 1023s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1023s # g_value_unset (&value); 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _org_project_useful_interface_skeleton_handle_set_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GVariant *variant, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # gboolean ret; 1023s # ret = FALSE; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # if (info->use_gvariant) 1023s # g_value_set_variant (&value, variant); 1023s # else 1023s # g_dbus_gvariant_to_gvalue (variant, &value); 1023s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # g_value_unset (&value); 1023s # ret = TRUE; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1023s # { 1023s # _org_project_useful_interface_skeleton_handle_method_call, 1023s # _org_project_useful_interface_skeleton_handle_get_property, 1023s # _org_project_useful_interface_skeleton_handle_set_property, 1023s # {NULL} 1023s # }; 1023s # 1023s # static GDBusInterfaceInfo * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return org_project_useful_interface_interface_info (); 1023s # } 1023s # 1023s # static GDBusInterfaceVTable * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1023s # } 1023s # 1023s # static GVariant * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1023s # 1023s # GVariantBuilder builder; 1023s # guint n; 1023s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1023s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1023s # goto out; 1023s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1023s # { 1023s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1023s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1023s # { 1023s # GVariant *value; 1023s # 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); 1023s # if (value != NULL) 1023s # { 1023s # g_variant_take_ref (value); 1023s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1023s # g_variant_unref (value); 1023s # } 1023s # } 1023s # } 1023s # out: 1023s # return g_variant_builder_end (&builder); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_skeleton_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1023s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1023s # if (skeleton->priv->changed_properties_idle_source != NULL) 1023s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1023s # g_main_context_unref (skeleton->priv->context); 1023s # g_mutex_clear (&skeleton->priv->lock); 1023s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1023s # #else 1023s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1023s # #endif 1023s # 1023s # g_mutex_init (&skeleton->priv->lock); 1023s # skeleton->priv->context = g_main_context_ref_thread_default (); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusInterfaceSkeletonClass *skeleton_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1023s # 1023s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1023s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1023s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1023s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1023s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_skeleton_new: 1023s # * 1023s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_skeleton_new (void) 1023s # { 1023s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1023s # } 1023s # /tmp/tmps2nvp2eo/tmp1lkll921.xml: 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps2nvp2eo/tmp1lkll921.xml', '--output', '-', '--body'] 1023s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1023s # Output: /* 1023s # * This file is generated by gdbus-codegen, do not modify it. 1023s # * 1023s # * The license of this code is the same as for the D-Bus interface description 1023s # * it was derived from. Note that it links to GLib, so must comply with the 1023s # * LGPL linking clauses. 1023s # */ 1023s # 1023s # #ifdef HAVE_CONFIG_H 1023s # # include "config.h" 1023s # #endif 1023s # 1023s # #include 1023s # #ifdef G_OS_UNIX 1023s # # include 1023s # #endif 1023s # 1023s # #ifdef G_ENABLE_DEBUG 1023s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1023s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1023s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1023s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1023s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1023s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1023s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1023s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1023s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1023s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1023s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1023s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1023s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1023s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1023s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1023s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1023s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1023s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1023s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1023s # #else /* !G_ENABLE_DEBUG */ 1023s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1023s # * Do not access GValues directly in your code. Instead, use the 1023s # * g_value_get_*() functions 1023s # */ 1023s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1023s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1023s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1023s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1023s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1023s # #endif /* !G_ENABLE_DEBUG */ 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusArgInfo parent_struct; 1023s # gboolean use_gvariant; 1023s # } _ExtendedGDBusArgInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusMethodInfo parent_struct; 1023s # const gchar *signal_name; 1023s # gboolean pass_fdlist; 1023s # } _ExtendedGDBusMethodInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusSignalInfo parent_struct; 1023s # const gchar *signal_name; 1023s # } _ExtendedGDBusSignalInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusPropertyInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # guint use_gvariant : 1; 1023s # guint emits_changed_signal : 1; 1023s # } _ExtendedGDBusPropertyInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusInterfaceInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # } _ExtendedGDBusInterfaceInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # const _ExtendedGDBusPropertyInfo *info; 1023s # guint prop_id; 1023s # GValue orig_value; /* the value before the change */ 1023s # } ChangedProperty; 1023s # 1023s # static void 1023s # _changed_property_free (ChangedProperty *data) 1023s # { 1023s # g_value_unset (&data->orig_value); 1023s # g_free (data); 1023s # } 1023s # 1023s # static gboolean 1023s # _g_strv_equal0 (gchar **a, gchar **b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # guint n; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # if (g_strv_length (a) != g_strv_length (b)) 1023s # goto out; 1023s # for (n = 0; a[n] != NULL; n++) 1023s # if (g_strcmp0 (a[n], b[n]) != 0) 1023s # goto out; 1023s # ret = TRUE; 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _g_variant_equal0 (GVariant *a, GVariant *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # ret = g_variant_equal (a, b); 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # G_GNUC_UNUSED static gboolean 1023s # _g_value_equal (const GValue *a, const GValue *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1023s # switch (G_VALUE_TYPE (a)) 1023s # { 1023s # case G_TYPE_BOOLEAN: 1023s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1023s # break; 1023s # case G_TYPE_UCHAR: 1023s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1023s # break; 1023s # case G_TYPE_INT: 1023s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1023s # break; 1023s # case G_TYPE_UINT: 1023s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1023s # break; 1023s # case G_TYPE_INT64: 1023s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1023s # break; 1023s # case G_TYPE_UINT64: 1023s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1023s # break; 1023s # case G_TYPE_DOUBLE: 1023s # { 1023s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1023s # gdouble da = g_value_get_double (a); 1023s # gdouble db = g_value_get_double (b); 1023s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1023s # } 1023s # break; 1023s # case G_TYPE_STRING: 1023s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1023s # break; 1023s # case G_TYPE_VARIANT: 1023s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1023s # break; 1023s # default: 1023s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1023s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1023s # else 1023s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1023s # break; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static void 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint G_GNUC_UNUSED, 1023s # void *marshal_data) 1023s # { 1023s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (void *data1, 1023s # GDBusMethodInvocation *arg_method_invocation, 1023s # void *data2); 1023s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1023s # GCClosure *cc = (GCClosure*) closure; 1023s # void *data1, *data2; 1023s # gboolean v_return; 1023s # 1023s # g_return_if_fail (return_value != NULL); 1023s # g_return_if_fail (n_param_values == 2); 1023s # 1023s # if (G_CCLOSURE_SWAP_DATA (closure)) 1023s # { 1023s # data1 = closure->data; 1023s # data2 = g_value_peek_pointer (param_values + 0); 1023s # } 1023s # else 1023s # { 1023s # data1 = g_value_peek_pointer (param_values + 0); 1023s # data2 = closure->data; 1023s # } 1023s # 1023s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (marshal_data ? marshal_data : cc->callback); 1023s # 1023s # v_return = 1023s # callback (data1, 1023s # g_marshal_value_peek_object (param_values + 1), 1023s # data2); 1023s # 1023s # g_value_set_boolean (return_value, v_return); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ 1023s # * Code for interface org.project.UsefulInterface 1023s # * ------------------------------------------------------------------------ 1023s # */ 1023s # 1023s # /** 1023s # * SECTION:OrgProjectUsefulInterface 1023s # * @title: OrgProjectUsefulInterface 1023s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1023s # * 1023s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1023s # */ 1023s # 1023s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "arg_n", 1023s # (gchar *) "n", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgMethodN", 1023s # NULL, 1023s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "handle-single-arg-method-n", 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "org.project.UsefulInterface", 1023s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1023s # NULL, 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "org-project-useful-interface", 1023s # }; 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_interface_info: 1023s # * 1023s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1023s # * 1023s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1023s # */ 1023s # GDBusInterfaceInfo * 1023s # org_project_useful_interface_interface_info (void) 1023s # { 1023s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_override_properties: 1023s # * @klass: The class structure for a #GObject derived class. 1023s # * @property_id_begin: The property id to assign to the first overridden property. 1023s # * 1023s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1023s # * The properties are overridden in the order they are defined. 1023s # * 1023s # * Returns: The last property id. 1023s # */ 1023s # guint 1023s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1023s # { 1023s # return property_id_begin - 1; 1023s # } 1023s # 1023s # 1023s # inline static void 1023s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterface: 1023s # * 1023s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceIface: 1023s # * @parent_iface: The parent interface. 1023s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1023s # * 1023s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1023s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1023s # 1023s # static void 1023s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1023s # { 1023s # /* GObject signals for incoming D-Bus method calls: */ 1023s # /** 1023s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: A #GDBusMethodInvocation. 1023s # * 1023s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1023s # * 1023s # * 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. 1023s # * 1023s # * 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. 1023s # */ 1023s # g_signal_new ("handle-single-arg-method-n", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1023s # g_signal_accumulator_true_handled, 1023s # NULL, 1023s # org_project_useful_interface_method_marshal_single_arg_method_n, 1023s # G_TYPE_BOOLEAN, 1023s # 1, 1023s # G_TYPE_DBUS_METHOD_INVOCATION); 1023s # 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_n: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1023s # */ 1023s # void 1023s # org_project_useful_interface_call_single_arg_method_n ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodN", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # callback, 1023s # user_data); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_n_finish: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_n_finish ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # gint16 *out_arg_n, 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(n)", 1023s # out_arg_n); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_n_sync: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_n_sync ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # gint16 *out_arg_n, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodN", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(n)", 1023s # out_arg_n); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_complete_single_arg_method_n: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1023s # * @arg_n: Parameter to return. 1023s # * 1023s # * 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. 1023s # * 1023s # * This method will free @invocation, you cannot use it afterwards. 1023s # */ 1023s # void 1023s # org_project_useful_interface_complete_single_arg_method_n ( 1023s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1023s # GDBusMethodInvocation *invocation, 1023s # gint16 arg_n) 1023s # { 1023s # g_dbus_method_invocation_return_value (invocation, 1023s # g_variant_new ("(n)", 1023s # arg_n)); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxy: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxyClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceProxyPrivate 1023s # { 1023s # GData *qdata; 1023s # }; 1023s # 1023s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_proxy_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1023s # g_datalist_clear (&proxy->priv->qdata); 1023s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # const GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1023s # const gchar *sender_name G_GNUC_UNUSED, 1023s # const gchar *signal_name, 1023s # GVariant *parameters) 1023s # { 1023s # _ExtendedGDBusSignalInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # gsize n; 1023s # guint signal_id; 1023s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1023s # if (info == NULL) 1023s # return; 1023s # num_params = g_variant_n_children (parameters); 1023s # paramv = g_new0 (GValue, num_params + 1); 1023s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[0], proxy); 1023s # g_variant_iter_init (&iter, parameters); 1023s # n = 1; 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_signal_emitv (paramv, signal_id, 0, NULL); 1023s # for (n = 0; n < num_params + 1; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1023s # GVariant *changed_properties, 1023s # const gchar *const *invalidated_properties) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1023s # guint n; 1023s # const gchar *key; 1023s # GVariantIter *iter; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # g_variant_get (changed_properties, "a{sv}", &iter); 1023s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1023s # g_datalist_remove_data (&proxy->priv->qdata, key); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # g_variant_iter_free (iter); 1023s # for (n = 0; invalidated_properties[n] != NULL; n++) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1023s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1023s # #else 1023s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1023s # #endif 1023s # 1023s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusProxyClass *proxy_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1023s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1023s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1023s # 1023s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1023s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1023s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_sync: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_sync ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new_for_bus ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_sync: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_sync ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeleton: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeletonClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1023s # { 1023s # GValue *properties; 1023s # GList *changed_properties; 1023s # GSource *changed_properties_idle_source; 1023s # GMainContext *context; 1023s # GMutex lock; 1023s # }; 1023s # 1023s # static void 1023s # _org_project_useful_interface_skeleton_handle_method_call ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name, 1023s # const gchar *method_name, 1023s # GVariant *parameters, 1023s # GDBusMethodInvocation *invocation, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # _ExtendedGDBusMethodInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # guint num_extra; 1023s # gsize n; 1023s # guint signal_id; 1023s # GValue return_value = G_VALUE_INIT; 1023s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1023s # g_assert (info != NULL); 1023s # num_params = g_variant_n_children (parameters); 1023s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1023s # n = 0; 1023s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[n++], skeleton); 1023s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1023s # g_value_set_object (¶mv[n++], invocation); 1023s # if (info->pass_fdlist) 1023s # { 1023s # #ifdef G_OS_UNIX 1023s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1023s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1023s # #else 1023s # g_assert_not_reached (); 1023s # #endif 1023s # } 1023s # g_variant_iter_init (&iter, parameters); 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1023s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1023s # if (!g_value_get_boolean (&return_value)) 1023s # 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); 1023s # g_value_unset (&return_value); 1023s # for (n = 0; n < num_params + num_extra; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static GVariant * 1023s # _org_project_useful_interface_skeleton_handle_get_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # GVariant *ret; 1023s # ret = NULL; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # g_value_init (&value, pspec->value_type); 1023s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1023s # g_value_unset (&value); 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _org_project_useful_interface_skeleton_handle_set_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GVariant *variant, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # gboolean ret; 1023s # ret = FALSE; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # if (info->use_gvariant) 1023s # g_value_set_variant (&value, variant); 1023s # else 1023s # g_dbus_gvariant_to_gvalue (variant, &value); 1023s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # g_value_unset (&value); 1023s # ret = TRUE; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1023s # { 1023s # _org_project_useful_interface_skeleton_handle_method_call, 1023s # _org_project_useful_interface_skeleton_handle_get_property, 1023s # _org_project_useful_interface_skeleton_handle_set_property, 1023s # {NULL} 1023s # }; 1023s # 1023s # static GDBusInterfaceInfo * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return org_project_useful_interface_interface_info (); 1023s # } 1023s # 1023s # static GDBusInterfaceVTable * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1023s # } 1023s # 1023s # static GVariant * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1023s # 1023s # GVariantBuilder builder; 1023s # guint n; 1023s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1023s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1023s # goto out; 1023s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1023s # { 1023s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1023s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1023s # { 1023s # GVariant *value; 1023s # 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); 1023s # if (value != NULL) 1023s # { 1023s # g_variant_take_ref (value); 1023s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1023s # g_variant_unref (value); 1023s # } 1023s # } 1023s # } 1023s # out: 1023s # return g_variant_builder_end (&builder); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_skeleton_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1023s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1023s # if (skeleton->priv->changed_properties_idle_source != NULL) 1023s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1023s # g_main_context_unref (skeleton->priv->context); 1023s # g_mutex_clear (&skeleton->priv->lock); 1023s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1023s # #else 1023s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1023s # #endif 1023s # 1023s # g_mutex_init (&skeleton->priv->lock); 1023s # skeleton->priv->context = g_main_context_ref_thread_default (); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusInterfaceSkeletonClass *skeleton_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1023s # 1023s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1023s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1023s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1023s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1023s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_skeleton_new: 1023s # * 1023s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_skeleton_new (void) 1023s # { 1023s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1023s # } 1023s # /tmp/tmps2nvp2eo/tmpb2wdd6n5.xml: 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps2nvp2eo/tmpb2wdd6n5.xml', '--output', '-', '--body'] 1023s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1023s # Output: /* 1023s # * This file is generated by gdbus-codegen, do not modify it. 1023s # * 1023s # * The license of this code is the same as for the D-Bus interface description 1023s # * it was derived from. Note that it links to GLib, so must comply with the 1023s # * LGPL linking clauses. 1023s # */ 1023s # 1023s # #ifdef HAVE_CONFIG_H 1023s # # include "config.h" 1023s # #endif 1023s # 1023s # #include 1023s # #ifdef G_OS_UNIX 1023s # # include 1023s # #endif 1023s # 1023s # #ifdef G_ENABLE_DEBUG 1023s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1023s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1023s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1023s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1023s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1023s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1023s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1023s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1023s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1023s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1023s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1023s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1023s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1023s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1023s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1023s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1023s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1023s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1023s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1023s # #else /* !G_ENABLE_DEBUG */ 1023s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1023s # * Do not access GValues directly in your code. Instead, use the 1023s # * g_value_get_*() functions 1023s # */ 1023s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1023s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1023s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1023s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1023s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1023s # #endif /* !G_ENABLE_DEBUG */ 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusArgInfo parent_struct; 1023s # gboolean use_gvariant; 1023s # } _ExtendedGDBusArgInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusMethodInfo parent_struct; 1023s # const gchar *signal_name; 1023s # gboolean pass_fdlist; 1023s # } _ExtendedGDBusMethodInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusSignalInfo parent_struct; 1023s # const gchar *signal_name; 1023s # } _ExtendedGDBusSignalInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusPropertyInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # guint use_gvariant : 1; 1023s # guint emits_changed_signal : 1; 1023s # } _ExtendedGDBusPropertyInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusInterfaceInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # } _ExtendedGDBusInterfaceInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # const _ExtendedGDBusPropertyInfo *info; 1023s # guint prop_id; 1023s # GValue orig_value; /* the value before the change */ 1023s # } ChangedProperty; 1023s # 1023s # static void 1023s # _changed_property_free (ChangedProperty *data) 1023s # { 1023s # g_value_unset (&data->orig_value); 1023s # g_free (data); 1023s # } 1023s # 1023s # static gboolean 1023s # _g_strv_equal0 (gchar **a, gchar **b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # guint n; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # if (g_strv_length (a) != g_strv_length (b)) 1023s # goto out; 1023s # for (n = 0; a[n] != NULL; n++) 1023s # if (g_strcmp0 (a[n], b[n]) != 0) 1023s # goto out; 1023s # ret = TRUE; 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _g_variant_equal0 (GVariant *a, GVariant *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # ret = g_variant_equal (a, b); 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # G_GNUC_UNUSED static gboolean 1023s # _g_value_equal (const GValue *a, const GValue *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1023s # switch (G_VALUE_TYPE (a)) 1023s # { 1023s # case G_TYPE_BOOLEAN: 1023s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1023s # break; 1023s # case G_TYPE_UCHAR: 1023s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1023s # break; 1023s # case G_TYPE_INT: 1023s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1023s # break; 1023s # case G_TYPE_UINT: 1023s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1023s # break; 1023s # case G_TYPE_INT64: 1023s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1023s # break; 1023s # case G_TYPE_UINT64: 1023s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1023s # break; 1023s # case G_TYPE_DOUBLE: 1023s # { 1023s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1023s # gdouble da = g_value_get_double (a); 1023s # gdouble db = g_value_get_double (b); 1023s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1023s # } 1023s # break; 1023s # case G_TYPE_STRING: 1023s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1023s # break; 1023s # case G_TYPE_VARIANT: 1023s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1023s # break; 1023s # default: 1023s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1023s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1023s # else 1023s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1023s # break; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static void 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint G_GNUC_UNUSED, 1023s # void *marshal_data) 1023s # { 1023s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (void *data1, 1023s # GDBusMethodInvocation *arg_method_invocation, 1023s # void *data2); 1023s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1023s # GCClosure *cc = (GCClosure*) closure; 1023s # void *data1, *data2; 1023s # gboolean v_return; 1023s # 1023s # g_return_if_fail (return_value != NULL); 1023s # g_return_if_fail (n_param_values == 2); 1023s # 1023s # if (G_CCLOSURE_SWAP_DATA (closure)) 1023s # { 1023s # data1 = closure->data; 1023s # data2 = g_value_peek_pointer (param_values + 0); 1023s # } 1023s # else 1023s # { 1023s # data1 = g_value_peek_pointer (param_values + 0); 1023s # data2 = closure->data; 1023s # } 1023s # 1023s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (marshal_data ? marshal_data : cc->callback); 1023s # 1023s # v_return = 1023s # callback (data1, 1023s # g_marshal_value_peek_object (param_values + 1), 1023s # data2); 1023s # 1023s # g_value_set_boolean (return_value, v_return); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ 1023s # * Code for interface org.project.UsefulInterface 1023s # * ------------------------------------------------------------------------ 1023s # */ 1023s # 1023s # /** 1023s # * SECTION:OrgProjectUsefulInterface 1023s # * @title: OrgProjectUsefulInterface 1023s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1023s # * 1023s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1023s # */ 1023s # 1023s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "arg_q", 1023s # (gchar *) "q", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgMethodQ", 1023s # NULL, 1023s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "handle-single-arg-method-q", 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "org.project.UsefulInterface", 1023s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1023s # NULL, 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "org-project-useful-interface", 1023s # }; 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_interface_info: 1023s # * 1023s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1023s # * 1023s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1023s # */ 1023s # GDBusInterfaceInfo * 1023s # org_project_useful_interface_interface_info (void) 1023s # { 1023s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_override_properties: 1023s # * @klass: The class structure for a #GObject derived class. 1023s # * @property_id_begin: The property id to assign to the first overridden property. 1023s # * 1023s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1023s # * The properties are overridden in the order they are defined. 1023s # * 1023s # * Returns: The last property id. 1023s # */ 1023s # guint 1023s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1023s # { 1023s # return property_id_begin - 1; 1023s # } 1023s # 1023s # 1023s # inline static void 1023s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterface: 1023s # * 1023s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceIface: 1023s # * @parent_iface: The parent interface. 1023s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1023s # * 1023s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1023s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1023s # 1023s # static void 1023s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1023s # { 1023s # /* GObject signals for incoming D-Bus method calls: */ 1023s # /** 1023s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: A #GDBusMethodInvocation. 1023s # * 1023s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1023s # * 1023s # * 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. 1023s # * 1023s # * 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. 1023s # */ 1023s # g_signal_new ("handle-single-arg-method-q", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1023s # g_signal_accumulator_true_handled, 1023s # NULL, 1023s # org_project_useful_interface_method_marshal_single_arg_method_q, 1023s # G_TYPE_BOOLEAN, 1023s # 1, 1023s # G_TYPE_DBUS_METHOD_INVOCATION); 1023s # 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_q: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1023s # */ 1023s # void 1023s # org_project_useful_interface_call_single_arg_method_q ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodQ", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # callback, 1023s # user_data); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_q_finish: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_q_finish ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # guint16 *out_arg_q, 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(q)", 1023s # out_arg_q); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_q_sync: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_q_sync ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # guint16 *out_arg_q, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodQ", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(q)", 1023s # out_arg_q); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_complete_single_arg_method_q: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1023s # * @arg_q: Parameter to return. 1023s # * 1023s # * 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. 1023s # * 1023s # * This method will free @invocation, you cannot use it afterwards. 1023s # */ 1023s # void 1023s # org_project_useful_interface_complete_single_arg_method_q ( 1023s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1023s # GDBusMethodInvocation *invocation, 1023s # guint16 arg_q) 1023s # { 1023s # g_dbus_method_invocation_return_value (invocation, 1023s # g_variant_new ("(q)", 1023s # arg_q)); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxy: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxyClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceProxyPrivate 1023s # { 1023s # GData *qdata; 1023s # }; 1023s # 1023s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_proxy_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1023s # g_datalist_clear (&proxy->priv->qdata); 1023s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # const GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1023s # const gchar *sender_name G_GNUC_UNUSED, 1023s # const gchar *signal_name, 1023s # GVariant *parameters) 1023s # { 1023s # _ExtendedGDBusSignalInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # gsize n; 1023s # guint signal_id; 1023s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1023s # if (info == NULL) 1023s # return; 1023s # num_params = g_variant_n_children (parameters); 1023s # paramv = g_new0 (GValue, num_params + 1); 1023s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[0], proxy); 1023s # g_variant_iter_init (&iter, parameters); 1023s # n = 1; 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_signal_emitv (paramv, signal_id, 0, NULL); 1023s # for (n = 0; n < num_params + 1; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1023s # GVariant *changed_properties, 1023s # const gchar *const *invalidated_properties) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1023s # guint n; 1023s # const gchar *key; 1023s # GVariantIter *iter; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # g_variant_get (changed_properties, "a{sv}", &iter); 1023s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1023s # g_datalist_remove_data (&proxy->priv->qdata, key); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # g_variant_iter_free (iter); 1023s # for (n = 0; invalidated_properties[n] != NULL; n++) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1023s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1023s # #else 1023s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1023s # #endif 1023s # 1023s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusProxyClass *proxy_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1023s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1023s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1023s # 1023s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1023s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1023s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_sync: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_sync ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new_for_bus ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_sync: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_sync ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeleton: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeletonClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1023s # { 1023s # GValue *properties; 1023s # GList *changed_properties; 1023s # GSource *changed_properties_idle_source; 1023s # GMainContext *context; 1023s # GMutex lock; 1023s # }; 1023s # 1023s # static void 1023s # _org_project_useful_interface_skeleton_handle_method_call ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name, 1023s # const gchar *method_name, 1023s # GVariant *parameters, 1023s # GDBusMethodInvocation *invocation, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # _ExtendedGDBusMethodInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # guint num_extra; 1023s # gsize n; 1023s # guint signal_id; 1023s # GValue return_value = G_VALUE_INIT; 1023s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1023s # g_assert (info != NULL); 1023s # num_params = g_variant_n_children (parameters); 1023s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1023s # n = 0; 1023s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[n++], skeleton); 1023s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1023s # g_value_set_object (¶mv[n++], invocation); 1023s # if (info->pass_fdlist) 1023s # { 1023s # #ifdef G_OS_UNIX 1023s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1023s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1023s # #else 1023s # g_assert_not_reached (); 1023s # #endif 1023s # } 1023s # g_variant_iter_init (&iter, parameters); 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1023s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1023s # if (!g_value_get_boolean (&return_value)) 1023s # 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); 1023s # g_value_unset (&return_value); 1023s # for (n = 0; n < num_params + num_extra; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static GVariant * 1023s # _org_project_useful_interface_skeleton_handle_get_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # GVariant *ret; 1023s # ret = NULL; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # g_value_init (&value, pspec->value_type); 1023s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1023s # g_value_unset (&value); 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _org_project_useful_interface_skeleton_handle_set_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GVariant *variant, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # gboolean ret; 1023s # ret = FALSE; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # if (info->use_gvariant) 1023s # g_value_set_variant (&value, variant); 1023s # else 1023s # g_dbus_gvariant_to_gvalue (variant, &value); 1023s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # g_value_unset (&value); 1023s # ret = TRUE; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1023s # { 1023s # _org_project_useful_interface_skeleton_handle_method_call, 1023s # _org_project_useful_interface_skeleton_handle_get_property, 1023s # _org_project_useful_interface_skeleton_handle_set_property, 1023s # {NULL} 1023s # }; 1023s # 1023s # static GDBusInterfaceInfo * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return org_project_useful_interface_interface_info (); 1023s # } 1023s # 1023s # static GDBusInterfaceVTable * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1023s # } 1023s # 1023s # static GVariant * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1023s # 1023s # GVariantBuilder builder; 1023s # guint n; 1023s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1023s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1023s # goto out; 1023s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1023s # { 1023s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1023s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1023s # { 1023s # GVariant *value; 1023s # 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); 1023s # if (value != NULL) 1023s # { 1023s # g_variant_take_ref (value); 1023s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1023s # g_variant_unref (value); 1023s # } 1023s # } 1023s # } 1023s # out: 1023s # return g_variant_builder_end (&builder); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_skeleton_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1023s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1023s # if (skeleton->priv->changed_properties_idle_source != NULL) 1023s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1023s # g_main_context_unref (skeleton->priv->context); 1023s # g_mutex_clear (&skeleton->priv->lock); 1023s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1023s # #else 1023s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1023s # #endif 1023s # 1023s # g_mutex_init (&skeleton->priv->lock); 1023s # skeleton->priv->context = g_main_context_ref_thread_default (); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusInterfaceSkeletonClass *skeleton_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1023s # 1023s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1023s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1023s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1023s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1023s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_skeleton_new: 1023s # * 1023s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_skeleton_new (void) 1023s # { 1023s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1023s # } 1023s # /tmp/tmps2nvp2eo/tmp4uw05fdb.xml: 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps2nvp2eo/tmp4uw05fdb.xml', '--output', '-', '--body'] 1023s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1023s # Output: /* 1023s # * This file is generated by gdbus-codegen, do not modify it. 1023s # * 1023s # * The license of this code is the same as for the D-Bus interface description 1023s # * it was derived from. Note that it links to GLib, so must comply with the 1023s # * LGPL linking clauses. 1023s # */ 1023s # 1023s # #ifdef HAVE_CONFIG_H 1023s # # include "config.h" 1023s # #endif 1023s # 1023s # #include 1023s # #ifdef G_OS_UNIX 1023s # # include 1023s # #endif 1023s # 1023s # #ifdef G_ENABLE_DEBUG 1023s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1023s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1023s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1023s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1023s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1023s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1023s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1023s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1023s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1023s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1023s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1023s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1023s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1023s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1023s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1023s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1023s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1023s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1023s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1023s # #else /* !G_ENABLE_DEBUG */ 1023s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1023s # * Do not access GValues directly in your code. Instead, use the 1023s # * g_value_get_*() functions 1023s # */ 1023s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1023s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1023s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1023s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1023s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1023s # #endif /* !G_ENABLE_DEBUG */ 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusArgInfo parent_struct; 1023s # gboolean use_gvariant; 1023s # } _ExtendedGDBusArgInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusMethodInfo parent_struct; 1023s # const gchar *signal_name; 1023s # gboolean pass_fdlist; 1023s # } _ExtendedGDBusMethodInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusSignalInfo parent_struct; 1023s # const gchar *signal_name; 1023s # } _ExtendedGDBusSignalInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusPropertyInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # guint use_gvariant : 1; 1023s # guint emits_changed_signal : 1; 1023s # } _ExtendedGDBusPropertyInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusInterfaceInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # } _ExtendedGDBusInterfaceInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # const _ExtendedGDBusPropertyInfo *info; 1023s # guint prop_id; 1023s # GValue orig_value; /* the value before the change */ 1023s # } ChangedProperty; 1023s # 1023s # static void 1023s # _changed_property_free (ChangedProperty *data) 1023s # { 1023s # g_value_unset (&data->orig_value); 1023s # g_free (data); 1023s # } 1023s # 1023s # static gboolean 1023s # _g_strv_equal0 (gchar **a, gchar **b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # guint n; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # if (g_strv_length (a) != g_strv_length (b)) 1023s # goto out; 1023s # for (n = 0; a[n] != NULL; n++) 1023s # if (g_strcmp0 (a[n], b[n]) != 0) 1023s # goto out; 1023s # ret = TRUE; 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _g_variant_equal0 (GVariant *a, GVariant *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # ret = g_variant_equal (a, b); 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # G_GNUC_UNUSED static gboolean 1023s # _g_value_equal (const GValue *a, const GValue *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1023s # switch (G_VALUE_TYPE (a)) 1023s # { 1023s # case G_TYPE_BOOLEAN: 1023s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1023s # break; 1023s # case G_TYPE_UCHAR: 1023s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1023s # break; 1023s # case G_TYPE_INT: 1023s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1023s # break; 1023s # case G_TYPE_UINT: 1023s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1023s # break; 1023s # case G_TYPE_INT64: 1023s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1023s # break; 1023s # case G_TYPE_UINT64: 1023s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1023s # break; 1023s # case G_TYPE_DOUBLE: 1023s # { 1023s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1023s # gdouble da = g_value_get_double (a); 1023s # gdouble db = g_value_get_double (b); 1023s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1023s # } 1023s # break; 1023s # case G_TYPE_STRING: 1023s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1023s # break; 1023s # case G_TYPE_VARIANT: 1023s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1023s # break; 1023s # default: 1023s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1023s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1023s # else 1023s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1023s # break; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static void 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint G_GNUC_UNUSED, 1023s # void *marshal_data) 1023s # { 1023s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (void *data1, 1023s # GDBusMethodInvocation *arg_method_invocation, 1023s # void *data2); 1023s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1023s # GCClosure *cc = (GCClosure*) closure; 1023s # void *data1, *data2; 1023s # gboolean v_return; 1023s # 1023s # g_return_if_fail (return_value != NULL); 1023s # g_return_if_fail (n_param_values == 2); 1023s # 1023s # if (G_CCLOSURE_SWAP_DATA (closure)) 1023s # { 1023s # data1 = closure->data; 1023s # data2 = g_value_peek_pointer (param_values + 0); 1023s # } 1023s # else 1023s # { 1023s # data1 = g_value_peek_pointer (param_values + 0); 1023s # data2 = closure->data; 1023s # } 1023s # 1023s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (marshal_data ? marshal_data : cc->callback); 1023s # 1023s # v_return = 1023s # callback (data1, 1023s # g_marshal_value_peek_object (param_values + 1), 1023s # data2); 1023s # 1023s # g_value_set_boolean (return_value, v_return); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ 1023s # * Code for interface org.project.UsefulInterface 1023s # * ------------------------------------------------------------------------ 1023s # */ 1023s # 1023s # /** 1023s # * SECTION:OrgProjectUsefulInterface 1023s # * @title: OrgProjectUsefulInterface 1023s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1023s # * 1023s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1023s # */ 1023s # 1023s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "arg_i", 1023s # (gchar *) "i", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgMethodI", 1023s # NULL, 1023s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "handle-single-arg-method-i", 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "org.project.UsefulInterface", 1023s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1023s # NULL, 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "org-project-useful-interface", 1023s # }; 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_interface_info: 1023s # * 1023s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1023s # * 1023s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1023s # */ 1023s # GDBusInterfaceInfo * 1023s # org_project_useful_interface_interface_info (void) 1023s # { 1023s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_override_properties: 1023s # * @klass: The class structure for a #GObject derived class. 1023s # * @property_id_begin: The property id to assign to the first overridden property. 1023s # * 1023s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1023s # * The properties are overridden in the order they are defined. 1023s # * 1023s # * Returns: The last property id. 1023s # */ 1023s # guint 1023s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1023s # { 1023s # return property_id_begin - 1; 1023s # } 1023s # 1023s # 1023s # inline static void 1023s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterface: 1023s # * 1023s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceIface: 1023s # * @parent_iface: The parent interface. 1023s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1023s # * 1023s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1023s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1023s # 1023s # static void 1023s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1023s # { 1023s # /* GObject signals for incoming D-Bus method calls: */ 1023s # /** 1023s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: A #GDBusMethodInvocation. 1023s # * 1023s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1023s # * 1023s # * 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. 1023s # * 1023s # * 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. 1023s # */ 1023s # g_signal_new ("handle-single-arg-method-i", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1023s # g_signal_accumulator_true_handled, 1023s # NULL, 1023s # org_project_useful_interface_method_marshal_single_arg_method_i, 1023s # G_TYPE_BOOLEAN, 1023s # 1, 1023s # G_TYPE_DBUS_METHOD_INVOCATION); 1023s # 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_i: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1023s # */ 1023s # void 1023s # org_project_useful_interface_call_single_arg_method_i ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodI", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # callback, 1023s # user_data); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_i_finish: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_i_finish ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # gint *out_arg_i, 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(i)", 1023s # out_arg_i); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_i_sync: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_i_sync ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # gint *out_arg_i, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodI", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(i)", 1023s # out_arg_i); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_complete_single_arg_method_i: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1023s # * @arg_i: Parameter to return. 1023s # * 1023s # * 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. 1023s # * 1023s # * This method will free @invocation, you cannot use it afterwards. 1023s # */ 1023s # void 1023s # org_project_useful_interface_complete_single_arg_method_i ( 1023s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1023s # GDBusMethodInvocation *invocation, 1023s # gint arg_i) 1023s # { 1023s # g_dbus_method_invocation_return_value (invocation, 1023s # g_variant_new ("(i)", 1023s # arg_i)); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxy: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxyClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceProxyPrivate 1023s # { 1023s # GData *qdata; 1023s # }; 1023s # 1023s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_proxy_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1023s # g_datalist_clear (&proxy->priv->qdata); 1023s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # const GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1023s # const gchar *sender_name G_GNUC_UNUSED, 1023s # const gchar *signal_name, 1023s # GVariant *parameters) 1023s # { 1023s # _ExtendedGDBusSignalInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # gsize n; 1023s # guint signal_id; 1023s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1023s # if (info == NULL) 1023s # return; 1023s # num_params = g_variant_n_children (parameters); 1023s # paramv = g_new0 (GValue, num_params + 1); 1023s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[0], proxy); 1023s # g_variant_iter_init (&iter, parameters); 1023s # n = 1; 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_signal_emitv (paramv, signal_id, 0, NULL); 1023s # for (n = 0; n < num_params + 1; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1023s # GVariant *changed_properties, 1023s # const gchar *const *invalidated_properties) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1023s # guint n; 1023s # const gchar *key; 1023s # GVariantIter *iter; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # g_variant_get (changed_properties, "a{sv}", &iter); 1023s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1023s # g_datalist_remove_data (&proxy->priv->qdata, key); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # g_variant_iter_free (iter); 1023s # for (n = 0; invalidated_properties[n] != NULL; n++) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1023s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1023s # #else 1023s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1023s # #endif 1023s # 1023s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusProxyClass *proxy_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1023s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1023s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1023s # 1023s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1023s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1023s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_sync: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_sync ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new_for_bus ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_sync: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_sync ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeleton: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeletonClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1023s # { 1023s # GValue *properties; 1023s # GList *changed_properties; 1023s # GSource *changed_properties_idle_source; 1023s # GMainContext *context; 1023s # GMutex lock; 1023s # }; 1023s # 1023s # static void 1023s # _org_project_useful_interface_skeleton_handle_method_call ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name, 1023s # const gchar *method_name, 1023s # GVariant *parameters, 1023s # GDBusMethodInvocation *invocation, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # _ExtendedGDBusMethodInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # guint num_extra; 1023s # gsize n; 1023s # guint signal_id; 1023s # GValue return_value = G_VALUE_INIT; 1023s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1023s # g_assert (info != NULL); 1023s # num_params = g_variant_n_children (parameters); 1023s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1023s # n = 0; 1023s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[n++], skeleton); 1023s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1023s # g_value_set_object (¶mv[n++], invocation); 1023s # if (info->pass_fdlist) 1023s # { 1023s # #ifdef G_OS_UNIX 1023s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1023s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1023s # #else 1023s # g_assert_not_reached (); 1023s # #endif 1023s # } 1023s # g_variant_iter_init (&iter, parameters); 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1023s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1023s # if (!g_value_get_boolean (&return_value)) 1023s # 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); 1023s # g_value_unset (&return_value); 1023s # for (n = 0; n < num_params + num_extra; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static GVariant * 1023s # _org_project_useful_interface_skeleton_handle_get_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # GVariant *ret; 1023s # ret = NULL; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # g_value_init (&value, pspec->value_type); 1023s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1023s # g_value_unset (&value); 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _org_project_useful_interface_skeleton_handle_set_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GVariant *variant, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # gboolean ret; 1023s # ret = FALSE; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # if (info->use_gvariant) 1023s # g_value_set_variant (&value, variant); 1023s # else 1023s # g_dbus_gvariant_to_gvalue (variant, &value); 1023s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # g_value_unset (&value); 1023s # ret = TRUE; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1023s # { 1023s # _org_project_useful_interface_skeleton_handle_method_call, 1023s # _org_project_useful_interface_skeleton_handle_get_property, 1023s # _org_project_useful_interface_skeleton_handle_set_property, 1023s # {NULL} 1023s # }; 1023s # 1023s # static GDBusInterfaceInfo * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return org_project_useful_interface_interface_info (); 1023s # } 1023s # 1023s # static GDBusInterfaceVTable * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1023s # } 1023s # 1023s # static GVariant * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1023s # 1023s # GVariantBuilder builder; 1023s # guint n; 1023s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1023s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1023s # goto out; 1023s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1023s # { 1023s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1023s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1023s # { 1023s # GVariant *value; 1023s # 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); 1023s # if (value != NULL) 1023s # { 1023s # g_variant_take_ref (value); 1023s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1023s # g_variant_unref (value); 1023s # } 1023s # } 1023s # } 1023s # out: 1023s # return g_variant_builder_end (&builder); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_skeleton_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1023s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1023s # if (skeleton->priv->changed_properties_idle_source != NULL) 1023s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1023s # g_main_context_unref (skeleton->priv->context); 1023s # g_mutex_clear (&skeleton->priv->lock); 1023s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1023s # #else 1023s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1023s # #endif 1023s # 1023s # g_mutex_init (&skeleton->priv->lock); 1023s # skeleton->priv->context = g_main_context_ref_thread_default (); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusInterfaceSkeletonClass *skeleton_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1023s # 1023s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1023s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1023s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1023s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1023s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_skeleton_new: 1023s # * 1023s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_skeleton_new (void) 1023s # { 1023s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1023s # } 1023s # /tmp/tmps2nvp2eo/tmp5z7hxmzy.xml: 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps2nvp2eo/tmp5z7hxmzy.xml', '--output', '-', '--body'] 1023s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1023s # Output: /* 1023s # * This file is generated by gdbus-codegen, do not modify it. 1023s # * 1023s # * The license of this code is the same as for the D-Bus interface description 1023s # * it was derived from. Note that it links to GLib, so must comply with the 1023s # * LGPL linking clauses. 1023s # */ 1023s # 1023s # #ifdef HAVE_CONFIG_H 1023s # # include "config.h" 1023s # #endif 1023s # 1023s # #include 1023s # #ifdef G_OS_UNIX 1023s # # include 1023s # #endif 1023s # 1023s # #ifdef G_ENABLE_DEBUG 1023s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1023s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1023s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1023s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1023s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1023s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1023s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1023s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1023s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1023s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1023s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1023s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1023s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1023s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1023s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1023s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1023s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1023s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1023s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1023s # #else /* !G_ENABLE_DEBUG */ 1023s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1023s # * Do not access GValues directly in your code. Instead, use the 1023s # * g_value_get_*() functions 1023s # */ 1023s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1023s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1023s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1023s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1023s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1023s # #endif /* !G_ENABLE_DEBUG */ 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusArgInfo parent_struct; 1023s # gboolean use_gvariant; 1023s # } _ExtendedGDBusArgInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusMethodInfo parent_struct; 1023s # const gchar *signal_name; 1023s # gboolean pass_fdlist; 1023s # } _ExtendedGDBusMethodInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusSignalInfo parent_struct; 1023s # const gchar *signal_name; 1023s # } _ExtendedGDBusSignalInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusPropertyInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # guint use_gvariant : 1; 1023s # guint emits_changed_signal : 1; 1023s # } _ExtendedGDBusPropertyInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusInterfaceInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # } _ExtendedGDBusInterfaceInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # const _ExtendedGDBusPropertyInfo *info; 1023s # guint prop_id; 1023s # GValue orig_value; /* the value before the change */ 1023s # } ChangedProperty; 1023s # 1023s # static void 1023s # _changed_property_free (ChangedProperty *data) 1023s # { 1023s # g_value_unset (&data->orig_value); 1023s # g_free (data); 1023s # } 1023s # 1023s # static gboolean 1023s # _g_strv_equal0 (gchar **a, gchar **b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # guint n; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # if (g_strv_length (a) != g_strv_length (b)) 1023s # goto out; 1023s # for (n = 0; a[n] != NULL; n++) 1023s # if (g_strcmp0 (a[n], b[n]) != 0) 1023s # goto out; 1023s # ret = TRUE; 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _g_variant_equal0 (GVariant *a, GVariant *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # ret = g_variant_equal (a, b); 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # G_GNUC_UNUSED static gboolean 1023s # _g_value_equal (const GValue *a, const GValue *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1023s # switch (G_VALUE_TYPE (a)) 1023s # { 1023s # case G_TYPE_BOOLEAN: 1023s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1023s # break; 1023s # case G_TYPE_UCHAR: 1023s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1023s # break; 1023s # case G_TYPE_INT: 1023s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1023s # break; 1023s # case G_TYPE_UINT: 1023s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1023s # break; 1023s # case G_TYPE_INT64: 1023s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1023s # break; 1023s # case G_TYPE_UINT64: 1023s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1023s # break; 1023s # case G_TYPE_DOUBLE: 1023s # { 1023s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1023s # gdouble da = g_value_get_double (a); 1023s # gdouble db = g_value_get_double (b); 1023s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1023s # } 1023s # break; 1023s # case G_TYPE_STRING: 1023s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1023s # break; 1023s # case G_TYPE_VARIANT: 1023s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1023s # break; 1023s # default: 1023s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1023s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1023s # else 1023s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1023s # break; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static void 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint G_GNUC_UNUSED, 1023s # void *marshal_data) 1023s # { 1023s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (void *data1, 1023s # GDBusMethodInvocation *arg_method_invocation, 1023s # void *data2); 1023s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1023s # GCClosure *cc = (GCClosure*) closure; 1023s # void *data1, *data2; 1023s # gboolean v_return; 1023s # 1023s # g_return_if_fail (return_value != NULL); 1023s # g_return_if_fail (n_param_values == 2); 1023s # 1023s # if (G_CCLOSURE_SWAP_DATA (closure)) 1023s # { 1023s # data1 = closure->data; 1023s # data2 = g_value_peek_pointer (param_values + 0); 1023s # } 1023s # else 1023s # { 1023s # data1 = g_value_peek_pointer (param_values + 0); 1023s # data2 = closure->data; 1023s # } 1023s # 1023s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (marshal_data ? marshal_data : cc->callback); 1023s # 1023s # v_return = 1023s # callback (data1, 1023s # g_marshal_value_peek_object (param_values + 1), 1023s # data2); 1023s # 1023s # g_value_set_boolean (return_value, v_return); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ 1023s # * Code for interface org.project.UsefulInterface 1023s # * ------------------------------------------------------------------------ 1023s # */ 1023s # 1023s # /** 1023s # * SECTION:OrgProjectUsefulInterface 1023s # * @title: OrgProjectUsefulInterface 1023s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1023s # * 1023s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1023s # */ 1023s # 1023s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "arg_u", 1023s # (gchar *) "u", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgMethodU", 1023s # NULL, 1023s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "handle-single-arg-method-u", 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "org.project.UsefulInterface", 1023s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1023s # NULL, 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "org-project-useful-interface", 1023s # }; 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_interface_info: 1023s # * 1023s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1023s # * 1023s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1023s # */ 1023s # GDBusInterfaceInfo * 1023s # org_project_useful_interface_interface_info (void) 1023s # { 1023s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_override_properties: 1023s # * @klass: The class structure for a #GObject derived class. 1023s # * @property_id_begin: The property id to assign to the first overridden property. 1023s # * 1023s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1023s # * The properties are overridden in the order they are defined. 1023s # * 1023s # * Returns: The last property id. 1023s # */ 1023s # guint 1023s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1023s # { 1023s # return property_id_begin - 1; 1023s # } 1023s # 1023s # 1023s # inline static void 1023s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterface: 1023s # * 1023s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceIface: 1023s # * @parent_iface: The parent interface. 1023s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1023s # * 1023s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1023s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1023s # 1023s # static void 1023s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1023s # { 1023s # /* GObject signals for incoming D-Bus method calls: */ 1023s # /** 1023s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: A #GDBusMethodInvocation. 1023s # * 1023s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1023s # * 1023s # * 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. 1023s # * 1023s # * 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. 1023s # */ 1023s # g_signal_new ("handle-single-arg-method-u", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1023s # g_signal_accumulator_true_handled, 1023s # NULL, 1023s # org_project_useful_interface_method_marshal_single_arg_method_u, 1023s # G_TYPE_BOOLEAN, 1023s # 1, 1023s # G_TYPE_DBUS_METHOD_INVOCATION); 1023s # 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_u: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1023s # */ 1023s # void 1023s # org_project_useful_interface_call_single_arg_method_u ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodU", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # callback, 1023s # user_data); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_u_finish: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_u_finish ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # guint *out_arg_u, 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(u)", 1023s # out_arg_u); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_u_sync: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_u_sync ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # guint *out_arg_u, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodU", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(u)", 1023s # out_arg_u); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_complete_single_arg_method_u: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1023s # * @arg_u: Parameter to return. 1023s # * 1023s # * 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. 1023s # * 1023s # * This method will free @invocation, you cannot use it afterwards. 1023s # */ 1023s # void 1023s # org_project_useful_interface_complete_single_arg_method_u ( 1023s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1023s # GDBusMethodInvocation *invocation, 1023s # guint arg_u) 1023s # { 1023s # g_dbus_method_invocation_return_value (invocation, 1023s # g_variant_new ("(u)", 1023s # arg_u)); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxy: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxyClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceProxyPrivate 1023s # { 1023s # GData *qdata; 1023s # }; 1023s # 1023s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_proxy_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1023s # g_datalist_clear (&proxy->priv->qdata); 1023s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # const GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1023s # const gchar *sender_name G_GNUC_UNUSED, 1023s # const gchar *signal_name, 1023s # GVariant *parameters) 1023s # { 1023s # _ExtendedGDBusSignalInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # gsize n; 1023s # guint signal_id; 1023s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1023s # if (info == NULL) 1023s # return; 1023s # num_params = g_variant_n_children (parameters); 1023s # paramv = g_new0 (GValue, num_params + 1); 1023s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[0], proxy); 1023s # g_variant_iter_init (&iter, parameters); 1023s # n = 1; 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_signal_emitv (paramv, signal_id, 0, NULL); 1023s # for (n = 0; n < num_params + 1; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1023s # GVariant *changed_properties, 1023s # const gchar *const *invalidated_properties) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1023s # guint n; 1023s # const gchar *key; 1023s # GVariantIter *iter; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # g_variant_get (changed_properties, "a{sv}", &iter); 1023s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1023s # g_datalist_remove_data (&proxy->priv->qdata, key); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # g_variant_iter_free (iter); 1023s # for (n = 0; invalidated_properties[n] != NULL; n++) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1023s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1023s # #else 1023s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1023s # #endif 1023s # 1023s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusProxyClass *proxy_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1023s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1023s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1023s # 1023s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1023s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1023s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_sync: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_sync ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new_for_bus ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_sync: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_sync ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeleton: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeletonClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1023s # { 1023s # GValue *properties; 1023s # GList *changed_properties; 1023s # GSource *changed_properties_idle_source; 1023s # GMainContext *context; 1023s # GMutex lock; 1023s # }; 1023s # 1023s # static void 1023s # _org_project_useful_interface_skeleton_handle_method_call ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name, 1023s # const gchar *method_name, 1023s # GVariant *parameters, 1023s # GDBusMethodInvocation *invocation, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # _ExtendedGDBusMethodInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # guint num_extra; 1023s # gsize n; 1023s # guint signal_id; 1023s # GValue return_value = G_VALUE_INIT; 1023s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1023s # g_assert (info != NULL); 1023s # num_params = g_variant_n_children (parameters); 1023s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1023s # n = 0; 1023s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[n++], skeleton); 1023s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1023s # g_value_set_object (¶mv[n++], invocation); 1023s # if (info->pass_fdlist) 1023s # { 1023s # #ifdef G_OS_UNIX 1023s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1023s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1023s # #else 1023s # g_assert_not_reached (); 1023s # #endif 1023s # } 1023s # g_variant_iter_init (&iter, parameters); 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1023s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1023s # if (!g_value_get_boolean (&return_value)) 1023s # 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); 1023s # g_value_unset (&return_value); 1023s # for (n = 0; n < num_params + num_extra; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static GVariant * 1023s # _org_project_useful_interface_skeleton_handle_get_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # GVariant *ret; 1023s # ret = NULL; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # g_value_init (&value, pspec->value_type); 1023s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1023s # g_value_unset (&value); 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _org_project_useful_interface_skeleton_handle_set_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GVariant *variant, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # gboolean ret; 1023s # ret = FALSE; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # if (info->use_gvariant) 1023s # g_value_set_variant (&value, variant); 1023s # else 1023s # g_dbus_gvariant_to_gvalue (variant, &value); 1023s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # g_value_unset (&value); 1023s # ret = TRUE; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1023s # { 1023s # _org_project_useful_interface_skeleton_handle_method_call, 1023s # _org_project_useful_interface_skeleton_handle_get_property, 1023s # _org_project_useful_interface_skeleton_handle_set_property, 1023s # {NULL} 1023s # }; 1023s # 1023s # static GDBusInterfaceInfo * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return org_project_useful_interface_interface_info (); 1023s # } 1023s # 1023s # static GDBusInterfaceVTable * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1023s # } 1023s # 1023s # static GVariant * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1023s # 1023s # GVariantBuilder builder; 1023s # guint n; 1023s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1023s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1023s # goto out; 1023s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1023s # { 1023s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1023s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1023s # { 1023s # GVariant *value; 1023s # 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); 1023s # if (value != NULL) 1023s # { 1023s # g_variant_take_ref (value); 1023s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1023s # g_variant_unref (value); 1023s # } 1023s # } 1023s # } 1023s # out: 1023s # return g_variant_builder_end (&builder); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_skeleton_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1023s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1023s # if (skeleton->priv->changed_properties_idle_source != NULL) 1023s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1023s # g_main_context_unref (skeleton->priv->context); 1023s # g_mutex_clear (&skeleton->priv->lock); 1023s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1023s # #else 1023s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1023s # #endif 1023s # 1023s # g_mutex_init (&skeleton->priv->lock); 1023s # skeleton->priv->context = g_main_context_ref_thread_default (); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusInterfaceSkeletonClass *skeleton_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1023s # 1023s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1023s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1023s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1023s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1023s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_skeleton_new: 1023s # * 1023s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_skeleton_new (void) 1023s # { 1023s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1023s # } 1023s # /tmp/tmps2nvp2eo/tmpcpvt7jov.xml: 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps2nvp2eo/tmpcpvt7jov.xml', '--output', '-', '--body'] 1023s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1023s # Output: /* 1023s # * This file is generated by gdbus-codegen, do not modify it. 1023s # * 1023s # * The license of this code is the same as for the D-Bus interface description 1023s # * it was derived from. Note that it links to GLib, so must comply with the 1023s # * LGPL linking clauses. 1023s # */ 1023s # 1023s # #ifdef HAVE_CONFIG_H 1023s # # include "config.h" 1023s # #endif 1023s # 1023s # #include 1023s # #ifdef G_OS_UNIX 1023s # # include 1023s # #endif 1023s # 1023s # #ifdef G_ENABLE_DEBUG 1023s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1023s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1023s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1023s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1023s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1023s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1023s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1023s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1023s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1023s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1023s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1023s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1023s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1023s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1023s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1023s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1023s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1023s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1023s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1023s # #else /* !G_ENABLE_DEBUG */ 1023s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1023s # * Do not access GValues directly in your code. Instead, use the 1023s # * g_value_get_*() functions 1023s # */ 1023s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1023s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1023s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1023s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1023s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1023s # #endif /* !G_ENABLE_DEBUG */ 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusArgInfo parent_struct; 1023s # gboolean use_gvariant; 1023s # } _ExtendedGDBusArgInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusMethodInfo parent_struct; 1023s # const gchar *signal_name; 1023s # gboolean pass_fdlist; 1023s # } _ExtendedGDBusMethodInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusSignalInfo parent_struct; 1023s # const gchar *signal_name; 1023s # } _ExtendedGDBusSignalInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusPropertyInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # guint use_gvariant : 1; 1023s # guint emits_changed_signal : 1; 1023s # } _ExtendedGDBusPropertyInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusInterfaceInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # } _ExtendedGDBusInterfaceInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # const _ExtendedGDBusPropertyInfo *info; 1023s # guint prop_id; 1023s # GValue orig_value; /* the value before the change */ 1023s # } ChangedProperty; 1023s # 1023s # static void 1023s # _changed_property_free (ChangedProperty *data) 1023s # { 1023s # g_value_unset (&data->orig_value); 1023s # g_free (data); 1023s # } 1023s # 1023s # static gboolean 1023s # _g_strv_equal0 (gchar **a, gchar **b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # guint n; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # if (g_strv_length (a) != g_strv_length (b)) 1023s # goto out; 1023s # for (n = 0; a[n] != NULL; n++) 1023s # if (g_strcmp0 (a[n], b[n]) != 0) 1023s # goto out; 1023s # ret = TRUE; 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _g_variant_equal0 (GVariant *a, GVariant *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # ret = g_variant_equal (a, b); 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # G_GNUC_UNUSED static gboolean 1023s # _g_value_equal (const GValue *a, const GValue *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1023s # switch (G_VALUE_TYPE (a)) 1023s # { 1023s # case G_TYPE_BOOLEAN: 1023s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1023s # break; 1023s # case G_TYPE_UCHAR: 1023s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1023s # break; 1023s # case G_TYPE_INT: 1023s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1023s # break; 1023s # case G_TYPE_UINT: 1023s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1023s # break; 1023s # case G_TYPE_INT64: 1023s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1023s # break; 1023s # case G_TYPE_UINT64: 1023s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1023s # break; 1023s # case G_TYPE_DOUBLE: 1023s # { 1023s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1023s # gdouble da = g_value_get_double (a); 1023s # gdouble db = g_value_get_double (b); 1023s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1023s # } 1023s # break; 1023s # case G_TYPE_STRING: 1023s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1023s # break; 1023s # case G_TYPE_VARIANT: 1023s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1023s # break; 1023s # default: 1023s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1023s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1023s # else 1023s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1023s # break; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static void 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint G_GNUC_UNUSED, 1023s # void *marshal_data) 1023s # { 1023s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (void *data1, 1023s # GDBusMethodInvocation *arg_method_invocation, 1023s # void *data2); 1023s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1023s # GCClosure *cc = (GCClosure*) closure; 1023s # void *data1, *data2; 1023s # gboolean v_return; 1023s # 1023s # g_return_if_fail (return_value != NULL); 1023s # g_return_if_fail (n_param_values == 2); 1023s # 1023s # if (G_CCLOSURE_SWAP_DATA (closure)) 1023s # { 1023s # data1 = closure->data; 1023s # data2 = g_value_peek_pointer (param_values + 0); 1023s # } 1023s # else 1023s # { 1023s # data1 = g_value_peek_pointer (param_values + 0); 1023s # data2 = closure->data; 1023s # } 1023s # 1023s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (marshal_data ? marshal_data : cc->callback); 1023s # 1023s # v_return = 1023s # callback (data1, 1023s # g_marshal_value_peek_object (param_values + 1), 1023s # data2); 1023s # 1023s # g_value_set_boolean (return_value, v_return); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ 1023s # * Code for interface org.project.UsefulInterface 1023s # * ------------------------------------------------------------------------ 1023s # */ 1023s # 1023s # /** 1023s # * SECTION:OrgProjectUsefulInterface 1023s # * @title: OrgProjectUsefulInterface 1023s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1023s # * 1023s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1023s # */ 1023s # 1023s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "arg_x", 1023s # (gchar *) "x", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgMethodX", 1023s # NULL, 1023s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "handle-single-arg-method-x", 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "org.project.UsefulInterface", 1023s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1023s # NULL, 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "org-project-useful-interface", 1023s # }; 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_interface_info: 1023s # * 1023s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1023s # * 1023s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1023s # */ 1023s # GDBusInterfaceInfo * 1023s # org_project_useful_interface_interface_info (void) 1023s # { 1023s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_override_properties: 1023s # * @klass: The class structure for a #GObject derived class. 1023s # * @property_id_begin: The property id to assign to the first overridden property. 1023s # * 1023s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1023s # * The properties are overridden in the order they are defined. 1023s # * 1023s # * Returns: The last property id. 1023s # */ 1023s # guint 1023s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1023s # { 1023s # return property_id_begin - 1; 1023s # } 1023s # 1023s # 1023s # inline static void 1023s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterface: 1023s # * 1023s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceIface: 1023s # * @parent_iface: The parent interface. 1023s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1023s # * 1023s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1023s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1023s # 1023s # static void 1023s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1023s # { 1023s # /* GObject signals for incoming D-Bus method calls: */ 1023s # /** 1023s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: A #GDBusMethodInvocation. 1023s # * 1023s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1023s # * 1023s # * 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. 1023s # * 1023s # * 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. 1023s # */ 1023s # g_signal_new ("handle-single-arg-method-x", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1023s # g_signal_accumulator_true_handled, 1023s # NULL, 1023s # org_project_useful_interface_method_marshal_single_arg_method_x, 1023s # G_TYPE_BOOLEAN, 1023s # 1, 1023s # G_TYPE_DBUS_METHOD_INVOCATION); 1023s # 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_x: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1023s # */ 1023s # void 1023s # org_project_useful_interface_call_single_arg_method_x ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodX", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # callback, 1023s # user_data); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_x_finish: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_x_finish ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # gint64 *out_arg_x, 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(x)", 1023s # out_arg_x); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_x_sync: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_x_sync ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # gint64 *out_arg_x, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodX", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(x)", 1023s # out_arg_x); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_complete_single_arg_method_x: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1023s # * @arg_x: Parameter to return. 1023s # * 1023s # * 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. 1023s # * 1023s # * This method will free @invocation, you cannot use it afterwards. 1023s # */ 1023s # void 1023s # org_project_useful_interface_complete_single_arg_method_x ( 1023s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1023s # GDBusMethodInvocation *invocation, 1023s # gint64 arg_x) 1023s # { 1023s # g_dbus_method_invocation_return_value (invocation, 1023s # g_variant_new ("(x)", 1023s # arg_x)); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxy: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxyClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceProxyPrivate 1023s # { 1023s # GData *qdata; 1023s # }; 1023s # 1023s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_proxy_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1023s # g_datalist_clear (&proxy->priv->qdata); 1023s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # const GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1023s # const gchar *sender_name G_GNUC_UNUSED, 1023s # const gchar *signal_name, 1023s # GVariant *parameters) 1023s # { 1023s # _ExtendedGDBusSignalInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # gsize n; 1023s # guint signal_id; 1023s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1023s # if (info == NULL) 1023s # return; 1023s # num_params = g_variant_n_children (parameters); 1023s # paramv = g_new0 (GValue, num_params + 1); 1023s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[0], proxy); 1023s # g_variant_iter_init (&iter, parameters); 1023s # n = 1; 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_signal_emitv (paramv, signal_id, 0, NULL); 1023s # for (n = 0; n < num_params + 1; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1023s # GVariant *changed_properties, 1023s # const gchar *const *invalidated_properties) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1023s # guint n; 1023s # const gchar *key; 1023s # GVariantIter *iter; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # g_variant_get (changed_properties, "a{sv}", &iter); 1023s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1023s # g_datalist_remove_data (&proxy->priv->qdata, key); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # g_variant_iter_free (iter); 1023s # for (n = 0; invalidated_properties[n] != NULL; n++) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1023s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1023s # #else 1023s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1023s # #endif 1023s # 1023s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusProxyClass *proxy_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1023s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1023s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1023s # 1023s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1023s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1023s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_sync: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_sync ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new_for_bus ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_sync: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_sync ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeleton: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeletonClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1023s # { 1023s # GValue *properties; 1023s # GList *changed_properties; 1023s # GSource *changed_properties_idle_source; 1023s # GMainContext *context; 1023s # GMutex lock; 1023s # }; 1023s # 1023s # static void 1023s # _org_project_useful_interface_skeleton_handle_method_call ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name, 1023s # const gchar *method_name, 1023s # GVariant *parameters, 1023s # GDBusMethodInvocation *invocation, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # _ExtendedGDBusMethodInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # guint num_extra; 1023s # gsize n; 1023s # guint signal_id; 1023s # GValue return_value = G_VALUE_INIT; 1023s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1023s # g_assert (info != NULL); 1023s # num_params = g_variant_n_children (parameters); 1023s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1023s # n = 0; 1023s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[n++], skeleton); 1023s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1023s # g_value_set_object (¶mv[n++], invocation); 1023s # if (info->pass_fdlist) 1023s # { 1023s # #ifdef G_OS_UNIX 1023s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1023s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1023s # #else 1023s # g_assert_not_reached (); 1023s # #endif 1023s # } 1023s # g_variant_iter_init (&iter, parameters); 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1023s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1023s # if (!g_value_get_boolean (&return_value)) 1023s # 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); 1023s # g_value_unset (&return_value); 1023s # for (n = 0; n < num_params + num_extra; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static GVariant * 1023s # _org_project_useful_interface_skeleton_handle_get_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # GVariant *ret; 1023s # ret = NULL; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # g_value_init (&value, pspec->value_type); 1023s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1023s # g_value_unset (&value); 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _org_project_useful_interface_skeleton_handle_set_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GVariant *variant, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # gboolean ret; 1023s # ret = FALSE; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # if (info->use_gvariant) 1023s # g_value_set_variant (&value, variant); 1023s # else 1023s # g_dbus_gvariant_to_gvalue (variant, &value); 1023s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # g_value_unset (&value); 1023s # ret = TRUE; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1023s # { 1023s # _org_project_useful_interface_skeleton_handle_method_call, 1023s # _org_project_useful_interface_skeleton_handle_get_property, 1023s # _org_project_useful_interface_skeleton_handle_set_property, 1023s # {NULL} 1023s # }; 1023s # 1023s # static GDBusInterfaceInfo * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return org_project_useful_interface_interface_info (); 1023s # } 1023s # 1023s # static GDBusInterfaceVTable * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1023s # } 1023s # 1023s # static GVariant * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1023s # 1023s # GVariantBuilder builder; 1023s # guint n; 1023s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1023s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1023s # goto out; 1023s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1023s # { 1023s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1023s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1023s # { 1023s # GVariant *value; 1023s # 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); 1023s # if (value != NULL) 1023s # { 1023s # g_variant_take_ref (value); 1023s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1023s # g_variant_unref (value); 1023s # } 1023s # } 1023s # } 1023s # out: 1023s # return g_variant_builder_end (&builder); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_skeleton_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1023s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1023s # if (skeleton->priv->changed_properties_idle_source != NULL) 1023s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1023s # g_main_context_unref (skeleton->priv->context); 1023s # g_mutex_clear (&skeleton->priv->lock); 1023s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1023s # #else 1023s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1023s # #endif 1023s # 1023s # g_mutex_init (&skeleton->priv->lock); 1023s # skeleton->priv->context = g_main_context_ref_thread_default (); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusInterfaceSkeletonClass *skeleton_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1023s # 1023s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1023s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1023s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1023s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1023s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_skeleton_new: 1023s # * 1023s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_skeleton_new (void) 1023s # { 1023s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1023s # } 1023s # /tmp/tmps2nvp2eo/tmpqyeukpyo.xml: 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps2nvp2eo/tmpqyeukpyo.xml', '--output', '-', '--body'] 1023s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1023s # Output: /* 1023s # * This file is generated by gdbus-codegen, do not modify it. 1023s # * 1023s # * The license of this code is the same as for the D-Bus interface description 1023s # * it was derived from. Note that it links to GLib, so must comply with the 1023s # * LGPL linking clauses. 1023s # */ 1023s # 1023s # #ifdef HAVE_CONFIG_H 1023s # # include "config.h" 1023s # #endif 1023s # 1023s # #include 1023s # #ifdef G_OS_UNIX 1023s # # include 1023s # #endif 1023s # 1023s # #ifdef G_ENABLE_DEBUG 1023s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1023s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1023s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1023s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1023s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1023s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1023s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1023s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1023s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1023s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1023s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1023s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1023s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1023s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1023s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1023s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1023s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1023s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1023s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1023s # #else /* !G_ENABLE_DEBUG */ 1023s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1023s # * Do not access GValues directly in your code. Instead, use the 1023s # * g_value_get_*() functions 1023s # */ 1023s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1023s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1023s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1023s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1023s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1023s # #endif /* !G_ENABLE_DEBUG */ 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusArgInfo parent_struct; 1023s # gboolean use_gvariant; 1023s # } _ExtendedGDBusArgInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusMethodInfo parent_struct; 1023s # const gchar *signal_name; 1023s # gboolean pass_fdlist; 1023s # } _ExtendedGDBusMethodInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusSignalInfo parent_struct; 1023s # const gchar *signal_name; 1023s # } _ExtendedGDBusSignalInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusPropertyInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # guint use_gvariant : 1; 1023s # guint emits_changed_signal : 1; 1023s # } _ExtendedGDBusPropertyInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusInterfaceInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # } _ExtendedGDBusInterfaceInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # const _ExtendedGDBusPropertyInfo *info; 1023s # guint prop_id; 1023s # GValue orig_value; /* the value before the change */ 1023s # } ChangedProperty; 1023s # 1023s # static void 1023s # _changed_property_free (ChangedProperty *data) 1023s # { 1023s # g_value_unset (&data->orig_value); 1023s # g_free (data); 1023s # } 1023s # 1023s # static gboolean 1023s # _g_strv_equal0 (gchar **a, gchar **b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # guint n; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # if (g_strv_length (a) != g_strv_length (b)) 1023s # goto out; 1023s # for (n = 0; a[n] != NULL; n++) 1023s # if (g_strcmp0 (a[n], b[n]) != 0) 1023s # goto out; 1023s # ret = TRUE; 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _g_variant_equal0 (GVariant *a, GVariant *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # ret = g_variant_equal (a, b); 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # G_GNUC_UNUSED static gboolean 1023s # _g_value_equal (const GValue *a, const GValue *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1023s # switch (G_VALUE_TYPE (a)) 1023s # { 1023s # case G_TYPE_BOOLEAN: 1023s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1023s # break; 1023s # case G_TYPE_UCHAR: 1023s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1023s # break; 1023s # case G_TYPE_INT: 1023s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1023s # break; 1023s # case G_TYPE_UINT: 1023s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1023s # break; 1023s # case G_TYPE_INT64: 1023s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1023s # break; 1023s # case G_TYPE_UINT64: 1023s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1023s # break; 1023s # case G_TYPE_DOUBLE: 1023s # { 1023s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1023s # gdouble da = g_value_get_double (a); 1023s # gdouble db = g_value_get_double (b); 1023s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1023s # } 1023s # break; 1023s # case G_TYPE_STRING: 1023s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1023s # break; 1023s # case G_TYPE_VARIANT: 1023s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1023s # break; 1023s # default: 1023s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1023s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1023s # else 1023s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1023s # break; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static void 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint G_GNUC_UNUSED, 1023s # void *marshal_data) 1023s # { 1023s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (void *data1, 1023s # GDBusMethodInvocation *arg_method_invocation, 1023s # void *data2); 1023s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1023s # GCClosure *cc = (GCClosure*) closure; 1023s # void *data1, *data2; 1023s # gboolean v_return; 1023s # 1023s # g_return_if_fail (return_value != NULL); 1023s # g_return_if_fail (n_param_values == 2); 1023s # 1023s # if (G_CCLOSURE_SWAP_DATA (closure)) 1023s # { 1023s # data1 = closure->data; 1023s # data2 = g_value_peek_pointer (param_values + 0); 1023s # } 1023s # else 1023s # { 1023s # data1 = g_value_peek_pointer (param_values + 0); 1023s # data2 = closure->data; 1023s # } 1023s # 1023s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (marshal_data ? marshal_data : cc->callback); 1023s # 1023s # v_return = 1023s # callback (data1, 1023s # g_marshal_value_peek_object (param_values + 1), 1023s # data2); 1023s # 1023s # g_value_set_boolean (return_value, v_return); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ 1023s # * Code for interface org.project.UsefulInterface 1023s # * ------------------------------------------------------------------------ 1023s # */ 1023s # 1023s # /** 1023s # * SECTION:OrgProjectUsefulInterface 1023s # * @title: OrgProjectUsefulInterface 1023s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1023s # * 1023s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1023s # */ 1023s # 1023s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "arg_t", 1023s # (gchar *) "t", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgMethodT", 1023s # NULL, 1023s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "handle-single-arg-method-t", 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "org.project.UsefulInterface", 1023s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1023s # NULL, 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "org-project-useful-interface", 1023s # }; 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_interface_info: 1023s # * 1023s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1023s # * 1023s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1023s # */ 1023s # GDBusInterfaceInfo * 1023s # org_project_useful_interface_interface_info (void) 1023s # { 1023s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_override_properties: 1023s # * @klass: The class structure for a #GObject derived class. 1023s # * @property_id_begin: The property id to assign to the first overridden property. 1023s # * 1023s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1023s # * The properties are overridden in the order they are defined. 1023s # * 1023s # * Returns: The last property id. 1023s # */ 1023s # guint 1023s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1023s # { 1023s # return property_id_begin - 1; 1023s # } 1023s # 1023s # 1023s # inline static void 1023s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterface: 1023s # * 1023s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceIface: 1023s # * @parent_iface: The parent interface. 1023s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1023s # * 1023s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1023s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1023s # 1023s # static void 1023s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1023s # { 1023s # /* GObject signals for incoming D-Bus method calls: */ 1023s # /** 1023s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: A #GDBusMethodInvocation. 1023s # * 1023s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1023s # * 1023s # * 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. 1023s # * 1023s # * 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. 1023s # */ 1023s # g_signal_new ("handle-single-arg-method-t", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1023s # g_signal_accumulator_true_handled, 1023s # NULL, 1023s # org_project_useful_interface_method_marshal_single_arg_method_t, 1023s # G_TYPE_BOOLEAN, 1023s # 1, 1023s # G_TYPE_DBUS_METHOD_INVOCATION); 1023s # 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_t: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1023s # */ 1023s # void 1023s # org_project_useful_interface_call_single_arg_method_t ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodT", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # callback, 1023s # user_data); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_t_finish: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_t_finish ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # guint64 *out_arg_t, 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(t)", 1023s # out_arg_t); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_t_sync: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_t_sync ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # guint64 *out_arg_t, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodT", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(t)", 1023s # out_arg_t); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_complete_single_arg_method_t: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1023s # * @arg_t: Parameter to return. 1023s # * 1023s # * 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. 1023s # * 1023s # * This method will free @invocation, you cannot use it afterwards. 1023s # */ 1023s # void 1023s # org_project_useful_interface_complete_single_arg_method_t ( 1023s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1023s # GDBusMethodInvocation *invocation, 1023s # guint64 arg_t) 1023s # { 1023s # g_dbus_method_invocation_return_value (invocation, 1023s # g_variant_new ("(t)", 1023s # arg_t)); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxy: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxyClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceProxyPrivate 1023s # { 1023s # GData *qdata; 1023s # }; 1023s # 1023s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_proxy_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1023s # g_datalist_clear (&proxy->priv->qdata); 1023s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # const GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1023s # const gchar *sender_name G_GNUC_UNUSED, 1023s # const gchar *signal_name, 1023s # GVariant *parameters) 1023s # { 1023s # _ExtendedGDBusSignalInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # gsize n; 1023s # guint signal_id; 1023s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1023s # if (info == NULL) 1023s # return; 1023s # num_params = g_variant_n_children (parameters); 1023s # paramv = g_new0 (GValue, num_params + 1); 1023s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[0], proxy); 1023s # g_variant_iter_init (&iter, parameters); 1023s # n = 1; 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_signal_emitv (paramv, signal_id, 0, NULL); 1023s # for (n = 0; n < num_params + 1; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1023s # GVariant *changed_properties, 1023s # const gchar *const *invalidated_properties) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1023s # guint n; 1023s # const gchar *key; 1023s # GVariantIter *iter; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # g_variant_get (changed_properties, "a{sv}", &iter); 1023s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1023s # g_datalist_remove_data (&proxy->priv->qdata, key); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # g_variant_iter_free (iter); 1023s # for (n = 0; invalidated_properties[n] != NULL; n++) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1023s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1023s # #else 1023s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1023s # #endif 1023s # 1023s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusProxyClass *proxy_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1023s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1023s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1023s # 1023s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1023s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1023s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_sync: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_sync ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new_for_bus ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_sync: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_sync ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeleton: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeletonClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1023s # { 1023s # GValue *properties; 1023s # GList *changed_properties; 1023s # GSource *changed_properties_idle_source; 1023s # GMainContext *context; 1023s # GMutex lock; 1023s # }; 1023s # 1023s # static void 1023s # _org_project_useful_interface_skeleton_handle_method_call ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name, 1023s # const gchar *method_name, 1023s # GVariant *parameters, 1023s # GDBusMethodInvocation *invocation, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # _ExtendedGDBusMethodInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # guint num_extra; 1023s # gsize n; 1023s # guint signal_id; 1023s # GValue return_value = G_VALUE_INIT; 1023s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1023s # g_assert (info != NULL); 1023s # num_params = g_variant_n_children (parameters); 1023s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1023s # n = 0; 1023s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[n++], skeleton); 1023s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1023s # g_value_set_object (¶mv[n++], invocation); 1023s # if (info->pass_fdlist) 1023s # { 1023s # #ifdef G_OS_UNIX 1023s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1023s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1023s # #else 1023s # g_assert_not_reached (); 1023s # #endif 1023s # } 1023s # g_variant_iter_init (&iter, parameters); 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1023s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1023s # if (!g_value_get_boolean (&return_value)) 1023s # 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); 1023s # g_value_unset (&return_value); 1023s # for (n = 0; n < num_params + num_extra; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static GVariant * 1023s # _org_project_useful_interface_skeleton_handle_get_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # GVariant *ret; 1023s # ret = NULL; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # g_value_init (&value, pspec->value_type); 1023s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1023s # g_value_unset (&value); 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _org_project_useful_interface_skeleton_handle_set_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GVariant *variant, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # gboolean ret; 1023s # ret = FALSE; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # if (info->use_gvariant) 1023s # g_value_set_variant (&value, variant); 1023s # else 1023s # g_dbus_gvariant_to_gvalue (variant, &value); 1023s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # g_value_unset (&value); 1023s # ret = TRUE; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1023s # { 1023s # _org_project_useful_interface_skeleton_handle_method_call, 1023s # _org_project_useful_interface_skeleton_handle_get_property, 1023s # _org_project_useful_interface_skeleton_handle_set_property, 1023s # {NULL} 1023s # }; 1023s # 1023s # static GDBusInterfaceInfo * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return org_project_useful_interface_interface_info (); 1023s # } 1023s # 1023s # static GDBusInterfaceVTable * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1023s # } 1023s # 1023s # static GVariant * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1023s # 1023s # GVariantBuilder builder; 1023s # guint n; 1023s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1023s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1023s # goto out; 1023s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1023s # { 1023s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1023s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1023s # { 1023s # GVariant *value; 1023s # 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); 1023s # if (value != NULL) 1023s # { 1023s # g_variant_take_ref (value); 1023s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1023s # g_variant_unref (value); 1023s # } 1023s # } 1023s # } 1023s # out: 1023s # return g_variant_builder_end (&builder); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_skeleton_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1023s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1023s # if (skeleton->priv->changed_properties_idle_source != NULL) 1023s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1023s # g_main_context_unref (skeleton->priv->context); 1023s # g_mutex_clear (&skeleton->priv->lock); 1023s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1023s # #else 1023s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1023s # #endif 1023s # 1023s # g_mutex_init (&skeleton->priv->lock); 1023s # skeleton->priv->context = g_main_context_ref_thread_default (); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusInterfaceSkeletonClass *skeleton_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1023s # 1023s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1023s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1023s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1023s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1023s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_skeleton_new: 1023s # * 1023s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_skeleton_new (void) 1023s # { 1023s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1023s # } 1023s # /tmp/tmps2nvp2eo/tmpsj_10onz.xml: 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps2nvp2eo/tmpsj_10onz.xml', '--output', '-', '--body'] 1023s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1023s # Output: /* 1023s # * This file is generated by gdbus-codegen, do not modify it. 1023s # * 1023s # * The license of this code is the same as for the D-Bus interface description 1023s # * it was derived from. Note that it links to GLib, so must comply with the 1023s # * LGPL linking clauses. 1023s # */ 1023s # 1023s # #ifdef HAVE_CONFIG_H 1023s # # include "config.h" 1023s # #endif 1023s # 1023s # #include 1023s # #ifdef G_OS_UNIX 1023s # # include 1023s # #endif 1023s # 1023s # #ifdef G_ENABLE_DEBUG 1023s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1023s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1023s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1023s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1023s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1023s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1023s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1023s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1023s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1023s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1023s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1023s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1023s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1023s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1023s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1023s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1023s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1023s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1023s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1023s # #else /* !G_ENABLE_DEBUG */ 1023s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1023s # * Do not access GValues directly in your code. Instead, use the 1023s # * g_value_get_*() functions 1023s # */ 1023s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1023s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1023s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1023s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1023s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1023s # #endif /* !G_ENABLE_DEBUG */ 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusArgInfo parent_struct; 1023s # gboolean use_gvariant; 1023s # } _ExtendedGDBusArgInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusMethodInfo parent_struct; 1023s # const gchar *signal_name; 1023s # gboolean pass_fdlist; 1023s # } _ExtendedGDBusMethodInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusSignalInfo parent_struct; 1023s # const gchar *signal_name; 1023s # } _ExtendedGDBusSignalInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusPropertyInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # guint use_gvariant : 1; 1023s # guint emits_changed_signal : 1; 1023s # } _ExtendedGDBusPropertyInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusInterfaceInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # } _ExtendedGDBusInterfaceInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # const _ExtendedGDBusPropertyInfo *info; 1023s # guint prop_id; 1023s # GValue orig_value; /* the value before the change */ 1023s # } ChangedProperty; 1023s # 1023s # static void 1023s # _changed_property_free (ChangedProperty *data) 1023s # { 1023s # g_value_unset (&data->orig_value); 1023s # g_free (data); 1023s # } 1023s # 1023s # static gboolean 1023s # _g_strv_equal0 (gchar **a, gchar **b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # guint n; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # if (g_strv_length (a) != g_strv_length (b)) 1023s # goto out; 1023s # for (n = 0; a[n] != NULL; n++) 1023s # if (g_strcmp0 (a[n], b[n]) != 0) 1023s # goto out; 1023s # ret = TRUE; 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _g_variant_equal0 (GVariant *a, GVariant *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # ret = g_variant_equal (a, b); 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # G_GNUC_UNUSED static gboolean 1023s # _g_value_equal (const GValue *a, const GValue *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1023s # switch (G_VALUE_TYPE (a)) 1023s # { 1023s # case G_TYPE_BOOLEAN: 1023s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1023s # break; 1023s # case G_TYPE_UCHAR: 1023s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1023s # break; 1023s # case G_TYPE_INT: 1023s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1023s # break; 1023s # case G_TYPE_UINT: 1023s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1023s # break; 1023s # case G_TYPE_INT64: 1023s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1023s # break; 1023s # case G_TYPE_UINT64: 1023s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1023s # break; 1023s # case G_TYPE_DOUBLE: 1023s # { 1023s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1023s # gdouble da = g_value_get_double (a); 1023s # gdouble db = g_value_get_double (b); 1023s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1023s # } 1023s # break; 1023s # case G_TYPE_STRING: 1023s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1023s # break; 1023s # case G_TYPE_VARIANT: 1023s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1023s # break; 1023s # default: 1023s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1023s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1023s # else 1023s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1023s # break; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static void 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint G_GNUC_UNUSED, 1023s # void *marshal_data) 1023s # { 1023s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (void *data1, 1023s # GDBusMethodInvocation *arg_method_invocation, 1023s # void *data2); 1023s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1023s # GCClosure *cc = (GCClosure*) closure; 1023s # void *data1, *data2; 1023s # gboolean v_return; 1023s # 1023s # g_return_if_fail (return_value != NULL); 1023s # g_return_if_fail (n_param_values == 2); 1023s # 1023s # if (G_CCLOSURE_SWAP_DATA (closure)) 1023s # { 1023s # data1 = closure->data; 1023s # data2 = g_value_peek_pointer (param_values + 0); 1023s # } 1023s # else 1023s # { 1023s # data1 = g_value_peek_pointer (param_values + 0); 1023s # data2 = closure->data; 1023s # } 1023s # 1023s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (marshal_data ? marshal_data : cc->callback); 1023s # 1023s # v_return = 1023s # callback (data1, 1023s # g_marshal_value_peek_object (param_values + 1), 1023s # data2); 1023s # 1023s # g_value_set_boolean (return_value, v_return); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ 1023s # * Code for interface org.project.UsefulInterface 1023s # * ------------------------------------------------------------------------ 1023s # */ 1023s # 1023s # /** 1023s # * SECTION:OrgProjectUsefulInterface 1023s # * @title: OrgProjectUsefulInterface 1023s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1023s # * 1023s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1023s # */ 1023s # 1023s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "arg_d", 1023s # (gchar *) "d", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgMethodD", 1023s # NULL, 1023s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "handle-single-arg-method-d", 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "org.project.UsefulInterface", 1023s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1023s # NULL, 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "org-project-useful-interface", 1023s # }; 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_interface_info: 1023s # * 1023s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1023s # * 1023s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1023s # */ 1023s # GDBusInterfaceInfo * 1023s # org_project_useful_interface_interface_info (void) 1023s # { 1023s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_override_properties: 1023s # * @klass: The class structure for a #GObject derived class. 1023s # * @property_id_begin: The property id to assign to the first overridden property. 1023s # * 1023s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1023s # * The properties are overridden in the order they are defined. 1023s # * 1023s # * Returns: The last property id. 1023s # */ 1023s # guint 1023s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1023s # { 1023s # return property_id_begin - 1; 1023s # } 1023s # 1023s # 1023s # inline static void 1023s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterface: 1023s # * 1023s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceIface: 1023s # * @parent_iface: The parent interface. 1023s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1023s # * 1023s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1023s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1023s # 1023s # static void 1023s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1023s # { 1023s # /* GObject signals for incoming D-Bus method calls: */ 1023s # /** 1023s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: A #GDBusMethodInvocation. 1023s # * 1023s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1023s # * 1023s # * 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. 1023s # * 1023s # * 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. 1023s # */ 1023s # g_signal_new ("handle-single-arg-method-d", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1023s # g_signal_accumulator_true_handled, 1023s # NULL, 1023s # org_project_useful_interface_method_marshal_single_arg_method_d, 1023s # G_TYPE_BOOLEAN, 1023s # 1, 1023s # G_TYPE_DBUS_METHOD_INVOCATION); 1023s # 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_d: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1023s # */ 1023s # void 1023s # org_project_useful_interface_call_single_arg_method_d ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodD", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # callback, 1023s # user_data); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_d_finish: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_d_finish ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # gdouble *out_arg_d, 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(d)", 1023s # out_arg_d); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_d_sync: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_d_sync ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # gdouble *out_arg_d, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodD", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(d)", 1023s # out_arg_d); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_complete_single_arg_method_d: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1023s # * @arg_d: Parameter to return. 1023s # * 1023s # * 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. 1023s # * 1023s # * This method will free @invocation, you cannot use it afterwards. 1023s # */ 1023s # void 1023s # org_project_useful_interface_complete_single_arg_method_d ( 1023s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1023s # GDBusMethodInvocation *invocation, 1023s # gdouble arg_d) 1023s # { 1023s # g_dbus_method_invocation_return_value (invocation, 1023s # g_variant_new ("(d)", 1023s # arg_d)); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxy: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxyClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceProxyPrivate 1023s # { 1023s # GData *qdata; 1023s # }; 1023s # 1023s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_proxy_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1023s # g_datalist_clear (&proxy->priv->qdata); 1023s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # const GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1023s # const gchar *sender_name G_GNUC_UNUSED, 1023s # const gchar *signal_name, 1023s # GVariant *parameters) 1023s # { 1023s # _ExtendedGDBusSignalInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # gsize n; 1023s # guint signal_id; 1023s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1023s # if (info == NULL) 1023s # return; 1023s # num_params = g_variant_n_children (parameters); 1023s # paramv = g_new0 (GValue, num_params + 1); 1023s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[0], proxy); 1023s # g_variant_iter_init (&iter, parameters); 1023s # n = 1; 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_signal_emitv (paramv, signal_id, 0, NULL); 1023s # for (n = 0; n < num_params + 1; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1023s # GVariant *changed_properties, 1023s # const gchar *const *invalidated_properties) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1023s # guint n; 1023s # const gchar *key; 1023s # GVariantIter *iter; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # g_variant_get (changed_properties, "a{sv}", &iter); 1023s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1023s # g_datalist_remove_data (&proxy->priv->qdata, key); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # g_variant_iter_free (iter); 1023s # for (n = 0; invalidated_properties[n] != NULL; n++) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1023s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1023s # #else 1023s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1023s # #endif 1023s # 1023s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusProxyClass *proxy_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1023s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1023s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1023s # 1023s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1023s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1023s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_sync: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_sync ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new_for_bus ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_sync: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_sync ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeleton: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeletonClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1023s # { 1023s # GValue *properties; 1023s # GList *changed_properties; 1023s # GSource *changed_properties_idle_source; 1023s # GMainContext *context; 1023s # GMutex lock; 1023s # }; 1023s # 1023s # static void 1023s # _org_project_useful_interface_skeleton_handle_method_call ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name, 1023s # const gchar *method_name, 1023s # GVariant *parameters, 1023s # GDBusMethodInvocation *invocation, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # _ExtendedGDBusMethodInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # guint num_extra; 1023s # gsize n; 1023s # guint signal_id; 1023s # GValue return_value = G_VALUE_INIT; 1023s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1023s # g_assert (info != NULL); 1023s # num_params = g_variant_n_children (parameters); 1023s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1023s # n = 0; 1023s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[n++], skeleton); 1023s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1023s # g_value_set_object (¶mv[n++], invocation); 1023s # if (info->pass_fdlist) 1023s # { 1023s # #ifdef G_OS_UNIX 1023s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1023s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1023s # #else 1023s # g_assert_not_reached (); 1023s # #endif 1023s # } 1023s # g_variant_iter_init (&iter, parameters); 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1023s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1023s # if (!g_value_get_boolean (&return_value)) 1023s # 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); 1023s # g_value_unset (&return_value); 1023s # for (n = 0; n < num_params + num_extra; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static GVariant * 1023s # _org_project_useful_interface_skeleton_handle_get_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # GVariant *ret; 1023s # ret = NULL; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # g_value_init (&value, pspec->value_type); 1023s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1023s # g_value_unset (&value); 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _org_project_useful_interface_skeleton_handle_set_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GVariant *variant, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # gboolean ret; 1023s # ret = FALSE; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # if (info->use_gvariant) 1023s # g_value_set_variant (&value, variant); 1023s # else 1023s # g_dbus_gvariant_to_gvalue (variant, &value); 1023s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # g_value_unset (&value); 1023s # ret = TRUE; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1023s # { 1023s # _org_project_useful_interface_skeleton_handle_method_call, 1023s # _org_project_useful_interface_skeleton_handle_get_property, 1023s # _org_project_useful_interface_skeleton_handle_set_property, 1023s # {NULL} 1023s # }; 1023s # 1023s # static GDBusInterfaceInfo * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return org_project_useful_interface_interface_info (); 1023s # } 1023s # 1023s # static GDBusInterfaceVTable * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1023s # } 1023s # 1023s # static GVariant * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1023s # 1023s # GVariantBuilder builder; 1023s # guint n; 1023s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1023s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1023s # goto out; 1023s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1023s # { 1023s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1023s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1023s # { 1023s # GVariant *value; 1023s # 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); 1023s # if (value != NULL) 1023s # { 1023s # g_variant_take_ref (value); 1023s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1023s # g_variant_unref (value); 1023s # } 1023s # } 1023s # } 1023s # out: 1023s # return g_variant_builder_end (&builder); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_skeleton_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1023s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1023s # if (skeleton->priv->changed_properties_idle_source != NULL) 1023s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1023s # g_main_context_unref (skeleton->priv->context); 1023s # g_mutex_clear (&skeleton->priv->lock); 1023s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1023s # #else 1023s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1023s # #endif 1023s # 1023s # g_mutex_init (&skeleton->priv->lock); 1023s # skeleton->priv->context = g_main_context_ref_thread_default (); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusInterfaceSkeletonClass *skeleton_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1023s # 1023s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1023s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1023s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1023s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1023s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_skeleton_new: 1023s # * 1023s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_skeleton_new (void) 1023s # { 1023s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1023s # } 1023s # /tmp/tmps2nvp2eo/tmpao987xo5.xml: 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps2nvp2eo/tmpao987xo5.xml', '--output', '-', '--body'] 1023s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1023s # Output: /* 1023s # * This file is generated by gdbus-codegen, do not modify it. 1023s # * 1023s # * The license of this code is the same as for the D-Bus interface description 1023s # * it was derived from. Note that it links to GLib, so must comply with the 1023s # * LGPL linking clauses. 1023s # */ 1023s # 1023s # #ifdef HAVE_CONFIG_H 1023s # # include "config.h" 1023s # #endif 1023s # 1023s # #include 1023s # #ifdef G_OS_UNIX 1023s # # include 1023s # #endif 1023s # 1023s # #ifdef G_ENABLE_DEBUG 1023s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1023s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1023s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1023s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1023s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1023s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1023s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1023s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1023s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1023s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1023s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1023s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1023s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1023s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1023s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1023s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1023s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1023s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1023s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1023s # #else /* !G_ENABLE_DEBUG */ 1023s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1023s # * Do not access GValues directly in your code. Instead, use the 1023s # * g_value_get_*() functions 1023s # */ 1023s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1023s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1023s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1023s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1023s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1023s # #endif /* !G_ENABLE_DEBUG */ 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusArgInfo parent_struct; 1023s # gboolean use_gvariant; 1023s # } _ExtendedGDBusArgInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusMethodInfo parent_struct; 1023s # const gchar *signal_name; 1023s # gboolean pass_fdlist; 1023s # } _ExtendedGDBusMethodInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusSignalInfo parent_struct; 1023s # const gchar *signal_name; 1023s # } _ExtendedGDBusSignalInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusPropertyInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # guint use_gvariant : 1; 1023s # guint emits_changed_signal : 1; 1023s # } _ExtendedGDBusPropertyInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusInterfaceInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # } _ExtendedGDBusInterfaceInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # const _ExtendedGDBusPropertyInfo *info; 1023s # guint prop_id; 1023s # GValue orig_value; /* the value before the change */ 1023s # } ChangedProperty; 1023s # 1023s # static void 1023s # _changed_property_free (ChangedProperty *data) 1023s # { 1023s # g_value_unset (&data->orig_value); 1023s # g_free (data); 1023s # } 1023s # 1023s # static gboolean 1023s # _g_strv_equal0 (gchar **a, gchar **b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # guint n; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # if (g_strv_length (a) != g_strv_length (b)) 1023s # goto out; 1023s # for (n = 0; a[n] != NULL; n++) 1023s # if (g_strcmp0 (a[n], b[n]) != 0) 1023s # goto out; 1023s # ret = TRUE; 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _g_variant_equal0 (GVariant *a, GVariant *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # ret = g_variant_equal (a, b); 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # G_GNUC_UNUSED static gboolean 1023s # _g_value_equal (const GValue *a, const GValue *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1023s # switch (G_VALUE_TYPE (a)) 1023s # { 1023s # case G_TYPE_BOOLEAN: 1023s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1023s # break; 1023s # case G_TYPE_UCHAR: 1023s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1023s # break; 1023s # case G_TYPE_INT: 1023s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1023s # break; 1023s # case G_TYPE_UINT: 1023s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1023s # break; 1023s # case G_TYPE_INT64: 1023s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1023s # break; 1023s # case G_TYPE_UINT64: 1023s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1023s # break; 1023s # case G_TYPE_DOUBLE: 1023s # { 1023s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1023s # gdouble da = g_value_get_double (a); 1023s # gdouble db = g_value_get_double (b); 1023s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1023s # } 1023s # break; 1023s # case G_TYPE_STRING: 1023s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1023s # break; 1023s # case G_TYPE_VARIANT: 1023s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1023s # break; 1023s # default: 1023s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1023s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1023s # else 1023s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1023s # break; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static void 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint G_GNUC_UNUSED, 1023s # void *marshal_data) 1023s # { 1023s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (void *data1, 1023s # GDBusMethodInvocation *arg_method_invocation, 1023s # void *data2); 1023s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1023s # GCClosure *cc = (GCClosure*) closure; 1023s # void *data1, *data2; 1023s # gboolean v_return; 1023s # 1023s # g_return_if_fail (return_value != NULL); 1023s # g_return_if_fail (n_param_values == 2); 1023s # 1023s # if (G_CCLOSURE_SWAP_DATA (closure)) 1023s # { 1023s # data1 = closure->data; 1023s # data2 = g_value_peek_pointer (param_values + 0); 1023s # } 1023s # else 1023s # { 1023s # data1 = g_value_peek_pointer (param_values + 0); 1023s # data2 = closure->data; 1023s # } 1023s # 1023s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (marshal_data ? marshal_data : cc->callback); 1023s # 1023s # v_return = 1023s # callback (data1, 1023s # g_marshal_value_peek_object (param_values + 1), 1023s # data2); 1023s # 1023s # g_value_set_boolean (return_value, v_return); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ 1023s # * Code for interface org.project.UsefulInterface 1023s # * ------------------------------------------------------------------------ 1023s # */ 1023s # 1023s # /** 1023s # * SECTION:OrgProjectUsefulInterface 1023s # * @title: OrgProjectUsefulInterface 1023s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1023s # * 1023s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1023s # */ 1023s # 1023s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "arg_s", 1023s # (gchar *) "s", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgMethodS", 1023s # NULL, 1023s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "handle-single-arg-method-s", 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "org.project.UsefulInterface", 1023s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1023s # NULL, 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "org-project-useful-interface", 1023s # }; 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_interface_info: 1023s # * 1023s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1023s # * 1023s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1023s # */ 1023s # GDBusInterfaceInfo * 1023s # org_project_useful_interface_interface_info (void) 1023s # { 1023s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_override_properties: 1023s # * @klass: The class structure for a #GObject derived class. 1023s # * @property_id_begin: The property id to assign to the first overridden property. 1023s # * 1023s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1023s # * The properties are overridden in the order they are defined. 1023s # * 1023s # * Returns: The last property id. 1023s # */ 1023s # guint 1023s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1023s # { 1023s # return property_id_begin - 1; 1023s # } 1023s # 1023s # 1023s # inline static void 1023s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterface: 1023s # * 1023s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceIface: 1023s # * @parent_iface: The parent interface. 1023s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1023s # * 1023s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1023s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1023s # 1023s # static void 1023s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1023s # { 1023s # /* GObject signals for incoming D-Bus method calls: */ 1023s # /** 1023s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: A #GDBusMethodInvocation. 1023s # * 1023s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1023s # * 1023s # * 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. 1023s # * 1023s # * 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. 1023s # */ 1023s # g_signal_new ("handle-single-arg-method-s", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1023s # g_signal_accumulator_true_handled, 1023s # NULL, 1023s # org_project_useful_interface_method_marshal_single_arg_method_s, 1023s # G_TYPE_BOOLEAN, 1023s # 1, 1023s # G_TYPE_DBUS_METHOD_INVOCATION); 1023s # 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_s: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1023s # */ 1023s # void 1023s # org_project_useful_interface_call_single_arg_method_s ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodS", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # callback, 1023s # user_data); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_s_finish: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_s_finish ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # gchar **out_arg_s, 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(s)", 1023s # out_arg_s); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_s_sync: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_s_sync ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # gchar **out_arg_s, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodS", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(s)", 1023s # out_arg_s); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_complete_single_arg_method_s: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1023s # * @arg_s: Parameter to return. 1023s # * 1023s # * 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. 1023s # * 1023s # * This method will free @invocation, you cannot use it afterwards. 1023s # */ 1023s # void 1023s # org_project_useful_interface_complete_single_arg_method_s ( 1023s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1023s # GDBusMethodInvocation *invocation, 1023s # const gchar *arg_s) 1023s # { 1023s # g_dbus_method_invocation_return_value (invocation, 1023s # g_variant_new ("(s)", 1023s # arg_s)); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxy: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxyClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceProxyPrivate 1023s # { 1023s # GData *qdata; 1023s # }; 1023s # 1023s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_proxy_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1023s # g_datalist_clear (&proxy->priv->qdata); 1023s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # const GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1023s # const gchar *sender_name G_GNUC_UNUSED, 1023s # const gchar *signal_name, 1023s # GVariant *parameters) 1023s # { 1023s # _ExtendedGDBusSignalInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # gsize n; 1023s # guint signal_id; 1023s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1023s # if (info == NULL) 1023s # return; 1023s # num_params = g_variant_n_children (parameters); 1023s # paramv = g_new0 (GValue, num_params + 1); 1023s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[0], proxy); 1023s # g_variant_iter_init (&iter, parameters); 1023s # n = 1; 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_signal_emitv (paramv, signal_id, 0, NULL); 1023s # for (n = 0; n < num_params + 1; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1023s # GVariant *changed_properties, 1023s # const gchar *const *invalidated_properties) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1023s # guint n; 1023s # const gchar *key; 1023s # GVariantIter *iter; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # g_variant_get (changed_properties, "a{sv}", &iter); 1023s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1023s # g_datalist_remove_data (&proxy->priv->qdata, key); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # g_variant_iter_free (iter); 1023s # for (n = 0; invalidated_properties[n] != NULL; n++) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1023s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1023s # #else 1023s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1023s # #endif 1023s # 1023s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusProxyClass *proxy_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1023s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1023s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1023s # 1023s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1023s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1023s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_sync: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_sync ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new_for_bus ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_sync: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_sync ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeleton: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeletonClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1023s # { 1023s # GValue *properties; 1023s # GList *changed_properties; 1023s # GSource *changed_properties_idle_source; 1023s # GMainContext *context; 1023s # GMutex lock; 1023s # }; 1023s # 1023s # static void 1023s # _org_project_useful_interface_skeleton_handle_method_call ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name, 1023s # const gchar *method_name, 1023s # GVariant *parameters, 1023s # GDBusMethodInvocation *invocation, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # _ExtendedGDBusMethodInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # guint num_extra; 1023s # gsize n; 1023s # guint signal_id; 1023s # GValue return_value = G_VALUE_INIT; 1023s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1023s # g_assert (info != NULL); 1023s # num_params = g_variant_n_children (parameters); 1023s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1023s # n = 0; 1023s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[n++], skeleton); 1023s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1023s # g_value_set_object (¶mv[n++], invocation); 1023s # if (info->pass_fdlist) 1023s # { 1023s # #ifdef G_OS_UNIX 1023s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1023s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1023s # #else 1023s # g_assert_not_reached (); 1023s # #endif 1023s # } 1023s # g_variant_iter_init (&iter, parameters); 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1023s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1023s # if (!g_value_get_boolean (&return_value)) 1023s # 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); 1023s # g_value_unset (&return_value); 1023s # for (n = 0; n < num_params + num_extra; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static GVariant * 1023s # _org_project_useful_interface_skeleton_handle_get_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # GVariant *ret; 1023s # ret = NULL; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # g_value_init (&value, pspec->value_type); 1023s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1023s # g_value_unset (&value); 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _org_project_useful_interface_skeleton_handle_set_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GVariant *variant, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # gboolean ret; 1023s # ret = FALSE; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # if (info->use_gvariant) 1023s # g_value_set_variant (&value, variant); 1023s # else 1023s # g_dbus_gvariant_to_gvalue (variant, &value); 1023s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # g_value_unset (&value); 1023s # ret = TRUE; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1023s # { 1023s # _org_project_useful_interface_skeleton_handle_method_call, 1023s # _org_project_useful_interface_skeleton_handle_get_property, 1023s # _org_project_useful_interface_skeleton_handle_set_property, 1023s # {NULL} 1023s # }; 1023s # 1023s # static GDBusInterfaceInfo * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return org_project_useful_interface_interface_info (); 1023s # } 1023s # 1023s # static GDBusInterfaceVTable * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1023s # } 1023s # 1023s # static GVariant * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1023s # 1023s # GVariantBuilder builder; 1023s # guint n; 1023s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1023s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1023s # goto out; 1023s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1023s # { 1023s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1023s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1023s # { 1023s # GVariant *value; 1023s # 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); 1023s # if (value != NULL) 1023s # { 1023s # g_variant_take_ref (value); 1023s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1023s # g_variant_unref (value); 1023s # } 1023s # } 1023s # } 1023s # out: 1023s # return g_variant_builder_end (&builder); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_skeleton_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1023s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1023s # if (skeleton->priv->changed_properties_idle_source != NULL) 1023s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1023s # g_main_context_unref (skeleton->priv->context); 1023s # g_mutex_clear (&skeleton->priv->lock); 1023s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1023s # #else 1023s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1023s # #endif 1023s # 1023s # g_mutex_init (&skeleton->priv->lock); 1023s # skeleton->priv->context = g_main_context_ref_thread_default (); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusInterfaceSkeletonClass *skeleton_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1023s # 1023s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1023s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1023s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1023s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1023s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_skeleton_new: 1023s # * 1023s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_skeleton_new (void) 1023s # { 1023s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1023s # } 1023s # /tmp/tmps2nvp2eo/tmpn5e83u97.xml: 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps2nvp2eo/tmpn5e83u97.xml', '--output', '-', '--body'] 1023s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1023s # Output: /* 1023s # * This file is generated by gdbus-codegen, do not modify it. 1023s # * 1023s # * The license of this code is the same as for the D-Bus interface description 1023s # * it was derived from. Note that it links to GLib, so must comply with the 1023s # * LGPL linking clauses. 1023s # */ 1023s # 1023s # #ifdef HAVE_CONFIG_H 1023s # # include "config.h" 1023s # #endif 1023s # 1023s # #include 1023s # #ifdef G_OS_UNIX 1023s # # include 1023s # #endif 1023s # 1023s # #ifdef G_ENABLE_DEBUG 1023s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1023s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1023s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1023s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1023s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1023s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1023s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1023s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1023s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1023s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1023s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1023s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1023s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1023s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1023s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1023s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1023s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1023s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1023s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1023s # #else /* !G_ENABLE_DEBUG */ 1023s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1023s # * Do not access GValues directly in your code. Instead, use the 1023s # * g_value_get_*() functions 1023s # */ 1023s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1023s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1023s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1023s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1023s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1023s # #endif /* !G_ENABLE_DEBUG */ 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusArgInfo parent_struct; 1023s # gboolean use_gvariant; 1023s # } _ExtendedGDBusArgInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusMethodInfo parent_struct; 1023s # const gchar *signal_name; 1023s # gboolean pass_fdlist; 1023s # } _ExtendedGDBusMethodInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusSignalInfo parent_struct; 1023s # const gchar *signal_name; 1023s # } _ExtendedGDBusSignalInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusPropertyInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # guint use_gvariant : 1; 1023s # guint emits_changed_signal : 1; 1023s # } _ExtendedGDBusPropertyInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusInterfaceInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # } _ExtendedGDBusInterfaceInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # const _ExtendedGDBusPropertyInfo *info; 1023s # guint prop_id; 1023s # GValue orig_value; /* the value before the change */ 1023s # } ChangedProperty; 1023s # 1023s # static void 1023s # _changed_property_free (ChangedProperty *data) 1023s # { 1023s # g_value_unset (&data->orig_value); 1023s # g_free (data); 1023s # } 1023s # 1023s # static gboolean 1023s # _g_strv_equal0 (gchar **a, gchar **b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # guint n; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # if (g_strv_length (a) != g_strv_length (b)) 1023s # goto out; 1023s # for (n = 0; a[n] != NULL; n++) 1023s # if (g_strcmp0 (a[n], b[n]) != 0) 1023s # goto out; 1023s # ret = TRUE; 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _g_variant_equal0 (GVariant *a, GVariant *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # ret = g_variant_equal (a, b); 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # G_GNUC_UNUSED static gboolean 1023s # _g_value_equal (const GValue *a, const GValue *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1023s # switch (G_VALUE_TYPE (a)) 1023s # { 1023s # case G_TYPE_BOOLEAN: 1023s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1023s # break; 1023s # case G_TYPE_UCHAR: 1023s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1023s # break; 1023s # case G_TYPE_INT: 1023s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1023s # break; 1023s # case G_TYPE_UINT: 1023s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1023s # break; 1023s # case G_TYPE_INT64: 1023s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1023s # break; 1023s # case G_TYPE_UINT64: 1023s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1023s # break; 1023s # case G_TYPE_DOUBLE: 1023s # { 1023s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1023s # gdouble da = g_value_get_double (a); 1023s # gdouble db = g_value_get_double (b); 1023s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1023s # } 1023s # break; 1023s # case G_TYPE_STRING: 1023s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1023s # break; 1023s # case G_TYPE_VARIANT: 1023s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1023s # break; 1023s # default: 1023s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1023s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1023s # else 1023s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1023s # break; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static void 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint G_GNUC_UNUSED, 1023s # void *marshal_data) 1023s # { 1023s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (void *data1, 1023s # GDBusMethodInvocation *arg_method_invocation, 1023s # void *data2); 1023s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1023s # GCClosure *cc = (GCClosure*) closure; 1023s # void *data1, *data2; 1023s # gboolean v_return; 1023s # 1023s # g_return_if_fail (return_value != NULL); 1023s # g_return_if_fail (n_param_values == 2); 1023s # 1023s # if (G_CCLOSURE_SWAP_DATA (closure)) 1023s # { 1023s # data1 = closure->data; 1023s # data2 = g_value_peek_pointer (param_values + 0); 1023s # } 1023s # else 1023s # { 1023s # data1 = g_value_peek_pointer (param_values + 0); 1023s # data2 = closure->data; 1023s # } 1023s # 1023s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (marshal_data ? marshal_data : cc->callback); 1023s # 1023s # v_return = 1023s # callback (data1, 1023s # g_marshal_value_peek_object (param_values + 1), 1023s # data2); 1023s # 1023s # g_value_set_boolean (return_value, v_return); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ 1023s # * Code for interface org.project.UsefulInterface 1023s # * ------------------------------------------------------------------------ 1023s # */ 1023s # 1023s # /** 1023s # * SECTION:OrgProjectUsefulInterface 1023s # * @title: OrgProjectUsefulInterface 1023s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1023s # * 1023s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1023s # */ 1023s # 1023s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "arg_o", 1023s # (gchar *) "o", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgMethodO", 1023s # NULL, 1023s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "handle-single-arg-method-o", 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "org.project.UsefulInterface", 1023s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1023s # NULL, 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "org-project-useful-interface", 1023s # }; 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_interface_info: 1023s # * 1023s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1023s # * 1023s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1023s # */ 1023s # GDBusInterfaceInfo * 1023s # org_project_useful_interface_interface_info (void) 1023s # { 1023s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_override_properties: 1023s # * @klass: The class structure for a #GObject derived class. 1023s # * @property_id_begin: The property id to assign to the first overridden property. 1023s # * 1023s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1023s # * The properties are overridden in the order they are defined. 1023s # * 1023s # * Returns: The last property id. 1023s # */ 1023s # guint 1023s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1023s # { 1023s # return property_id_begin - 1; 1023s # } 1023s # 1023s # 1023s # inline static void 1023s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterface: 1023s # * 1023s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceIface: 1023s # * @parent_iface: The parent interface. 1023s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1023s # * 1023s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1023s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1023s # 1023s # static void 1023s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1023s # { 1023s # /* GObject signals for incoming D-Bus method calls: */ 1023s # /** 1023s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: A #GDBusMethodInvocation. 1023s # * 1023s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1023s # * 1023s # * 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. 1023s # * 1023s # * 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. 1023s # */ 1023s # g_signal_new ("handle-single-arg-method-o", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1023s # g_signal_accumulator_true_handled, 1023s # NULL, 1023s # org_project_useful_interface_method_marshal_single_arg_method_o, 1023s # G_TYPE_BOOLEAN, 1023s # 1, 1023s # G_TYPE_DBUS_METHOD_INVOCATION); 1023s # 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_o: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1023s # */ 1023s # void 1023s # org_project_useful_interface_call_single_arg_method_o ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodO", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # callback, 1023s # user_data); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_o_finish: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_o_finish ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # gchar **out_arg_o, 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(o)", 1023s # out_arg_o); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_o_sync: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_o_sync ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # gchar **out_arg_o, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodO", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(o)", 1023s # out_arg_o); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_complete_single_arg_method_o: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1023s # * @arg_o: Parameter to return. 1023s # * 1023s # * 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. 1023s # * 1023s # * This method will free @invocation, you cannot use it afterwards. 1023s # */ 1023s # void 1023s # org_project_useful_interface_complete_single_arg_method_o ( 1023s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1023s # GDBusMethodInvocation *invocation, 1023s # const gchar *arg_o) 1023s # { 1023s # g_dbus_method_invocation_return_value (invocation, 1023s # g_variant_new ("(o)", 1023s # arg_o)); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxy: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxyClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceProxyPrivate 1023s # { 1023s # GData *qdata; 1023s # }; 1023s # 1023s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_proxy_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1023s # g_datalist_clear (&proxy->priv->qdata); 1023s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # const GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1023s # const gchar *sender_name G_GNUC_UNUSED, 1023s # const gchar *signal_name, 1023s # GVariant *parameters) 1023s # { 1023s # _ExtendedGDBusSignalInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # gsize n; 1023s # guint signal_id; 1023s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1023s # if (info == NULL) 1023s # return; 1023s # num_params = g_variant_n_children (parameters); 1023s # paramv = g_new0 (GValue, num_params + 1); 1023s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[0], proxy); 1023s # g_variant_iter_init (&iter, parameters); 1023s # n = 1; 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_signal_emitv (paramv, signal_id, 0, NULL); 1023s # for (n = 0; n < num_params + 1; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1023s # GVariant *changed_properties, 1023s # const gchar *const *invalidated_properties) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1023s # guint n; 1023s # const gchar *key; 1023s # GVariantIter *iter; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # g_variant_get (changed_properties, "a{sv}", &iter); 1023s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1023s # g_datalist_remove_data (&proxy->priv->qdata, key); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # g_variant_iter_free (iter); 1023s # for (n = 0; invalidated_properties[n] != NULL; n++) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1023s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1023s # #else 1023s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1023s # #endif 1023s # 1023s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusProxyClass *proxy_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1023s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1023s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1023s # 1023s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1023s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1023s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_sync: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_sync ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new_for_bus ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_sync: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_sync ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeleton: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeletonClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1023s # { 1023s # GValue *properties; 1023s # GList *changed_properties; 1023s # GSource *changed_properties_idle_source; 1023s # GMainContext *context; 1023s # GMutex lock; 1023s # }; 1023s # 1023s # static void 1023s # _org_project_useful_interface_skeleton_handle_method_call ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name, 1023s # const gchar *method_name, 1023s # GVariant *parameters, 1023s # GDBusMethodInvocation *invocation, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # _ExtendedGDBusMethodInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # guint num_extra; 1023s # gsize n; 1023s # guint signal_id; 1023s # GValue return_value = G_VALUE_INIT; 1023s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1023s # g_assert (info != NULL); 1023s # num_params = g_variant_n_children (parameters); 1023s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1023s # n = 0; 1023s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[n++], skeleton); 1023s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1023s # g_value_set_object (¶mv[n++], invocation); 1023s # if (info->pass_fdlist) 1023s # { 1023s # #ifdef G_OS_UNIX 1023s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1023s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1023s # #else 1023s # g_assert_not_reached (); 1023s # #endif 1023s # } 1023s # g_variant_iter_init (&iter, parameters); 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1023s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1023s # if (!g_value_get_boolean (&return_value)) 1023s # 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); 1023s # g_value_unset (&return_value); 1023s # for (n = 0; n < num_params + num_extra; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static GVariant * 1023s # _org_project_useful_interface_skeleton_handle_get_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # GVariant *ret; 1023s # ret = NULL; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # g_value_init (&value, pspec->value_type); 1023s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1023s # g_value_unset (&value); 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _org_project_useful_interface_skeleton_handle_set_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GVariant *variant, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # gboolean ret; 1023s # ret = FALSE; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # if (info->use_gvariant) 1023s # g_value_set_variant (&value, variant); 1023s # else 1023s # g_dbus_gvariant_to_gvalue (variant, &value); 1023s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # g_value_unset (&value); 1023s # ret = TRUE; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1023s # { 1023s # _org_project_useful_interface_skeleton_handle_method_call, 1023s # _org_project_useful_interface_skeleton_handle_get_property, 1023s # _org_project_useful_interface_skeleton_handle_set_property, 1023s # {NULL} 1023s # }; 1023s # 1023s # static GDBusInterfaceInfo * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return org_project_useful_interface_interface_info (); 1023s # } 1023s # 1023s # static GDBusInterfaceVTable * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1023s # } 1023s # 1023s # static GVariant * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1023s # 1023s # GVariantBuilder builder; 1023s # guint n; 1023s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1023s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1023s # goto out; 1023s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1023s # { 1023s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1023s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1023s # { 1023s # GVariant *value; 1023s # 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); 1023s # if (value != NULL) 1023s # { 1023s # g_variant_take_ref (value); 1023s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1023s # g_variant_unref (value); 1023s # } 1023s # } 1023s # } 1023s # out: 1023s # return g_variant_builder_end (&builder); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_skeleton_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1023s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1023s # if (skeleton->priv->changed_properties_idle_source != NULL) 1023s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1023s # g_main_context_unref (skeleton->priv->context); 1023s # g_mutex_clear (&skeleton->priv->lock); 1023s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1023s # #else 1023s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1023s # #endif 1023s # 1023s # g_mutex_init (&skeleton->priv->lock); 1023s # skeleton->priv->context = g_main_context_ref_thread_default (); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusInterfaceSkeletonClass *skeleton_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1023s # 1023s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1023s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1023s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1023s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1023s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_skeleton_new: 1023s # * 1023s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_skeleton_new (void) 1023s # { 1023s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1023s # } 1023s # /tmp/tmps2nvp2eo/tmp4_nds3sh.xml: 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps2nvp2eo/tmp4_nds3sh.xml', '--output', '-', '--body'] 1023s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1023s # Output: /* 1023s # * This file is generated by gdbus-codegen, do not modify it. 1023s # * 1023s # * The license of this code is the same as for the D-Bus interface description 1023s # * it was derived from. Note that it links to GLib, so must comply with the 1023s # * LGPL linking clauses. 1023s # */ 1023s # 1023s # #ifdef HAVE_CONFIG_H 1023s # # include "config.h" 1023s # #endif 1023s # 1023s # #include 1023s # #ifdef G_OS_UNIX 1023s # # include 1023s # #endif 1023s # 1023s # #ifdef G_ENABLE_DEBUG 1023s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1023s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1023s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1023s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1023s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1023s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1023s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1023s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1023s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1023s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1023s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1023s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1023s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1023s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1023s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1023s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1023s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1023s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1023s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1023s # #else /* !G_ENABLE_DEBUG */ 1023s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1023s # * Do not access GValues directly in your code. Instead, use the 1023s # * g_value_get_*() functions 1023s # */ 1023s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1023s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1023s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1023s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1023s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1023s # #endif /* !G_ENABLE_DEBUG */ 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusArgInfo parent_struct; 1023s # gboolean use_gvariant; 1023s # } _ExtendedGDBusArgInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusMethodInfo parent_struct; 1023s # const gchar *signal_name; 1023s # gboolean pass_fdlist; 1023s # } _ExtendedGDBusMethodInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusSignalInfo parent_struct; 1023s # const gchar *signal_name; 1023s # } _ExtendedGDBusSignalInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusPropertyInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # guint use_gvariant : 1; 1023s # guint emits_changed_signal : 1; 1023s # } _ExtendedGDBusPropertyInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusInterfaceInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # } _ExtendedGDBusInterfaceInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # const _ExtendedGDBusPropertyInfo *info; 1023s # guint prop_id; 1023s # GValue orig_value; /* the value before the change */ 1023s # } ChangedProperty; 1023s # 1023s # static void 1023s # _changed_property_free (ChangedProperty *data) 1023s # { 1023s # g_value_unset (&data->orig_value); 1023s # g_free (data); 1023s # } 1023s # 1023s # static gboolean 1023s # _g_strv_equal0 (gchar **a, gchar **b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # guint n; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # if (g_strv_length (a) != g_strv_length (b)) 1023s # goto out; 1023s # for (n = 0; a[n] != NULL; n++) 1023s # if (g_strcmp0 (a[n], b[n]) != 0) 1023s # goto out; 1023s # ret = TRUE; 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _g_variant_equal0 (GVariant *a, GVariant *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # ret = g_variant_equal (a, b); 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # G_GNUC_UNUSED static gboolean 1023s # _g_value_equal (const GValue *a, const GValue *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1023s # switch (G_VALUE_TYPE (a)) 1023s # { 1023s # case G_TYPE_BOOLEAN: 1023s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1023s # break; 1023s # case G_TYPE_UCHAR: 1023s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1023s # break; 1023s # case G_TYPE_INT: 1023s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1023s # break; 1023s # case G_TYPE_UINT: 1023s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1023s # break; 1023s # case G_TYPE_INT64: 1023s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1023s # break; 1023s # case G_TYPE_UINT64: 1023s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1023s # break; 1023s # case G_TYPE_DOUBLE: 1023s # { 1023s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1023s # gdouble da = g_value_get_double (a); 1023s # gdouble db = g_value_get_double (b); 1023s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1023s # } 1023s # break; 1023s # case G_TYPE_STRING: 1023s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1023s # break; 1023s # case G_TYPE_VARIANT: 1023s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1023s # break; 1023s # default: 1023s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1023s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1023s # else 1023s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1023s # break; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static void 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint G_GNUC_UNUSED, 1023s # void *marshal_data) 1023s # { 1023s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (void *data1, 1023s # GDBusMethodInvocation *arg_method_invocation, 1023s # void *data2); 1023s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1023s # GCClosure *cc = (GCClosure*) closure; 1023s # void *data1, *data2; 1023s # gboolean v_return; 1023s # 1023s # g_return_if_fail (return_value != NULL); 1023s # g_return_if_fail (n_param_values == 2); 1023s # 1023s # if (G_CCLOSURE_SWAP_DATA (closure)) 1023s # { 1023s # data1 = closure->data; 1023s # data2 = g_value_peek_pointer (param_values + 0); 1023s # } 1023s # else 1023s # { 1023s # data1 = g_value_peek_pointer (param_values + 0); 1023s # data2 = closure->data; 1023s # } 1023s # 1023s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (marshal_data ? marshal_data : cc->callback); 1023s # 1023s # v_return = 1023s # callback (data1, 1023s # g_marshal_value_peek_object (param_values + 1), 1023s # data2); 1023s # 1023s # g_value_set_boolean (return_value, v_return); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ 1023s # * Code for interface org.project.UsefulInterface 1023s # * ------------------------------------------------------------------------ 1023s # */ 1023s # 1023s # /** 1023s # * SECTION:OrgProjectUsefulInterface 1023s # * @title: OrgProjectUsefulInterface 1023s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1023s # * 1023s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1023s # */ 1023s # 1023s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "arg_g", 1023s # (gchar *) "g", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgMethodG", 1023s # NULL, 1023s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "handle-single-arg-method-g", 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "org.project.UsefulInterface", 1023s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1023s # NULL, 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "org-project-useful-interface", 1023s # }; 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_interface_info: 1023s # * 1023s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1023s # * 1023s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1023s # */ 1023s # GDBusInterfaceInfo * 1023s # org_project_useful_interface_interface_info (void) 1023s # { 1023s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_override_properties: 1023s # * @klass: The class structure for a #GObject derived class. 1023s # * @property_id_begin: The property id to assign to the first overridden property. 1023s # * 1023s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1023s # * The properties are overridden in the order they are defined. 1023s # * 1023s # * Returns: The last property id. 1023s # */ 1023s # guint 1023s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1023s # { 1023s # return property_id_begin - 1; 1023s # } 1023s # 1023s # 1023s # inline static void 1023s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterface: 1023s # * 1023s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceIface: 1023s # * @parent_iface: The parent interface. 1023s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1023s # * 1023s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1023s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1023s # 1023s # static void 1023s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1023s # { 1023s # /* GObject signals for incoming D-Bus method calls: */ 1023s # /** 1023s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: A #GDBusMethodInvocation. 1023s # * 1023s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1023s # * 1023s # * 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. 1023s # * 1023s # * 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. 1023s # */ 1023s # g_signal_new ("handle-single-arg-method-g", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1023s # g_signal_accumulator_true_handled, 1023s # NULL, 1023s # org_project_useful_interface_method_marshal_single_arg_method_g, 1023s # G_TYPE_BOOLEAN, 1023s # 1, 1023s # G_TYPE_DBUS_METHOD_INVOCATION); 1023s # 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_g: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1023s # */ 1023s # void 1023s # org_project_useful_interface_call_single_arg_method_g ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodG", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # callback, 1023s # user_data); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_g_finish: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_g_finish ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # gchar **out_arg_g, 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(g)", 1023s # out_arg_g); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_g_sync: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_g_sync ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # gchar **out_arg_g, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodG", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(g)", 1023s # out_arg_g); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_complete_single_arg_method_g: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1023s # * @arg_g: Parameter to return. 1023s # * 1023s # * 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. 1023s # * 1023s # * This method will free @invocation, you cannot use it afterwards. 1023s # */ 1023s # void 1023s # org_project_useful_interface_complete_single_arg_method_g ( 1023s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1023s # GDBusMethodInvocation *invocation, 1023s # const gchar *arg_g) 1023s # { 1023s # g_dbus_method_invocation_return_value (invocation, 1023s # g_variant_new ("(g)", 1023s # arg_g)); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxy: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxyClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceProxyPrivate 1023s # { 1023s # GData *qdata; 1023s # }; 1023s # 1023s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_proxy_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1023s # g_datalist_clear (&proxy->priv->qdata); 1023s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # const GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1023s # const gchar *sender_name G_GNUC_UNUSED, 1023s # const gchar *signal_name, 1023s # GVariant *parameters) 1023s # { 1023s # _ExtendedGDBusSignalInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # gsize n; 1023s # guint signal_id; 1023s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1023s # if (info == NULL) 1023s # return; 1023s # num_params = g_variant_n_children (parameters); 1023s # paramv = g_new0 (GValue, num_params + 1); 1023s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[0], proxy); 1023s # g_variant_iter_init (&iter, parameters); 1023s # n = 1; 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_signal_emitv (paramv, signal_id, 0, NULL); 1023s # for (n = 0; n < num_params + 1; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1023s # GVariant *changed_properties, 1023s # const gchar *const *invalidated_properties) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1023s # guint n; 1023s # const gchar *key; 1023s # GVariantIter *iter; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # g_variant_get (changed_properties, "a{sv}", &iter); 1023s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1023s # g_datalist_remove_data (&proxy->priv->qdata, key); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # g_variant_iter_free (iter); 1023s # for (n = 0; invalidated_properties[n] != NULL; n++) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1023s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1023s # #else 1023s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1023s # #endif 1023s # 1023s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusProxyClass *proxy_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1023s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1023s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1023s # 1023s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1023s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1023s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_sync: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_sync ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new_for_bus ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_sync: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_sync ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeleton: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeletonClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1023s # { 1023s # GValue *properties; 1023s # GList *changed_properties; 1023s # GSource *changed_properties_idle_source; 1023s # GMainContext *context; 1023s # GMutex lock; 1023s # }; 1023s # 1023s # static void 1023s # _org_project_useful_interface_skeleton_handle_method_call ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name, 1023s # const gchar *method_name, 1023s # GVariant *parameters, 1023s # GDBusMethodInvocation *invocation, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # _ExtendedGDBusMethodInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # guint num_extra; 1023s # gsize n; 1023s # guint signal_id; 1023s # GValue return_value = G_VALUE_INIT; 1023s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1023s # g_assert (info != NULL); 1023s # num_params = g_variant_n_children (parameters); 1023s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1023s # n = 0; 1023s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[n++], skeleton); 1023s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1023s # g_value_set_object (¶mv[n++], invocation); 1023s # if (info->pass_fdlist) 1023s # { 1023s # #ifdef G_OS_UNIX 1023s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1023s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1023s # #else 1023s # g_assert_not_reached (); 1023s # #endif 1023s # } 1023s # g_variant_iter_init (&iter, parameters); 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1023s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1023s # if (!g_value_get_boolean (&return_value)) 1023s # 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); 1023s # g_value_unset (&return_value); 1023s # for (n = 0; n < num_params + num_extra; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static GVariant * 1023s # _org_project_useful_interface_skeleton_handle_get_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # GVariant *ret; 1023s # ret = NULL; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # g_value_init (&value, pspec->value_type); 1023s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1023s # g_value_unset (&value); 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _org_project_useful_interface_skeleton_handle_set_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GVariant *variant, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # gboolean ret; 1023s # ret = FALSE; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # if (info->use_gvariant) 1023s # g_value_set_variant (&value, variant); 1023s # else 1023s # g_dbus_gvariant_to_gvalue (variant, &value); 1023s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # g_value_unset (&value); 1023s # ret = TRUE; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1023s # { 1023s # _org_project_useful_interface_skeleton_handle_method_call, 1023s # _org_project_useful_interface_skeleton_handle_get_property, 1023s # _org_project_useful_interface_skeleton_handle_set_property, 1023s # {NULL} 1023s # }; 1023s # 1023s # static GDBusInterfaceInfo * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return org_project_useful_interface_interface_info (); 1023s # } 1023s # 1023s # static GDBusInterfaceVTable * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1023s # } 1023s # 1023s # static GVariant * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1023s # 1023s # GVariantBuilder builder; 1023s # guint n; 1023s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1023s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1023s # goto out; 1023s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1023s # { 1023s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1023s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1023s # { 1023s # GVariant *value; 1023s # 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); 1023s # if (value != NULL) 1023s # { 1023s # g_variant_take_ref (value); 1023s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1023s # g_variant_unref (value); 1023s # } 1023s # } 1023s # } 1023s # out: 1023s # return g_variant_builder_end (&builder); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_skeleton_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1023s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1023s # if (skeleton->priv->changed_properties_idle_source != NULL) 1023s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1023s # g_main_context_unref (skeleton->priv->context); 1023s # g_mutex_clear (&skeleton->priv->lock); 1023s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1023s # #else 1023s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1023s # #endif 1023s # 1023s # g_mutex_init (&skeleton->priv->lock); 1023s # skeleton->priv->context = g_main_context_ref_thread_default (); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusInterfaceSkeletonClass *skeleton_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1023s # 1023s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1023s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1023s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1023s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1023s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_skeleton_new: 1023s # * 1023s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_skeleton_new (void) 1023s # { 1023s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1023s # } 1023s # /tmp/tmps2nvp2eo/tmpke3vq5xn.xml: 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps2nvp2eo/tmpke3vq5xn.xml', '--output', '-', '--body'] 1023s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1023s # Output: /* 1023s # * This file is generated by gdbus-codegen, do not modify it. 1023s # * 1023s # * The license of this code is the same as for the D-Bus interface description 1023s # * it was derived from. Note that it links to GLib, so must comply with the 1023s # * LGPL linking clauses. 1023s # */ 1023s # 1023s # #ifdef HAVE_CONFIG_H 1023s # # include "config.h" 1023s # #endif 1023s # 1023s # #include 1023s # #ifdef G_OS_UNIX 1023s # # include 1023s # #endif 1023s # 1023s # #ifdef G_ENABLE_DEBUG 1023s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1023s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1023s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1023s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1023s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1023s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1023s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1023s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1023s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1023s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1023s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1023s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1023s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1023s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1023s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1023s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1023s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1023s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1023s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1023s # #else /* !G_ENABLE_DEBUG */ 1023s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1023s # * Do not access GValues directly in your code. Instead, use the 1023s # * g_value_get_*() functions 1023s # */ 1023s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1023s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1023s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1023s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1023s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1023s # #endif /* !G_ENABLE_DEBUG */ 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusArgInfo parent_struct; 1023s # gboolean use_gvariant; 1023s # } _ExtendedGDBusArgInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusMethodInfo parent_struct; 1023s # const gchar *signal_name; 1023s # gboolean pass_fdlist; 1023s # } _ExtendedGDBusMethodInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusSignalInfo parent_struct; 1023s # const gchar *signal_name; 1023s # } _ExtendedGDBusSignalInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusPropertyInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # guint use_gvariant : 1; 1023s # guint emits_changed_signal : 1; 1023s # } _ExtendedGDBusPropertyInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusInterfaceInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # } _ExtendedGDBusInterfaceInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # const _ExtendedGDBusPropertyInfo *info; 1023s # guint prop_id; 1023s # GValue orig_value; /* the value before the change */ 1023s # } ChangedProperty; 1023s # 1023s # static void 1023s # _changed_property_free (ChangedProperty *data) 1023s # { 1023s # g_value_unset (&data->orig_value); 1023s # g_free (data); 1023s # } 1023s # 1023s # static gboolean 1023s # _g_strv_equal0 (gchar **a, gchar **b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # guint n; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # if (g_strv_length (a) != g_strv_length (b)) 1023s # goto out; 1023s # for (n = 0; a[n] != NULL; n++) 1023s # if (g_strcmp0 (a[n], b[n]) != 0) 1023s # goto out; 1023s # ret = TRUE; 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _g_variant_equal0 (GVariant *a, GVariant *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # ret = g_variant_equal (a, b); 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # G_GNUC_UNUSED static gboolean 1023s # _g_value_equal (const GValue *a, const GValue *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1023s # switch (G_VALUE_TYPE (a)) 1023s # { 1023s # case G_TYPE_BOOLEAN: 1023s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1023s # break; 1023s # case G_TYPE_UCHAR: 1023s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1023s # break; 1023s # case G_TYPE_INT: 1023s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1023s # break; 1023s # case G_TYPE_UINT: 1023s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1023s # break; 1023s # case G_TYPE_INT64: 1023s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1023s # break; 1023s # case G_TYPE_UINT64: 1023s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1023s # break; 1023s # case G_TYPE_DOUBLE: 1023s # { 1023s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1023s # gdouble da = g_value_get_double (a); 1023s # gdouble db = g_value_get_double (b); 1023s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1023s # } 1023s # break; 1023s # case G_TYPE_STRING: 1023s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1023s # break; 1023s # case G_TYPE_VARIANT: 1023s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1023s # break; 1023s # default: 1023s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1023s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1023s # else 1023s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1023s # break; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static void 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint G_GNUC_UNUSED, 1023s # void *marshal_data) 1023s # { 1023s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (void *data1, 1023s # GDBusMethodInvocation *arg_method_invocation, 1023s # void *data2); 1023s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1023s # GCClosure *cc = (GCClosure*) closure; 1023s # void *data1, *data2; 1023s # gboolean v_return; 1023s # 1023s # g_return_if_fail (return_value != NULL); 1023s # g_return_if_fail (n_param_values == 2); 1023s # 1023s # if (G_CCLOSURE_SWAP_DATA (closure)) 1023s # { 1023s # data1 = closure->data; 1023s # data2 = g_value_peek_pointer (param_values + 0); 1023s # } 1023s # else 1023s # { 1023s # data1 = g_value_peek_pointer (param_values + 0); 1023s # data2 = closure->data; 1023s # } 1023s # 1023s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (marshal_data ? marshal_data : cc->callback); 1023s # 1023s # v_return = 1023s # callback (data1, 1023s # g_marshal_value_peek_object (param_values + 1), 1023s # data2); 1023s # 1023s # g_value_set_boolean (return_value, v_return); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ 1023s # * Code for interface org.project.UsefulInterface 1023s # * ------------------------------------------------------------------------ 1023s # */ 1023s # 1023s # /** 1023s # * SECTION:OrgProjectUsefulInterface 1023s # * @title: OrgProjectUsefulInterface 1023s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1023s # * 1023s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1023s # */ 1023s # 1023s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "arg_h", 1023s # (gchar *) "h", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgMethodH", 1023s # NULL, 1023s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "handle-single-arg-method-h", 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "org.project.UsefulInterface", 1023s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1023s # NULL, 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "org-project-useful-interface", 1023s # }; 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_interface_info: 1023s # * 1023s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1023s # * 1023s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1023s # */ 1023s # GDBusInterfaceInfo * 1023s # org_project_useful_interface_interface_info (void) 1023s # { 1023s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_override_properties: 1023s # * @klass: The class structure for a #GObject derived class. 1023s # * @property_id_begin: The property id to assign to the first overridden property. 1023s # * 1023s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1023s # * The properties are overridden in the order they are defined. 1023s # * 1023s # * Returns: The last property id. 1023s # */ 1023s # guint 1023s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1023s # { 1023s # return property_id_begin - 1; 1023s # } 1023s # 1023s # 1023s # inline static void 1023s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterface: 1023s # * 1023s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceIface: 1023s # * @parent_iface: The parent interface. 1023s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1023s # * 1023s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1023s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1023s # 1023s # static void 1023s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1023s # { 1023s # /* GObject signals for incoming D-Bus method calls: */ 1023s # /** 1023s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: A #GDBusMethodInvocation. 1023s # * 1023s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1023s # * 1023s # * 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. 1023s # * 1023s # * 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. 1023s # */ 1023s # g_signal_new ("handle-single-arg-method-h", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1023s # g_signal_accumulator_true_handled, 1023s # NULL, 1023s # org_project_useful_interface_method_marshal_single_arg_method_h, 1023s # G_TYPE_BOOLEAN, 1023s # 1, 1023s # G_TYPE_DBUS_METHOD_INVOCATION); 1023s # 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_h: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1023s # */ 1023s # void 1023s # org_project_useful_interface_call_single_arg_method_h ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodH", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # callback, 1023s # user_data); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_h_finish: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_h_finish ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # GVariant **out_arg_h, 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(@h)", 1023s # out_arg_h); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_h_sync: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_h_sync ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # GVariant **out_arg_h, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodH", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(@h)", 1023s # out_arg_h); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_complete_single_arg_method_h: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1023s # * @arg_h: Parameter to return. 1023s # * 1023s # * 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. 1023s # * 1023s # * This method will free @invocation, you cannot use it afterwards. 1023s # */ 1023s # void 1023s # org_project_useful_interface_complete_single_arg_method_h ( 1023s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1023s # GDBusMethodInvocation *invocation, 1023s # GVariant *arg_h) 1023s # { 1023s # g_dbus_method_invocation_return_value (invocation, 1023s # g_variant_new ("(@h)", 1023s # arg_h)); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxy: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxyClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceProxyPrivate 1023s # { 1023s # GData *qdata; 1023s # }; 1023s # 1023s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_proxy_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1023s # g_datalist_clear (&proxy->priv->qdata); 1023s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # const GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1023s # const gchar *sender_name G_GNUC_UNUSED, 1023s # const gchar *signal_name, 1023s # GVariant *parameters) 1023s # { 1023s # _ExtendedGDBusSignalInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # gsize n; 1023s # guint signal_id; 1023s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1023s # if (info == NULL) 1023s # return; 1023s # num_params = g_variant_n_children (parameters); 1023s # paramv = g_new0 (GValue, num_params + 1); 1023s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[0], proxy); 1023s # g_variant_iter_init (&iter, parameters); 1023s # n = 1; 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_signal_emitv (paramv, signal_id, 0, NULL); 1023s # for (n = 0; n < num_params + 1; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1023s # GVariant *changed_properties, 1023s # const gchar *const *invalidated_properties) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1023s # guint n; 1023s # const gchar *key; 1023s # GVariantIter *iter; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # g_variant_get (changed_properties, "a{sv}", &iter); 1023s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1023s # g_datalist_remove_data (&proxy->priv->qdata, key); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # g_variant_iter_free (iter); 1023s # for (n = 0; invalidated_properties[n] != NULL; n++) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1023s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1023s # #else 1023s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1023s # #endif 1023s # 1023s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusProxyClass *proxy_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1023s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1023s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1023s # 1023s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1023s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1023s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_sync: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_sync ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new_for_bus ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_sync: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_sync ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeleton: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeletonClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1023s # { 1023s # GValue *properties; 1023s # GList *changed_properties; 1023s # GSource *changed_properties_idle_source; 1023s # GMainContext *context; 1023s # GMutex lock; 1023s # }; 1023s # 1023s # static void 1023s # _org_project_useful_interface_skeleton_handle_method_call ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name, 1023s # const gchar *method_name, 1023s # GVariant *parameters, 1023s # GDBusMethodInvocation *invocation, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # _ExtendedGDBusMethodInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # guint num_extra; 1023s # gsize n; 1023s # guint signal_id; 1023s # GValue return_value = G_VALUE_INIT; 1023s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1023s # g_assert (info != NULL); 1023s # num_params = g_variant_n_children (parameters); 1023s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1023s # n = 0; 1023s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[n++], skeleton); 1023s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1023s # g_value_set_object (¶mv[n++], invocation); 1023s # if (info->pass_fdlist) 1023s # { 1023s # #ifdef G_OS_UNIX 1023s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1023s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1023s # #else 1023s # g_assert_not_reached (); 1023s # #endif 1023s # } 1023s # g_variant_iter_init (&iter, parameters); 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1023s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1023s # if (!g_value_get_boolean (&return_value)) 1023s # 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); 1023s # g_value_unset (&return_value); 1023s # for (n = 0; n < num_params + num_extra; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static GVariant * 1023s # _org_project_useful_interface_skeleton_handle_get_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # GVariant *ret; 1023s # ret = NULL; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # g_value_init (&value, pspec->value_type); 1023s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1023s # g_value_unset (&value); 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _org_project_useful_interface_skeleton_handle_set_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GVariant *variant, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # gboolean ret; 1023s # ret = FALSE; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # if (info->use_gvariant) 1023s # g_value_set_variant (&value, variant); 1023s # else 1023s # g_dbus_gvariant_to_gvalue (variant, &value); 1023s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # g_value_unset (&value); 1023s # ret = TRUE; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1023s # { 1023s # _org_project_useful_interface_skeleton_handle_method_call, 1023s # _org_project_useful_interface_skeleton_handle_get_property, 1023s # _org_project_useful_interface_skeleton_handle_set_property, 1023s # {NULL} 1023s # }; 1023s # 1023s # static GDBusInterfaceInfo * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return org_project_useful_interface_interface_info (); 1023s # } 1023s # 1023s # static GDBusInterfaceVTable * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1023s # } 1023s # 1023s # static GVariant * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1023s # 1023s # GVariantBuilder builder; 1023s # guint n; 1023s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1023s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1023s # goto out; 1023s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1023s # { 1023s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1023s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1023s # { 1023s # GVariant *value; 1023s # 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); 1023s # if (value != NULL) 1023s # { 1023s # g_variant_take_ref (value); 1023s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1023s # g_variant_unref (value); 1023s # } 1023s # } 1023s # } 1023s # out: 1023s # return g_variant_builder_end (&builder); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_skeleton_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1023s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1023s # if (skeleton->priv->changed_properties_idle_source != NULL) 1023s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1023s # g_main_context_unref (skeleton->priv->context); 1023s # g_mutex_clear (&skeleton->priv->lock); 1023s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1023s # #else 1023s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1023s # #endif 1023s # 1023s # g_mutex_init (&skeleton->priv->lock); 1023s # skeleton->priv->context = g_main_context_ref_thread_default (); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusInterfaceSkeletonClass *skeleton_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1023s # 1023s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1023s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1023s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1023s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1023s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_skeleton_new: 1023s # * 1023s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_skeleton_new (void) 1023s # { 1023s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1023s # } 1023s # /tmp/tmps2nvp2eo/tmpz6tnujn9.xml: 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps2nvp2eo/tmpz6tnujn9.xml', '--output', '-', '--body'] 1023s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1023s # Output: /* 1023s # * This file is generated by gdbus-codegen, do not modify it. 1023s # * 1023s # * The license of this code is the same as for the D-Bus interface description 1023s # * it was derived from. Note that it links to GLib, so must comply with the 1023s # * LGPL linking clauses. 1023s # */ 1023s # 1023s # #ifdef HAVE_CONFIG_H 1023s # # include "config.h" 1023s # #endif 1023s # 1023s # #include 1023s # #ifdef G_OS_UNIX 1023s # # include 1023s # #endif 1023s # 1023s # #ifdef G_ENABLE_DEBUG 1023s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1023s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1023s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1023s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1023s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1023s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1023s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1023s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1023s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1023s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1023s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1023s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1023s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1023s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1023s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1023s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1023s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1023s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1023s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1023s # #else /* !G_ENABLE_DEBUG */ 1023s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1023s # * Do not access GValues directly in your code. Instead, use the 1023s # * g_value_get_*() functions 1023s # */ 1023s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1023s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1023s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1023s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1023s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1023s # #endif /* !G_ENABLE_DEBUG */ 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusArgInfo parent_struct; 1023s # gboolean use_gvariant; 1023s # } _ExtendedGDBusArgInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusMethodInfo parent_struct; 1023s # const gchar *signal_name; 1023s # gboolean pass_fdlist; 1023s # } _ExtendedGDBusMethodInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusSignalInfo parent_struct; 1023s # const gchar *signal_name; 1023s # } _ExtendedGDBusSignalInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusPropertyInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # guint use_gvariant : 1; 1023s # guint emits_changed_signal : 1; 1023s # } _ExtendedGDBusPropertyInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusInterfaceInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # } _ExtendedGDBusInterfaceInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # const _ExtendedGDBusPropertyInfo *info; 1023s # guint prop_id; 1023s # GValue orig_value; /* the value before the change */ 1023s # } ChangedProperty; 1023s # 1023s # static void 1023s # _changed_property_free (ChangedProperty *data) 1023s # { 1023s # g_value_unset (&data->orig_value); 1023s # g_free (data); 1023s # } 1023s # 1023s # static gboolean 1023s # _g_strv_equal0 (gchar **a, gchar **b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # guint n; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # if (g_strv_length (a) != g_strv_length (b)) 1023s # goto out; 1023s # for (n = 0; a[n] != NULL; n++) 1023s # if (g_strcmp0 (a[n], b[n]) != 0) 1023s # goto out; 1023s # ret = TRUE; 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _g_variant_equal0 (GVariant *a, GVariant *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # ret = g_variant_equal (a, b); 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # G_GNUC_UNUSED static gboolean 1023s # _g_value_equal (const GValue *a, const GValue *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1023s # switch (G_VALUE_TYPE (a)) 1023s # { 1023s # case G_TYPE_BOOLEAN: 1023s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1023s # break; 1023s # case G_TYPE_UCHAR: 1023s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1023s # break; 1023s # case G_TYPE_INT: 1023s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1023s # break; 1023s # case G_TYPE_UINT: 1023s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1023s # break; 1023s # case G_TYPE_INT64: 1023s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1023s # break; 1023s # case G_TYPE_UINT64: 1023s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1023s # break; 1023s # case G_TYPE_DOUBLE: 1023s # { 1023s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1023s # gdouble da = g_value_get_double (a); 1023s # gdouble db = g_value_get_double (b); 1023s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1023s # } 1023s # break; 1023s # case G_TYPE_STRING: 1023s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1023s # break; 1023s # case G_TYPE_VARIANT: 1023s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1023s # break; 1023s # default: 1023s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1023s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1023s # else 1023s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1023s # break; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static void 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint G_GNUC_UNUSED, 1023s # void *marshal_data) 1023s # { 1023s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (void *data1, 1023s # GDBusMethodInvocation *arg_method_invocation, 1023s # void *data2); 1023s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1023s # GCClosure *cc = (GCClosure*) closure; 1023s # void *data1, *data2; 1023s # gboolean v_return; 1023s # 1023s # g_return_if_fail (return_value != NULL); 1023s # g_return_if_fail (n_param_values == 2); 1023s # 1023s # if (G_CCLOSURE_SWAP_DATA (closure)) 1023s # { 1023s # data1 = closure->data; 1023s # data2 = g_value_peek_pointer (param_values + 0); 1023s # } 1023s # else 1023s # { 1023s # data1 = g_value_peek_pointer (param_values + 0); 1023s # data2 = closure->data; 1023s # } 1023s # 1023s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (marshal_data ? marshal_data : cc->callback); 1023s # 1023s # v_return = 1023s # callback (data1, 1023s # g_marshal_value_peek_object (param_values + 1), 1023s # data2); 1023s # 1023s # g_value_set_boolean (return_value, v_return); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ 1023s # * Code for interface org.project.UsefulInterface 1023s # * ------------------------------------------------------------------------ 1023s # */ 1023s # 1023s # /** 1023s # * SECTION:OrgProjectUsefulInterface 1023s # * @title: OrgProjectUsefulInterface 1023s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1023s # * 1023s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1023s # */ 1023s # 1023s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "arg_ay", 1023s # (gchar *) "ay", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgMethodAy", 1023s # NULL, 1023s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "handle-single-arg-method-ay", 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "org.project.UsefulInterface", 1023s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1023s # NULL, 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "org-project-useful-interface", 1023s # }; 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_interface_info: 1023s # * 1023s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1023s # * 1023s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1023s # */ 1023s # GDBusInterfaceInfo * 1023s # org_project_useful_interface_interface_info (void) 1023s # { 1023s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_override_properties: 1023s # * @klass: The class structure for a #GObject derived class. 1023s # * @property_id_begin: The property id to assign to the first overridden property. 1023s # * 1023s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1023s # * The properties are overridden in the order they are defined. 1023s # * 1023s # * Returns: The last property id. 1023s # */ 1023s # guint 1023s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1023s # { 1023s # return property_id_begin - 1; 1023s # } 1023s # 1023s # 1023s # inline static void 1023s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterface: 1023s # * 1023s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceIface: 1023s # * @parent_iface: The parent interface. 1023s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1023s # * 1023s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1023s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1023s # 1023s # static void 1023s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1023s # { 1023s # /* GObject signals for incoming D-Bus method calls: */ 1023s # /** 1023s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: A #GDBusMethodInvocation. 1023s # * 1023s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1023s # * 1023s # * 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. 1023s # * 1023s # * 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. 1023s # */ 1023s # g_signal_new ("handle-single-arg-method-ay", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1023s # g_signal_accumulator_true_handled, 1023s # NULL, 1023s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1023s # G_TYPE_BOOLEAN, 1023s # 1, 1023s # G_TYPE_DBUS_METHOD_INVOCATION); 1023s # 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_ay: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1023s # */ 1023s # void 1023s # org_project_useful_interface_call_single_arg_method_ay ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodAy", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # callback, 1023s # user_data); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # gchar **out_arg_ay, 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(^ay)", 1023s # out_arg_ay); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # gchar **out_arg_ay, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodAy", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(^ay)", 1023s # out_arg_ay); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_complete_single_arg_method_ay: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1023s # * @arg_ay: Parameter to return. 1023s # * 1023s # * 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. 1023s # * 1023s # * This method will free @invocation, you cannot use it afterwards. 1023s # */ 1023s # void 1023s # org_project_useful_interface_complete_single_arg_method_ay ( 1023s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1023s # GDBusMethodInvocation *invocation, 1023s # const gchar *arg_ay) 1023s # { 1023s # g_dbus_method_invocation_return_value (invocation, 1023s # g_variant_new ("(^ay)", 1023s # arg_ay)); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxy: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxyClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceProxyPrivate 1023s # { 1023s # GData *qdata; 1023s # }; 1023s # 1023s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_proxy_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1023s # g_datalist_clear (&proxy->priv->qdata); 1023s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # const GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1023s # const gchar *sender_name G_GNUC_UNUSED, 1023s # const gchar *signal_name, 1023s # GVariant *parameters) 1023s # { 1023s # _ExtendedGDBusSignalInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # gsize n; 1023s # guint signal_id; 1023s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1023s # if (info == NULL) 1023s # return; 1023s # num_params = g_variant_n_children (parameters); 1023s # paramv = g_new0 (GValue, num_params + 1); 1023s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[0], proxy); 1023s # g_variant_iter_init (&iter, parameters); 1023s # n = 1; 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_signal_emitv (paramv, signal_id, 0, NULL); 1023s # for (n = 0; n < num_params + 1; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1023s # GVariant *changed_properties, 1023s # const gchar *const *invalidated_properties) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1023s # guint n; 1023s # const gchar *key; 1023s # GVariantIter *iter; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # g_variant_get (changed_properties, "a{sv}", &iter); 1023s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1023s # g_datalist_remove_data (&proxy->priv->qdata, key); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # g_variant_iter_free (iter); 1023s # for (n = 0; invalidated_properties[n] != NULL; n++) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1023s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1023s # #else 1023s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1023s # #endif 1023s # 1023s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusProxyClass *proxy_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1023s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1023s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1023s # 1023s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1023s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1023s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_sync: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_sync ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new_for_bus ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_sync: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_sync ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeleton: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeletonClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1023s # { 1023s # GValue *properties; 1023s # GList *changed_properties; 1023s # GSource *changed_properties_idle_source; 1023s # GMainContext *context; 1023s # GMutex lock; 1023s # }; 1023s # 1023s # static void 1023s # _org_project_useful_interface_skeleton_handle_method_call ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name, 1023s # const gchar *method_name, 1023s # GVariant *parameters, 1023s # GDBusMethodInvocation *invocation, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # _ExtendedGDBusMethodInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # guint num_extra; 1023s # gsize n; 1023s # guint signal_id; 1023s # GValue return_value = G_VALUE_INIT; 1023s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1023s # g_assert (info != NULL); 1023s # num_params = g_variant_n_children (parameters); 1023s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1023s # n = 0; 1023s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[n++], skeleton); 1023s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1023s # g_value_set_object (¶mv[n++], invocation); 1023s # if (info->pass_fdlist) 1023s # { 1023s # #ifdef G_OS_UNIX 1023s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1023s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1023s # #else 1023s # g_assert_not_reached (); 1023s # #endif 1023s # } 1023s # g_variant_iter_init (&iter, parameters); 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1023s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1023s # if (!g_value_get_boolean (&return_value)) 1023s # 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); 1023s # g_value_unset (&return_value); 1023s # for (n = 0; n < num_params + num_extra; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static GVariant * 1023s # _org_project_useful_interface_skeleton_handle_get_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # GVariant *ret; 1023s # ret = NULL; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # g_value_init (&value, pspec->value_type); 1023s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1023s # g_value_unset (&value); 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _org_project_useful_interface_skeleton_handle_set_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GVariant *variant, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # gboolean ret; 1023s # ret = FALSE; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # if (info->use_gvariant) 1023s # g_value_set_variant (&value, variant); 1023s # else 1023s # g_dbus_gvariant_to_gvalue (variant, &value); 1023s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # g_value_unset (&value); 1023s # ret = TRUE; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1023s # { 1023s # _org_project_useful_interface_skeleton_handle_method_call, 1023s # _org_project_useful_interface_skeleton_handle_get_property, 1023s # _org_project_useful_interface_skeleton_handle_set_property, 1023s # {NULL} 1023s # }; 1023s # 1023s # static GDBusInterfaceInfo * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return org_project_useful_interface_interface_info (); 1023s # } 1023s # 1023s # static GDBusInterfaceVTable * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1023s # } 1023s # 1023s # static GVariant * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1023s # 1023s # GVariantBuilder builder; 1023s # guint n; 1023s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1023s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1023s # goto out; 1023s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1023s # { 1023s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1023s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1023s # { 1023s # GVariant *value; 1023s # 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); 1023s # if (value != NULL) 1023s # { 1023s # g_variant_take_ref (value); 1023s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1023s # g_variant_unref (value); 1023s # } 1023s # } 1023s # } 1023s # out: 1023s # return g_variant_builder_end (&builder); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_skeleton_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1023s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1023s # if (skeleton->priv->changed_properties_idle_source != NULL) 1023s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1023s # g_main_context_unref (skeleton->priv->context); 1023s # g_mutex_clear (&skeleton->priv->lock); 1023s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1023s # #else 1023s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1023s # #endif 1023s # 1023s # g_mutex_init (&skeleton->priv->lock); 1023s # skeleton->priv->context = g_main_context_ref_thread_default (); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusInterfaceSkeletonClass *skeleton_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1023s # 1023s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1023s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1023s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1023s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1023s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_skeleton_new: 1023s # * 1023s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_skeleton_new (void) 1023s # { 1023s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1023s # } 1023s # /tmp/tmps2nvp2eo/tmpis9241_d.xml: 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps2nvp2eo/tmpis9241_d.xml', '--output', '-', '--body'] 1023s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1023s # Output: /* 1023s # * This file is generated by gdbus-codegen, do not modify it. 1023s # * 1023s # * The license of this code is the same as for the D-Bus interface description 1023s # * it was derived from. Note that it links to GLib, so must comply with the 1023s # * LGPL linking clauses. 1023s # */ 1023s # 1023s # #ifdef HAVE_CONFIG_H 1023s # # include "config.h" 1023s # #endif 1023s # 1023s # #include 1023s # #ifdef G_OS_UNIX 1023s # # include 1023s # #endif 1023s # 1023s # #ifdef G_ENABLE_DEBUG 1023s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1023s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1023s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1023s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1023s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1023s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1023s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1023s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1023s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1023s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1023s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1023s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1023s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1023s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1023s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1023s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1023s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1023s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1023s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1023s # #else /* !G_ENABLE_DEBUG */ 1023s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1023s # * Do not access GValues directly in your code. Instead, use the 1023s # * g_value_get_*() functions 1023s # */ 1023s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1023s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1023s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1023s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1023s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1023s # #endif /* !G_ENABLE_DEBUG */ 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusArgInfo parent_struct; 1023s # gboolean use_gvariant; 1023s # } _ExtendedGDBusArgInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusMethodInfo parent_struct; 1023s # const gchar *signal_name; 1023s # gboolean pass_fdlist; 1023s # } _ExtendedGDBusMethodInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusSignalInfo parent_struct; 1023s # const gchar *signal_name; 1023s # } _ExtendedGDBusSignalInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusPropertyInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # guint use_gvariant : 1; 1023s # guint emits_changed_signal : 1; 1023s # } _ExtendedGDBusPropertyInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusInterfaceInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # } _ExtendedGDBusInterfaceInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # const _ExtendedGDBusPropertyInfo *info; 1023s # guint prop_id; 1023s # GValue orig_value; /* the value before the change */ 1023s # } ChangedProperty; 1023s # 1023s # static void 1023s # _changed_property_free (ChangedProperty *data) 1023s # { 1023s # g_value_unset (&data->orig_value); 1023s # g_free (data); 1023s # } 1023s # 1023s # static gboolean 1023s # _g_strv_equal0 (gchar **a, gchar **b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # guint n; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # if (g_strv_length (a) != g_strv_length (b)) 1023s # goto out; 1023s # for (n = 0; a[n] != NULL; n++) 1023s # if (g_strcmp0 (a[n], b[n]) != 0) 1023s # goto out; 1023s # ret = TRUE; 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _g_variant_equal0 (GVariant *a, GVariant *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # ret = g_variant_equal (a, b); 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # G_GNUC_UNUSED static gboolean 1023s # _g_value_equal (const GValue *a, const GValue *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1023s # switch (G_VALUE_TYPE (a)) 1023s # { 1023s # case G_TYPE_BOOLEAN: 1023s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1023s # break; 1023s # case G_TYPE_UCHAR: 1023s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1023s # break; 1023s # case G_TYPE_INT: 1023s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1023s # break; 1023s # case G_TYPE_UINT: 1023s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1023s # break; 1023s # case G_TYPE_INT64: 1023s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1023s # break; 1023s # case G_TYPE_UINT64: 1023s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1023s # break; 1023s # case G_TYPE_DOUBLE: 1023s # { 1023s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1023s # gdouble da = g_value_get_double (a); 1023s # gdouble db = g_value_get_double (b); 1023s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1023s # } 1023s # break; 1023s # case G_TYPE_STRING: 1023s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1023s # break; 1023s # case G_TYPE_VARIANT: 1023s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1023s # break; 1023s # default: 1023s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1023s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1023s # else 1023s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1023s # break; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static void 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint G_GNUC_UNUSED, 1023s # void *marshal_data) 1023s # { 1023s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (void *data1, 1023s # GDBusMethodInvocation *arg_method_invocation, 1023s # void *data2); 1023s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1023s # GCClosure *cc = (GCClosure*) closure; 1023s # void *data1, *data2; 1023s # gboolean v_return; 1023s # 1023s # g_return_if_fail (return_value != NULL); 1023s # g_return_if_fail (n_param_values == 2); 1023s # 1023s # if (G_CCLOSURE_SWAP_DATA (closure)) 1023s # { 1023s # data1 = closure->data; 1023s # data2 = g_value_peek_pointer (param_values + 0); 1023s # } 1023s # else 1023s # { 1023s # data1 = g_value_peek_pointer (param_values + 0); 1023s # data2 = closure->data; 1023s # } 1023s # 1023s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (marshal_data ? marshal_data : cc->callback); 1023s # 1023s # v_return = 1023s # callback (data1, 1023s # g_marshal_value_peek_object (param_values + 1), 1023s # data2); 1023s # 1023s # g_value_set_boolean (return_value, v_return); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ 1023s # * Code for interface org.project.UsefulInterface 1023s # * ------------------------------------------------------------------------ 1023s # */ 1023s # 1023s # /** 1023s # * SECTION:OrgProjectUsefulInterface 1023s # * @title: OrgProjectUsefulInterface 1023s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1023s # * 1023s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1023s # */ 1023s # 1023s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "arg_as", 1023s # (gchar *) "as", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgMethodAs", 1023s # NULL, 1023s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "handle-single-arg-method-as", 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "org.project.UsefulInterface", 1023s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1023s # NULL, 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "org-project-useful-interface", 1023s # }; 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_interface_info: 1023s # * 1023s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1023s # * 1023s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1023s # */ 1023s # GDBusInterfaceInfo * 1023s # org_project_useful_interface_interface_info (void) 1023s # { 1023s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_override_properties: 1023s # * @klass: The class structure for a #GObject derived class. 1023s # * @property_id_begin: The property id to assign to the first overridden property. 1023s # * 1023s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1023s # * The properties are overridden in the order they are defined. 1023s # * 1023s # * Returns: The last property id. 1023s # */ 1023s # guint 1023s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1023s # { 1023s # return property_id_begin - 1; 1023s # } 1023s # 1023s # 1023s # inline static void 1023s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterface: 1023s # * 1023s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceIface: 1023s # * @parent_iface: The parent interface. 1023s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1023s # * 1023s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1023s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1023s # 1023s # static void 1023s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1023s # { 1023s # /* GObject signals for incoming D-Bus method calls: */ 1023s # /** 1023s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: A #GDBusMethodInvocation. 1023s # * 1023s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1023s # * 1023s # * 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. 1023s # * 1023s # * 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. 1023s # */ 1023s # g_signal_new ("handle-single-arg-method-as", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1023s # g_signal_accumulator_true_handled, 1023s # NULL, 1023s # org_project_useful_interface_method_marshal_single_arg_method_as, 1023s # G_TYPE_BOOLEAN, 1023s # 1, 1023s # G_TYPE_DBUS_METHOD_INVOCATION); 1023s # 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_as: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1023s # */ 1023s # void 1023s # org_project_useful_interface_call_single_arg_method_as ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodAs", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # callback, 1023s # user_data); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_as_finish: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_as_finish ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # gchar ***out_arg_as, 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(^as)", 1023s # out_arg_as); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_as_sync: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_as_sync ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # gchar ***out_arg_as, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodAs", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(^as)", 1023s # out_arg_as); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_complete_single_arg_method_as: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1023s # * @arg_as: Parameter to return. 1023s # * 1023s # * 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. 1023s # * 1023s # * This method will free @invocation, you cannot use it afterwards. 1023s # */ 1023s # void 1023s # org_project_useful_interface_complete_single_arg_method_as ( 1023s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1023s # GDBusMethodInvocation *invocation, 1023s # const gchar *const *arg_as) 1023s # { 1023s # g_dbus_method_invocation_return_value (invocation, 1023s # g_variant_new ("(^as)", 1023s # arg_as)); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxy: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxyClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceProxyPrivate 1023s # { 1023s # GData *qdata; 1023s # }; 1023s # 1023s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_proxy_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1023s # g_datalist_clear (&proxy->priv->qdata); 1023s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # const GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1023s # const gchar *sender_name G_GNUC_UNUSED, 1023s # const gchar *signal_name, 1023s # GVariant *parameters) 1023s # { 1023s # _ExtendedGDBusSignalInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # gsize n; 1023s # guint signal_id; 1023s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1023s # if (info == NULL) 1023s # return; 1023s # num_params = g_variant_n_children (parameters); 1023s # paramv = g_new0 (GValue, num_params + 1); 1023s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[0], proxy); 1023s # g_variant_iter_init (&iter, parameters); 1023s # n = 1; 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_signal_emitv (paramv, signal_id, 0, NULL); 1023s # for (n = 0; n < num_params + 1; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1023s # GVariant *changed_properties, 1023s # const gchar *const *invalidated_properties) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1023s # guint n; 1023s # const gchar *key; 1023s # GVariantIter *iter; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # g_variant_get (changed_properties, "a{sv}", &iter); 1023s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1023s # g_datalist_remove_data (&proxy->priv->qdata, key); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # g_variant_iter_free (iter); 1023s # for (n = 0; invalidated_properties[n] != NULL; n++) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1023s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1023s # #else 1023s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1023s # #endif 1023s # 1023s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusProxyClass *proxy_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1023s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1023s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1023s # 1023s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1023s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1023s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_sync: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_sync ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new_for_bus ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_sync: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_sync ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeleton: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeletonClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1023s # { 1023s # GValue *properties; 1023s # GList *changed_properties; 1023s # GSource *changed_properties_idle_source; 1023s # GMainContext *context; 1023s # GMutex lock; 1023s # }; 1023s # 1023s # static void 1023s # _org_project_useful_interface_skeleton_handle_method_call ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name, 1023s # const gchar *method_name, 1023s # GVariant *parameters, 1023s # GDBusMethodInvocation *invocation, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # _ExtendedGDBusMethodInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # guint num_extra; 1023s # gsize n; 1023s # guint signal_id; 1023s # GValue return_value = G_VALUE_INIT; 1023s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1023s # g_assert (info != NULL); 1023s # num_params = g_variant_n_children (parameters); 1023s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1023s # n = 0; 1023s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[n++], skeleton); 1023s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1023s # g_value_set_object (¶mv[n++], invocation); 1023s # if (info->pass_fdlist) 1023s # { 1023s # #ifdef G_OS_UNIX 1023s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1023s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1023s # #else 1023s # g_assert_not_reached (); 1023s # #endif 1023s # } 1023s # g_variant_iter_init (&iter, parameters); 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1023s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1023s # if (!g_value_get_boolean (&return_value)) 1023s # 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); 1023s # g_value_unset (&return_value); 1023s # for (n = 0; n < num_params + num_extra; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static GVariant * 1023s # _org_project_useful_interface_skeleton_handle_get_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # GVariant *ret; 1023s # ret = NULL; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # g_value_init (&value, pspec->value_type); 1023s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1023s # g_value_unset (&value); 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _org_project_useful_interface_skeleton_handle_set_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GVariant *variant, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # gboolean ret; 1023s # ret = FALSE; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # if (info->use_gvariant) 1023s # g_value_set_variant (&value, variant); 1023s # else 1023s # g_dbus_gvariant_to_gvalue (variant, &value); 1023s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # g_value_unset (&value); 1023s # ret = TRUE; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1023s # { 1023s # _org_project_useful_interface_skeleton_handle_method_call, 1023s # _org_project_useful_interface_skeleton_handle_get_property, 1023s # _org_project_useful_interface_skeleton_handle_set_property, 1023s # {NULL} 1023s # }; 1023s # 1023s # static GDBusInterfaceInfo * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return org_project_useful_interface_interface_info (); 1023s # } 1023s # 1023s # static GDBusInterfaceVTable * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1023s # } 1023s # 1023s # static GVariant * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1023s # 1023s # GVariantBuilder builder; 1023s # guint n; 1023s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1023s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1023s # goto out; 1023s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1023s # { 1023s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1023s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1023s # { 1023s # GVariant *value; 1023s # 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); 1023s # if (value != NULL) 1023s # { 1023s # g_variant_take_ref (value); 1023s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1023s # g_variant_unref (value); 1023s # } 1023s # } 1023s # } 1023s # out: 1023s # return g_variant_builder_end (&builder); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_skeleton_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1023s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1023s # if (skeleton->priv->changed_properties_idle_source != NULL) 1023s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1023s # g_main_context_unref (skeleton->priv->context); 1023s # g_mutex_clear (&skeleton->priv->lock); 1023s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1023s # #else 1023s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1023s # #endif 1023s # 1023s # g_mutex_init (&skeleton->priv->lock); 1023s # skeleton->priv->context = g_main_context_ref_thread_default (); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusInterfaceSkeletonClass *skeleton_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1023s # 1023s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1023s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1023s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1023s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1023s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_skeleton_new: 1023s # * 1023s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_skeleton_new (void) 1023s # { 1023s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1023s # } 1023s # /tmp/tmps2nvp2eo/tmpy3vymknr.xml: 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps2nvp2eo/tmpy3vymknr.xml', '--output', '-', '--body'] 1023s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1023s # Output: /* 1023s # * This file is generated by gdbus-codegen, do not modify it. 1023s # * 1023s # * The license of this code is the same as for the D-Bus interface description 1023s # * it was derived from. Note that it links to GLib, so must comply with the 1023s # * LGPL linking clauses. 1023s # */ 1023s # 1023s # #ifdef HAVE_CONFIG_H 1023s # # include "config.h" 1023s # #endif 1023s # 1023s # #include 1023s # #ifdef G_OS_UNIX 1023s # # include 1023s # #endif 1023s # 1023s # #ifdef G_ENABLE_DEBUG 1023s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1023s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1023s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1023s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1023s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1023s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1023s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1023s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1023s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1023s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1023s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1023s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1023s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1023s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1023s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1023s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1023s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1023s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1023s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1023s # #else /* !G_ENABLE_DEBUG */ 1023s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1023s # * Do not access GValues directly in your code. Instead, use the 1023s # * g_value_get_*() functions 1023s # */ 1023s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1023s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1023s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1023s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1023s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1023s # #endif /* !G_ENABLE_DEBUG */ 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusArgInfo parent_struct; 1023s # gboolean use_gvariant; 1023s # } _ExtendedGDBusArgInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusMethodInfo parent_struct; 1023s # const gchar *signal_name; 1023s # gboolean pass_fdlist; 1023s # } _ExtendedGDBusMethodInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusSignalInfo parent_struct; 1023s # const gchar *signal_name; 1023s # } _ExtendedGDBusSignalInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusPropertyInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # guint use_gvariant : 1; 1023s # guint emits_changed_signal : 1; 1023s # } _ExtendedGDBusPropertyInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusInterfaceInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # } _ExtendedGDBusInterfaceInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # const _ExtendedGDBusPropertyInfo *info; 1023s # guint prop_id; 1023s # GValue orig_value; /* the value before the change */ 1023s # } ChangedProperty; 1023s # 1023s # static void 1023s # _changed_property_free (ChangedProperty *data) 1023s # { 1023s # g_value_unset (&data->orig_value); 1023s # g_free (data); 1023s # } 1023s # 1023s # static gboolean 1023s # _g_strv_equal0 (gchar **a, gchar **b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # guint n; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # if (g_strv_length (a) != g_strv_length (b)) 1023s # goto out; 1023s # for (n = 0; a[n] != NULL; n++) 1023s # if (g_strcmp0 (a[n], b[n]) != 0) 1023s # goto out; 1023s # ret = TRUE; 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _g_variant_equal0 (GVariant *a, GVariant *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # ret = g_variant_equal (a, b); 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # G_GNUC_UNUSED static gboolean 1023s # _g_value_equal (const GValue *a, const GValue *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1023s # switch (G_VALUE_TYPE (a)) 1023s # { 1023s # case G_TYPE_BOOLEAN: 1023s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1023s # break; 1023s # case G_TYPE_UCHAR: 1023s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1023s # break; 1023s # case G_TYPE_INT: 1023s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1023s # break; 1023s # case G_TYPE_UINT: 1023s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1023s # break; 1023s # case G_TYPE_INT64: 1023s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1023s # break; 1023s # case G_TYPE_UINT64: 1023s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1023s # break; 1023s # case G_TYPE_DOUBLE: 1023s # { 1023s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1023s # gdouble da = g_value_get_double (a); 1023s # gdouble db = g_value_get_double (b); 1023s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1023s # } 1023s # break; 1023s # case G_TYPE_STRING: 1023s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1023s # break; 1023s # case G_TYPE_VARIANT: 1023s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1023s # break; 1023s # default: 1023s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1023s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1023s # else 1023s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1023s # break; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static void 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint G_GNUC_UNUSED, 1023s # void *marshal_data) 1023s # { 1023s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (void *data1, 1023s # GDBusMethodInvocation *arg_method_invocation, 1023s # void *data2); 1023s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1023s # GCClosure *cc = (GCClosure*) closure; 1023s # void *data1, *data2; 1023s # gboolean v_return; 1023s # 1023s # g_return_if_fail (return_value != NULL); 1023s # g_return_if_fail (n_param_values == 2); 1023s # 1023s # if (G_CCLOSURE_SWAP_DATA (closure)) 1023s # { 1023s # data1 = closure->data; 1023s # data2 = g_value_peek_pointer (param_values + 0); 1023s # } 1023s # else 1023s # { 1023s # data1 = g_value_peek_pointer (param_values + 0); 1023s # data2 = closure->data; 1023s # } 1023s # 1023s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (marshal_data ? marshal_data : cc->callback); 1023s # 1023s # v_return = 1023s # callback (data1, 1023s # g_marshal_value_peek_object (param_values + 1), 1023s # data2); 1023s # 1023s # g_value_set_boolean (return_value, v_return); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ 1023s # * Code for interface org.project.UsefulInterface 1023s # * ------------------------------------------------------------------------ 1023s # */ 1023s # 1023s # /** 1023s # * SECTION:OrgProjectUsefulInterface 1023s # * @title: OrgProjectUsefulInterface 1023s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1023s # * 1023s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1023s # */ 1023s # 1023s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "arg_ao", 1023s # (gchar *) "ao", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgMethodAo", 1023s # NULL, 1023s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "handle-single-arg-method-ao", 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "org.project.UsefulInterface", 1023s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1023s # NULL, 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "org-project-useful-interface", 1023s # }; 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_interface_info: 1023s # * 1023s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1023s # * 1023s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1023s # */ 1023s # GDBusInterfaceInfo * 1023s # org_project_useful_interface_interface_info (void) 1023s # { 1023s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_override_properties: 1023s # * @klass: The class structure for a #GObject derived class. 1023s # * @property_id_begin: The property id to assign to the first overridden property. 1023s # * 1023s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1023s # * The properties are overridden in the order they are defined. 1023s # * 1023s # * Returns: The last property id. 1023s # */ 1023s # guint 1023s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1023s # { 1023s # return property_id_begin - 1; 1023s # } 1023s # 1023s # 1023s # inline static void 1023s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterface: 1023s # * 1023s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceIface: 1023s # * @parent_iface: The parent interface. 1023s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1023s # * 1023s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1023s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1023s # 1023s # static void 1023s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1023s # { 1023s # /* GObject signals for incoming D-Bus method calls: */ 1023s # /** 1023s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: A #GDBusMethodInvocation. 1023s # * 1023s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1023s # * 1023s # * 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. 1023s # * 1023s # * 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. 1023s # */ 1023s # g_signal_new ("handle-single-arg-method-ao", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1023s # g_signal_accumulator_true_handled, 1023s # NULL, 1023s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1023s # G_TYPE_BOOLEAN, 1023s # 1, 1023s # G_TYPE_DBUS_METHOD_INVOCATION); 1023s # 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_ao: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1023s # */ 1023s # void 1023s # org_project_useful_interface_call_single_arg_method_ao ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodAo", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # callback, 1023s # user_data); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # gchar ***out_arg_ao, 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(^ao)", 1023s # out_arg_ao); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # gchar ***out_arg_ao, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodAo", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(^ao)", 1023s # out_arg_ao); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_complete_single_arg_method_ao: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1023s # * @arg_ao: Parameter to return. 1023s # * 1023s # * 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. 1023s # * 1023s # * This method will free @invocation, you cannot use it afterwards. 1023s # */ 1023s # void 1023s # org_project_useful_interface_complete_single_arg_method_ao ( 1023s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1023s # GDBusMethodInvocation *invocation, 1023s # const gchar *const *arg_ao) 1023s # { 1023s # g_dbus_method_invocation_return_value (invocation, 1023s # g_variant_new ("(^ao)", 1023s # arg_ao)); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxy: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxyClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceProxyPrivate 1023s # { 1023s # GData *qdata; 1023s # }; 1023s # 1023s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_proxy_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1023s # g_datalist_clear (&proxy->priv->qdata); 1023s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # const GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1023s # const gchar *sender_name G_GNUC_UNUSED, 1023s # const gchar *signal_name, 1023s # GVariant *parameters) 1023s # { 1023s # _ExtendedGDBusSignalInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # gsize n; 1023s # guint signal_id; 1023s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1023s # if (info == NULL) 1023s # return; 1023s # num_params = g_variant_n_children (parameters); 1023s # paramv = g_new0 (GValue, num_params + 1); 1023s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[0], proxy); 1023s # g_variant_iter_init (&iter, parameters); 1023s # n = 1; 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_signal_emitv (paramv, signal_id, 0, NULL); 1023s # for (n = 0; n < num_params + 1; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1023s # GVariant *changed_properties, 1023s # const gchar *const *invalidated_properties) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1023s # guint n; 1023s # const gchar *key; 1023s # GVariantIter *iter; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # g_variant_get (changed_properties, "a{sv}", &iter); 1023s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1023s # g_datalist_remove_data (&proxy->priv->qdata, key); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # g_variant_iter_free (iter); 1023s # for (n = 0; invalidated_properties[n] != NULL; n++) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1023s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1023s # #else 1023s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1023s # #endif 1023s # 1023s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusProxyClass *proxy_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1023s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1023s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1023s # 1023s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1023s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1023s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_sync: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_sync ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new_for_bus ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_sync: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_sync ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeleton: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeletonClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1023s # { 1023s # GValue *properties; 1023s # GList *changed_properties; 1023s # GSource *changed_properties_idle_source; 1023s # GMainContext *context; 1023s # GMutex lock; 1023s # }; 1023s # 1023s # static void 1023s # _org_project_useful_interface_skeleton_handle_method_call ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name, 1023s # const gchar *method_name, 1023s # GVariant *parameters, 1023s # GDBusMethodInvocation *invocation, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # _ExtendedGDBusMethodInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # guint num_extra; 1023s # gsize n; 1023s # guint signal_id; 1023s # GValue return_value = G_VALUE_INIT; 1023s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1023s # g_assert (info != NULL); 1023s # num_params = g_variant_n_children (parameters); 1023s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1023s # n = 0; 1023s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[n++], skeleton); 1023s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1023s # g_value_set_object (¶mv[n++], invocation); 1023s # if (info->pass_fdlist) 1023s # { 1023s # #ifdef G_OS_UNIX 1023s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1023s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1023s # #else 1023s # g_assert_not_reached (); 1023s # #endif 1023s # } 1023s # g_variant_iter_init (&iter, parameters); 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1023s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1023s # if (!g_value_get_boolean (&return_value)) 1023s # 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); 1023s # g_value_unset (&return_value); 1023s # for (n = 0; n < num_params + num_extra; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static GVariant * 1023s # _org_project_useful_interface_skeleton_handle_get_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # GVariant *ret; 1023s # ret = NULL; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # g_value_init (&value, pspec->value_type); 1023s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1023s # g_value_unset (&value); 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _org_project_useful_interface_skeleton_handle_set_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GVariant *variant, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # gboolean ret; 1023s # ret = FALSE; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # if (info->use_gvariant) 1023s # g_value_set_variant (&value, variant); 1023s # else 1023s # g_dbus_gvariant_to_gvalue (variant, &value); 1023s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # g_value_unset (&value); 1023s # ret = TRUE; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1023s # { 1023s # _org_project_useful_interface_skeleton_handle_method_call, 1023s # _org_project_useful_interface_skeleton_handle_get_property, 1023s # _org_project_useful_interface_skeleton_handle_set_property, 1023s # {NULL} 1023s # }; 1023s # 1023s # static GDBusInterfaceInfo * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return org_project_useful_interface_interface_info (); 1023s # } 1023s # 1023s # static GDBusInterfaceVTable * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1023s # } 1023s # 1023s # static GVariant * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1023s # 1023s # GVariantBuilder builder; 1023s # guint n; 1023s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1023s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1023s # goto out; 1023s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1023s # { 1023s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1023s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1023s # { 1023s # GVariant *value; 1023s # 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); 1023s # if (value != NULL) 1023s # { 1023s # g_variant_take_ref (value); 1023s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1023s # g_variant_unref (value); 1023s # } 1023s # } 1023s # } 1023s # out: 1023s # return g_variant_builder_end (&builder); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_skeleton_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1023s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1023s # if (skeleton->priv->changed_properties_idle_source != NULL) 1023s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1023s # g_main_context_unref (skeleton->priv->context); 1023s # g_mutex_clear (&skeleton->priv->lock); 1023s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1023s # #else 1023s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1023s # #endif 1023s # 1023s # g_mutex_init (&skeleton->priv->lock); 1023s # skeleton->priv->context = g_main_context_ref_thread_default (); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusInterfaceSkeletonClass *skeleton_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1023s # 1023s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1023s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1023s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1023s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1023s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_skeleton_new: 1023s # * 1023s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_skeleton_new (void) 1023s # { 1023s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1023s # } 1023s # /tmp/tmps2nvp2eo/tmpa3hirx_c.xml: 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps2nvp2eo/tmpa3hirx_c.xml', '--output', '-', '--body'] 1023s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1023s # Output: /* 1023s # * This file is generated by gdbus-codegen, do not modify it. 1023s # * 1023s # * The license of this code is the same as for the D-Bus interface description 1023s # * it was derived from. Note that it links to GLib, so must comply with the 1023s # * LGPL linking clauses. 1023s # */ 1023s # 1023s # #ifdef HAVE_CONFIG_H 1023s # # include "config.h" 1023s # #endif 1023s # 1023s # #include 1023s # #ifdef G_OS_UNIX 1023s # # include 1023s # #endif 1023s # 1023s # #ifdef G_ENABLE_DEBUG 1023s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1023s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1023s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1023s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1023s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1023s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1023s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1023s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1023s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1023s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1023s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1023s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1023s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1023s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1023s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1023s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1023s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1023s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1023s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1023s # #else /* !G_ENABLE_DEBUG */ 1023s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1023s # * Do not access GValues directly in your code. Instead, use the 1023s # * g_value_get_*() functions 1023s # */ 1023s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1023s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1023s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1023s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1023s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1023s # #endif /* !G_ENABLE_DEBUG */ 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusArgInfo parent_struct; 1023s # gboolean use_gvariant; 1023s # } _ExtendedGDBusArgInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusMethodInfo parent_struct; 1023s # const gchar *signal_name; 1023s # gboolean pass_fdlist; 1023s # } _ExtendedGDBusMethodInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusSignalInfo parent_struct; 1023s # const gchar *signal_name; 1023s # } _ExtendedGDBusSignalInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusPropertyInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # guint use_gvariant : 1; 1023s # guint emits_changed_signal : 1; 1023s # } _ExtendedGDBusPropertyInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusInterfaceInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # } _ExtendedGDBusInterfaceInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # const _ExtendedGDBusPropertyInfo *info; 1023s # guint prop_id; 1023s # GValue orig_value; /* the value before the change */ 1023s # } ChangedProperty; 1023s # 1023s # static void 1023s # _changed_property_free (ChangedProperty *data) 1023s # { 1023s # g_value_unset (&data->orig_value); 1023s # g_free (data); 1023s # } 1023s # 1023s # static gboolean 1023s # _g_strv_equal0 (gchar **a, gchar **b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # guint n; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # if (g_strv_length (a) != g_strv_length (b)) 1023s # goto out; 1023s # for (n = 0; a[n] != NULL; n++) 1023s # if (g_strcmp0 (a[n], b[n]) != 0) 1023s # goto out; 1023s # ret = TRUE; 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _g_variant_equal0 (GVariant *a, GVariant *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # ret = g_variant_equal (a, b); 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # G_GNUC_UNUSED static gboolean 1023s # _g_value_equal (const GValue *a, const GValue *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1023s # switch (G_VALUE_TYPE (a)) 1023s # { 1023s # case G_TYPE_BOOLEAN: 1023s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1023s # break; 1023s # case G_TYPE_UCHAR: 1023s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1023s # break; 1023s # case G_TYPE_INT: 1023s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1023s # break; 1023s # case G_TYPE_UINT: 1023s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1023s # break; 1023s # case G_TYPE_INT64: 1023s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1023s # break; 1023s # case G_TYPE_UINT64: 1023s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1023s # break; 1023s # case G_TYPE_DOUBLE: 1023s # { 1023s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1023s # gdouble da = g_value_get_double (a); 1023s # gdouble db = g_value_get_double (b); 1023s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1023s # } 1023s # break; 1023s # case G_TYPE_STRING: 1023s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1023s # break; 1023s # case G_TYPE_VARIANT: 1023s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1023s # break; 1023s # default: 1023s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1023s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1023s # else 1023s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1023s # break; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static void 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint G_GNUC_UNUSED, 1023s # void *marshal_data) 1023s # { 1023s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (void *data1, 1023s # GDBusMethodInvocation *arg_method_invocation, 1023s # void *data2); 1023s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1023s # GCClosure *cc = (GCClosure*) closure; 1023s # void *data1, *data2; 1023s # gboolean v_return; 1023s # 1023s # g_return_if_fail (return_value != NULL); 1023s # g_return_if_fail (n_param_values == 2); 1023s # 1023s # if (G_CCLOSURE_SWAP_DATA (closure)) 1023s # { 1023s # data1 = closure->data; 1023s # data2 = g_value_peek_pointer (param_values + 0); 1023s # } 1023s # else 1023s # { 1023s # data1 = g_value_peek_pointer (param_values + 0); 1023s # data2 = closure->data; 1023s # } 1023s # 1023s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (marshal_data ? marshal_data : cc->callback); 1023s # 1023s # v_return = 1023s # callback (data1, 1023s # g_marshal_value_peek_object (param_values + 1), 1023s # data2); 1023s # 1023s # g_value_set_boolean (return_value, v_return); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ 1023s # * Code for interface org.project.UsefulInterface 1023s # * ------------------------------------------------------------------------ 1023s # */ 1023s # 1023s # /** 1023s # * SECTION:OrgProjectUsefulInterface 1023s # * @title: OrgProjectUsefulInterface 1023s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1023s # * 1023s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1023s # */ 1023s # 1023s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "arg_aay", 1023s # (gchar *) "aay", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgMethodAay", 1023s # NULL, 1023s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "handle-single-arg-method-aay", 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "org.project.UsefulInterface", 1023s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1023s # NULL, 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "org-project-useful-interface", 1023s # }; 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_interface_info: 1023s # * 1023s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1023s # * 1023s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1023s # */ 1023s # GDBusInterfaceInfo * 1023s # org_project_useful_interface_interface_info (void) 1023s # { 1023s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_override_properties: 1023s # * @klass: The class structure for a #GObject derived class. 1023s # * @property_id_begin: The property id to assign to the first overridden property. 1023s # * 1023s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1023s # * The properties are overridden in the order they are defined. 1023s # * 1023s # * Returns: The last property id. 1023s # */ 1023s # guint 1023s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1023s # { 1023s # return property_id_begin - 1; 1023s # } 1023s # 1023s # 1023s # inline static void 1023s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterface: 1023s # * 1023s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceIface: 1023s # * @parent_iface: The parent interface. 1023s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1023s # * 1023s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1023s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1023s # 1023s # static void 1023s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1023s # { 1023s # /* GObject signals for incoming D-Bus method calls: */ 1023s # /** 1023s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: A #GDBusMethodInvocation. 1023s # * 1023s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1023s # * 1023s # * 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. 1023s # * 1023s # * 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. 1023s # */ 1023s # g_signal_new ("handle-single-arg-method-aay", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1023s # g_signal_accumulator_true_handled, 1023s # NULL, 1023s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1023s # G_TYPE_BOOLEAN, 1023s # 1, 1023s # G_TYPE_DBUS_METHOD_INVOCATION); 1023s # 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_aay: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1023s # */ 1023s # void 1023s # org_project_useful_interface_call_single_arg_method_aay ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodAay", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # callback, 1023s # user_data); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # gchar ***out_arg_aay, 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(^aay)", 1023s # out_arg_aay); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # gchar ***out_arg_aay, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodAay", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(^aay)", 1023s # out_arg_aay); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_complete_single_arg_method_aay: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1023s # * @arg_aay: Parameter to return. 1023s # * 1023s # * 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. 1023s # * 1023s # * This method will free @invocation, you cannot use it afterwards. 1023s # */ 1023s # void 1023s # org_project_useful_interface_complete_single_arg_method_aay ( 1023s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1023s # GDBusMethodInvocation *invocation, 1023s # const gchar *const *arg_aay) 1023s # { 1023s # g_dbus_method_invocation_return_value (invocation, 1023s # g_variant_new ("(^aay)", 1023s # arg_aay)); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxy: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxyClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceProxyPrivate 1023s # { 1023s # GData *qdata; 1023s # }; 1023s # 1023s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_proxy_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1023s # g_datalist_clear (&proxy->priv->qdata); 1023s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # const GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1023s # const gchar *sender_name G_GNUC_UNUSED, 1023s # const gchar *signal_name, 1023s # GVariant *parameters) 1023s # { 1023s # _ExtendedGDBusSignalInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # gsize n; 1023s # guint signal_id; 1023s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1023s # if (info == NULL) 1023s # return; 1023s # num_params = g_variant_n_children (parameters); 1023s # paramv = g_new0 (GValue, num_params + 1); 1023s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[0], proxy); 1023s # g_variant_iter_init (&iter, parameters); 1023s # n = 1; 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_signal_emitv (paramv, signal_id, 0, NULL); 1023s # for (n = 0; n < num_params + 1; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1023s # GVariant *changed_properties, 1023s # const gchar *const *invalidated_properties) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1023s # guint n; 1023s # const gchar *key; 1023s # GVariantIter *iter; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # g_variant_get (changed_properties, "a{sv}", &iter); 1023s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1023s # g_datalist_remove_data (&proxy->priv->qdata, key); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # g_variant_iter_free (iter); 1023s # for (n = 0; invalidated_properties[n] != NULL; n++) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1023s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1023s # #else 1023s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1023s # #endif 1023s # 1023s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusProxyClass *proxy_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1023s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1023s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1023s # 1023s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1023s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1023s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_sync: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_sync ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new_for_bus ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_sync: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_sync ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeleton: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeletonClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1023s # { 1023s # GValue *properties; 1023s # GList *changed_properties; 1023s # GSource *changed_properties_idle_source; 1023s # GMainContext *context; 1023s # GMutex lock; 1023s # }; 1023s # 1023s # static void 1023s # _org_project_useful_interface_skeleton_handle_method_call ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name, 1023s # const gchar *method_name, 1023s # GVariant *parameters, 1023s # GDBusMethodInvocation *invocation, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # _ExtendedGDBusMethodInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # guint num_extra; 1023s # gsize n; 1023s # guint signal_id; 1023s # GValue return_value = G_VALUE_INIT; 1023s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1023s # g_assert (info != NULL); 1023s # num_params = g_variant_n_children (parameters); 1023s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1023s # n = 0; 1023s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[n++], skeleton); 1023s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1023s # g_value_set_object (¶mv[n++], invocation); 1023s # if (info->pass_fdlist) 1023s # { 1023s # #ifdef G_OS_UNIX 1023s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1023s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1023s # #else 1023s # g_assert_not_reached (); 1023s # #endif 1023s # } 1023s # g_variant_iter_init (&iter, parameters); 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1023s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1023s # if (!g_value_get_boolean (&return_value)) 1023s # 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); 1023s # g_value_unset (&return_value); 1023s # for (n = 0; n < num_params + num_extra; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static GVariant * 1023s # _org_project_useful_interface_skeleton_handle_get_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # GVariant *ret; 1023s # ret = NULL; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # g_value_init (&value, pspec->value_type); 1023s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1023s # g_value_unset (&value); 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _org_project_useful_interface_skeleton_handle_set_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GVariant *variant, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # gboolean ret; 1023s # ret = FALSE; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # if (info->use_gvariant) 1023s # g_value_set_variant (&value, variant); 1023s # else 1023s # g_dbus_gvariant_to_gvalue (variant, &value); 1023s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # g_value_unset (&value); 1023s # ret = TRUE; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1023s # { 1023s # _org_project_useful_interface_skeleton_handle_method_call, 1023s # _org_project_useful_interface_skeleton_handle_get_property, 1023s # _org_project_useful_interface_skeleton_handle_set_property, 1023s # {NULL} 1023s # }; 1023s # 1023s # static GDBusInterfaceInfo * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return org_project_useful_interface_interface_info (); 1023s # } 1023s # 1023s # static GDBusInterfaceVTable * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1023s # } 1023s # 1023s # static GVariant * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1023s # 1023s # GVariantBuilder builder; 1023s # guint n; 1023s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1023s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1023s # goto out; 1023s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1023s # { 1023s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1023s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1023s # { 1023s # GVariant *value; 1023s # 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); 1023s # if (value != NULL) 1023s # { 1023s # g_variant_take_ref (value); 1023s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1023s # g_variant_unref (value); 1023s # } 1023s # } 1023s # } 1023s # out: 1023s # return g_variant_builder_end (&builder); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_skeleton_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1023s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1023s # if (skeleton->priv->changed_properties_idle_source != NULL) 1023s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1023s # g_main_context_unref (skeleton->priv->context); 1023s # g_mutex_clear (&skeleton->priv->lock); 1023s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1023s # #else 1023s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1023s # #endif 1023s # 1023s # g_mutex_init (&skeleton->priv->lock); 1023s # skeleton->priv->context = g_main_context_ref_thread_default (); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusInterfaceSkeletonClass *skeleton_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1023s # 1023s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1023s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1023s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1023s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1023s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_skeleton_new: 1023s # * 1023s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_skeleton_new (void) 1023s # { 1023s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1023s # } 1023s # /tmp/tmps2nvp2eo/tmp6ovgab0b.xml: 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps2nvp2eo/tmp6ovgab0b.xml', '--output', '-', '--body'] 1023s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1023s # Output: /* 1023s # * This file is generated by gdbus-codegen, do not modify it. 1023s # * 1023s # * The license of this code is the same as for the D-Bus interface description 1023s # * it was derived from. Note that it links to GLib, so must comply with the 1023s # * LGPL linking clauses. 1023s # */ 1023s # 1023s # #ifdef HAVE_CONFIG_H 1023s # # include "config.h" 1023s # #endif 1023s # 1023s # #include 1023s # #ifdef G_OS_UNIX 1023s # # include 1023s # #endif 1023s # 1023s # #ifdef G_ENABLE_DEBUG 1023s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1023s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1023s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1023s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1023s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1023s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1023s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1023s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1023s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1023s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1023s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1023s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1023s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1023s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1023s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1023s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1023s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1023s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1023s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1023s # #else /* !G_ENABLE_DEBUG */ 1023s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1023s # * Do not access GValues directly in your code. Instead, use the 1023s # * g_value_get_*() functions 1023s # */ 1023s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1023s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1023s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1023s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1023s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1023s # #endif /* !G_ENABLE_DEBUG */ 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusArgInfo parent_struct; 1023s # gboolean use_gvariant; 1023s # } _ExtendedGDBusArgInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusMethodInfo parent_struct; 1023s # const gchar *signal_name; 1023s # gboolean pass_fdlist; 1023s # } _ExtendedGDBusMethodInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusSignalInfo parent_struct; 1023s # const gchar *signal_name; 1023s # } _ExtendedGDBusSignalInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusPropertyInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # guint use_gvariant : 1; 1023s # guint emits_changed_signal : 1; 1023s # } _ExtendedGDBusPropertyInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusInterfaceInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # } _ExtendedGDBusInterfaceInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # const _ExtendedGDBusPropertyInfo *info; 1023s # guint prop_id; 1023s # GValue orig_value; /* the value before the change */ 1023s # } ChangedProperty; 1023s # 1023s # static void 1023s # _changed_property_free (ChangedProperty *data) 1023s # { 1023s # g_value_unset (&data->orig_value); 1023s # g_free (data); 1023s # } 1023s # 1023s # static gboolean 1023s # _g_strv_equal0 (gchar **a, gchar **b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # guint n; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # if (g_strv_length (a) != g_strv_length (b)) 1023s # goto out; 1023s # for (n = 0; a[n] != NULL; n++) 1023s # if (g_strcmp0 (a[n], b[n]) != 0) 1023s # goto out; 1023s # ret = TRUE; 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _g_variant_equal0 (GVariant *a, GVariant *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # ret = g_variant_equal (a, b); 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # G_GNUC_UNUSED static gboolean 1023s # _g_value_equal (const GValue *a, const GValue *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1023s # switch (G_VALUE_TYPE (a)) 1023s # { 1023s # case G_TYPE_BOOLEAN: 1023s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1023s # break; 1023s # case G_TYPE_UCHAR: 1023s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1023s # break; 1023s # case G_TYPE_INT: 1023s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1023s # break; 1023s # case G_TYPE_UINT: 1023s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1023s # break; 1023s # case G_TYPE_INT64: 1023s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1023s # break; 1023s # case G_TYPE_UINT64: 1023s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1023s # break; 1023s # case G_TYPE_DOUBLE: 1023s # { 1023s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1023s # gdouble da = g_value_get_double (a); 1023s # gdouble db = g_value_get_double (b); 1023s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1023s # } 1023s # break; 1023s # case G_TYPE_STRING: 1023s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1023s # break; 1023s # case G_TYPE_VARIANT: 1023s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1023s # break; 1023s # default: 1023s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1023s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1023s # else 1023s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1023s # break; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static void 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint G_GNUC_UNUSED, 1023s # void *marshal_data) 1023s # { 1023s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (void *data1, 1023s # GDBusMethodInvocation *arg_method_invocation, 1023s # void *data2); 1023s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1023s # GCClosure *cc = (GCClosure*) closure; 1023s # void *data1, *data2; 1023s # gboolean v_return; 1023s # 1023s # g_return_if_fail (return_value != NULL); 1023s # g_return_if_fail (n_param_values == 2); 1023s # 1023s # if (G_CCLOSURE_SWAP_DATA (closure)) 1023s # { 1023s # data1 = closure->data; 1023s # data2 = g_value_peek_pointer (param_values + 0); 1023s # } 1023s # else 1023s # { 1023s # data1 = g_value_peek_pointer (param_values + 0); 1023s # data2 = closure->data; 1023s # } 1023s # 1023s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (marshal_data ? marshal_data : cc->callback); 1023s # 1023s # v_return = 1023s # callback (data1, 1023s # g_marshal_value_peek_object (param_values + 1), 1023s # data2); 1023s # 1023s # g_value_set_boolean (return_value, v_return); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ 1023s # * Code for interface org.project.UsefulInterface 1023s # * ------------------------------------------------------------------------ 1023s # */ 1023s # 1023s # /** 1023s # * SECTION:OrgProjectUsefulInterface 1023s # * @title: OrgProjectUsefulInterface 1023s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1023s # * 1023s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1023s # */ 1023s # 1023s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "arg_asv", 1023s # (gchar *) "a{sv}", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgMethodAsv", 1023s # NULL, 1023s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "handle-single-arg-method-asv", 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "org.project.UsefulInterface", 1023s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1023s # NULL, 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "org-project-useful-interface", 1023s # }; 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_interface_info: 1023s # * 1023s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1023s # * 1023s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1023s # */ 1023s # GDBusInterfaceInfo * 1023s # org_project_useful_interface_interface_info (void) 1023s # { 1023s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_override_properties: 1023s # * @klass: The class structure for a #GObject derived class. 1023s # * @property_id_begin: The property id to assign to the first overridden property. 1023s # * 1023s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1023s # * The properties are overridden in the order they are defined. 1023s # * 1023s # * Returns: The last property id. 1023s # */ 1023s # guint 1023s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1023s # { 1023s # return property_id_begin - 1; 1023s # } 1023s # 1023s # 1023s # inline static void 1023s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterface: 1023s # * 1023s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceIface: 1023s # * @parent_iface: The parent interface. 1023s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1023s # * 1023s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1023s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1023s # 1023s # static void 1023s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1023s # { 1023s # /* GObject signals for incoming D-Bus method calls: */ 1023s # /** 1023s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: A #GDBusMethodInvocation. 1023s # * 1023s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1023s # * 1023s # * 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. 1023s # * 1023s # * 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. 1023s # */ 1023s # g_signal_new ("handle-single-arg-method-asv", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1023s # g_signal_accumulator_true_handled, 1023s # NULL, 1023s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1023s # G_TYPE_BOOLEAN, 1023s # 1, 1023s # G_TYPE_DBUS_METHOD_INVOCATION); 1023s # 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_asv: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1023s # */ 1023s # void 1023s # org_project_useful_interface_call_single_arg_method_asv ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodAsv", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # callback, 1023s # user_data); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # GVariant **out_arg_asv, 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(@a{sv})", 1023s # out_arg_asv); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1023s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1023s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1023s # OrgProjectUsefulInterface *proxy, 1023s # GVariant **out_arg_asv, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1023s # "SingleArgMethodAsv", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(@a{sv})", 1023s # out_arg_asv); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_complete_single_arg_method_asv: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1023s # * @arg_asv: Parameter to return. 1023s # * 1023s # * 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. 1023s # * 1023s # * This method will free @invocation, you cannot use it afterwards. 1023s # */ 1023s # void 1023s # org_project_useful_interface_complete_single_arg_method_asv ( 1023s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1023s # GDBusMethodInvocation *invocation, 1023s # GVariant *arg_asv) 1023s # { 1023s # g_dbus_method_invocation_return_value (invocation, 1023s # g_variant_new ("(@a{sv})", 1023s # arg_asv)); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxy: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxyClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceProxyPrivate 1023s # { 1023s # GData *qdata; 1023s # }; 1023s # 1023s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_proxy_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1023s # g_datalist_clear (&proxy->priv->qdata); 1023s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # const GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1023s # const gchar *sender_name G_GNUC_UNUSED, 1023s # const gchar *signal_name, 1023s # GVariant *parameters) 1023s # { 1023s # _ExtendedGDBusSignalInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # gsize n; 1023s # guint signal_id; 1023s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1023s # if (info == NULL) 1023s # return; 1023s # num_params = g_variant_n_children (parameters); 1023s # paramv = g_new0 (GValue, num_params + 1); 1023s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[0], proxy); 1023s # g_variant_iter_init (&iter, parameters); 1023s # n = 1; 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_signal_emitv (paramv, signal_id, 0, NULL); 1023s # for (n = 0; n < num_params + 1; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1023s # GVariant *changed_properties, 1023s # const gchar *const *invalidated_properties) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1023s # guint n; 1023s # const gchar *key; 1023s # GVariantIter *iter; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # g_variant_get (changed_properties, "a{sv}", &iter); 1023s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1023s # g_datalist_remove_data (&proxy->priv->qdata, key); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # g_variant_iter_free (iter); 1023s # for (n = 0; invalidated_properties[n] != NULL; n++) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1023s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1023s # #else 1023s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1023s # #endif 1023s # 1023s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusProxyClass *proxy_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1023s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1023s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1023s # 1023s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1023s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1023s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_sync: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_sync ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new_for_bus ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_sync: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_sync ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeleton: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeletonClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1023s # { 1023s # GValue *properties; 1023s # GList *changed_properties; 1023s # GSource *changed_properties_idle_source; 1023s # GMainContext *context; 1023s # GMutex lock; 1023s # }; 1023s # 1023s # static void 1023s # _org_project_useful_interface_skeleton_handle_method_call ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name, 1023s # const gchar *method_name, 1023s # GVariant *parameters, 1023s # GDBusMethodInvocation *invocation, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # _ExtendedGDBusMethodInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # guint num_extra; 1023s # gsize n; 1023s # guint signal_id; 1023s # GValue return_value = G_VALUE_INIT; 1023s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1023s # g_assert (info != NULL); 1023s # num_params = g_variant_n_children (parameters); 1023s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1023s # n = 0; 1023s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[n++], skeleton); 1023s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1023s # g_value_set_object (¶mv[n++], invocation); 1023s # if (info->pass_fdlist) 1023s # { 1023s # #ifdef G_OS_UNIX 1023s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1023s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1023s # #else 1023s # g_assert_not_reached (); 1023s # #endif 1023s # } 1023s # g_variant_iter_init (&iter, parameters); 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1023s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1023s # if (!g_value_get_boolean (&return_value)) 1023s # 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); 1023s # g_value_unset (&return_value); 1023s # for (n = 0; n < num_params + num_extra; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static GVariant * 1023s # _org_project_useful_interface_skeleton_handle_get_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # GVariant *ret; 1023s # ret = NULL; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # g_value_init (&value, pspec->value_type); 1023s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1023s # g_value_unset (&value); 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _org_project_useful_interface_skeleton_handle_set_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GVariant *variant, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # gboolean ret; 1023s # ret = FALSE; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # if (info->use_gvariant) 1023s # g_value_set_variant (&value, variant); 1023s # else 1023s # g_dbus_gvariant_to_gvalue (variant, &value); 1023s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # g_value_unset (&value); 1023s # ret = TRUE; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1023s # { 1023s # _org_project_useful_interface_skeleton_handle_method_call, 1023s # _org_project_useful_interface_skeleton_handle_get_property, 1023s # _org_project_useful_interface_skeleton_handle_set_property, 1023s # {NULL} 1023s # }; 1023s # 1023s # static GDBusInterfaceInfo * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return org_project_useful_interface_interface_info (); 1023s # } 1023s # 1023s # static GDBusInterfaceVTable * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1023s # } 1023s # 1023s # static GVariant * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1023s # 1023s # GVariantBuilder builder; 1023s # guint n; 1023s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1023s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1023s # goto out; 1023s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1023s # { 1023s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1023s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1023s # { 1023s # GVariant *value; 1023s # 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); 1023s # if (value != NULL) 1023s # { 1023s # g_variant_take_ref (value); 1023s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1023s # g_variant_unref (value); 1023s # } 1023s # } 1023s # } 1023s # out: 1023s # return g_variant_builder_end (&builder); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_skeleton_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1023s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1023s # if (skeleton->priv->changed_properties_idle_source != NULL) 1023s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1023s # g_main_context_unref (skeleton->priv->context); 1023s # g_mutex_clear (&skeleton->priv->lock); 1023s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1023s # #else 1023s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1023s # #endif 1023s # 1023s # g_mutex_init (&skeleton->priv->lock); 1023s # skeleton->priv->context = g_main_context_ref_thread_default (); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusInterfaceSkeletonClass *skeleton_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1023s # 1023s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1023s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1023s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1023s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1023s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_skeleton_new: 1023s # * 1023s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_skeleton_new (void) 1023s # { 1023s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1023s # } 1023s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 1023s # tmpdir: /tmp/tmpf1frxgl5 1023s # codegen: /usr/bin/gdbus-codegen 1023s # /tmp/tmpf1frxgl5/tmpywf7ctpm.xml: 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf1frxgl5/tmpywf7ctpm.xml', '--output', '-', '--body'] 1023s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1023s # Output: /* 1023s # * This file is generated by gdbus-codegen, do not modify it. 1023s # * 1023s # * The license of this code is the same as for the D-Bus interface description 1023s # * it was derived from. Note that it links to GLib, so must comply with the 1023s # * LGPL linking clauses. 1023s # */ 1023s # 1023s # #ifdef HAVE_CONFIG_H 1023s # # include "config.h" 1023s # #endif 1023s # 1023s # #include 1023s # #ifdef G_OS_UNIX 1023s # # include 1023s # #endif 1023s # 1023s # #ifdef G_ENABLE_DEBUG 1023s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1023s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1023s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1023s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1023s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1023s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1023s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1023s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1023s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1023s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1023s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1023s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1023s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1023s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1023s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1023s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1023s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1023s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1023s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1023s # #else /* !G_ENABLE_DEBUG */ 1023s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1023s # * Do not access GValues directly in your code. Instead, use the 1023s # * g_value_get_*() functions 1023s # */ 1023s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1023s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1023s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1023s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1023s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1023s # #endif /* !G_ENABLE_DEBUG */ 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusArgInfo parent_struct; 1023s # gboolean use_gvariant; 1023s # } _ExtendedGDBusArgInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusMethodInfo parent_struct; 1023s # const gchar *signal_name; 1023s # gboolean pass_fdlist; 1023s # } _ExtendedGDBusMethodInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusSignalInfo parent_struct; 1023s # const gchar *signal_name; 1023s # } _ExtendedGDBusSignalInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusPropertyInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # guint use_gvariant : 1; 1023s # guint emits_changed_signal : 1; 1023s # } _ExtendedGDBusPropertyInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusInterfaceInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # } _ExtendedGDBusInterfaceInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # const _ExtendedGDBusPropertyInfo *info; 1023s # guint prop_id; 1023s # GValue orig_value; /* the value before the change */ 1023s # } ChangedProperty; 1023s # 1023s # static void 1023s # _changed_property_free (ChangedProperty *data) 1023s # { 1023s # g_value_unset (&data->orig_value); 1023s # g_free (data); 1023s # } 1023s # 1023s # static gboolean 1023s # _g_strv_equal0 (gchar **a, gchar **b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # guint n; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # if (g_strv_length (a) != g_strv_length (b)) 1023s # goto out; 1023s # for (n = 0; a[n] != NULL; n++) 1023s # if (g_strcmp0 (a[n], b[n]) != 0) 1023s # goto out; 1023s # ret = TRUE; 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _g_variant_equal0 (GVariant *a, GVariant *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # ret = g_variant_equal (a, b); 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # G_GNUC_UNUSED static gboolean 1023s # _g_value_equal (const GValue *a, const GValue *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1023s # switch (G_VALUE_TYPE (a)) 1023s # { 1023s # case G_TYPE_BOOLEAN: 1023s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1023s # break; 1023s # case G_TYPE_UCHAR: 1023s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1023s # break; 1023s # case G_TYPE_INT: 1023s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1023s # break; 1023s # case G_TYPE_UINT: 1023s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1023s # break; 1023s # case G_TYPE_INT64: 1023s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1023s # break; 1023s # case G_TYPE_UINT64: 1023s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1023s # break; 1023s # case G_TYPE_DOUBLE: 1023s # { 1023s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1023s # gdouble da = g_value_get_double (a); 1023s # gdouble db = g_value_get_double (b); 1023s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1023s # } 1023s # break; 1023s # case G_TYPE_STRING: 1023s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1023s # break; 1023s # case G_TYPE_VARIANT: 1023s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1023s # break; 1023s # default: 1023s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1023s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1023s # else 1023s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1023s # break; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static void 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint G_GNUC_UNUSED, 1023s # void *marshal_data) 1023s # { 1023s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1023s # (void *data1, 1023s # GDBusMethodInvocation *arg_method_invocation, 1023s # gboolean arg_an_b, 1023s # guchar arg_an_y, 1023s # gint16 arg_an_n, 1023s # guint16 arg_an_q, 1023s # gint arg_an_i, 1023s # guint arg_an_u, 1023s # gint64 arg_an_x, 1023s # guint64 arg_an_t, 1023s # gdouble arg_an_d, 1023s # const gchar *arg_an_s, 1023s # const gchar *arg_an_o, 1023s # const gchar *arg_an_g, 1023s # GVariant *arg_an_h, 1023s # const gchar *arg_an_ay, 1023s # const gchar *const *arg_an_as, 1023s # const gchar *const *arg_an_ao, 1023s # const gchar *const *arg_an_aay, 1023s # GVariant *arg_an_asv, 1023s # void *data2); 1023s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1023s # GCClosure *cc = (GCClosure*) closure; 1023s # void *data1, *data2; 1023s # gboolean v_return; 1023s # 1023s # g_return_if_fail (return_value != NULL); 1023s # g_return_if_fail (n_param_values == 20); 1023s # 1023s # if (G_CCLOSURE_SWAP_DATA (closure)) 1023s # { 1023s # data1 = closure->data; 1023s # data2 = g_value_peek_pointer (param_values + 0); 1023s # } 1023s # else 1023s # { 1023s # data1 = g_value_peek_pointer (param_values + 0); 1023s # data2 = closure->data; 1023s # } 1023s # 1023s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1023s # (marshal_data ? marshal_data : cc->callback); 1023s # 1023s # v_return = 1023s # callback (data1, 1023s # g_marshal_value_peek_object (param_values + 1), 1023s # g_marshal_value_peek_boolean (param_values + 2), 1023s # g_marshal_value_peek_uchar (param_values + 3), 1023s # g_marshal_value_peek_int (param_values + 4), 1023s # g_marshal_value_peek_uint (param_values + 5), 1023s # g_marshal_value_peek_int (param_values + 6), 1023s # g_marshal_value_peek_uint (param_values + 7), 1023s # g_marshal_value_peek_int64 (param_values + 8), 1023s # g_marshal_value_peek_uint64 (param_values + 9), 1023s # g_marshal_value_peek_double (param_values + 10), 1023s # g_marshal_value_peek_string (param_values + 11), 1023s # g_marshal_value_peek_string (param_values + 12), 1023s # g_marshal_value_peek_string (param_values + 13), 1023s # g_marshal_value_peek_variant (param_values + 14), 1023s # g_marshal_value_peek_string (param_values + 15), 1023s # g_marshal_value_peek_boxed (param_values + 16), 1023s # g_marshal_value_peek_boxed (param_values + 17), 1023s # g_marshal_value_peek_boxed (param_values + 18), 1023s # g_marshal_value_peek_variant (param_values + 19), 1023s # data2); 1023s # 1023s # g_value_set_boolean (return_value, v_return); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ 1023s # * Code for interface org.project.CallableIface 1023s # * ------------------------------------------------------------------------ 1023s # */ 1023s # 1023s # /** 1023s # * SECTION:OrgProjectCallableIface 1023s # * @title: OrgProjectCallableIface 1023s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1023s # * 1023s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1023s # */ 1023s # 1023s # /* ---- Introspection data for org.project.CallableIface ---- */ 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_b", 1023s # (gchar *) "b", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_y", 1023s # (gchar *) "y", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_n", 1023s # (gchar *) "n", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_q", 1023s # (gchar *) "q", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_i", 1023s # (gchar *) "i", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_u", 1023s # (gchar *) "u", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_x", 1023s # (gchar *) "x", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_t", 1023s # (gchar *) "t", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_d", 1023s # (gchar *) "d", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_s", 1023s # (gchar *) "s", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_o", 1023s # (gchar *) "o", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_g", 1023s # (gchar *) "g", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_h", 1023s # (gchar *) "h", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_ay", 1023s # (gchar *) "ay", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_as", 1023s # (gchar *) "as", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_ao", 1023s # (gchar *) "ao", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_aay", 1023s # (gchar *) "aay", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_asv", 1023s # (gchar *) "a{sv}", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1023s # { 1023s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "MethodWithManyArgs", 1023s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "handle-method-with-many-args", 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_b", 1023s # (gchar *) "b", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_y", 1023s # (gchar *) "y", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_n", 1023s # (gchar *) "n", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_q", 1023s # (gchar *) "q", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_i", 1023s # (gchar *) "i", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_u", 1023s # (gchar *) "u", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_x", 1023s # (gchar *) "x", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_t", 1023s # (gchar *) "t", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_d", 1023s # (gchar *) "d", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_s", 1023s # (gchar *) "s", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_o", 1023s # (gchar *) "o", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_g", 1023s # (gchar *) "g", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_h", 1023s # (gchar *) "h", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_ay", 1023s # (gchar *) "ay", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_as", 1023s # (gchar *) "as", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_ao", 1023s # (gchar *) "ao", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_aay", 1023s # (gchar *) "aay", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_asv", 1023s # (gchar *) "a{sv}", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 1023s # { 1023s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 1023s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 1023s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 1023s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 1023s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 1023s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 1023s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 1023s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 1023s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 1023s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 1023s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 1023s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 1023s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 1023s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 1023s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 1023s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 1023s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 1023s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SameMethodWithManyArgs", 1023s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "handle-same-method-with-many-args", 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1023s # { 1023s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1023s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "org.project.CallableIface", 1023s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1023s # NULL, 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "org-project-callable-iface", 1023s # }; 1023s # 1023s # 1023s # /** 1023s # * org_project_callable_iface_interface_info: 1023s # * 1023s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1023s # * 1023s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1023s # */ 1023s # GDBusInterfaceInfo * 1023s # org_project_callable_iface_interface_info (void) 1023s # { 1023s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1023s # } 1023s # 1023s # /** 1023s # * org_project_callable_iface_override_properties: 1023s # * @klass: The class structure for a #GObject derived class. 1023s # * @property_id_begin: The property id to assign to the first overridden property. 1023s # * 1023s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1023s # * The properties are overridden in the order they are defined. 1023s # * 1023s # * Returns: The last property id. 1023s # */ 1023s # guint 1023s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1023s # { 1023s # return property_id_begin - 1; 1023s # } 1023s # 1023s # 1023s # inline static void 1023s # org_project_callable_iface_method_marshal_method_with_many_args ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # _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, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # inline static void 1023s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # _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, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # 1023s # /** 1023s # * OrgProjectCallableIface: 1023s # * 1023s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectCallableIfaceIface: 1023s # * @parent_iface: The parent interface. 1023s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1023s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 1023s # * 1023s # * Virtual table for the D-Bus interface org.project.CallableIface. 1023s # */ 1023s # 1023s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1023s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1023s # 1023s # static void 1023s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1023s # { 1023s # /* GObject signals for incoming D-Bus method calls: */ 1023s # /** 1023s # * OrgProjectCallableIface::handle-method-with-many-args: 1023s # * @object: A #OrgProjectCallableIface. 1023s # * @invocation: A #GDBusMethodInvocation. 1023s # * @arg_an_b: Argument passed by remote caller. 1023s # * @arg_an_y: Argument passed by remote caller. 1023s # * @arg_an_n: Argument passed by remote caller. 1023s # * @arg_an_q: Argument passed by remote caller. 1023s # * @arg_an_i: Argument passed by remote caller. 1023s # * @arg_an_u: Argument passed by remote caller. 1023s # * @arg_an_x: Argument passed by remote caller. 1023s # * @arg_an_t: Argument passed by remote caller. 1023s # * @arg_an_d: Argument passed by remote caller. 1023s # * @arg_an_s: Argument passed by remote caller. 1023s # * @arg_an_o: Argument passed by remote caller. 1023s # * @arg_an_g: Argument passed by remote caller. 1023s # * @arg_an_h: Argument passed by remote caller. 1023s # * @arg_an_ay: Argument passed by remote caller. 1023s # * @arg_an_as: Argument passed by remote caller. 1023s # * @arg_an_ao: Argument passed by remote caller. 1023s # * @arg_an_aay: Argument passed by remote caller. 1023s # * @arg_an_asv: Argument passed by remote caller. 1023s # * 1023s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1023s # * 1023s # * 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. 1023s # * 1023s # * 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. 1023s # */ 1023s # g_signal_new ("handle-method-with-many-args", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1023s # g_signal_accumulator_true_handled, 1023s # NULL, 1023s # org_project_callable_iface_method_marshal_method_with_many_args, 1023s # G_TYPE_BOOLEAN, 1023s # 19, 1023s # 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); 1023s # 1023s # /** 1023s # * OrgProjectCallableIface::handle-same-method-with-many-args: 1023s # * @object: A #OrgProjectCallableIface. 1023s # * @invocation: A #GDBusMethodInvocation. 1023s # * @arg_an_b: Argument passed by remote caller. 1023s # * @arg_an_y: Argument passed by remote caller. 1023s # * @arg_an_n: Argument passed by remote caller. 1023s # * @arg_an_q: Argument passed by remote caller. 1023s # * @arg_an_i: Argument passed by remote caller. 1023s # * @arg_an_u: Argument passed by remote caller. 1023s # * @arg_an_x: Argument passed by remote caller. 1023s # * @arg_an_t: Argument passed by remote caller. 1023s # * @arg_an_d: Argument passed by remote caller. 1023s # * @arg_an_s: Argument passed by remote caller. 1023s # * @arg_an_o: Argument passed by remote caller. 1023s # * @arg_an_g: Argument passed by remote caller. 1023s # * @arg_an_h: Argument passed by remote caller. 1023s # * @arg_an_ay: Argument passed by remote caller. 1023s # * @arg_an_as: Argument passed by remote caller. 1023s # * @arg_an_ao: Argument passed by remote caller. 1023s # * @arg_an_aay: Argument passed by remote caller. 1023s # * @arg_an_asv: Argument passed by remote caller. 1023s # * 1023s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 1023s # * 1023s # * 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. 1023s # * 1023s # * 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. 1023s # */ 1023s # g_signal_new ("handle-same-method-with-many-args", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 1023s # g_signal_accumulator_true_handled, 1023s # NULL, 1023s # org_project_callable_iface_method_marshal_same_method_with_many_args, 1023s # G_TYPE_BOOLEAN, 1023s # 19, 1023s # 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); 1023s # 1023s # } 1023s # 1023s # /** 1023s # * org_project_callable_iface_call_method_with_many_args: 1023s # * @proxy: A #OrgProjectCallableIfaceProxy. 1023s # * @arg_an_b: Argument to pass with the method invocation. 1023s # * @arg_an_y: Argument to pass with the method invocation. 1023s # * @arg_an_n: Argument to pass with the method invocation. 1023s # * @arg_an_q: Argument to pass with the method invocation. 1023s # * @arg_an_i: Argument to pass with the method invocation. 1023s # * @arg_an_u: Argument to pass with the method invocation. 1023s # * @arg_an_x: Argument to pass with the method invocation. 1023s # * @arg_an_t: Argument to pass with the method invocation. 1023s # * @arg_an_d: Argument to pass with the method invocation. 1023s # * @arg_an_s: Argument to pass with the method invocation. 1023s # * @arg_an_o: Argument to pass with the method invocation. 1023s # * @arg_an_g: Argument to pass with the method invocation. 1023s # * @arg_an_h: Argument to pass with the method invocation. 1023s # * @arg_an_ay: Argument to pass with the method invocation. 1023s # * @arg_an_as: Argument to pass with the method invocation. 1023s # * @arg_an_ao: Argument to pass with the method invocation. 1023s # * @arg_an_aay: Argument to pass with the method invocation. 1023s # * @arg_an_asv: Argument to pass with the method invocation. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1023s # */ 1023s # void 1023s # org_project_callable_iface_call_method_with_many_args ( 1023s # OrgProjectCallableIface *proxy, 1023s # gboolean arg_an_b, 1023s # guchar arg_an_y, 1023s # gint16 arg_an_n, 1023s # guint16 arg_an_q, 1023s # gint arg_an_i, 1023s # guint arg_an_u, 1023s # gint64 arg_an_x, 1023s # guint64 arg_an_t, 1023s # gdouble arg_an_d, 1023s # const gchar *arg_an_s, 1023s # const gchar *arg_an_o, 1023s # const gchar *arg_an_g, 1023s # GVariant *arg_an_h, 1023s # const gchar *arg_an_ay, 1023s # const gchar *const *arg_an_as, 1023s # const gchar *const *arg_an_ao, 1023s # const gchar *const *arg_an_aay, 1023s # GVariant *arg_an_asv, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1023s # "MethodWithManyArgs", 1023s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1023s # arg_an_b, 1023s # arg_an_y, 1023s # arg_an_n, 1023s # arg_an_q, 1023s # arg_an_i, 1023s # arg_an_u, 1023s # arg_an_x, 1023s # arg_an_t, 1023s # arg_an_d, 1023s # arg_an_s, 1023s # arg_an_o, 1023s # arg_an_g, 1023s # arg_an_h, 1023s # arg_an_ay, 1023s # arg_an_as, 1023s # arg_an_ao, 1023s # arg_an_aay, 1023s # arg_an_asv), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # callback, 1023s # user_data); 1023s # } 1023s # 1023s # /** 1023s # * org_project_callable_iface_call_method_with_many_args_finish: 1023s # * @proxy: A #OrgProjectCallableIfaceProxy. 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_callable_iface_call_method_with_many_args_finish ( 1023s # OrgProjectCallableIface *proxy, 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "()"); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_callable_iface_call_method_with_many_args_sync: 1023s # * @proxy: A #OrgProjectCallableIfaceProxy. 1023s # * @arg_an_b: Argument to pass with the method invocation. 1023s # * @arg_an_y: Argument to pass with the method invocation. 1023s # * @arg_an_n: Argument to pass with the method invocation. 1023s # * @arg_an_q: Argument to pass with the method invocation. 1023s # * @arg_an_i: Argument to pass with the method invocation. 1023s # * @arg_an_u: Argument to pass with the method invocation. 1023s # * @arg_an_x: Argument to pass with the method invocation. 1023s # * @arg_an_t: Argument to pass with the method invocation. 1023s # * @arg_an_d: Argument to pass with the method invocation. 1023s # * @arg_an_s: Argument to pass with the method invocation. 1023s # * @arg_an_o: Argument to pass with the method invocation. 1023s # * @arg_an_g: Argument to pass with the method invocation. 1023s # * @arg_an_h: Argument to pass with the method invocation. 1023s # * @arg_an_ay: Argument to pass with the method invocation. 1023s # * @arg_an_as: Argument to pass with the method invocation. 1023s # * @arg_an_ao: Argument to pass with the method invocation. 1023s # * @arg_an_aay: Argument to pass with the method invocation. 1023s # * @arg_an_asv: Argument to pass with the method invocation. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_callable_iface_call_method_with_many_args_sync ( 1023s # OrgProjectCallableIface *proxy, 1023s # gboolean arg_an_b, 1023s # guchar arg_an_y, 1023s # gint16 arg_an_n, 1023s # guint16 arg_an_q, 1023s # gint arg_an_i, 1023s # guint arg_an_u, 1023s # gint64 arg_an_x, 1023s # guint64 arg_an_t, 1023s # gdouble arg_an_d, 1023s # const gchar *arg_an_s, 1023s # const gchar *arg_an_o, 1023s # const gchar *arg_an_g, 1023s # GVariant *arg_an_h, 1023s # const gchar *arg_an_ay, 1023s # const gchar *const *arg_an_as, 1023s # const gchar *const *arg_an_ao, 1023s # const gchar *const *arg_an_aay, 1023s # GVariant *arg_an_asv, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1023s # "MethodWithManyArgs", 1023s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1023s # arg_an_b, 1023s # arg_an_y, 1023s # arg_an_n, 1023s # arg_an_q, 1023s # arg_an_i, 1023s # arg_an_u, 1023s # arg_an_x, 1023s # arg_an_t, 1023s # arg_an_d, 1023s # arg_an_s, 1023s # arg_an_o, 1023s # arg_an_g, 1023s # arg_an_h, 1023s # arg_an_ay, 1023s # arg_an_as, 1023s # arg_an_ao, 1023s # arg_an_aay, 1023s # arg_an_asv), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "()"); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_callable_iface_call_same_method_with_many_args: 1023s # * @proxy: A #OrgProjectCallableIfaceProxy. 1023s # * @arg_an_b: Argument to pass with the method invocation. 1023s # * @arg_an_y: Argument to pass with the method invocation. 1023s # * @arg_an_n: Argument to pass with the method invocation. 1023s # * @arg_an_q: Argument to pass with the method invocation. 1023s # * @arg_an_i: Argument to pass with the method invocation. 1023s # * @arg_an_u: Argument to pass with the method invocation. 1023s # * @arg_an_x: Argument to pass with the method invocation. 1023s # * @arg_an_t: Argument to pass with the method invocation. 1023s # * @arg_an_d: Argument to pass with the method invocation. 1023s # * @arg_an_s: Argument to pass with the method invocation. 1023s # * @arg_an_o: Argument to pass with the method invocation. 1023s # * @arg_an_g: Argument to pass with the method invocation. 1023s # * @arg_an_h: Argument to pass with the method invocation. 1023s # * @arg_an_ay: Argument to pass with the method invocation. 1023s # * @arg_an_as: Argument to pass with the method invocation. 1023s # * @arg_an_ao: Argument to pass with the method invocation. 1023s # * @arg_an_aay: Argument to pass with the method invocation. 1023s # * @arg_an_asv: Argument to pass with the method invocation. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 1023s # */ 1023s # void 1023s # org_project_callable_iface_call_same_method_with_many_args ( 1023s # OrgProjectCallableIface *proxy, 1023s # gboolean arg_an_b, 1023s # guchar arg_an_y, 1023s # gint16 arg_an_n, 1023s # guint16 arg_an_q, 1023s # gint arg_an_i, 1023s # guint arg_an_u, 1023s # gint64 arg_an_x, 1023s # guint64 arg_an_t, 1023s # gdouble arg_an_d, 1023s # const gchar *arg_an_s, 1023s # const gchar *arg_an_o, 1023s # const gchar *arg_an_g, 1023s # GVariant *arg_an_h, 1023s # const gchar *arg_an_ay, 1023s # const gchar *const *arg_an_as, 1023s # const gchar *const *arg_an_ao, 1023s # const gchar *const *arg_an_aay, 1023s # GVariant *arg_an_asv, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1023s # "SameMethodWithManyArgs", 1023s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1023s # arg_an_b, 1023s # arg_an_y, 1023s # arg_an_n, 1023s # arg_an_q, 1023s # arg_an_i, 1023s # arg_an_u, 1023s # arg_an_x, 1023s # arg_an_t, 1023s # arg_an_d, 1023s # arg_an_s, 1023s # arg_an_o, 1023s # arg_an_g, 1023s # arg_an_h, 1023s # arg_an_ay, 1023s # arg_an_as, 1023s # arg_an_ao, 1023s # arg_an_aay, 1023s # arg_an_asv), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # callback, 1023s # user_data); 1023s # } 1023s # 1023s # /** 1023s # * org_project_callable_iface_call_same_method_with_many_args_finish: 1023s # * @proxy: A #OrgProjectCallableIfaceProxy. 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_callable_iface_call_same_method_with_many_args_finish ( 1023s # OrgProjectCallableIface *proxy, 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "()"); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_callable_iface_call_same_method_with_many_args_sync: 1023s # * @proxy: A #OrgProjectCallableIfaceProxy. 1023s # * @arg_an_b: Argument to pass with the method invocation. 1023s # * @arg_an_y: Argument to pass with the method invocation. 1023s # * @arg_an_n: Argument to pass with the method invocation. 1023s # * @arg_an_q: Argument to pass with the method invocation. 1023s # * @arg_an_i: Argument to pass with the method invocation. 1023s # * @arg_an_u: Argument to pass with the method invocation. 1023s # * @arg_an_x: Argument to pass with the method invocation. 1023s # * @arg_an_t: Argument to pass with the method invocation. 1023s # * @arg_an_d: Argument to pass with the method invocation. 1023s # * @arg_an_s: Argument to pass with the method invocation. 1023s # * @arg_an_o: Argument to pass with the method invocation. 1023s # * @arg_an_g: Argument to pass with the method invocation. 1023s # * @arg_an_h: Argument to pass with the method invocation. 1023s # * @arg_an_ay: Argument to pass with the method invocation. 1023s # * @arg_an_as: Argument to pass with the method invocation. 1023s # * @arg_an_ao: Argument to pass with the method invocation. 1023s # * @arg_an_aay: Argument to pass with the method invocation. 1023s # * @arg_an_asv: Argument to pass with the method invocation. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_callable_iface_call_same_method_with_many_args_sync ( 1023s # OrgProjectCallableIface *proxy, 1023s # gboolean arg_an_b, 1023s # guchar arg_an_y, 1023s # gint16 arg_an_n, 1023s # guint16 arg_an_q, 1023s # gint arg_an_i, 1023s # guint arg_an_u, 1023s # gint64 arg_an_x, 1023s # guint64 arg_an_t, 1023s # gdouble arg_an_d, 1023s # const gchar *arg_an_s, 1023s # const gchar *arg_an_o, 1023s # const gchar *arg_an_g, 1023s # GVariant *arg_an_h, 1023s # const gchar *arg_an_ay, 1023s # const gchar *const *arg_an_as, 1023s # const gchar *const *arg_an_ao, 1023s # const gchar *const *arg_an_aay, 1023s # GVariant *arg_an_asv, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1023s # "SameMethodWithManyArgs", 1023s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1023s # arg_an_b, 1023s # arg_an_y, 1023s # arg_an_n, 1023s # arg_an_q, 1023s # arg_an_i, 1023s # arg_an_u, 1023s # arg_an_x, 1023s # arg_an_t, 1023s # arg_an_d, 1023s # arg_an_s, 1023s # arg_an_o, 1023s # arg_an_g, 1023s # arg_an_h, 1023s # arg_an_ay, 1023s # arg_an_as, 1023s # arg_an_ao, 1023s # arg_an_aay, 1023s # arg_an_asv), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "()"); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_callable_iface_complete_method_with_many_args: 1023s # * @object: A #OrgProjectCallableIface. 1023s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1023s # * 1023s # * 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. 1023s # * 1023s # * This method will free @invocation, you cannot use it afterwards. 1023s # */ 1023s # void 1023s # org_project_callable_iface_complete_method_with_many_args ( 1023s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1023s # GDBusMethodInvocation *invocation) 1023s # { 1023s # g_dbus_method_invocation_return_value (invocation, 1023s # g_variant_new ("()")); 1023s # } 1023s # 1023s # /** 1023s # * org_project_callable_iface_complete_same_method_with_many_args: 1023s # * @object: A #OrgProjectCallableIface. 1023s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1023s # * 1023s # * 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. 1023s # * 1023s # * This method will free @invocation, you cannot use it afterwards. 1023s # */ 1023s # void 1023s # org_project_callable_iface_complete_same_method_with_many_args ( 1023s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1023s # GDBusMethodInvocation *invocation) 1023s # { 1023s # g_dbus_method_invocation_return_value (invocation, 1023s # g_variant_new ("()")); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectCallableIfaceProxy: 1023s # * 1023s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectCallableIfaceProxyClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectCallableIfaceProxy. 1023s # */ 1023s # 1023s # struct _OrgProjectCallableIfaceProxyPrivate 1023s # { 1023s # GData *qdata; 1023s # }; 1023s # 1023s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_callable_iface_proxy_finalize (GObject *object) 1023s # { 1023s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1023s # g_datalist_clear (&proxy->priv->qdata); 1023s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # const GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1023s # const gchar *sender_name G_GNUC_UNUSED, 1023s # const gchar *signal_name, 1023s # GVariant *parameters) 1023s # { 1023s # _ExtendedGDBusSignalInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # gsize n; 1023s # guint signal_id; 1023s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1023s # if (info == NULL) 1023s # return; 1023s # num_params = g_variant_n_children (parameters); 1023s # paramv = g_new0 (GValue, num_params + 1); 1023s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1023s # g_value_set_object (¶mv[0], proxy); 1023s # g_variant_iter_init (&iter, parameters); 1023s # n = 1; 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1023s # g_signal_emitv (paramv, signal_id, 0, NULL); 1023s # for (n = 0; n < num_params + 1; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static void 1023s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1023s # GVariant *changed_properties, 1023s # const gchar *const *invalidated_properties) 1023s # { 1023s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1023s # guint n; 1023s # const gchar *key; 1023s # GVariantIter *iter; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # g_variant_get (changed_properties, "a{sv}", &iter); 1023s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1023s # g_datalist_remove_data (&proxy->priv->qdata, key); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # g_variant_iter_free (iter); 1023s # for (n = 0; invalidated_properties[n] != NULL; n++) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1023s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # } 1023s # 1023s # static void 1023s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1023s # #else 1023s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1023s # #endif 1023s # 1023s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1023s # } 1023s # 1023s # static void 1023s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusProxyClass *proxy_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1023s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1023s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1023s # 1023s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1023s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1023s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_callable_iface_proxy_new: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_callable_iface_proxy_new ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_callable_iface_proxy_new_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectCallableIface * 1023s # org_project_callable_iface_proxy_new_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_callable_iface_proxy_new_sync: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectCallableIface * 1023s # org_project_callable_iface_proxy_new_sync ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /** 1023s # * org_project_callable_iface_proxy_new_for_bus: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_callable_iface_proxy_new_for_bus ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_callable_iface_proxy_new_for_bus_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectCallableIface * 1023s # org_project_callable_iface_proxy_new_for_bus_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_callable_iface_proxy_new_for_bus_sync: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectCallableIface * 1023s # org_project_callable_iface_proxy_new_for_bus_sync ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectCallableIfaceSkeleton: 1023s # * 1023s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectCallableIfaceSkeletonClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1023s # */ 1023s # 1023s # struct _OrgProjectCallableIfaceSkeletonPrivate 1023s # { 1023s # GValue *properties; 1023s # GList *changed_properties; 1023s # GSource *changed_properties_idle_source; 1023s # GMainContext *context; 1023s # GMutex lock; 1023s # }; 1023s # 1023s # static void 1023s # _org_project_callable_iface_skeleton_handle_method_call ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name, 1023s # const gchar *method_name, 1023s # GVariant *parameters, 1023s # GDBusMethodInvocation *invocation, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1023s # _ExtendedGDBusMethodInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # guint num_extra; 1023s # gsize n; 1023s # guint signal_id; 1023s # GValue return_value = G_VALUE_INIT; 1023s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1023s # g_assert (info != NULL); 1023s # num_params = g_variant_n_children (parameters); 1023s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1023s # n = 0; 1023s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1023s # g_value_set_object (¶mv[n++], skeleton); 1023s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1023s # g_value_set_object (¶mv[n++], invocation); 1023s # if (info->pass_fdlist) 1023s # { 1023s # #ifdef G_OS_UNIX 1023s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1023s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1023s # #else 1023s # g_assert_not_reached (); 1023s # #endif 1023s # } 1023s # g_variant_iter_init (&iter, parameters); 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1023s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1023s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1023s # if (!g_value_get_boolean (&return_value)) 1023s # 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); 1023s # g_value_unset (&return_value); 1023s # for (n = 0; n < num_params + num_extra; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static GVariant * 1023s # _org_project_callable_iface_skeleton_handle_get_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # GVariant *ret; 1023s # ret = NULL; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # g_value_init (&value, pspec->value_type); 1023s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1023s # g_value_unset (&value); 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _org_project_callable_iface_skeleton_handle_set_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GVariant *variant, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # gboolean ret; 1023s # ret = FALSE; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # if (info->use_gvariant) 1023s # g_value_set_variant (&value, variant); 1023s # else 1023s # g_dbus_gvariant_to_gvalue (variant, &value); 1023s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # g_value_unset (&value); 1023s # ret = TRUE; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1023s # { 1023s # _org_project_callable_iface_skeleton_handle_method_call, 1023s # _org_project_callable_iface_skeleton_handle_get_property, 1023s # _org_project_callable_iface_skeleton_handle_set_property, 1023s # {NULL} 1023s # }; 1023s # 1023s # static GDBusInterfaceInfo * 1023s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return org_project_callable_iface_interface_info (); 1023s # } 1023s # 1023s # static GDBusInterfaceVTable * 1023s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1023s # } 1023s # 1023s # static GVariant * 1023s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1023s # { 1023s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1023s # 1023s # GVariantBuilder builder; 1023s # guint n; 1023s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1023s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1023s # goto out; 1023s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1023s # { 1023s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1023s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1023s # { 1023s # GVariant *value; 1023s # 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); 1023s # if (value != NULL) 1023s # { 1023s # g_variant_take_ref (value); 1023s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1023s # g_variant_unref (value); 1023s # } 1023s # } 1023s # } 1023s # out: 1023s # return g_variant_builder_end (&builder); 1023s # } 1023s # 1023s # static void 1023s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_callable_iface_skeleton_finalize (GObject *object) 1023s # { 1023s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1023s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1023s # if (skeleton->priv->changed_properties_idle_source != NULL) 1023s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1023s # g_main_context_unref (skeleton->priv->context); 1023s # g_mutex_clear (&skeleton->priv->lock); 1023s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1023s # #else 1023s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1023s # #endif 1023s # 1023s # g_mutex_init (&skeleton->priv->lock); 1023s # skeleton->priv->context = g_main_context_ref_thread_default (); 1023s # } 1023s # 1023s # static void 1023s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusInterfaceSkeletonClass *skeleton_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1023s # 1023s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1023s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1023s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1023s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1023s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_callable_iface_skeleton_new: 1023s # * 1023s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1023s # */ 1023s # OrgProjectCallableIface * 1023s # org_project_callable_iface_skeleton_new (void) 1023s # { 1023s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ 1023s # * Code for interface org.project.OtherCallableIface 1023s # * ------------------------------------------------------------------------ 1023s # */ 1023s # 1023s # /** 1023s # * SECTION:OrgProjectOtherCallableIface 1023s # * @title: OrgProjectOtherCallableIface 1023s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1023s # * 1023s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1023s # */ 1023s # 1023s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_b", 1023s # (gchar *) "b", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_y", 1023s # (gchar *) "y", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_n", 1023s # (gchar *) "n", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_q", 1023s # (gchar *) "q", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_i", 1023s # (gchar *) "i", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_u", 1023s # (gchar *) "u", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_x", 1023s # (gchar *) "x", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_t", 1023s # (gchar *) "t", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_d", 1023s # (gchar *) "d", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_s", 1023s # (gchar *) "s", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_o", 1023s # (gchar *) "o", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_g", 1023s # (gchar *) "g", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_h", 1023s # (gchar *) "h", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_ay", 1023s # (gchar *) "ay", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_as", 1023s # (gchar *) "as", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_ao", 1023s # (gchar *) "ao", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_aay", 1023s # (gchar *) "aay", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_asv", 1023s # (gchar *) "a{sv}", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1023s # { 1023s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1023s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1023s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1023s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1023s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1023s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1023s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1023s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1023s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1023s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1023s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1023s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1023s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1023s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1023s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1023s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1023s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1023s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "MethodWithManyArgs", 1023s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "handle-method-with-many-args", 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1023s # { 1023s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "org.project.OtherCallableIface", 1023s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1023s # NULL, 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "org-project-other-callable-iface", 1023s # }; 1023s # 1023s # 1023s # /** 1023s # * org_project_other_callable_iface_interface_info: 1023s # * 1023s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1023s # * 1023s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1023s # */ 1023s # GDBusInterfaceInfo * 1023s # org_project_other_callable_iface_interface_info (void) 1023s # { 1023s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1023s # } 1023s # 1023s # /** 1023s # * org_project_other_callable_iface_override_properties: 1023s # * @klass: The class structure for a #GObject derived class. 1023s # * @property_id_begin: The property id to assign to the first overridden property. 1023s # * 1023s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1023s # * The properties are overridden in the order they are defined. 1023s # * 1023s # * Returns: The last property id. 1023s # */ 1023s # guint 1023s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1023s # { 1023s # return property_id_begin - 1; 1023s # } 1023s # 1023s # 1023s # inline static void 1023s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # _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, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # 1023s # /** 1023s # * OrgProjectOtherCallableIface: 1023s # * 1023s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectOtherCallableIfaceIface: 1023s # * @parent_iface: The parent interface. 1023s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 1023s # * 1023s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1023s # */ 1023s # 1023s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1023s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1023s # 1023s # static void 1023s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1023s # { 1023s # /* GObject signals for incoming D-Bus method calls: */ 1023s # /** 1023s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 1023s # * @object: A #OrgProjectOtherCallableIface. 1023s # * @invocation: A #GDBusMethodInvocation. 1023s # * @arg_an_b: Argument passed by remote caller. 1023s # * @arg_an_y: Argument passed by remote caller. 1023s # * @arg_an_n: Argument passed by remote caller. 1023s # * @arg_an_q: Argument passed by remote caller. 1023s # * @arg_an_i: Argument passed by remote caller. 1023s # * @arg_an_u: Argument passed by remote caller. 1023s # * @arg_an_x: Argument passed by remote caller. 1023s # * @arg_an_t: Argument passed by remote caller. 1023s # * @arg_an_d: Argument passed by remote caller. 1023s # * @arg_an_s: Argument passed by remote caller. 1023s # * @arg_an_o: Argument passed by remote caller. 1023s # * @arg_an_g: Argument passed by remote caller. 1023s # * @arg_an_h: Argument passed by remote caller. 1023s # * @arg_an_ay: Argument passed by remote caller. 1023s # * @arg_an_as: Argument passed by remote caller. 1023s # * @arg_an_ao: Argument passed by remote caller. 1023s # * @arg_an_aay: Argument passed by remote caller. 1023s # * @arg_an_asv: Argument passed by remote caller. 1023s # * 1023s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1023s # * 1023s # * 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. 1023s # * 1023s # * 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. 1023s # */ 1023s # g_signal_new ("handle-method-with-many-args", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 1023s # g_signal_accumulator_true_handled, 1023s # NULL, 1023s # org_project_other_callable_iface_method_marshal_method_with_many_args, 1023s # G_TYPE_BOOLEAN, 1023s # 19, 1023s # 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); 1023s # 1023s # } 1023s # 1023s # /** 1023s # * org_project_other_callable_iface_call_method_with_many_args: 1023s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1023s # * @arg_an_b: Argument to pass with the method invocation. 1023s # * @arg_an_y: Argument to pass with the method invocation. 1023s # * @arg_an_n: Argument to pass with the method invocation. 1023s # * @arg_an_q: Argument to pass with the method invocation. 1023s # * @arg_an_i: Argument to pass with the method invocation. 1023s # * @arg_an_u: Argument to pass with the method invocation. 1023s # * @arg_an_x: Argument to pass with the method invocation. 1023s # * @arg_an_t: Argument to pass with the method invocation. 1023s # * @arg_an_d: Argument to pass with the method invocation. 1023s # * @arg_an_s: Argument to pass with the method invocation. 1023s # * @arg_an_o: Argument to pass with the method invocation. 1023s # * @arg_an_g: Argument to pass with the method invocation. 1023s # * @arg_an_h: Argument to pass with the method invocation. 1023s # * @arg_an_ay: Argument to pass with the method invocation. 1023s # * @arg_an_as: Argument to pass with the method invocation. 1023s # * @arg_an_ao: Argument to pass with the method invocation. 1023s # * @arg_an_aay: Argument to pass with the method invocation. 1023s # * @arg_an_asv: Argument to pass with the method invocation. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1023s # */ 1023s # void 1023s # org_project_other_callable_iface_call_method_with_many_args ( 1023s # OrgProjectOtherCallableIface *proxy, 1023s # gboolean arg_an_b, 1023s # guchar arg_an_y, 1023s # gint16 arg_an_n, 1023s # guint16 arg_an_q, 1023s # gint arg_an_i, 1023s # guint arg_an_u, 1023s # gint64 arg_an_x, 1023s # guint64 arg_an_t, 1023s # gdouble arg_an_d, 1023s # const gchar *arg_an_s, 1023s # const gchar *arg_an_o, 1023s # const gchar *arg_an_g, 1023s # GVariant *arg_an_h, 1023s # const gchar *arg_an_ay, 1023s # const gchar *const *arg_an_as, 1023s # const gchar *const *arg_an_ao, 1023s # const gchar *const *arg_an_aay, 1023s # GVariant *arg_an_asv, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1023s # "MethodWithManyArgs", 1023s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1023s # arg_an_b, 1023s # arg_an_y, 1023s # arg_an_n, 1023s # arg_an_q, 1023s # arg_an_i, 1023s # arg_an_u, 1023s # arg_an_x, 1023s # arg_an_t, 1023s # arg_an_d, 1023s # arg_an_s, 1023s # arg_an_o, 1023s # arg_an_g, 1023s # arg_an_h, 1023s # arg_an_ay, 1023s # arg_an_as, 1023s # arg_an_ao, 1023s # arg_an_aay, 1023s # arg_an_asv), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # callback, 1023s # user_data); 1023s # } 1023s # 1023s # /** 1023s # * org_project_other_callable_iface_call_method_with_many_args_finish: 1023s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_other_callable_iface_call_method_with_many_args_finish ( 1023s # OrgProjectOtherCallableIface *proxy, 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "()"); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_other_callable_iface_call_method_with_many_args_sync: 1023s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1023s # * @arg_an_b: Argument to pass with the method invocation. 1023s # * @arg_an_y: Argument to pass with the method invocation. 1023s # * @arg_an_n: Argument to pass with the method invocation. 1023s # * @arg_an_q: Argument to pass with the method invocation. 1023s # * @arg_an_i: Argument to pass with the method invocation. 1023s # * @arg_an_u: Argument to pass with the method invocation. 1023s # * @arg_an_x: Argument to pass with the method invocation. 1023s # * @arg_an_t: Argument to pass with the method invocation. 1023s # * @arg_an_d: Argument to pass with the method invocation. 1023s # * @arg_an_s: Argument to pass with the method invocation. 1023s # * @arg_an_o: Argument to pass with the method invocation. 1023s # * @arg_an_g: Argument to pass with the method invocation. 1023s # * @arg_an_h: Argument to pass with the method invocation. 1023s # * @arg_an_ay: Argument to pass with the method invocation. 1023s # * @arg_an_as: Argument to pass with the method invocation. 1023s # * @arg_an_ao: Argument to pass with the method invocation. 1023s # * @arg_an_aay: Argument to pass with the method invocation. 1023s # * @arg_an_asv: Argument to pass with the method invocation. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_other_callable_iface_call_method_with_many_args_sync ( 1023s # OrgProjectOtherCallableIface *proxy, 1023s # gboolean arg_an_b, 1023s # guchar arg_an_y, 1023s # gint16 arg_an_n, 1023s # guint16 arg_an_q, 1023s # gint arg_an_i, 1023s # guint arg_an_u, 1023s # gint64 arg_an_x, 1023s # guint64 arg_an_t, 1023s # gdouble arg_an_d, 1023s # const gchar *arg_an_s, 1023s # const gchar *arg_an_o, 1023s # const gchar *arg_an_g, 1023s # GVariant *arg_an_h, 1023s # const gchar *arg_an_ay, 1023s # const gchar *const *arg_an_as, 1023s # const gchar *const *arg_an_ao, 1023s # const gchar *const *arg_an_aay, 1023s # GVariant *arg_an_asv, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1023s # "MethodWithManyArgs", 1023s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1023s # arg_an_b, 1023s # arg_an_y, 1023s # arg_an_n, 1023s # arg_an_q, 1023s # arg_an_i, 1023s # arg_an_u, 1023s # arg_an_x, 1023s # arg_an_t, 1023s # arg_an_d, 1023s # arg_an_s, 1023s # arg_an_o, 1023s # arg_an_g, 1023s # arg_an_h, 1023s # arg_an_ay, 1023s # arg_an_as, 1023s # arg_an_ao, 1023s # arg_an_aay, 1023s # arg_an_asv), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "()"); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_other_callable_iface_complete_method_with_many_args: 1023s # * @object: A #OrgProjectOtherCallableIface. 1023s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1023s # * 1023s # * 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. 1023s # * 1023s # * This method will free @invocation, you cannot use it afterwards. 1023s # */ 1023s # void 1023s # org_project_other_callable_iface_complete_method_with_many_args ( 1023s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1023s # GDBusMethodInvocation *invocation) 1023s # { 1023s # g_dbus_method_invocation_return_value (invocation, 1023s # g_variant_new ("()")); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectOtherCallableIfaceProxy: 1023s # * 1023s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectOtherCallableIfaceProxyClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1023s # */ 1023s # 1023s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1023s # { 1023s # GData *qdata; 1023s # }; 1023s # 1023s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1023s # { 1023s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1023s # g_datalist_clear (&proxy->priv->qdata); 1023s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # const GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1023s # const gchar *sender_name G_GNUC_UNUSED, 1023s # const gchar *signal_name, 1023s # GVariant *parameters) 1023s # { 1023s # _ExtendedGDBusSignalInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # gsize n; 1023s # guint signal_id; 1023s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1023s # if (info == NULL) 1023s # return; 1023s # num_params = g_variant_n_children (parameters); 1023s # paramv = g_new0 (GValue, num_params + 1); 1023s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1023s # g_value_set_object (¶mv[0], proxy); 1023s # g_variant_iter_init (&iter, parameters); 1023s # n = 1; 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1023s # g_signal_emitv (paramv, signal_id, 0, NULL); 1023s # for (n = 0; n < num_params + 1; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static void 1023s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1023s # GVariant *changed_properties, 1023s # const gchar *const *invalidated_properties) 1023s # { 1023s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1023s # guint n; 1023s # const gchar *key; 1023s # GVariantIter *iter; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # g_variant_get (changed_properties, "a{sv}", &iter); 1023s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1023s # g_datalist_remove_data (&proxy->priv->qdata, key); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # g_variant_iter_free (iter); 1023s # for (n = 0; invalidated_properties[n] != NULL; n++) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1023s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # } 1023s # 1023s # static void 1023s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1023s # #else 1023s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1023s # #endif 1023s # 1023s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1023s # } 1023s # 1023s # static void 1023s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusProxyClass *proxy_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1023s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1023s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1023s # 1023s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1023s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1023s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_other_callable_iface_proxy_new: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_other_callable_iface_proxy_new ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_other_callable_iface_proxy_new_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectOtherCallableIface * 1023s # org_project_other_callable_iface_proxy_new_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_other_callable_iface_proxy_new_sync: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectOtherCallableIface * 1023s # org_project_other_callable_iface_proxy_new_sync ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /** 1023s # * org_project_other_callable_iface_proxy_new_for_bus: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_other_callable_iface_proxy_new_for_bus ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectOtherCallableIface * 1023s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectOtherCallableIface * 1023s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectOtherCallableIfaceSkeleton: 1023s # * 1023s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectOtherCallableIfaceSkeletonClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1023s # */ 1023s # 1023s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1023s # { 1023s # GValue *properties; 1023s # GList *changed_properties; 1023s # GSource *changed_properties_idle_source; 1023s # GMainContext *context; 1023s # GMutex lock; 1023s # }; 1023s # 1023s # static void 1023s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name, 1023s # const gchar *method_name, 1023s # GVariant *parameters, 1023s # GDBusMethodInvocation *invocation, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1023s # _ExtendedGDBusMethodInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # guint num_extra; 1023s # gsize n; 1023s # guint signal_id; 1023s # GValue return_value = G_VALUE_INIT; 1023s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1023s # g_assert (info != NULL); 1023s # num_params = g_variant_n_children (parameters); 1023s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1023s # n = 0; 1023s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1023s # g_value_set_object (¶mv[n++], skeleton); 1023s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1023s # g_value_set_object (¶mv[n++], invocation); 1023s # if (info->pass_fdlist) 1023s # { 1023s # #ifdef G_OS_UNIX 1023s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1023s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1023s # #else 1023s # g_assert_not_reached (); 1023s # #endif 1023s # } 1023s # g_variant_iter_init (&iter, parameters); 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1023s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1023s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1023s # if (!g_value_get_boolean (&return_value)) 1023s # 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); 1023s # g_value_unset (&return_value); 1023s # for (n = 0; n < num_params + num_extra; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static GVariant * 1023s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # GVariant *ret; 1023s # ret = NULL; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # g_value_init (&value, pspec->value_type); 1023s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1023s # g_value_unset (&value); 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GVariant *variant, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # gboolean ret; 1023s # ret = FALSE; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # if (info->use_gvariant) 1023s # g_value_set_variant (&value, variant); 1023s # else 1023s # g_dbus_gvariant_to_gvalue (variant, &value); 1023s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # g_value_unset (&value); 1023s # ret = TRUE; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1023s # { 1023s # _org_project_other_callable_iface_skeleton_handle_method_call, 1023s # _org_project_other_callable_iface_skeleton_handle_get_property, 1023s # _org_project_other_callable_iface_skeleton_handle_set_property, 1023s # {NULL} 1023s # }; 1023s # 1023s # static GDBusInterfaceInfo * 1023s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return org_project_other_callable_iface_interface_info (); 1023s # } 1023s # 1023s # static GDBusInterfaceVTable * 1023s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1023s # } 1023s # 1023s # static GVariant * 1023s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1023s # { 1023s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1023s # 1023s # GVariantBuilder builder; 1023s # guint n; 1023s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1023s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1023s # goto out; 1023s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1023s # { 1023s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1023s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1023s # { 1023s # GVariant *value; 1023s # 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); 1023s # if (value != NULL) 1023s # { 1023s # g_variant_take_ref (value); 1023s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1023s # g_variant_unref (value); 1023s # } 1023s # } 1023s # } 1023s # out: 1023s # return g_variant_builder_end (&builder); 1023s # } 1023s # 1023s # static void 1023s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1023s # { 1023s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1023s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1023s # if (skeleton->priv->changed_properties_idle_source != NULL) 1023s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1023s # g_main_context_unref (skeleton->priv->context); 1023s # g_mutex_clear (&skeleton->priv->lock); 1023s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1023s # #else 1023s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1023s # #endif 1023s # 1023s # g_mutex_init (&skeleton->priv->lock); 1023s # skeleton->priv->context = g_main_context_ref_thread_default (); 1023s # } 1023s # 1023s # static void 1023s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusInterfaceSkeletonClass *skeleton_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1023s # 1023s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1023s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1023s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1023s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1023s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_other_callable_iface_skeleton_new: 1023s # * 1023s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1023s # */ 1023s # OrgProjectOtherCallableIface * 1023s # org_project_other_callable_iface_skeleton_new (void) 1023s # { 1023s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1023s # } 1023s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 1023s # tmpdir: /tmp/tmpxnignn2m 1023s # codegen: /usr/bin/gdbus-codegen 1023s # /tmp/tmpxnignn2m/tmpooi2ngal.xml: 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxnignn2m/tmpooi2ngal.xml', '--output', '-', '--body'] 1023s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1023s # Output: /* 1023s # * This file is generated by gdbus-codegen, do not modify it. 1023s # * 1023s # * The license of this code is the same as for the D-Bus interface description 1023s # * it was derived from. Note that it links to GLib, so must comply with the 1023s # * LGPL linking clauses. 1023s # */ 1023s # 1023s # #ifdef HAVE_CONFIG_H 1023s # # include "config.h" 1023s # #endif 1023s # 1023s # #include 1023s # #ifdef G_OS_UNIX 1023s # # include 1023s # #endif 1023s # 1023s # #ifdef G_ENABLE_DEBUG 1023s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1023s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1023s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1023s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1023s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1023s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1023s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1023s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1023s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1023s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1023s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1023s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1023s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1023s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1023s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1023s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1023s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1023s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1023s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1023s # #else /* !G_ENABLE_DEBUG */ 1023s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1023s # * Do not access GValues directly in your code. Instead, use the 1023s # * g_value_get_*() functions 1023s # */ 1023s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1023s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1023s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1023s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1023s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1023s # #endif /* !G_ENABLE_DEBUG */ 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusArgInfo parent_struct; 1023s # gboolean use_gvariant; 1023s # } _ExtendedGDBusArgInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusMethodInfo parent_struct; 1023s # const gchar *signal_name; 1023s # gboolean pass_fdlist; 1023s # } _ExtendedGDBusMethodInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusSignalInfo parent_struct; 1023s # const gchar *signal_name; 1023s # } _ExtendedGDBusSignalInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusPropertyInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # guint use_gvariant : 1; 1023s # guint emits_changed_signal : 1; 1023s # } _ExtendedGDBusPropertyInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusInterfaceInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # } _ExtendedGDBusInterfaceInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # const _ExtendedGDBusPropertyInfo *info; 1023s # guint prop_id; 1023s # GValue orig_value; /* the value before the change */ 1023s # } ChangedProperty; 1023s # 1023s # static void 1023s # _changed_property_free (ChangedProperty *data) 1023s # { 1023s # g_value_unset (&data->orig_value); 1023s # g_free (data); 1023s # } 1023s # 1023s # static gboolean 1023s # _g_strv_equal0 (gchar **a, gchar **b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # guint n; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # if (g_strv_length (a) != g_strv_length (b)) 1023s # goto out; 1023s # for (n = 0; a[n] != NULL; n++) 1023s # if (g_strcmp0 (a[n], b[n]) != 0) 1023s # goto out; 1023s # ret = TRUE; 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _g_variant_equal0 (GVariant *a, GVariant *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # ret = g_variant_equal (a, b); 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # G_GNUC_UNUSED static gboolean 1023s # _g_value_equal (const GValue *a, const GValue *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1023s # switch (G_VALUE_TYPE (a)) 1023s # { 1023s # case G_TYPE_BOOLEAN: 1023s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1023s # break; 1023s # case G_TYPE_UCHAR: 1023s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1023s # break; 1023s # case G_TYPE_INT: 1023s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1023s # break; 1023s # case G_TYPE_UINT: 1023s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1023s # break; 1023s # case G_TYPE_INT64: 1023s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1023s # break; 1023s # case G_TYPE_UINT64: 1023s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1023s # break; 1023s # case G_TYPE_DOUBLE: 1023s # { 1023s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1023s # gdouble da = g_value_get_double (a); 1023s # gdouble db = g_value_get_double (b); 1023s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1023s # } 1023s # break; 1023s # case G_TYPE_STRING: 1023s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1023s # break; 1023s # case G_TYPE_VARIANT: 1023s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1023s # break; 1023s # default: 1023s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1023s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1023s # else 1023s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1023s # break; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static void 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint G_GNUC_UNUSED, 1023s # void *marshal_data) 1023s # { 1023s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (void *data1, 1023s # GDBusMethodInvocation *arg_method_invocation, 1023s # void *data2); 1023s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1023s # GCClosure *cc = (GCClosure*) closure; 1023s # void *data1, *data2; 1023s # gboolean v_return; 1023s # 1023s # g_return_if_fail (return_value != NULL); 1023s # g_return_if_fail (n_param_values == 2); 1023s # 1023s # if (G_CCLOSURE_SWAP_DATA (closure)) 1023s # { 1023s # data1 = closure->data; 1023s # data2 = g_value_peek_pointer (param_values + 0); 1023s # } 1023s # else 1023s # { 1023s # data1 = g_value_peek_pointer (param_values + 0); 1023s # data2 = closure->data; 1023s # } 1023s # 1023s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1023s # (marshal_data ? marshal_data : cc->callback); 1023s # 1023s # v_return = 1023s # callback (data1, 1023s # g_marshal_value_peek_object (param_values + 1), 1023s # data2); 1023s # 1023s # g_value_set_boolean (return_value, v_return); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ 1023s # * Code for interface org.project.CallableIface 1023s # * ------------------------------------------------------------------------ 1023s # */ 1023s # 1023s # /** 1023s # * SECTION:OrgProjectCallableIface 1023s # * @title: OrgProjectCallableIface 1023s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1023s # * 1023s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1023s # */ 1023s # 1023s # /* ---- Introspection data for org.project.CallableIface ---- */ 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_b", 1023s # (gchar *) "b", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_y", 1023s # (gchar *) "y", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_n", 1023s # (gchar *) "n", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_q", 1023s # (gchar *) "q", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_i", 1023s # (gchar *) "i", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_u", 1023s # (gchar *) "u", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_x", 1023s # (gchar *) "x", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_t", 1023s # (gchar *) "t", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_d", 1023s # (gchar *) "d", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_s", 1023s # (gchar *) "s", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_o", 1023s # (gchar *) "o", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_g", 1023s # (gchar *) "g", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_h", 1023s # (gchar *) "h", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_ay", 1023s # (gchar *) "ay", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_as", 1023s # (gchar *) "as", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_ao", 1023s # (gchar *) "ao", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_aay", 1023s # (gchar *) "aay", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_asv", 1023s # (gchar *) "a{sv}", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 1023s # { 1023s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 1023s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "MethodWithManyArgs", 1023s # NULL, 1023s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "handle-method-with-many-args", 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1023s # { 1023s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "org.project.CallableIface", 1023s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1023s # NULL, 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "org-project-callable-iface", 1023s # }; 1023s # 1023s # 1023s # /** 1023s # * org_project_callable_iface_interface_info: 1023s # * 1023s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1023s # * 1023s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1023s # */ 1023s # GDBusInterfaceInfo * 1023s # org_project_callable_iface_interface_info (void) 1023s # { 1023s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1023s # } 1023s # 1023s # /** 1023s # * org_project_callable_iface_override_properties: 1023s # * @klass: The class structure for a #GObject derived class. 1023s # * @property_id_begin: The property id to assign to the first overridden property. 1023s # * 1023s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1023s # * The properties are overridden in the order they are defined. 1023s # * 1023s # * Returns: The last property id. 1023s # */ 1023s # guint 1023s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1023s # { 1023s # return property_id_begin - 1; 1023s # } 1023s # 1023s # 1023s # inline static void 1023s # org_project_callable_iface_method_marshal_method_with_many_args ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # 1023s # /** 1023s # * OrgProjectCallableIface: 1023s # * 1023s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectCallableIfaceIface: 1023s # * @parent_iface: The parent interface. 1023s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1023s # * 1023s # * Virtual table for the D-Bus interface org.project.CallableIface. 1023s # */ 1023s # 1023s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1023s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1023s # 1023s # static void 1023s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1023s # { 1023s # /* GObject signals for incoming D-Bus method calls: */ 1023s # /** 1023s # * OrgProjectCallableIface::handle-method-with-many-args: 1023s # * @object: A #OrgProjectCallableIface. 1023s # * @invocation: A #GDBusMethodInvocation. 1023s # * 1023s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1023s # * 1023s # * 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. 1023s # * 1023s # * 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. 1023s # */ 1023s # g_signal_new ("handle-method-with-many-args", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1023s # g_signal_accumulator_true_handled, 1023s # NULL, 1023s # org_project_callable_iface_method_marshal_method_with_many_args, 1023s # G_TYPE_BOOLEAN, 1023s # 1, 1023s # G_TYPE_DBUS_METHOD_INVOCATION); 1023s # 1023s # } 1023s # 1023s # /** 1023s # * org_project_callable_iface_call_method_with_many_args: 1023s # * @proxy: A #OrgProjectCallableIfaceProxy. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1023s # */ 1023s # void 1023s # org_project_callable_iface_call_method_with_many_args ( 1023s # OrgProjectCallableIface *proxy, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1023s # "MethodWithManyArgs", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # callback, 1023s # user_data); 1023s # } 1023s # 1023s # /** 1023s # * org_project_callable_iface_call_method_with_many_args_finish: 1023s # * @proxy: A #OrgProjectCallableIfaceProxy. 1023s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_callable_iface_call_method_with_many_args_finish ( 1023s # OrgProjectCallableIface *proxy, 1023s # gboolean *out_an_b, 1023s # guchar *out_an_y, 1023s # gint16 *out_an_n, 1023s # guint16 *out_an_q, 1023s # gint *out_an_i, 1023s # guint *out_an_u, 1023s # gint64 *out_an_x, 1023s # guint64 *out_an_t, 1023s # gdouble *out_an_d, 1023s # gchar **out_an_s, 1023s # gchar **out_an_o, 1023s # gchar **out_an_g, 1023s # GVariant **out_an_h, 1023s # gchar **out_an_ay, 1023s # gchar ***out_an_as, 1023s # gchar ***out_an_ao, 1023s # gchar ***out_an_aay, 1023s # GVariant **out_an_asv, 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1023s # out_an_b, 1023s # out_an_y, 1023s # out_an_n, 1023s # out_an_q, 1023s # out_an_i, 1023s # out_an_u, 1023s # out_an_x, 1023s # out_an_t, 1023s # out_an_d, 1023s # out_an_s, 1023s # out_an_o, 1023s # out_an_g, 1023s # out_an_h, 1023s # out_an_ay, 1023s # out_an_as, 1023s # out_an_ao, 1023s # out_an_aay, 1023s # out_an_asv); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_callable_iface_call_method_with_many_args_sync: 1023s # * @proxy: A #OrgProjectCallableIfaceProxy. 1023s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1023s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # org_project_callable_iface_call_method_with_many_args_sync ( 1023s # OrgProjectCallableIface *proxy, 1023s # gboolean *out_an_b, 1023s # guchar *out_an_y, 1023s # gint16 *out_an_n, 1023s # guint16 *out_an_q, 1023s # gint *out_an_i, 1023s # guint *out_an_u, 1023s # gint64 *out_an_x, 1023s # guint64 *out_an_t, 1023s # gdouble *out_an_d, 1023s # gchar **out_an_s, 1023s # gchar **out_an_o, 1023s # gchar **out_an_g, 1023s # GVariant **out_an_h, 1023s # gchar **out_an_ay, 1023s # gchar ***out_an_as, 1023s # gchar ***out_an_ao, 1023s # gchar ***out_an_aay, 1023s # GVariant **out_an_asv, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1023s # "MethodWithManyArgs", 1023s # g_variant_new ("()"), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # cancellable, 1023s # error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1023s # out_an_b, 1023s # out_an_y, 1023s # out_an_n, 1023s # out_an_q, 1023s # out_an_i, 1023s # out_an_u, 1023s # out_an_x, 1023s # out_an_t, 1023s # out_an_d, 1023s # out_an_s, 1023s # out_an_o, 1023s # out_an_g, 1023s # out_an_h, 1023s # out_an_ay, 1023s # out_an_as, 1023s # out_an_ao, 1023s # out_an_aay, 1023s # out_an_asv); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_callable_iface_complete_method_with_many_args: 1023s # * @object: A #OrgProjectCallableIface. 1023s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1023s # * @an_b: Parameter to return. 1023s # * @an_y: Parameter to return. 1023s # * @an_n: Parameter to return. 1023s # * @an_q: Parameter to return. 1023s # * @an_i: Parameter to return. 1023s # * @an_u: Parameter to return. 1023s # * @an_x: Parameter to return. 1023s # * @an_t: Parameter to return. 1023s # * @an_d: Parameter to return. 1023s # * @an_s: Parameter to return. 1023s # * @an_o: Parameter to return. 1023s # * @an_g: Parameter to return. 1023s # * @an_h: Parameter to return. 1023s # * @an_ay: Parameter to return. 1023s # * @an_as: Parameter to return. 1023s # * @an_ao: Parameter to return. 1023s # * @an_aay: Parameter to return. 1023s # * @an_asv: Parameter to return. 1023s # * 1023s # * 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. 1023s # * 1023s # * This method will free @invocation, you cannot use it afterwards. 1023s # */ 1023s # void 1023s # org_project_callable_iface_complete_method_with_many_args ( 1023s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1023s # GDBusMethodInvocation *invocation, 1023s # gboolean an_b, 1023s # guchar an_y, 1023s # gint16 an_n, 1023s # guint16 an_q, 1023s # gint an_i, 1023s # guint an_u, 1023s # gint64 an_x, 1023s # guint64 an_t, 1023s # gdouble an_d, 1023s # const gchar *an_s, 1023s # const gchar *an_o, 1023s # const gchar *an_g, 1023s # GVariant *an_h, 1023s # const gchar *an_ay, 1023s # const gchar *const *an_as, 1023s # const gchar *const *an_ao, 1023s # const gchar *const *an_aay, 1023s # GVariant *an_asv) 1023s # { 1023s # g_dbus_method_invocation_return_value (invocation, 1023s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1023s # an_b, 1023s # an_y, 1023s # an_n, 1023s # an_q, 1023s # an_i, 1023s # an_u, 1023s # an_x, 1023s # an_t, 1023s # an_d, 1023s # an_s, 1023s # an_o, 1023s # an_g, 1023s # an_h, 1023s # an_ay, 1023s # an_as, 1023s # an_ao, 1023s # an_aay, 1023s # an_asv)); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectCallableIfaceProxy: 1023s # * 1023s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectCallableIfaceProxyClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectCallableIfaceProxy. 1023s # */ 1023s # 1023s # struct _OrgProjectCallableIfaceProxyPrivate 1023s # { 1023s # GData *qdata; 1023s # }; 1023s # 1023s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_callable_iface_proxy_finalize (GObject *object) 1023s # { 1023s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1023s # g_datalist_clear (&proxy->priv->qdata); 1023s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # const GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1023s # const gchar *sender_name G_GNUC_UNUSED, 1023s # const gchar *signal_name, 1023s # GVariant *parameters) 1023s # { 1023s # _ExtendedGDBusSignalInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # gsize n; 1023s # guint signal_id; 1023s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1023s # if (info == NULL) 1023s # return; 1023s # num_params = g_variant_n_children (parameters); 1023s # paramv = g_new0 (GValue, num_params + 1); 1023s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1023s # g_value_set_object (¶mv[0], proxy); 1023s # g_variant_iter_init (&iter, parameters); 1023s # n = 1; 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1023s # g_signal_emitv (paramv, signal_id, 0, NULL); 1023s # for (n = 0; n < num_params + 1; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static void 1023s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1023s # GVariant *changed_properties, 1023s # const gchar *const *invalidated_properties) 1023s # { 1023s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1023s # guint n; 1023s # const gchar *key; 1023s # GVariantIter *iter; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # g_variant_get (changed_properties, "a{sv}", &iter); 1023s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1023s # g_datalist_remove_data (&proxy->priv->qdata, key); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # g_variant_iter_free (iter); 1023s # for (n = 0; invalidated_properties[n] != NULL; n++) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1023s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # } 1023s # 1023s # static void 1023s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1023s # #else 1023s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1023s # #endif 1023s # 1023s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1023s # } 1023s # 1023s # static void 1023s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusProxyClass *proxy_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1023s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1023s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1023s # 1023s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1023s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1023s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_callable_iface_proxy_new: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_callable_iface_proxy_new ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_callable_iface_proxy_new_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectCallableIface * 1023s # org_project_callable_iface_proxy_new_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_callable_iface_proxy_new_sync: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectCallableIface * 1023s # org_project_callable_iface_proxy_new_sync ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /** 1023s # * org_project_callable_iface_proxy_new_for_bus: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_callable_iface_proxy_new_for_bus ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_callable_iface_proxy_new_for_bus_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectCallableIface * 1023s # org_project_callable_iface_proxy_new_for_bus_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_callable_iface_proxy_new_for_bus_sync: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectCallableIface * 1023s # org_project_callable_iface_proxy_new_for_bus_sync ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectCallableIfaceSkeleton: 1023s # * 1023s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectCallableIfaceSkeletonClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1023s # */ 1023s # 1023s # struct _OrgProjectCallableIfaceSkeletonPrivate 1023s # { 1023s # GValue *properties; 1023s # GList *changed_properties; 1023s # GSource *changed_properties_idle_source; 1023s # GMainContext *context; 1023s # GMutex lock; 1023s # }; 1023s # 1023s # static void 1023s # _org_project_callable_iface_skeleton_handle_method_call ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name, 1023s # const gchar *method_name, 1023s # GVariant *parameters, 1023s # GDBusMethodInvocation *invocation, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1023s # _ExtendedGDBusMethodInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # guint num_extra; 1023s # gsize n; 1023s # guint signal_id; 1023s # GValue return_value = G_VALUE_INIT; 1023s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1023s # g_assert (info != NULL); 1023s # num_params = g_variant_n_children (parameters); 1023s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1023s # n = 0; 1023s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1023s # g_value_set_object (¶mv[n++], skeleton); 1023s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1023s # g_value_set_object (¶mv[n++], invocation); 1023s # if (info->pass_fdlist) 1023s # { 1023s # #ifdef G_OS_UNIX 1023s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1023s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1023s # #else 1023s # g_assert_not_reached (); 1023s # #endif 1023s # } 1023s # g_variant_iter_init (&iter, parameters); 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1023s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1023s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1023s # if (!g_value_get_boolean (&return_value)) 1023s # 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); 1023s # g_value_unset (&return_value); 1023s # for (n = 0; n < num_params + num_extra; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static GVariant * 1023s # _org_project_callable_iface_skeleton_handle_get_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # GVariant *ret; 1023s # ret = NULL; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # g_value_init (&value, pspec->value_type); 1023s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1023s # g_value_unset (&value); 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _org_project_callable_iface_skeleton_handle_set_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GVariant *variant, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # gboolean ret; 1023s # ret = FALSE; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # if (info->use_gvariant) 1023s # g_value_set_variant (&value, variant); 1023s # else 1023s # g_dbus_gvariant_to_gvalue (variant, &value); 1023s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # g_value_unset (&value); 1023s # ret = TRUE; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1023s # { 1023s # _org_project_callable_iface_skeleton_handle_method_call, 1023s # _org_project_callable_iface_skeleton_handle_get_property, 1023s # _org_project_callable_iface_skeleton_handle_set_property, 1023s # {NULL} 1023s # }; 1023s # 1023s # static GDBusInterfaceInfo * 1023s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return org_project_callable_iface_interface_info (); 1023s # } 1023s # 1023s # static GDBusInterfaceVTable * 1023s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1023s # } 1023s # 1023s # static GVariant * 1023s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1023s # { 1023s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1023s # 1023s # GVariantBuilder builder; 1023s # guint n; 1023s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1023s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1023s # goto out; 1023s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1023s # { 1023s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1023s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1023s # { 1023s # GVariant *value; 1023s # 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); 1023s # if (value != NULL) 1023s # { 1023s # g_variant_take_ref (value); 1023s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1023s # g_variant_unref (value); 1023s # } 1023s # } 1023s # } 1023s # out: 1023s # return g_variant_builder_end (&builder); 1023s # } 1023s # 1023s # static void 1023s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_callable_iface_skeleton_finalize (GObject *object) 1023s # { 1023s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1023s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1023s # if (skeleton->priv->changed_properties_idle_source != NULL) 1023s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1023s # g_main_context_unref (skeleton->priv->context); 1023s # g_mutex_clear (&skeleton->priv->lock); 1023s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1023s # #else 1023s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1023s # #endif 1023s # 1023s # g_mutex_init (&skeleton->priv->lock); 1023s # skeleton->priv->context = g_main_context_ref_thread_default (); 1023s # } 1023s # 1023s # static void 1023s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusInterfaceSkeletonClass *skeleton_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1023s # 1023s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1023s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1023s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1023s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1023s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_callable_iface_skeleton_new: 1023s # * 1023s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1023s # */ 1023s # OrgProjectCallableIface * 1023s # org_project_callable_iface_skeleton_new (void) 1023s # { 1023s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1023s # } 1023s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 1023s # tmpdir: /tmp/tmp1h4nc7km 1023s # codegen: /usr/bin/gdbus-codegen 1023s # /tmp/tmp1h4nc7km/tmp4rkwr0p4.xml: 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1h4nc7km/tmp4rkwr0p4.xml', '--output', '-', '--body'] 1023s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1023s # Output: /* 1023s # * This file is generated by gdbus-codegen, do not modify it. 1023s # * 1023s # * The license of this code is the same as for the D-Bus interface description 1023s # * it was derived from. Note that it links to GLib, so must comply with the 1023s # * LGPL linking clauses. 1023s # */ 1023s # 1023s # #ifdef HAVE_CONFIG_H 1023s # # include "config.h" 1023s # #endif 1023s # 1023s # #include 1023s # #ifdef G_OS_UNIX 1023s # # include 1023s # #endif 1023s # 1023s # #ifdef G_ENABLE_DEBUG 1023s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1023s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1023s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1023s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1023s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1023s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1023s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1023s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1023s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1023s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1023s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1023s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1023s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1023s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1023s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1023s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1023s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1023s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1023s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1023s # #else /* !G_ENABLE_DEBUG */ 1023s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1023s # * Do not access GValues directly in your code. Instead, use the 1023s # * g_value_get_*() functions 1023s # */ 1023s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1023s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1023s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1023s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1023s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1023s # #endif /* !G_ENABLE_DEBUG */ 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusArgInfo parent_struct; 1023s # gboolean use_gvariant; 1023s # } _ExtendedGDBusArgInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusMethodInfo parent_struct; 1023s # const gchar *signal_name; 1023s # gboolean pass_fdlist; 1023s # } _ExtendedGDBusMethodInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusSignalInfo parent_struct; 1023s # const gchar *signal_name; 1023s # } _ExtendedGDBusSignalInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusPropertyInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # guint use_gvariant : 1; 1023s # guint emits_changed_signal : 1; 1023s # } _ExtendedGDBusPropertyInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusInterfaceInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # } _ExtendedGDBusInterfaceInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # const _ExtendedGDBusPropertyInfo *info; 1023s # guint prop_id; 1023s # GValue orig_value; /* the value before the change */ 1023s # } ChangedProperty; 1023s # 1023s # static void 1023s # _changed_property_free (ChangedProperty *data) 1023s # { 1023s # g_value_unset (&data->orig_value); 1023s # g_free (data); 1023s # } 1023s # 1023s # static gboolean 1023s # _g_strv_equal0 (gchar **a, gchar **b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # guint n; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # if (g_strv_length (a) != g_strv_length (b)) 1023s # goto out; 1023s # for (n = 0; a[n] != NULL; n++) 1023s # if (g_strcmp0 (a[n], b[n]) != 0) 1023s # goto out; 1023s # ret = TRUE; 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _g_variant_equal0 (GVariant *a, GVariant *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # ret = g_variant_equal (a, b); 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # G_GNUC_UNUSED static gboolean 1023s # _g_value_equal (const GValue *a, const GValue *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1023s # switch (G_VALUE_TYPE (a)) 1023s # { 1023s # case G_TYPE_BOOLEAN: 1023s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1023s # break; 1023s # case G_TYPE_UCHAR: 1023s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1023s # break; 1023s # case G_TYPE_INT: 1023s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1023s # break; 1023s # case G_TYPE_UINT: 1023s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1023s # break; 1023s # case G_TYPE_INT64: 1023s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1023s # break; 1023s # case G_TYPE_UINT64: 1023s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1023s # break; 1023s # case G_TYPE_DOUBLE: 1023s # { 1023s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1023s # gdouble da = g_value_get_double (a); 1023s # gdouble db = g_value_get_double (b); 1023s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1023s # } 1023s # break; 1023s # case G_TYPE_STRING: 1023s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1023s # break; 1023s # case G_TYPE_VARIANT: 1023s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1023s # break; 1023s # default: 1023s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1023s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1023s # else 1023s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1023s # break; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static void 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint G_GNUC_UNUSED, 1023s # void *marshal_data) 1023s # { 1023s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1023s # (void *data1, 1023s # GUnixFDList *arg_fd_list, 1023s # GDBusMethodInvocation *arg_method_invocation, 1023s # const gchar *arg_greeting, 1023s # void *data2); 1023s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 1023s # GCClosure *cc = (GCClosure*) closure; 1023s # void *data1, *data2; 1023s # gboolean v_return; 1023s # 1023s # g_return_if_fail (return_value != NULL); 1023s # g_return_if_fail (n_param_values == 4); 1023s # 1023s # if (G_CCLOSURE_SWAP_DATA (closure)) 1023s # { 1023s # data1 = closure->data; 1023s # data2 = g_value_peek_pointer (param_values + 0); 1023s # } 1023s # else 1023s # { 1023s # data1 = g_value_peek_pointer (param_values + 0); 1023s # data2 = closure->data; 1023s # } 1023s # 1023s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1023s # (marshal_data ? marshal_data : cc->callback); 1023s # 1023s # v_return = 1023s # callback (data1, 1023s # g_marshal_value_peek_object (param_values + 1), 1023s # g_marshal_value_peek_object (param_values + 2), 1023s # g_marshal_value_peek_string (param_values + 3), 1023s # data2); 1023s # 1023s # g_value_set_boolean (return_value, v_return); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ 1023s # * Code for interface test.FDPassing 1023s # * ------------------------------------------------------------------------ 1023s # */ 1023s # 1023s # /** 1023s # * SECTION:TestFDPassing 1023s # * @title: TestFDPassing 1023s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 1023s # * 1023s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 1023s # */ 1023s # 1023s # /* ---- Introspection data for test.FDPassing ---- */ 1023s # 1023s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "greeting", 1023s # (gchar *) "s", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 1023s # { 1023s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "response", 1023s # (gchar *) "s", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 1023s # { 1023s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "HelloFD", 1023s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 1023s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "handle-hello-fd", 1023s # TRUE 1023s # }; 1023s # 1023s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 1023s # { 1023s # &_test_fdpassing_method_info_hello_fd.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "test.FDPassing", 1023s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 1023s # NULL, 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "test-fdpassing", 1023s # }; 1023s # 1023s # 1023s # /** 1023s # * test_fdpassing_interface_info: 1023s # * 1023s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 1023s # * 1023s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1023s # */ 1023s # GDBusInterfaceInfo * 1023s # test_fdpassing_interface_info (void) 1023s # { 1023s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 1023s # } 1023s # 1023s # /** 1023s # * test_fdpassing_override_properties: 1023s # * @klass: The class structure for a #GObject derived class. 1023s # * @property_id_begin: The property id to assign to the first overridden property. 1023s # * 1023s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 1023s # * The properties are overridden in the order they are defined. 1023s # * 1023s # * Returns: The last property id. 1023s # */ 1023s # guint 1023s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1023s # { 1023s # return property_id_begin - 1; 1023s # } 1023s # 1023s # 1023s # inline static void 1023s # test_fdpassing_method_marshal_hello_fd ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # 1023s # /** 1023s # * TestFDPassing: 1023s # * 1023s # * Abstract interface type for the D-Bus interface test.FDPassing. 1023s # */ 1023s # 1023s # /** 1023s # * TestFDPassingIface: 1023s # * @parent_iface: The parent interface. 1023s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 1023s # * 1023s # * Virtual table for the D-Bus interface test.FDPassing. 1023s # */ 1023s # 1023s # typedef TestFDPassingIface TestFDPassingInterface; 1023s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 1023s # 1023s # static void 1023s # test_fdpassing_default_init (TestFDPassingIface *iface) 1023s # { 1023s # /* GObject signals for incoming D-Bus method calls: */ 1023s # /** 1023s # * TestFDPassing::handle-hello-fd: 1023s # * @object: A #TestFDPassing. 1023s # * @invocation: A #GDBusMethodInvocation. 1023s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1023s # * @arg_greeting: Argument passed by remote caller. 1023s # * 1023s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 1023s # * 1023s # * 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. 1023s # * 1023s # * 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. 1023s # */ 1023s # g_signal_new ("handle-hello-fd", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 1023s # g_signal_accumulator_true_handled, 1023s # NULL, 1023s # test_fdpassing_method_marshal_hello_fd, 1023s # G_TYPE_BOOLEAN, 1023s # 3, 1023s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 1023s # 1023s # } 1023s # 1023s # /** 1023s # * test_fdpassing_call_hello_fd: 1023s # * @proxy: A #TestFDPassingProxy. 1023s # * @arg_greeting: Argument to pass with the method invocation. 1023s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 1023s # * 1023s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 1023s # */ 1023s # void 1023s # test_fdpassing_call_hello_fd ( 1023s # TestFDPassing *proxy, 1023s # const gchar *arg_greeting, 1023s # GUnixFDList *fd_list, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 1023s # "HelloFD", 1023s # g_variant_new ("(s)", 1023s # arg_greeting), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # fd_list, 1023s # cancellable, 1023s # callback, 1023s # user_data); 1023s # } 1023s # 1023s # /** 1023s # * test_fdpassing_call_hello_fd_finish: 1023s # * @proxy: A #TestFDPassingProxy. 1023s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # test_fdpassing_call_hello_fd_finish ( 1023s # TestFDPassing *proxy, 1023s # gchar **out_response, 1023s # GUnixFDList **out_fd_list, 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(s)", 1023s # out_response); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * test_fdpassing_call_hello_fd_sync: 1023s # * @proxy: A #TestFDPassingProxy. 1023s # * @arg_greeting: Argument to pass with the method invocation. 1023s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1023s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1023s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL. 1023s # * 1023s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1023s # * 1023s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 1023s # * 1023s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1023s # */ 1023s # gboolean 1023s # test_fdpassing_call_hello_fd_sync ( 1023s # TestFDPassing *proxy, 1023s # const gchar *arg_greeting, 1023s # GUnixFDList *fd_list, 1023s # gchar **out_response, 1023s # GUnixFDList **out_fd_list, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GVariant *_ret; 1023s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 1023s # "HelloFD", 1023s # g_variant_new ("(s)", 1023s # arg_greeting), 1023s # G_DBUS_CALL_FLAGS_NONE, 1023s # -1, 1023s # fd_list, 1023s # out_fd_list, 1023s # cancellable, 1023s # error); 1023s # if (_ret == NULL) 1023s # goto _out; 1023s # g_variant_get (_ret, 1023s # "(s)", 1023s # out_response); 1023s # g_variant_unref (_ret); 1023s # _out: 1023s # return _ret != NULL; 1023s # } 1023s # 1023s # /** 1023s # * test_fdpassing_complete_hello_fd: 1023s # * @object: A #TestFDPassing. 1023s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1023s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1023s # * @response: Parameter to return. 1023s # * 1023s # * 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. 1023s # * 1023s # * This method will free @invocation, you cannot use it afterwards. 1023s # */ 1023s # void 1023s # test_fdpassing_complete_hello_fd ( 1023s # TestFDPassing *object G_GNUC_UNUSED, 1023s # GDBusMethodInvocation *invocation, 1023s # GUnixFDList *fd_list, 1023s # const gchar *response) 1023s # { 1023s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 1023s # g_variant_new ("(s)", 1023s # response), 1023s # fd_list); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * TestFDPassingProxy: 1023s # * 1023s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * TestFDPassingProxyClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #TestFDPassingProxy. 1023s # */ 1023s # 1023s # struct _TestFDPassingProxyPrivate 1023s # { 1023s # GData *qdata; 1023s # }; 1023s # 1023s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1023s # G_ADD_PRIVATE (TestFDPassingProxy) 1023s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1023s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # test_fdpassing_proxy_finalize (GObject *object) 1023s # { 1023s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 1023s # g_datalist_clear (&proxy->priv->qdata); 1023s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # const GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 1023s # const gchar *sender_name G_GNUC_UNUSED, 1023s # const gchar *signal_name, 1023s # GVariant *parameters) 1023s # { 1023s # _ExtendedGDBusSignalInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # gsize n; 1023s # guint signal_id; 1023s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 1023s # if (info == NULL) 1023s # return; 1023s # num_params = g_variant_n_children (parameters); 1023s # paramv = g_new0 (GValue, num_params + 1); 1023s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 1023s # g_value_set_object (¶mv[0], proxy); 1023s # g_variant_iter_init (&iter, parameters); 1023s # n = 1; 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1023s # g_signal_emitv (paramv, signal_id, 0, NULL); 1023s # for (n = 0; n < num_params + 1; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static void 1023s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 1023s # GVariant *changed_properties, 1023s # const gchar *const *invalidated_properties) 1023s # { 1023s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 1023s # guint n; 1023s # const gchar *key; 1023s # GVariantIter *iter; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # g_variant_get (changed_properties, "a{sv}", &iter); 1023s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 1023s # g_datalist_remove_data (&proxy->priv->qdata, key); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # g_variant_iter_free (iter); 1023s # for (n = 0; invalidated_properties[n] != NULL; n++) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 1023s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # } 1023s # 1023s # static void 1023s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 1023s # #else 1023s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 1023s # #endif 1023s # 1023s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 1023s # } 1023s # 1023s # static void 1023s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusProxyClass *proxy_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = test_fdpassing_proxy_finalize; 1023s # gobject_class->get_property = test_fdpassing_proxy_get_property; 1023s # gobject_class->set_property = test_fdpassing_proxy_set_property; 1023s # 1023s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1023s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 1023s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * test_fdpassing_proxy_new: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 1023s # * 1023s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # test_fdpassing_proxy_new ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * test_fdpassing_proxy_new_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with test_fdpassing_proxy_new(). 1023s # * 1023s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # TestFDPassing * 1023s # test_fdpassing_proxy_new_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return TEST_FDPASSING (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * test_fdpassing_proxy_new_sync: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # TestFDPassing * 1023s # test_fdpassing_proxy_new_sync ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return TEST_FDPASSING (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /** 1023s # * test_fdpassing_proxy_new_for_bus: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 1023s # * 1023s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # test_fdpassing_proxy_new_for_bus ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * test_fdpassing_proxy_new_for_bus_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 1023s # * 1023s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # TestFDPassing * 1023s # test_fdpassing_proxy_new_for_bus_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return TEST_FDPASSING (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * test_fdpassing_proxy_new_for_bus_sync: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # TestFDPassing * 1023s # test_fdpassing_proxy_new_for_bus_sync ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return TEST_FDPASSING (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * TestFDPassingSkeleton: 1023s # * 1023s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * TestFDPassingSkeletonClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #TestFDPassingSkeleton. 1023s # */ 1023s # 1023s # struct _TestFDPassingSkeletonPrivate 1023s # { 1023s # GValue *properties; 1023s # GList *changed_properties; 1023s # GSource *changed_properties_idle_source; 1023s # GMainContext *context; 1023s # GMutex lock; 1023s # }; 1023s # 1023s # static void 1023s # _test_fdpassing_skeleton_handle_method_call ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name, 1023s # const gchar *method_name, 1023s # GVariant *parameters, 1023s # GDBusMethodInvocation *invocation, 1023s # gpointer user_data) 1023s # { 1023s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1023s # _ExtendedGDBusMethodInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # guint num_extra; 1023s # gsize n; 1023s # guint signal_id; 1023s # GValue return_value = G_VALUE_INIT; 1023s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1023s # g_assert (info != NULL); 1023s # num_params = g_variant_n_children (parameters); 1023s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1023s # n = 0; 1023s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 1023s # g_value_set_object (¶mv[n++], skeleton); 1023s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1023s # g_value_set_object (¶mv[n++], invocation); 1023s # if (info->pass_fdlist) 1023s # { 1023s # #ifdef G_OS_UNIX 1023s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1023s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1023s # #else 1023s # g_assert_not_reached (); 1023s # #endif 1023s # } 1023s # g_variant_iter_init (&iter, parameters); 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1023s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1023s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1023s # if (!g_value_get_boolean (&return_value)) 1023s # 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); 1023s # g_value_unset (&return_value); 1023s # for (n = 0; n < num_params + num_extra; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static GVariant * 1023s # _test_fdpassing_skeleton_handle_get_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # GVariant *ret; 1023s # ret = NULL; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # g_value_init (&value, pspec->value_type); 1023s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1023s # g_value_unset (&value); 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _test_fdpassing_skeleton_handle_set_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GVariant *variant, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # gboolean ret; 1023s # ret = FALSE; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # if (info->use_gvariant) 1023s # g_value_set_variant (&value, variant); 1023s # else 1023s # g_dbus_gvariant_to_gvalue (variant, &value); 1023s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # g_value_unset (&value); 1023s # ret = TRUE; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 1023s # { 1023s # _test_fdpassing_skeleton_handle_method_call, 1023s # _test_fdpassing_skeleton_handle_get_property, 1023s # _test_fdpassing_skeleton_handle_set_property, 1023s # {NULL} 1023s # }; 1023s # 1023s # static GDBusInterfaceInfo * 1023s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return test_fdpassing_interface_info (); 1023s # } 1023s # 1023s # static GDBusInterfaceVTable * 1023s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 1023s # } 1023s # 1023s # static GVariant * 1023s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1023s # { 1023s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 1023s # 1023s # GVariantBuilder builder; 1023s # guint n; 1023s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1023s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 1023s # goto out; 1023s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 1023s # { 1023s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 1023s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1023s # { 1023s # GVariant *value; 1023s # 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); 1023s # if (value != NULL) 1023s # { 1023s # g_variant_take_ref (value); 1023s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1023s # g_variant_unref (value); 1023s # } 1023s # } 1023s # } 1023s # out: 1023s # return g_variant_builder_end (&builder); 1023s # } 1023s # 1023s # static void 1023s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_ADD_PRIVATE (TestFDPassingSkeleton) 1023s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # test_fdpassing_skeleton_finalize (GObject *object) 1023s # { 1023s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 1023s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1023s # if (skeleton->priv->changed_properties_idle_source != NULL) 1023s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1023s # g_main_context_unref (skeleton->priv->context); 1023s # g_mutex_clear (&skeleton->priv->lock); 1023s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 1023s # #else 1023s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 1023s # #endif 1023s # 1023s # g_mutex_init (&skeleton->priv->lock); 1023s # skeleton->priv->context = g_main_context_ref_thread_default (); 1023s # } 1023s # 1023s # static void 1023s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusInterfaceSkeletonClass *skeleton_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 1023s # 1023s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1023s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 1023s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 1023s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 1023s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * test_fdpassing_skeleton_new: 1023s # * 1023s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 1023s # * 1023s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 1023s # */ 1023s # TestFDPassing * 1023s # test_fdpassing_skeleton_new (void) 1023s # { 1023s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 1023s # } 1023s ok 15 __main__.TestCodegen.test_generate_rst 1023s # tmpdir: /tmp/tmp5uk51n51 1023s # codegen: /usr/bin/gdbus-codegen 1023s # /tmp/tmp5uk51n51/tmp__4vcx48.xml: 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5uk51n51/tmp__4vcx48.xml', '--generate-rst', 'test'] 1023s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1023s # Output: 1023s ok 16 __main__.TestCodegen.test_generate_rst_method 1023s # tmpdir: /tmp/tmp24qq__xe 1023s # codegen: /usr/bin/gdbus-codegen 1023s # /tmp/tmp24qq__xe/tmp1g4c96v9.xml: 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp24qq__xe/tmp1g4c96v9.xml', '--generate-rst', 'test'] 1023s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1023s # Output: 1023s ok 17 __main__.TestCodegen.test_generate_rst_property 1023s # tmpdir: /tmp/tmpnz00uhui 1023s # codegen: /usr/bin/gdbus-codegen 1023s # /tmp/tmpnz00uhui/tmphb7g4mrd.xml: 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnz00uhui/tmphb7g4mrd.xml', '--generate-rst', 'test'] 1023s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1023s # Output: 1023s ok 18 __main__.TestCodegen.test_generate_rst_signal 1023s # tmpdir: /tmp/tmpmswj5wa0 1023s # codegen: /usr/bin/gdbus-codegen 1023s # /tmp/tmpmswj5wa0/tmppusxdqfg.xml: 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmswj5wa0/tmppusxdqfg.xml', '--generate-rst', 'test'] 1023s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1023s # Output: 1023s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 1023s # tmpdir: /tmp/tmp12y2ppna 1023s # codegen: /usr/bin/gdbus-codegen 1023s # /tmp/tmp12y2ppna/tmpc958nvo2.xml: 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp12y2ppna/tmpc958nvo2.xml', '--output', '-', '--body'] 1023s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1023s # Output: /* 1023s # * This file is generated by gdbus-codegen, do not modify it. 1023s # * 1023s # * The license of this code is the same as for the D-Bus interface description 1023s # * it was derived from. Note that it links to GLib, so must comply with the 1023s # * LGPL linking clauses. 1023s # */ 1023s # 1023s # #ifdef HAVE_CONFIG_H 1023s # # include "config.h" 1023s # #endif 1023s # 1023s # #include 1023s # #ifdef G_OS_UNIX 1023s # # include 1023s # #endif 1023s # 1023s # #ifdef G_ENABLE_DEBUG 1023s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1023s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1023s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1023s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1023s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1023s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1023s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1023s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1023s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1023s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1023s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1023s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1023s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1023s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1023s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1023s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1023s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1023s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1023s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1023s # #else /* !G_ENABLE_DEBUG */ 1023s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1023s # * Do not access GValues directly in your code. Instead, use the 1023s # * g_value_get_*() functions 1023s # */ 1023s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1023s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1023s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1023s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1023s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1023s # #endif /* !G_ENABLE_DEBUG */ 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusArgInfo parent_struct; 1023s # gboolean use_gvariant; 1023s # } _ExtendedGDBusArgInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusMethodInfo parent_struct; 1023s # const gchar *signal_name; 1023s # gboolean pass_fdlist; 1023s # } _ExtendedGDBusMethodInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusSignalInfo parent_struct; 1023s # const gchar *signal_name; 1023s # } _ExtendedGDBusSignalInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusPropertyInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # guint use_gvariant : 1; 1023s # guint emits_changed_signal : 1; 1023s # } _ExtendedGDBusPropertyInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusInterfaceInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # } _ExtendedGDBusInterfaceInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # const _ExtendedGDBusPropertyInfo *info; 1023s # guint prop_id; 1023s # GValue orig_value; /* the value before the change */ 1023s # } ChangedProperty; 1023s # 1023s # static void 1023s # _changed_property_free (ChangedProperty *data) 1023s # { 1023s # g_value_unset (&data->orig_value); 1023s # g_free (data); 1023s # } 1023s # 1023s # static gboolean 1023s # _g_strv_equal0 (gchar **a, gchar **b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # guint n; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # if (g_strv_length (a) != g_strv_length (b)) 1023s # goto out; 1023s # for (n = 0; a[n] != NULL; n++) 1023s # if (g_strcmp0 (a[n], b[n]) != 0) 1023s # goto out; 1023s # ret = TRUE; 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _g_variant_equal0 (GVariant *a, GVariant *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # ret = g_variant_equal (a, b); 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # G_GNUC_UNUSED static gboolean 1023s # _g_value_equal (const GValue *a, const GValue *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1023s # switch (G_VALUE_TYPE (a)) 1023s # { 1023s # case G_TYPE_BOOLEAN: 1023s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1023s # break; 1023s # case G_TYPE_UCHAR: 1023s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1023s # break; 1023s # case G_TYPE_INT: 1023s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1023s # break; 1023s # case G_TYPE_UINT: 1023s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1023s # break; 1023s # case G_TYPE_INT64: 1023s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1023s # break; 1023s # case G_TYPE_UINT64: 1023s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1023s # break; 1023s # case G_TYPE_DOUBLE: 1023s # { 1023s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1023s # gdouble da = g_value_get_double (a); 1023s # gdouble db = g_value_get_double (b); 1023s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1023s # } 1023s # break; 1023s # case G_TYPE_STRING: 1023s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1023s # break; 1023s # case G_TYPE_VARIANT: 1023s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1023s # break; 1023s # default: 1023s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1023s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1023s # else 1023s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1023s # break; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static void 1023s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1023s # GClosure *closure, 1023s # GValue *return_value G_GNUC_UNUSED, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint G_GNUC_UNUSED, 1023s # void *marshal_data) 1023s # { 1023s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1023s # (void *data1, 1023s # gboolean arg_an_b, 1023s # guchar arg_an_y, 1023s # gint16 arg_an_n, 1023s # guint16 arg_an_q, 1023s # gint arg_an_i, 1023s # guint arg_an_u, 1023s # gint64 arg_an_x, 1023s # guint64 arg_an_t, 1023s # gdouble arg_an_d, 1023s # const gchar *arg_an_s, 1023s # const gchar *arg_an_o, 1023s # const gchar *arg_an_g, 1023s # GVariant *arg_an_h, 1023s # const gchar *arg_an_ay, 1023s # const gchar *const *arg_an_as, 1023s # const gchar *const *arg_an_ao, 1023s # const gchar *const *arg_an_aay, 1023s # GVariant *arg_an_asv, 1023s # void *data2); 1023s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1023s # GCClosure *cc = (GCClosure*) closure; 1023s # void *data1, *data2; 1023s # 1023s # g_return_if_fail (n_param_values == 19); 1023s # 1023s # if (G_CCLOSURE_SWAP_DATA (closure)) 1023s # { 1023s # data1 = closure->data; 1023s # data2 = g_value_peek_pointer (param_values + 0); 1023s # } 1023s # else 1023s # { 1023s # data1 = g_value_peek_pointer (param_values + 0); 1023s # data2 = closure->data; 1023s # } 1023s # 1023s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1023s # (marshal_data ? marshal_data : cc->callback); 1023s # 1023s # callback (data1, 1023s # g_marshal_value_peek_boolean (param_values + 1), 1023s # g_marshal_value_peek_uchar (param_values + 2), 1023s # g_marshal_value_peek_int (param_values + 3), 1023s # g_marshal_value_peek_uint (param_values + 4), 1023s # g_marshal_value_peek_int (param_values + 5), 1023s # g_marshal_value_peek_uint (param_values + 6), 1023s # g_marshal_value_peek_int64 (param_values + 7), 1023s # g_marshal_value_peek_uint64 (param_values + 8), 1023s # g_marshal_value_peek_double (param_values + 9), 1023s # g_marshal_value_peek_string (param_values + 10), 1023s # g_marshal_value_peek_string (param_values + 11), 1023s # g_marshal_value_peek_string (param_values + 12), 1023s # g_marshal_value_peek_variant (param_values + 13), 1023s # g_marshal_value_peek_string (param_values + 14), 1023s # g_marshal_value_peek_boxed (param_values + 15), 1023s # g_marshal_value_peek_boxed (param_values + 16), 1023s # g_marshal_value_peek_boxed (param_values + 17), 1023s # g_marshal_value_peek_variant (param_values + 18), 1023s # data2); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ 1023s # * Code for interface org.project.SignalingIface 1023s # * ------------------------------------------------------------------------ 1023s # */ 1023s # 1023s # /** 1023s # * SECTION:OrgProjectSignalingIface 1023s # * @title: OrgProjectSignalingIface 1023s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1023s # * 1023s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1023s # */ 1023s # 1023s # enum 1023s # { 1023s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1023s # }; 1023s # 1023s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1023s # 1023s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_b", 1023s # (gchar *) "b", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_y", 1023s # (gchar *) "y", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_n", 1023s # (gchar *) "n", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_q", 1023s # (gchar *) "q", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_i", 1023s # (gchar *) "i", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_u", 1023s # (gchar *) "u", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_x", 1023s # (gchar *) "x", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_t", 1023s # (gchar *) "t", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_d", 1023s # (gchar *) "d", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_s", 1023s # (gchar *) "s", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_o", 1023s # (gchar *) "o", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_g", 1023s # (gchar *) "g", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_h", 1023s # (gchar *) "h", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_ay", 1023s # (gchar *) "ay", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_as", 1023s # (gchar *) "as", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_ao", 1023s # (gchar *) "ao", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_aay", 1023s # (gchar *) "aay", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_asv", 1023s # (gchar *) "a{sv}", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1023s # { 1023s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SignalWithManyArgs", 1023s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "signal-with-many-args" 1023s # }; 1023s # 1023s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1023s # { 1023s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "org.project.SignalingIface", 1023s # NULL, 1023s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "org-project-signaling-iface", 1023s # }; 1023s # 1023s # 1023s # /** 1023s # * org_project_signaling_iface_interface_info: 1023s # * 1023s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1023s # * 1023s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1023s # */ 1023s # GDBusInterfaceInfo * 1023s # org_project_signaling_iface_interface_info (void) 1023s # { 1023s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_override_properties: 1023s # * @klass: The class structure for a #GObject derived class. 1023s # * @property_id_begin: The property id to assign to the first overridden property. 1023s # * 1023s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1023s # * The properties are overridden in the order they are defined. 1023s # * 1023s # * Returns: The last property id. 1023s # */ 1023s # guint 1023s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1023s # { 1023s # return property_id_begin - 1; 1023s # } 1023s # 1023s # 1023s # inline static void 1023s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # 1023s # /** 1023s # * OrgProjectSignalingIface: 1023s # * 1023s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectSignalingIfaceIface: 1023s # * @parent_iface: The parent interface. 1023s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1023s # * 1023s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1023s # */ 1023s # 1023s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1023s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1023s # 1023s # static void 1023s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1023s # { 1023s # /* GObject signals for received D-Bus signals: */ 1023s # /** 1023s # * OrgProjectSignalingIface::signal-with-many-args: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_b: Argument. 1023s # * @arg_an_y: Argument. 1023s # * @arg_an_n: Argument. 1023s # * @arg_an_q: Argument. 1023s # * @arg_an_i: Argument. 1023s # * @arg_an_u: Argument. 1023s # * @arg_an_x: Argument. 1023s # * @arg_an_t: Argument. 1023s # * @arg_an_d: Argument. 1023s # * @arg_an_s: Argument. 1023s # * @arg_an_o: Argument. 1023s # * @arg_an_g: Argument. 1023s # * @arg_an_h: Argument. 1023s # * @arg_an_ay: Argument. 1023s # * @arg_an_as: Argument. 1023s # * @arg_an_ao: Argument. 1023s # * @arg_an_aay: Argument. 1023s # * @arg_an_asv: Argument. 1023s # * 1023s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1023s # * 1023s # * 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. 1023s # */ 1023s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1023s # g_signal_new ("signal-with-many-args", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1023s # NULL, 1023s # NULL, 1023s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1023s # G_TYPE_NONE, 1023s # 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); 1023s # 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_emit_signal_with_many_args: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_b: Argument to pass with the signal. 1023s # * @arg_an_y: Argument to pass with the signal. 1023s # * @arg_an_n: Argument to pass with the signal. 1023s # * @arg_an_q: Argument to pass with the signal. 1023s # * @arg_an_i: Argument to pass with the signal. 1023s # * @arg_an_u: Argument to pass with the signal. 1023s # * @arg_an_x: Argument to pass with the signal. 1023s # * @arg_an_t: Argument to pass with the signal. 1023s # * @arg_an_d: Argument to pass with the signal. 1023s # * @arg_an_s: Argument to pass with the signal. 1023s # * @arg_an_o: Argument to pass with the signal. 1023s # * @arg_an_g: Argument to pass with the signal. 1023s # * @arg_an_h: Argument to pass with the signal. 1023s # * @arg_an_ay: Argument to pass with the signal. 1023s # * @arg_an_as: Argument to pass with the signal. 1023s # * @arg_an_ao: Argument to pass with the signal. 1023s # * @arg_an_aay: Argument to pass with the signal. 1023s # * @arg_an_asv: Argument to pass with the signal. 1023s # * 1023s # * Emits the "SignalWithManyArgs" D-Bus signal. 1023s # */ 1023s # void 1023s # org_project_signaling_iface_emit_signal_with_many_args ( 1023s # OrgProjectSignalingIface *object, 1023s # gboolean arg_an_b, 1023s # guchar arg_an_y, 1023s # gint16 arg_an_n, 1023s # guint16 arg_an_q, 1023s # gint arg_an_i, 1023s # guint arg_an_u, 1023s # gint64 arg_an_x, 1023s # guint64 arg_an_t, 1023s # gdouble arg_an_d, 1023s # const gchar *arg_an_s, 1023s # const gchar *arg_an_o, 1023s # const gchar *arg_an_g, 1023s # GVariant *arg_an_h, 1023s # const gchar *arg_an_ay, 1023s # const gchar *const *arg_an_as, 1023s # const gchar *const *arg_an_ao, 1023s # const gchar *const *arg_an_aay, 1023s # GVariant *arg_an_asv) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectSignalingIfaceProxy: 1023s # * 1023s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectSignalingIfaceProxyClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectSignalingIfaceProxy. 1023s # */ 1023s # 1023s # struct _OrgProjectSignalingIfaceProxyPrivate 1023s # { 1023s # GData *qdata; 1023s # }; 1023s # 1023s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_signaling_iface_proxy_finalize (GObject *object) 1023s # { 1023s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1023s # g_datalist_clear (&proxy->priv->qdata); 1023s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # const GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1023s # const gchar *sender_name G_GNUC_UNUSED, 1023s # const gchar *signal_name, 1023s # GVariant *parameters) 1023s # { 1023s # _ExtendedGDBusSignalInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # gsize n; 1023s # guint signal_id; 1023s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1023s # if (info == NULL) 1023s # return; 1023s # num_params = g_variant_n_children (parameters); 1023s # paramv = g_new0 (GValue, num_params + 1); 1023s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1023s # g_value_set_object (¶mv[0], proxy); 1023s # g_variant_iter_init (&iter, parameters); 1023s # n = 1; 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1023s # g_signal_emitv (paramv, signal_id, 0, NULL); 1023s # for (n = 0; n < num_params + 1; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1023s # GVariant *changed_properties, 1023s # const gchar *const *invalidated_properties) 1023s # { 1023s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1023s # guint n; 1023s # const gchar *key; 1023s # GVariantIter *iter; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # g_variant_get (changed_properties, "a{sv}", &iter); 1023s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1023s # g_datalist_remove_data (&proxy->priv->qdata, key); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # g_variant_iter_free (iter); 1023s # for (n = 0; invalidated_properties[n] != NULL; n++) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1023s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1023s # #else 1023s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1023s # #endif 1023s # 1023s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusProxyClass *proxy_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1023s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1023s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1023s # 1023s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1023s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1023s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_proxy_new: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_signaling_iface_proxy_new ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_proxy_new_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectSignalingIface * 1023s # org_project_signaling_iface_proxy_new_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_proxy_new_sync: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectSignalingIface * 1023s # org_project_signaling_iface_proxy_new_sync ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /** 1023s # * org_project_signaling_iface_proxy_new_for_bus: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_signaling_iface_proxy_new_for_bus ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectSignalingIface * 1023s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectSignalingIface * 1023s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectSignalingIfaceSkeleton: 1023s # * 1023s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectSignalingIfaceSkeletonClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1023s # */ 1023s # 1023s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1023s # { 1023s # GValue *properties; 1023s # GList *changed_properties; 1023s # GSource *changed_properties_idle_source; 1023s # GMainContext *context; 1023s # GMutex lock; 1023s # }; 1023s # 1023s # static void 1023s # _org_project_signaling_iface_skeleton_handle_method_call ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name, 1023s # const gchar *method_name, 1023s # GVariant *parameters, 1023s # GDBusMethodInvocation *invocation, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1023s # _ExtendedGDBusMethodInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # guint num_extra; 1023s # gsize n; 1023s # guint signal_id; 1023s # GValue return_value = G_VALUE_INIT; 1023s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1023s # g_assert (info != NULL); 1023s # num_params = g_variant_n_children (parameters); 1023s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1023s # n = 0; 1023s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1023s # g_value_set_object (¶mv[n++], skeleton); 1023s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1023s # g_value_set_object (¶mv[n++], invocation); 1023s # if (info->pass_fdlist) 1023s # { 1023s # #ifdef G_OS_UNIX 1023s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1023s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1023s # #else 1023s # g_assert_not_reached (); 1023s # #endif 1023s # } 1023s # g_variant_iter_init (&iter, parameters); 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1023s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1023s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1023s # if (!g_value_get_boolean (&return_value)) 1023s # 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); 1023s # g_value_unset (&return_value); 1023s # for (n = 0; n < num_params + num_extra; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static GVariant * 1023s # _org_project_signaling_iface_skeleton_handle_get_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # GVariant *ret; 1023s # ret = NULL; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # g_value_init (&value, pspec->value_type); 1023s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1023s # g_value_unset (&value); 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _org_project_signaling_iface_skeleton_handle_set_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GVariant *variant, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # gboolean ret; 1023s # ret = FALSE; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # if (info->use_gvariant) 1023s # g_value_set_variant (&value, variant); 1023s # else 1023s # g_dbus_gvariant_to_gvalue (variant, &value); 1023s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # g_value_unset (&value); 1023s # ret = TRUE; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1023s # { 1023s # _org_project_signaling_iface_skeleton_handle_method_call, 1023s # _org_project_signaling_iface_skeleton_handle_get_property, 1023s # _org_project_signaling_iface_skeleton_handle_set_property, 1023s # {NULL} 1023s # }; 1023s # 1023s # static GDBusInterfaceInfo * 1023s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return org_project_signaling_iface_interface_info (); 1023s # } 1023s # 1023s # static GDBusInterfaceVTable * 1023s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1023s # } 1023s # 1023s # static GVariant * 1023s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1023s # 1023s # GVariantBuilder builder; 1023s # guint n; 1023s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1023s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1023s # goto out; 1023s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1023s # { 1023s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1023s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1023s # { 1023s # GVariant *value; 1023s # 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); 1023s # if (value != NULL) 1023s # { 1023s # g_variant_take_ref (value); 1023s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1023s # g_variant_unref (value); 1023s # } 1023s # } 1023s # } 1023s # out: 1023s # return g_variant_builder_end (&builder); 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1023s # OrgProjectSignalingIface *object, 1023s # gboolean arg_an_b, 1023s # guchar arg_an_y, 1023s # gint16 arg_an_n, 1023s # guint16 arg_an_q, 1023s # gint arg_an_i, 1023s # guint arg_an_u, 1023s # gint64 arg_an_x, 1023s # guint64 arg_an_t, 1023s # gdouble arg_an_d, 1023s # const gchar *arg_an_s, 1023s # const gchar *arg_an_o, 1023s # const gchar *arg_an_g, 1023s # GVariant *arg_an_h, 1023s # const gchar *arg_an_ay, 1023s # const gchar *const *arg_an_as, 1023s # const gchar *const *arg_an_ao, 1023s # const gchar *const *arg_an_aay, 1023s # GVariant *arg_an_asv) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1023s # 1023s # GList *connections, *l; 1023s # GVariant *signal_variant; 1023s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1023s # 1023s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1023s # arg_an_b, 1023s # arg_an_y, 1023s # arg_an_n, 1023s # arg_an_q, 1023s # arg_an_i, 1023s # arg_an_u, 1023s # arg_an_x, 1023s # arg_an_t, 1023s # arg_an_d, 1023s # arg_an_s, 1023s # arg_an_o, 1023s # arg_an_g, 1023s # arg_an_h, 1023s # arg_an_ay, 1023s # arg_an_as, 1023s # arg_an_ao, 1023s # arg_an_aay, 1023s # arg_an_asv)); 1023s # for (l = connections; l != NULL; l = l->next) 1023s # { 1023s # GDBusConnection *connection = l->data; 1023s # g_dbus_connection_emit_signal (connection, 1023s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1023s # signal_variant, NULL); 1023s # } 1023s # g_variant_unref (signal_variant); 1023s # g_list_free_full (connections, g_object_unref); 1023s # } 1023s # 1023s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1023s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1023s # if (skeleton->priv->changed_properties_idle_source != NULL) 1023s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1023s # g_main_context_unref (skeleton->priv->context); 1023s # g_mutex_clear (&skeleton->priv->lock); 1023s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1023s # #else 1023s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1023s # #endif 1023s # 1023s # g_mutex_init (&skeleton->priv->lock); 1023s # skeleton->priv->context = g_main_context_ref_thread_default (); 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusInterfaceSkeletonClass *skeleton_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1023s # 1023s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1023s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1023s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1023s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1023s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1023s # { 1023s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_skeleton_new: 1023s # * 1023s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1023s # */ 1023s # OrgProjectSignalingIface * 1023s # org_project_signaling_iface_skeleton_new (void) 1023s # { 1023s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1023s # } 1023s # Executing: glib/codegen.py.test 1023s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 1023s # tmpdir: /tmp/tmpey8j04rj 1023s # codegen: /usr/bin/gdbus-codegen 1023s # /tmp/tmpey8j04rj/tmpb0jc6t52.xml: 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpey8j04rj/tmpb0jc6t52.xml', '--output', '-', '--body'] 1023s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1023s # Output: /* 1023s # * This file is generated by gdbus-codegen, do not modify it. 1023s # * 1023s # * The license of this code is the same as for the D-Bus interface description 1023s # * it was derived from. Note that it links to GLib, so must comply with the 1023s # * LGPL linking clauses. 1023s # */ 1023s # 1023s # #ifdef HAVE_CONFIG_H 1023s # # include "config.h" 1023s # #endif 1023s # 1023s # #include 1023s # #ifdef G_OS_UNIX 1023s # # include 1023s # #endif 1023s # 1023s # #ifdef G_ENABLE_DEBUG 1023s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1023s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1023s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1023s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1023s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1023s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1023s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1023s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1023s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1023s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1023s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1023s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1023s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1023s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1023s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1023s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1023s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1023s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1023s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1023s # #else /* !G_ENABLE_DEBUG */ 1023s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1023s # * Do not access GValues directly in your code. Instead, use the 1023s # * g_value_get_*() functions 1023s # */ 1023s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1023s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1023s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1023s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1023s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1023s # #endif /* !G_ENABLE_DEBUG */ 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusArgInfo parent_struct; 1023s # gboolean use_gvariant; 1023s # } _ExtendedGDBusArgInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusMethodInfo parent_struct; 1023s # const gchar *signal_name; 1023s # gboolean pass_fdlist; 1023s # } _ExtendedGDBusMethodInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusSignalInfo parent_struct; 1023s # const gchar *signal_name; 1023s # } _ExtendedGDBusSignalInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusPropertyInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # guint use_gvariant : 1; 1023s # guint emits_changed_signal : 1; 1023s # } _ExtendedGDBusPropertyInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusInterfaceInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # } _ExtendedGDBusInterfaceInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # const _ExtendedGDBusPropertyInfo *info; 1023s # guint prop_id; 1023s # GValue orig_value; /* the value before the change */ 1023s # } ChangedProperty; 1023s # 1023s # static void 1023s # _changed_property_free (ChangedProperty *data) 1023s # { 1023s # g_value_unset (&data->orig_value); 1023s # g_free (data); 1023s # } 1023s # 1023s # static gboolean 1023s # _g_strv_equal0 (gchar **a, gchar **b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # guint n; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # if (g_strv_length (a) != g_strv_length (b)) 1023s # goto out; 1023s # for (n = 0; a[n] != NULL; n++) 1023s # if (g_strcmp0 (a[n], b[n]) != 0) 1023s # goto out; 1023s # ret = TRUE; 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _g_variant_equal0 (GVariant *a, GVariant *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # ret = g_variant_equal (a, b); 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # G_GNUC_UNUSED static gboolean 1023s # _g_value_equal (const GValue *a, const GValue *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1023s # switch (G_VALUE_TYPE (a)) 1023s # { 1023s # case G_TYPE_BOOLEAN: 1023s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1023s # break; 1023s # case G_TYPE_UCHAR: 1023s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1023s # break; 1023s # case G_TYPE_INT: 1023s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1023s # break; 1023s # case G_TYPE_UINT: 1023s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1023s # break; 1023s # case G_TYPE_INT64: 1023s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1023s # break; 1023s # case G_TYPE_UINT64: 1023s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1023s # break; 1023s # case G_TYPE_DOUBLE: 1023s # { 1023s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1023s # gdouble da = g_value_get_double (a); 1023s # gdouble db = g_value_get_double (b); 1023s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1023s # } 1023s # break; 1023s # case G_TYPE_STRING: 1023s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1023s # break; 1023s # case G_TYPE_VARIANT: 1023s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1023s # break; 1023s # default: 1023s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1023s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1023s # else 1023s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1023s # break; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static void 1023s # _g_dbus_codegen_marshal_VOID__INT64 ( 1023s # GClosure *closure, 1023s # GValue *return_value G_GNUC_UNUSED, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint G_GNUC_UNUSED, 1023s # void *marshal_data) 1023s # { 1023s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1023s # (void *data1, 1023s # gint64 arg_an_x, 1023s # void *data2); 1023s # _GDbusCodegenMarshalVoid_Int64Func callback; 1023s # GCClosure *cc = (GCClosure*) closure; 1023s # void *data1, *data2; 1023s # 1023s # g_return_if_fail (n_param_values == 2); 1023s # 1023s # if (G_CCLOSURE_SWAP_DATA (closure)) 1023s # { 1023s # data1 = closure->data; 1023s # data2 = g_value_peek_pointer (param_values + 0); 1023s # } 1023s # else 1023s # { 1023s # data1 = g_value_peek_pointer (param_values + 0); 1023s # data2 = closure->data; 1023s # } 1023s # 1023s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1023s # (marshal_data ? marshal_data : cc->callback); 1023s # 1023s # callback (data1, 1023s # g_marshal_value_peek_int64 (param_values + 1), 1023s # data2); 1023s # } 1023s # 1023s # static void 1023s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1023s # GClosure *closure, 1023s # GValue *return_value G_GNUC_UNUSED, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint G_GNUC_UNUSED, 1023s # void *marshal_data) 1023s # { 1023s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1023s # (void *data1, 1023s # guint64 arg_an_t, 1023s # void *data2); 1023s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1023s # GCClosure *cc = (GCClosure*) closure; 1023s # void *data1, *data2; 1023s # 1023s # g_return_if_fail (n_param_values == 2); 1023s # 1023s # if (G_CCLOSURE_SWAP_DATA (closure)) 1023s # { 1023s # data1 = closure->data; 1023s # data2 = g_value_peek_pointer (param_values + 0); 1023s # } 1023s # else 1023s # { 1023s # data1 = g_value_peek_pointer (param_values + 0); 1023s # data2 = closure->data; 1023s # } 1023s # 1023s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1023s # (marshal_data ? marshal_data : cc->callback); 1023s # 1023s # callback (data1, 1023s # g_marshal_value_peek_uint64 (param_values + 1), 1023s # data2); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ 1023s # * Code for interface org.project.SignalingIface 1023s # * ------------------------------------------------------------------------ 1023s # */ 1023s # 1023s # /** 1023s # * SECTION:OrgProjectSignalingIface 1023s # * @title: OrgProjectSignalingIface 1023s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1023s # * 1023s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1023s # */ 1023s # 1023s # enum 1023s # { 1023s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 1023s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1023s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1023s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1023s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1023s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1023s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1023s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1023s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1023s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1023s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1023s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1023s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1023s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1023s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1023s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1023s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1023s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1023s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1023s # }; 1023s # 1023s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 1023s # 1023s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1023s # 1023s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "NoArgSignal", 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "no-arg-signal" 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_b", 1023s # (gchar *) "b", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1023s # { 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgSignalB", 1023s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "single-arg-signal-b" 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_y", 1023s # (gchar *) "y", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1023s # { 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgSignalY", 1023s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "single-arg-signal-y" 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_n", 1023s # (gchar *) "n", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1023s # { 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgSignalN", 1023s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "single-arg-signal-n" 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_q", 1023s # (gchar *) "q", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1023s # { 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgSignalQ", 1023s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "single-arg-signal-q" 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_i", 1023s # (gchar *) "i", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1023s # { 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgSignalI", 1023s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "single-arg-signal-i" 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_u", 1023s # (gchar *) "u", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1023s # { 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgSignalU", 1023s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "single-arg-signal-u" 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_x", 1023s # (gchar *) "x", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1023s # { 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgSignalX", 1023s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "single-arg-signal-x" 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_t", 1023s # (gchar *) "t", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1023s # { 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgSignalT", 1023s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "single-arg-signal-t" 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_d", 1023s # (gchar *) "d", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1023s # { 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgSignalD", 1023s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "single-arg-signal-d" 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_s", 1023s # (gchar *) "s", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1023s # { 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgSignalS", 1023s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "single-arg-signal-s" 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_o", 1023s # (gchar *) "o", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1023s # { 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgSignalO", 1023s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "single-arg-signal-o" 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_g", 1023s # (gchar *) "g", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1023s # { 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgSignalG", 1023s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "single-arg-signal-g" 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_h", 1023s # (gchar *) "h", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1023s # { 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgSignalH", 1023s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "single-arg-signal-h" 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_ay", 1023s # (gchar *) "ay", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1023s # { 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgSignalAY", 1023s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "single-arg-signal-ay" 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_as", 1023s # (gchar *) "as", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1023s # { 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgSignalAS", 1023s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "single-arg-signal-as" 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_ao", 1023s # (gchar *) "ao", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1023s # { 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgSignalAO", 1023s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "single-arg-signal-ao" 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_aay", 1023s # (gchar *) "aay", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1023s # { 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgSignalAAY", 1023s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "single-arg-signal-aay" 1023s # }; 1023s # 1023s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "an_asv", 1023s # (gchar *) "a{sv}", 1023s # NULL 1023s # }, 1023s # FALSE 1023s # }; 1023s # 1023s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1023s # { 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SingleArgSignalASV", 1023s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1023s # NULL 1023s # }, 1023s # "single-arg-signal-asv" 1023s # }; 1023s # 1023s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1023s # { 1023s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1023s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "org.project.SignalingIface", 1023s # NULL, 1023s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "org-project-signaling-iface", 1023s # }; 1023s # 1023s # 1023s # /** 1023s # * org_project_signaling_iface_interface_info: 1023s # * 1023s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1023s # * 1023s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1023s # */ 1023s # GDBusInterfaceInfo * 1023s # org_project_signaling_iface_interface_info (void) 1023s # { 1023s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_override_properties: 1023s # * @klass: The class structure for a #GObject derived class. 1023s # * @property_id_begin: The property id to assign to the first overridden property. 1023s # * 1023s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1023s # * The properties are overridden in the order they are defined. 1023s # * 1023s # * Returns: The last property id. 1023s # */ 1023s # guint 1023s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1023s # { 1023s # return property_id_begin - 1; 1023s # } 1023s # 1023s # 1023s # inline static void 1023s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # g_cclosure_marshal_VOID__VOID (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # inline static void 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # inline static void 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # g_cclosure_marshal_VOID__UCHAR (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # inline static void 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # g_cclosure_marshal_VOID__INT (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # inline static void 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # g_cclosure_marshal_VOID__UINT (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # inline static void 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # g_cclosure_marshal_VOID__INT (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # inline static void 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # g_cclosure_marshal_VOID__UINT (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # inline static void 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # inline static void 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # inline static void 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # g_cclosure_marshal_VOID__DOUBLE (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # inline static void 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # g_cclosure_marshal_VOID__STRING (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # inline static void 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # g_cclosure_marshal_VOID__STRING (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # inline static void 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # g_cclosure_marshal_VOID__STRING (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # inline static void 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # g_cclosure_marshal_VOID__VARIANT (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # inline static void 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # g_cclosure_marshal_VOID__STRING (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # inline static void 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # g_cclosure_marshal_VOID__BOXED (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # inline static void 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # g_cclosure_marshal_VOID__BOXED (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # inline static void 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # g_cclosure_marshal_VOID__BOXED (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # inline static void 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # g_cclosure_marshal_VOID__VARIANT (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # 1023s # /** 1023s # * OrgProjectSignalingIface: 1023s # * 1023s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectSignalingIfaceIface: 1023s # * @parent_iface: The parent interface. 1023s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 1023s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1023s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1023s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1023s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1023s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1023s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1023s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1023s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1023s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1023s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1023s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1023s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1023s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1023s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1023s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1023s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1023s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1023s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1023s # * 1023s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1023s # */ 1023s # 1023s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1023s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1023s # 1023s # static void 1023s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1023s # { 1023s # /* GObject signals for received D-Bus signals: */ 1023s # /** 1023s # * OrgProjectSignalingIface::no-arg-signal: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * 1023s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 1023s # * 1023s # * 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. 1023s # */ 1023s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 1023s # g_signal_new ("no-arg-signal", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 1023s # NULL, 1023s # NULL, 1023s # org_project_signaling_iface_signal_marshal_no_arg_signal, 1023s # G_TYPE_NONE, 1023s # 0); 1023s # 1023s # /** 1023s # * OrgProjectSignalingIface::single-arg-signal-b: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_b: Argument. 1023s # * 1023s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1023s # * 1023s # * 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. 1023s # */ 1023s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1023s # g_signal_new ("single-arg-signal-b", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1023s # NULL, 1023s # NULL, 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1023s # G_TYPE_NONE, 1023s # 1, G_TYPE_BOOLEAN); 1023s # 1023s # /** 1023s # * OrgProjectSignalingIface::single-arg-signal-y: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_y: Argument. 1023s # * 1023s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1023s # * 1023s # * 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. 1023s # */ 1023s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1023s # g_signal_new ("single-arg-signal-y", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1023s # NULL, 1023s # NULL, 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1023s # G_TYPE_NONE, 1023s # 1, G_TYPE_UCHAR); 1023s # 1023s # /** 1023s # * OrgProjectSignalingIface::single-arg-signal-n: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_n: Argument. 1023s # * 1023s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1023s # * 1023s # * 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. 1023s # */ 1023s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1023s # g_signal_new ("single-arg-signal-n", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1023s # NULL, 1023s # NULL, 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1023s # G_TYPE_NONE, 1023s # 1, G_TYPE_INT); 1023s # 1023s # /** 1023s # * OrgProjectSignalingIface::single-arg-signal-q: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_q: Argument. 1023s # * 1023s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1023s # * 1023s # * 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. 1023s # */ 1023s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1023s # g_signal_new ("single-arg-signal-q", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1023s # NULL, 1023s # NULL, 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1023s # G_TYPE_NONE, 1023s # 1, G_TYPE_UINT); 1023s # 1023s # /** 1023s # * OrgProjectSignalingIface::single-arg-signal-i: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_i: Argument. 1023s # * 1023s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1023s # * 1023s # * 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. 1023s # */ 1023s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1023s # g_signal_new ("single-arg-signal-i", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1023s # NULL, 1023s # NULL, 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1023s # G_TYPE_NONE, 1023s # 1, G_TYPE_INT); 1023s # 1023s # /** 1023s # * OrgProjectSignalingIface::single-arg-signal-u: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_u: Argument. 1023s # * 1023s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1023s # * 1023s # * 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. 1023s # */ 1023s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1023s # g_signal_new ("single-arg-signal-u", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1023s # NULL, 1023s # NULL, 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1023s # G_TYPE_NONE, 1023s # 1, G_TYPE_UINT); 1023s # 1023s # /** 1023s # * OrgProjectSignalingIface::single-arg-signal-x: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_x: Argument. 1023s # * 1023s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1023s # * 1023s # * 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. 1023s # */ 1023s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1023s # g_signal_new ("single-arg-signal-x", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1023s # NULL, 1023s # NULL, 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1023s # G_TYPE_NONE, 1023s # 1, G_TYPE_INT64); 1023s # 1023s # /** 1023s # * OrgProjectSignalingIface::single-arg-signal-t: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_t: Argument. 1023s # * 1023s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1023s # * 1023s # * 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. 1023s # */ 1023s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1023s # g_signal_new ("single-arg-signal-t", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1023s # NULL, 1023s # NULL, 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1023s # G_TYPE_NONE, 1023s # 1, G_TYPE_UINT64); 1023s # 1023s # /** 1023s # * OrgProjectSignalingIface::single-arg-signal-d: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_d: Argument. 1023s # * 1023s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1023s # * 1023s # * 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. 1023s # */ 1023s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1023s # g_signal_new ("single-arg-signal-d", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1023s # NULL, 1023s # NULL, 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1023s # G_TYPE_NONE, 1023s # 1, G_TYPE_DOUBLE); 1023s # 1023s # /** 1023s # * OrgProjectSignalingIface::single-arg-signal-s: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_s: Argument. 1023s # * 1023s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1023s # * 1023s # * 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. 1023s # */ 1023s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1023s # g_signal_new ("single-arg-signal-s", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1023s # NULL, 1023s # NULL, 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1023s # G_TYPE_NONE, 1023s # 1, G_TYPE_STRING); 1023s # 1023s # /** 1023s # * OrgProjectSignalingIface::single-arg-signal-o: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_o: Argument. 1023s # * 1023s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1023s # * 1023s # * 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. 1023s # */ 1023s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1023s # g_signal_new ("single-arg-signal-o", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1023s # NULL, 1023s # NULL, 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1023s # G_TYPE_NONE, 1023s # 1, G_TYPE_STRING); 1023s # 1023s # /** 1023s # * OrgProjectSignalingIface::single-arg-signal-g: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_g: Argument. 1023s # * 1023s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1023s # * 1023s # * 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. 1023s # */ 1023s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1023s # g_signal_new ("single-arg-signal-g", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1023s # NULL, 1023s # NULL, 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1023s # G_TYPE_NONE, 1023s # 1, G_TYPE_STRING); 1023s # 1023s # /** 1023s # * OrgProjectSignalingIface::single-arg-signal-h: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_h: Argument. 1023s # * 1023s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1023s # * 1023s # * 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. 1023s # */ 1023s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1023s # g_signal_new ("single-arg-signal-h", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1023s # NULL, 1023s # NULL, 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1023s # G_TYPE_NONE, 1023s # 1, G_TYPE_VARIANT); 1023s # 1023s # /** 1023s # * OrgProjectSignalingIface::single-arg-signal-ay: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_ay: Argument. 1023s # * 1023s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 1023s # * 1023s # * 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. 1023s # */ 1023s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1023s # g_signal_new ("single-arg-signal-ay", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1023s # NULL, 1023s # NULL, 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1023s # G_TYPE_NONE, 1023s # 1, G_TYPE_STRING); 1023s # 1023s # /** 1023s # * OrgProjectSignalingIface::single-arg-signal-as: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_as: Argument. 1023s # * 1023s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 1023s # * 1023s # * 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. 1023s # */ 1023s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1023s # g_signal_new ("single-arg-signal-as", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1023s # NULL, 1023s # NULL, 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1023s # G_TYPE_NONE, 1023s # 1, G_TYPE_STRV); 1023s # 1023s # /** 1023s # * OrgProjectSignalingIface::single-arg-signal-ao: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_ao: Argument. 1023s # * 1023s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 1023s # * 1023s # * 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. 1023s # */ 1023s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1023s # g_signal_new ("single-arg-signal-ao", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1023s # NULL, 1023s # NULL, 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1023s # G_TYPE_NONE, 1023s # 1, G_TYPE_STRV); 1023s # 1023s # /** 1023s # * OrgProjectSignalingIface::single-arg-signal-aay: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_aay: Argument. 1023s # * 1023s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 1023s # * 1023s # * 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. 1023s # */ 1023s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1023s # g_signal_new ("single-arg-signal-aay", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1023s # NULL, 1023s # NULL, 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1023s # G_TYPE_NONE, 1023s # 1, G_TYPE_STRV); 1023s # 1023s # /** 1023s # * OrgProjectSignalingIface::single-arg-signal-asv: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_asv: Argument. 1023s # * 1023s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 1023s # * 1023s # * 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. 1023s # */ 1023s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1023s # g_signal_new ("single-arg-signal-asv", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1023s # NULL, 1023s # NULL, 1023s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1023s # G_TYPE_NONE, 1023s # 1, G_TYPE_VARIANT); 1023s # 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_emit_no_arg_signal: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * 1023s # * Emits the "NoArgSignal" D-Bus signal. 1023s # */ 1023s # void 1023s # org_project_signaling_iface_emit_no_arg_signal ( 1023s # OrgProjectSignalingIface *object) 1023s # { 1023s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_emit_single_arg_signal_b: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_b: Argument to pass with the signal. 1023s # * 1023s # * Emits the "SingleArgSignalB" D-Bus signal. 1023s # */ 1023s # void 1023s # org_project_signaling_iface_emit_single_arg_signal_b ( 1023s # OrgProjectSignalingIface *object, 1023s # gboolean arg_an_b) 1023s # { 1023s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_emit_single_arg_signal_y: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_y: Argument to pass with the signal. 1023s # * 1023s # * Emits the "SingleArgSignalY" D-Bus signal. 1023s # */ 1023s # void 1023s # org_project_signaling_iface_emit_single_arg_signal_y ( 1023s # OrgProjectSignalingIface *object, 1023s # guchar arg_an_y) 1023s # { 1023s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_emit_single_arg_signal_n: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_n: Argument to pass with the signal. 1023s # * 1023s # * Emits the "SingleArgSignalN" D-Bus signal. 1023s # */ 1023s # void 1023s # org_project_signaling_iface_emit_single_arg_signal_n ( 1023s # OrgProjectSignalingIface *object, 1023s # gint16 arg_an_n) 1023s # { 1023s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_emit_single_arg_signal_q: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_q: Argument to pass with the signal. 1023s # * 1023s # * Emits the "SingleArgSignalQ" D-Bus signal. 1023s # */ 1023s # void 1023s # org_project_signaling_iface_emit_single_arg_signal_q ( 1023s # OrgProjectSignalingIface *object, 1023s # guint16 arg_an_q) 1023s # { 1023s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_emit_single_arg_signal_i: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_i: Argument to pass with the signal. 1023s # * 1023s # * Emits the "SingleArgSignalI" D-Bus signal. 1023s # */ 1023s # void 1023s # org_project_signaling_iface_emit_single_arg_signal_i ( 1023s # OrgProjectSignalingIface *object, 1023s # gint arg_an_i) 1023s # { 1023s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_emit_single_arg_signal_u: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_u: Argument to pass with the signal. 1023s # * 1023s # * Emits the "SingleArgSignalU" D-Bus signal. 1023s # */ 1023s # void 1023s # org_project_signaling_iface_emit_single_arg_signal_u ( 1023s # OrgProjectSignalingIface *object, 1023s # guint arg_an_u) 1023s # { 1023s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_emit_single_arg_signal_x: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_x: Argument to pass with the signal. 1023s # * 1023s # * Emits the "SingleArgSignalX" D-Bus signal. 1023s # */ 1023s # void 1023s # org_project_signaling_iface_emit_single_arg_signal_x ( 1023s # OrgProjectSignalingIface *object, 1023s # gint64 arg_an_x) 1023s # { 1023s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_emit_single_arg_signal_t: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_t: Argument to pass with the signal. 1023s # * 1023s # * Emits the "SingleArgSignalT" D-Bus signal. 1023s # */ 1023s # void 1023s # org_project_signaling_iface_emit_single_arg_signal_t ( 1023s # OrgProjectSignalingIface *object, 1023s # guint64 arg_an_t) 1023s # { 1023s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_emit_single_arg_signal_d: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_d: Argument to pass with the signal. 1023s # * 1023s # * Emits the "SingleArgSignalD" D-Bus signal. 1023s # */ 1023s # void 1023s # org_project_signaling_iface_emit_single_arg_signal_d ( 1023s # OrgProjectSignalingIface *object, 1023s # gdouble arg_an_d) 1023s # { 1023s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_emit_single_arg_signal_s: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_s: Argument to pass with the signal. 1023s # * 1023s # * Emits the "SingleArgSignalS" D-Bus signal. 1023s # */ 1023s # void 1023s # org_project_signaling_iface_emit_single_arg_signal_s ( 1023s # OrgProjectSignalingIface *object, 1023s # const gchar *arg_an_s) 1023s # { 1023s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_emit_single_arg_signal_o: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_o: Argument to pass with the signal. 1023s # * 1023s # * Emits the "SingleArgSignalO" D-Bus signal. 1023s # */ 1023s # void 1023s # org_project_signaling_iface_emit_single_arg_signal_o ( 1023s # OrgProjectSignalingIface *object, 1023s # const gchar *arg_an_o) 1023s # { 1023s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_emit_single_arg_signal_g: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_g: Argument to pass with the signal. 1023s # * 1023s # * Emits the "SingleArgSignalG" D-Bus signal. 1023s # */ 1023s # void 1023s # org_project_signaling_iface_emit_single_arg_signal_g ( 1023s # OrgProjectSignalingIface *object, 1023s # const gchar *arg_an_g) 1023s # { 1023s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_emit_single_arg_signal_h: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_h: Argument to pass with the signal. 1023s # * 1023s # * Emits the "SingleArgSignalH" D-Bus signal. 1023s # */ 1023s # void 1023s # org_project_signaling_iface_emit_single_arg_signal_h ( 1023s # OrgProjectSignalingIface *object, 1023s # GVariant *arg_an_h) 1023s # { 1023s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_ay: Argument to pass with the signal. 1023s # * 1023s # * Emits the "SingleArgSignalAY" D-Bus signal. 1023s # */ 1023s # void 1023s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1023s # OrgProjectSignalingIface *object, 1023s # const gchar *arg_an_ay) 1023s # { 1023s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_emit_single_arg_signal_as: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_as: Argument to pass with the signal. 1023s # * 1023s # * Emits the "SingleArgSignalAS" D-Bus signal. 1023s # */ 1023s # void 1023s # org_project_signaling_iface_emit_single_arg_signal_as ( 1023s # OrgProjectSignalingIface *object, 1023s # const gchar *const *arg_an_as) 1023s # { 1023s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_ao: Argument to pass with the signal. 1023s # * 1023s # * Emits the "SingleArgSignalAO" D-Bus signal. 1023s # */ 1023s # void 1023s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1023s # OrgProjectSignalingIface *object, 1023s # const gchar *const *arg_an_ao) 1023s # { 1023s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_aay: Argument to pass with the signal. 1023s # * 1023s # * Emits the "SingleArgSignalAAY" D-Bus signal. 1023s # */ 1023s # void 1023s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1023s # OrgProjectSignalingIface *object, 1023s # const gchar *const *arg_an_aay) 1023s # { 1023s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * @arg_an_asv: Argument to pass with the signal. 1023s # * 1023s # * Emits the "SingleArgSignalASV" D-Bus signal. 1023s # */ 1023s # void 1023s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1023s # OrgProjectSignalingIface *object, 1023s # GVariant *arg_an_asv) 1023s # { 1023s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectSignalingIfaceProxy: 1023s # * 1023s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectSignalingIfaceProxyClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectSignalingIfaceProxy. 1023s # */ 1023s # 1023s # struct _OrgProjectSignalingIfaceProxyPrivate 1023s # { 1023s # GData *qdata; 1023s # }; 1023s # 1023s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_signaling_iface_proxy_finalize (GObject *object) 1023s # { 1023s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1023s # g_datalist_clear (&proxy->priv->qdata); 1023s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # const GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1023s # const gchar *sender_name G_GNUC_UNUSED, 1023s # const gchar *signal_name, 1023s # GVariant *parameters) 1023s # { 1023s # _ExtendedGDBusSignalInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # gsize n; 1023s # guint signal_id; 1023s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1023s # if (info == NULL) 1023s # return; 1023s # num_params = g_variant_n_children (parameters); 1023s # paramv = g_new0 (GValue, num_params + 1); 1023s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1023s # g_value_set_object (¶mv[0], proxy); 1023s # g_variant_iter_init (&iter, parameters); 1023s # n = 1; 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1023s # g_signal_emitv (paramv, signal_id, 0, NULL); 1023s # for (n = 0; n < num_params + 1; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1023s # GVariant *changed_properties, 1023s # const gchar *const *invalidated_properties) 1023s # { 1023s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1023s # guint n; 1023s # const gchar *key; 1023s # GVariantIter *iter; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # g_variant_get (changed_properties, "a{sv}", &iter); 1023s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1023s # g_datalist_remove_data (&proxy->priv->qdata, key); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # g_variant_iter_free (iter); 1023s # for (n = 0; invalidated_properties[n] != NULL; n++) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1023s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1023s # #else 1023s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1023s # #endif 1023s # 1023s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusProxyClass *proxy_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1023s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1023s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1023s # 1023s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1023s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1023s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_proxy_new: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_signaling_iface_proxy_new ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_proxy_new_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectSignalingIface * 1023s # org_project_signaling_iface_proxy_new_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_proxy_new_sync: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectSignalingIface * 1023s # org_project_signaling_iface_proxy_new_sync ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /** 1023s # * org_project_signaling_iface_proxy_new_for_bus: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_signaling_iface_proxy_new_for_bus ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectSignalingIface * 1023s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectSignalingIface * 1023s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectSignalingIfaceSkeleton: 1023s # * 1023s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectSignalingIfaceSkeletonClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1023s # */ 1023s # 1023s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1023s # { 1023s # GValue *properties; 1023s # GList *changed_properties; 1023s # GSource *changed_properties_idle_source; 1023s # GMainContext *context; 1023s # GMutex lock; 1023s # }; 1023s # 1023s # static void 1023s # _org_project_signaling_iface_skeleton_handle_method_call ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name, 1023s # const gchar *method_name, 1023s # GVariant *parameters, 1023s # GDBusMethodInvocation *invocation, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1023s # _ExtendedGDBusMethodInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # guint num_extra; 1023s # gsize n; 1023s # guint signal_id; 1023s # GValue return_value = G_VALUE_INIT; 1023s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1023s # g_assert (info != NULL); 1023s # num_params = g_variant_n_children (parameters); 1023s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1023s # n = 0; 1023s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1023s # g_value_set_object (¶mv[n++], skeleton); 1023s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1023s # g_value_set_object (¶mv[n++], invocation); 1023s # if (info->pass_fdlist) 1023s # { 1023s # #ifdef G_OS_UNIX 1023s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1023s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1023s # #else 1023s # g_assert_not_reached (); 1023s # #endif 1023s # } 1023s # g_variant_iter_init (&iter, parameters); 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1023s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1023s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1023s # if (!g_value_get_boolean (&return_value)) 1023s # 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); 1023s # g_value_unset (&return_value); 1023s # for (n = 0; n < num_params + num_extra; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static GVariant * 1023s # _org_project_signaling_iface_skeleton_handle_get_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # GVariant *ret; 1023s # ret = NULL; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # g_value_init (&value, pspec->value_type); 1023s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1023s # g_value_unset (&value); 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _org_project_signaling_iface_skeleton_handle_set_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GVariant *variant, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # gboolean ret; 1023s # ret = FALSE; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # if (info->use_gvariant) 1023s # g_value_set_variant (&value, variant); 1023s # else 1023s # g_dbus_gvariant_to_gvalue (variant, &value); 1023s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # g_value_unset (&value); 1023s # ret = TRUE; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1023s # { 1023s # _org_project_signaling_iface_skeleton_handle_method_call, 1023s # _org_project_signaling_iface_skeleton_handle_get_property, 1023s # _org_project_signaling_iface_skeleton_handle_set_property, 1023s # {NULL} 1023s # }; 1023s # 1023s # static GDBusInterfaceInfo * 1023s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return org_project_signaling_iface_interface_info (); 1023s # } 1023s # 1023s # static GDBusInterfaceVTable * 1023s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1023s # } 1023s # 1023s # static GVariant * 1023s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1023s # 1023s # GVariantBuilder builder; 1023s # guint n; 1023s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1023s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1023s # goto out; 1023s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1023s # { 1023s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1023s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1023s # { 1023s # GVariant *value; 1023s # 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); 1023s # if (value != NULL) 1023s # { 1023s # g_variant_take_ref (value); 1023s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1023s # g_variant_unref (value); 1023s # } 1023s # } 1023s # } 1023s # out: 1023s # return g_variant_builder_end (&builder); 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # _org_project_signaling_iface_on_signal_no_arg_signal ( 1023s # OrgProjectSignalingIface *object) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1023s # 1023s # GList *connections, *l; 1023s # GVariant *signal_variant; 1023s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1023s # 1023s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1023s # for (l = connections; l != NULL; l = l->next) 1023s # { 1023s # GDBusConnection *connection = l->data; 1023s # g_dbus_connection_emit_signal (connection, 1023s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 1023s # signal_variant, NULL); 1023s # } 1023s # g_variant_unref (signal_variant); 1023s # g_list_free_full (connections, g_object_unref); 1023s # } 1023s # 1023s # static void 1023s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1023s # OrgProjectSignalingIface *object, 1023s # gboolean arg_an_b) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1023s # 1023s # GList *connections, *l; 1023s # GVariant *signal_variant; 1023s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1023s # 1023s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1023s # arg_an_b)); 1023s # for (l = connections; l != NULL; l = l->next) 1023s # { 1023s # GDBusConnection *connection = l->data; 1023s # g_dbus_connection_emit_signal (connection, 1023s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1023s # signal_variant, NULL); 1023s # } 1023s # g_variant_unref (signal_variant); 1023s # g_list_free_full (connections, g_object_unref); 1023s # } 1023s # 1023s # static void 1023s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1023s # OrgProjectSignalingIface *object, 1023s # guchar arg_an_y) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1023s # 1023s # GList *connections, *l; 1023s # GVariant *signal_variant; 1023s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1023s # 1023s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1023s # arg_an_y)); 1023s # for (l = connections; l != NULL; l = l->next) 1023s # { 1023s # GDBusConnection *connection = l->data; 1023s # g_dbus_connection_emit_signal (connection, 1023s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1023s # signal_variant, NULL); 1023s # } 1023s # g_variant_unref (signal_variant); 1023s # g_list_free_full (connections, g_object_unref); 1023s # } 1023s # 1023s # static void 1023s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1023s # OrgProjectSignalingIface *object, 1023s # gint16 arg_an_n) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1023s # 1023s # GList *connections, *l; 1023s # GVariant *signal_variant; 1023s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1023s # 1023s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1023s # arg_an_n)); 1023s # for (l = connections; l != NULL; l = l->next) 1023s # { 1023s # GDBusConnection *connection = l->data; 1023s # g_dbus_connection_emit_signal (connection, 1023s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1023s # signal_variant, NULL); 1023s # } 1023s # g_variant_unref (signal_variant); 1023s # g_list_free_full (connections, g_object_unref); 1023s # } 1023s # 1023s # static void 1023s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1023s # OrgProjectSignalingIface *object, 1023s # guint16 arg_an_q) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1023s # 1023s # GList *connections, *l; 1023s # GVariant *signal_variant; 1023s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1023s # 1023s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1023s # arg_an_q)); 1023s # for (l = connections; l != NULL; l = l->next) 1023s # { 1023s # GDBusConnection *connection = l->data; 1023s # g_dbus_connection_emit_signal (connection, 1023s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1023s # signal_variant, NULL); 1023s # } 1023s # g_variant_unref (signal_variant); 1023s # g_list_free_full (connections, g_object_unref); 1023s # } 1023s # 1023s # static void 1023s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1023s # OrgProjectSignalingIface *object, 1023s # gint arg_an_i) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1023s # 1023s # GList *connections, *l; 1023s # GVariant *signal_variant; 1023s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1023s # 1023s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1023s # arg_an_i)); 1023s # for (l = connections; l != NULL; l = l->next) 1023s # { 1023s # GDBusConnection *connection = l->data; 1023s # g_dbus_connection_emit_signal (connection, 1023s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1023s # signal_variant, NULL); 1023s # } 1023s # g_variant_unref (signal_variant); 1023s # g_list_free_full (connections, g_object_unref); 1023s # } 1023s # 1023s # static void 1023s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1023s # OrgProjectSignalingIface *object, 1023s # guint arg_an_u) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1023s # 1023s # GList *connections, *l; 1023s # GVariant *signal_variant; 1023s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1023s # 1023s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1023s # arg_an_u)); 1023s # for (l = connections; l != NULL; l = l->next) 1023s # { 1023s # GDBusConnection *connection = l->data; 1023s # g_dbus_connection_emit_signal (connection, 1023s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1023s # signal_variant, NULL); 1023s # } 1023s # g_variant_unref (signal_variant); 1023s # g_list_free_full (connections, g_object_unref); 1023s # } 1023s # 1023s # static void 1023s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1023s # OrgProjectSignalingIface *object, 1023s # gint64 arg_an_x) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1023s # 1023s # GList *connections, *l; 1023s # GVariant *signal_variant; 1023s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1023s # 1023s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1023s # arg_an_x)); 1023s # for (l = connections; l != NULL; l = l->next) 1023s # { 1023s # GDBusConnection *connection = l->data; 1023s # g_dbus_connection_emit_signal (connection, 1023s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1023s # signal_variant, NULL); 1023s # } 1023s # g_variant_unref (signal_variant); 1023s # g_list_free_full (connections, g_object_unref); 1023s # } 1023s # 1023s # static void 1023s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1023s # OrgProjectSignalingIface *object, 1023s # guint64 arg_an_t) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1023s # 1023s # GList *connections, *l; 1023s # GVariant *signal_variant; 1023s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1023s # 1023s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1023s # arg_an_t)); 1023s # for (l = connections; l != NULL; l = l->next) 1023s # { 1023s # GDBusConnection *connection = l->data; 1023s # g_dbus_connection_emit_signal (connection, 1023s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1023s # signal_variant, NULL); 1023s # } 1023s # g_variant_unref (signal_variant); 1023s # g_list_free_full (connections, g_object_unref); 1023s # } 1023s # 1023s # static void 1023s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1023s # OrgProjectSignalingIface *object, 1023s # gdouble arg_an_d) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1023s # 1023s # GList *connections, *l; 1023s # GVariant *signal_variant; 1023s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1023s # 1023s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1023s # arg_an_d)); 1023s # for (l = connections; l != NULL; l = l->next) 1023s # { 1023s # GDBusConnection *connection = l->data; 1023s # g_dbus_connection_emit_signal (connection, 1023s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1023s # signal_variant, NULL); 1023s # } 1023s # g_variant_unref (signal_variant); 1023s # g_list_free_full (connections, g_object_unref); 1023s # } 1023s # 1023s # static void 1023s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1023s # OrgProjectSignalingIface *object, 1023s # const gchar *arg_an_s) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1023s # 1023s # GList *connections, *l; 1023s # GVariant *signal_variant; 1023s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1023s # 1023s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1023s # arg_an_s)); 1023s # for (l = connections; l != NULL; l = l->next) 1023s # { 1023s # GDBusConnection *connection = l->data; 1023s # g_dbus_connection_emit_signal (connection, 1023s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1023s # signal_variant, NULL); 1023s # } 1023s # g_variant_unref (signal_variant); 1023s # g_list_free_full (connections, g_object_unref); 1023s # } 1023s # 1023s # static void 1023s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1023s # OrgProjectSignalingIface *object, 1023s # const gchar *arg_an_o) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1023s # 1023s # GList *connections, *l; 1023s # GVariant *signal_variant; 1023s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1023s # 1023s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1023s # arg_an_o)); 1023s # for (l = connections; l != NULL; l = l->next) 1023s # { 1023s # GDBusConnection *connection = l->data; 1023s # g_dbus_connection_emit_signal (connection, 1023s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1023s # signal_variant, NULL); 1023s # } 1023s # g_variant_unref (signal_variant); 1023s # g_list_free_full (connections, g_object_unref); 1023s # } 1023s # 1023s # static void 1023s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1023s # OrgProjectSignalingIface *object, 1023s # const gchar *arg_an_g) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1023s # 1023s # GList *connections, *l; 1023s # GVariant *signal_variant; 1023s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1023s # 1023s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1023s # arg_an_g)); 1023s # for (l = connections; l != NULL; l = l->next) 1023s # { 1023s # GDBusConnection *connection = l->data; 1023s # g_dbus_connection_emit_signal (connection, 1023s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1023s # signal_variant, NULL); 1023s # } 1023s # g_variant_unref (signal_variant); 1023s # g_list_free_full (connections, g_object_unref); 1023s # } 1023s # 1023s # static void 1023s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1023s # OrgProjectSignalingIface *object, 1023s # GVariant *arg_an_h) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1023s # 1023s # GList *connections, *l; 1023s # GVariant *signal_variant; 1023s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1023s # 1023s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1023s # arg_an_h)); 1023s # for (l = connections; l != NULL; l = l->next) 1023s # { 1023s # GDBusConnection *connection = l->data; 1023s # g_dbus_connection_emit_signal (connection, 1023s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1023s # signal_variant, NULL); 1023s # } 1023s # g_variant_unref (signal_variant); 1023s # g_list_free_full (connections, g_object_unref); 1023s # } 1023s # 1023s # static void 1023s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1023s # OrgProjectSignalingIface *object, 1023s # const gchar *arg_an_ay) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1023s # 1023s # GList *connections, *l; 1023s # GVariant *signal_variant; 1023s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1023s # 1023s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1023s # arg_an_ay)); 1023s # for (l = connections; l != NULL; l = l->next) 1023s # { 1023s # GDBusConnection *connection = l->data; 1023s # g_dbus_connection_emit_signal (connection, 1023s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 1023s # signal_variant, NULL); 1023s # } 1023s # g_variant_unref (signal_variant); 1023s # g_list_free_full (connections, g_object_unref); 1023s # } 1023s # 1023s # static void 1023s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1023s # OrgProjectSignalingIface *object, 1023s # const gchar *const *arg_an_as) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1023s # 1023s # GList *connections, *l; 1023s # GVariant *signal_variant; 1023s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1023s # 1023s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1023s # arg_an_as)); 1023s # for (l = connections; l != NULL; l = l->next) 1023s # { 1023s # GDBusConnection *connection = l->data; 1023s # g_dbus_connection_emit_signal (connection, 1023s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 1023s # signal_variant, NULL); 1023s # } 1023s # g_variant_unref (signal_variant); 1023s # g_list_free_full (connections, g_object_unref); 1023s # } 1023s # 1023s # static void 1023s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1023s # OrgProjectSignalingIface *object, 1023s # const gchar *const *arg_an_ao) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1023s # 1023s # GList *connections, *l; 1023s # GVariant *signal_variant; 1023s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1023s # 1023s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1023s # arg_an_ao)); 1023s # for (l = connections; l != NULL; l = l->next) 1023s # { 1023s # GDBusConnection *connection = l->data; 1023s # g_dbus_connection_emit_signal (connection, 1023s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 1023s # signal_variant, NULL); 1023s # } 1023s # g_variant_unref (signal_variant); 1023s # g_list_free_full (connections, g_object_unref); 1023s # } 1023s # 1023s # static void 1023s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1023s # OrgProjectSignalingIface *object, 1023s # const gchar *const *arg_an_aay) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1023s # 1023s # GList *connections, *l; 1023s # GVariant *signal_variant; 1023s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1023s # 1023s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1023s # arg_an_aay)); 1023s # for (l = connections; l != NULL; l = l->next) 1023s # { 1023s # GDBusConnection *connection = l->data; 1023s # g_dbus_connection_emit_signal (connection, 1023s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 1023s # signal_variant, NULL); 1023s # } 1023s # g_variant_unref (signal_variant); 1023s # g_list_free_full (connections, g_object_unref); 1023s # } 1023s # 1023s # static void 1023s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1023s # OrgProjectSignalingIface *object, 1023s # GVariant *arg_an_asv) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1023s # 1023s # GList *connections, *l; 1023s # GVariant *signal_variant; 1023s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1023s # 1023s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1023s # arg_an_asv)); 1023s # for (l = connections; l != NULL; l = l->next) 1023s # { 1023s # GDBusConnection *connection = l->data; 1023s # g_dbus_connection_emit_signal (connection, 1023s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 1023s # signal_variant, NULL); 1023s # } 1023s # g_variant_unref (signal_variant); 1023s # g_list_free_full (connections, g_object_unref); 1023s # } 1023s # 1023s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1023s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1023s # if (skeleton->priv->changed_properties_idle_source != NULL) 1023s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1023s # g_main_context_unref (skeleton->priv->context); 1023s # g_mutex_clear (&skeleton->priv->lock); 1023s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1023s # #else 1023s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1023s # #endif 1023s # 1023s # g_mutex_init (&skeleton->priv->lock); 1023s # skeleton->priv->context = g_main_context_ref_thread_default (); 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusInterfaceSkeletonClass *skeleton_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1023s # 1023s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1023s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1023s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1023s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1023s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1023s # { 1023s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 1023s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1023s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1023s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1023s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1023s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1023s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1023s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1023s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1023s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1023s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1023s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1023s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1023s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1023s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1023s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1023s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1023s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1023s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_skeleton_new: 1023s # * 1023s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1023s # */ 1023s # OrgProjectSignalingIface * 1023s # org_project_signaling_iface_skeleton_new (void) 1023s # { 1023s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1023s # } 1023s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 1023s # tmpdir: /tmp/tmplhij0wjh 1023s # codegen: /usr/bin/gdbus-codegen 1023s # /tmp/tmplhij0wjh/tmpr30_b8xb.xml: 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplhij0wjh/tmpr30_b8xb.xml', '--output', '-', '--body'] 1023s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1023s # Output: /* 1023s # * This file is generated by gdbus-codegen, do not modify it. 1023s # * 1023s # * The license of this code is the same as for the D-Bus interface description 1023s # * it was derived from. Note that it links to GLib, so must comply with the 1023s # * LGPL linking clauses. 1023s # */ 1023s # 1023s # #ifdef HAVE_CONFIG_H 1023s # # include "config.h" 1023s # #endif 1023s # 1023s # #include 1023s # #ifdef G_OS_UNIX 1023s # # include 1023s # #endif 1023s # 1023s # #ifdef G_ENABLE_DEBUG 1023s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1023s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1023s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1023s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1023s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1023s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1023s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1023s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1023s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1023s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1023s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1023s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1023s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1023s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1023s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1023s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1023s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1023s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1023s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1023s # #else /* !G_ENABLE_DEBUG */ 1023s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1023s # * Do not access GValues directly in your code. Instead, use the 1023s # * g_value_get_*() functions 1023s # */ 1023s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1023s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1023s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1023s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1023s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1023s # #endif /* !G_ENABLE_DEBUG */ 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusArgInfo parent_struct; 1023s # gboolean use_gvariant; 1023s # } _ExtendedGDBusArgInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusMethodInfo parent_struct; 1023s # const gchar *signal_name; 1023s # gboolean pass_fdlist; 1023s # } _ExtendedGDBusMethodInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusSignalInfo parent_struct; 1023s # const gchar *signal_name; 1023s # } _ExtendedGDBusSignalInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusPropertyInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # guint use_gvariant : 1; 1023s # guint emits_changed_signal : 1; 1023s # } _ExtendedGDBusPropertyInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusInterfaceInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # } _ExtendedGDBusInterfaceInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # const _ExtendedGDBusPropertyInfo *info; 1023s # guint prop_id; 1023s # GValue orig_value; /* the value before the change */ 1023s # } ChangedProperty; 1023s # 1023s # static void 1023s # _changed_property_free (ChangedProperty *data) 1023s # { 1023s # g_value_unset (&data->orig_value); 1023s # g_free (data); 1023s # } 1023s # 1023s # static gboolean 1023s # _g_strv_equal0 (gchar **a, gchar **b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # guint n; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # if (g_strv_length (a) != g_strv_length (b)) 1023s # goto out; 1023s # for (n = 0; a[n] != NULL; n++) 1023s # if (g_strcmp0 (a[n], b[n]) != 0) 1023s # goto out; 1023s # ret = TRUE; 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _g_variant_equal0 (GVariant *a, GVariant *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # ret = g_variant_equal (a, b); 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # G_GNUC_UNUSED static gboolean 1023s # _g_value_equal (const GValue *a, const GValue *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1023s # switch (G_VALUE_TYPE (a)) 1023s # { 1023s # case G_TYPE_BOOLEAN: 1023s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1023s # break; 1023s # case G_TYPE_UCHAR: 1023s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1023s # break; 1023s # case G_TYPE_INT: 1023s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1023s # break; 1023s # case G_TYPE_UINT: 1023s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1023s # break; 1023s # case G_TYPE_INT64: 1023s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1023s # break; 1023s # case G_TYPE_UINT64: 1023s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1023s # break; 1023s # case G_TYPE_DOUBLE: 1023s # { 1023s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1023s # gdouble da = g_value_get_double (a); 1023s # gdouble db = g_value_get_double (b); 1023s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1023s # } 1023s # break; 1023s # case G_TYPE_STRING: 1023s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1023s # break; 1023s # case G_TYPE_VARIANT: 1023s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1023s # break; 1023s # default: 1023s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1023s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1023s # else 1023s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1023s # break; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ 1023s # * Code for interface org.project.UsefulInterface 1023s # * ------------------------------------------------------------------------ 1023s # */ 1023s # 1023s # /** 1023s # * SECTION:OrgProjectUsefulInterface 1023s # * @title: OrgProjectUsefulInterface 1023s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1023s # * 1023s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1023s # */ 1023s # 1023s # enum 1023s # { 1023s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 1023s # }; 1023s # 1023s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 1023s # 1023s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1023s # 1023s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SimpleSignal", 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "simple-signal" 1023s # }; 1023s # 1023s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 1023s # { 1023s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "org.project.UsefulInterface", 1023s # NULL, 1023s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "org-project-useful-interface", 1023s # }; 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_interface_info: 1023s # * 1023s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1023s # * 1023s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1023s # */ 1023s # GDBusInterfaceInfo * 1023s # org_project_useful_interface_interface_info (void) 1023s # { 1023s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_override_properties: 1023s # * @klass: The class structure for a #GObject derived class. 1023s # * @property_id_begin: The property id to assign to the first overridden property. 1023s # * 1023s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1023s # * The properties are overridden in the order they are defined. 1023s # * 1023s # * Returns: The last property id. 1023s # */ 1023s # guint 1023s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1023s # { 1023s # return property_id_begin - 1; 1023s # } 1023s # 1023s # 1023s # inline static void 1023s # org_project_useful_interface_signal_marshal_simple_signal ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # g_cclosure_marshal_VOID__VOID (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterface: 1023s # * 1023s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceIface: 1023s # * @parent_iface: The parent interface. 1023s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 1023s # * 1023s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1023s # */ 1023s # 1023s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1023s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1023s # 1023s # static void 1023s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1023s # { 1023s # /* GObject signals for received D-Bus signals: */ 1023s # /** 1023s # * OrgProjectUsefulInterface::simple-signal: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * 1023s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1023s # * 1023s # * 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. 1023s # */ 1023s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 1023s # g_signal_new ("simple-signal", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 1023s # NULL, 1023s # NULL, 1023s # org_project_useful_interface_signal_marshal_simple_signal, 1023s # G_TYPE_NONE, 1023s # 0); 1023s # 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_emit_simple_signal: 1023s # * @object: A #OrgProjectUsefulInterface. 1023s # * 1023s # * Emits the "SimpleSignal" D-Bus signal. 1023s # */ 1023s # void 1023s # org_project_useful_interface_emit_simple_signal ( 1023s # OrgProjectUsefulInterface *object) 1023s # { 1023s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxy: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceProxyClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceProxyPrivate 1023s # { 1023s # GData *qdata; 1023s # }; 1023s # 1023s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_proxy_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1023s # g_datalist_clear (&proxy->priv->qdata); 1023s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # const GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1023s # const gchar *sender_name G_GNUC_UNUSED, 1023s # const gchar *signal_name, 1023s # GVariant *parameters) 1023s # { 1023s # _ExtendedGDBusSignalInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # gsize n; 1023s # guint signal_id; 1023s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1023s # if (info == NULL) 1023s # return; 1023s # num_params = g_variant_n_children (parameters); 1023s # paramv = g_new0 (GValue, num_params + 1); 1023s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[0], proxy); 1023s # g_variant_iter_init (&iter, parameters); 1023s # n = 1; 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_signal_emitv (paramv, signal_id, 0, NULL); 1023s # for (n = 0; n < num_params + 1; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1023s # GVariant *changed_properties, 1023s # const gchar *const *invalidated_properties) 1023s # { 1023s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1023s # guint n; 1023s # const gchar *key; 1023s # GVariantIter *iter; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # g_variant_get (changed_properties, "a{sv}", &iter); 1023s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1023s # g_datalist_remove_data (&proxy->priv->qdata, key); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # g_variant_iter_free (iter); 1023s # for (n = 0; invalidated_properties[n] != NULL; n++) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1023s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1023s # #else 1023s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1023s # #endif 1023s # 1023s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusProxyClass *proxy_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1023s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1023s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1023s # 1023s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1023s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1023s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_sync: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_sync ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_useful_interface_proxy_new_for_bus ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_proxy_new_for_bus_sync: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_proxy_new_for_bus_sync ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeleton: 1023s # * 1023s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectUsefulInterfaceSkeletonClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1023s # */ 1023s # 1023s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1023s # { 1023s # GValue *properties; 1023s # GList *changed_properties; 1023s # GSource *changed_properties_idle_source; 1023s # GMainContext *context; 1023s # GMutex lock; 1023s # }; 1023s # 1023s # static void 1023s # _org_project_useful_interface_skeleton_handle_method_call ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name, 1023s # const gchar *method_name, 1023s # GVariant *parameters, 1023s # GDBusMethodInvocation *invocation, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # _ExtendedGDBusMethodInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # guint num_extra; 1023s # gsize n; 1023s # guint signal_id; 1023s # GValue return_value = G_VALUE_INIT; 1023s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1023s # g_assert (info != NULL); 1023s # num_params = g_variant_n_children (parameters); 1023s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1023s # n = 0; 1023s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_set_object (¶mv[n++], skeleton); 1023s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1023s # g_value_set_object (¶mv[n++], invocation); 1023s # if (info->pass_fdlist) 1023s # { 1023s # #ifdef G_OS_UNIX 1023s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1023s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1023s # #else 1023s # g_assert_not_reached (); 1023s # #endif 1023s # } 1023s # g_variant_iter_init (&iter, parameters); 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1023s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1023s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1023s # if (!g_value_get_boolean (&return_value)) 1023s # 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); 1023s # g_value_unset (&return_value); 1023s # for (n = 0; n < num_params + num_extra; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static GVariant * 1023s # _org_project_useful_interface_skeleton_handle_get_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # GVariant *ret; 1023s # ret = NULL; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # g_value_init (&value, pspec->value_type); 1023s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1023s # g_value_unset (&value); 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _org_project_useful_interface_skeleton_handle_set_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GVariant *variant, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # gboolean ret; 1023s # ret = FALSE; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # if (info->use_gvariant) 1023s # g_value_set_variant (&value, variant); 1023s # else 1023s # g_dbus_gvariant_to_gvalue (variant, &value); 1023s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # g_value_unset (&value); 1023s # ret = TRUE; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1023s # { 1023s # _org_project_useful_interface_skeleton_handle_method_call, 1023s # _org_project_useful_interface_skeleton_handle_get_property, 1023s # _org_project_useful_interface_skeleton_handle_set_property, 1023s # {NULL} 1023s # }; 1023s # 1023s # static GDBusInterfaceInfo * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return org_project_useful_interface_interface_info (); 1023s # } 1023s # 1023s # static GDBusInterfaceVTable * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1023s # } 1023s # 1023s # static GVariant * 1023s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1023s # 1023s # GVariantBuilder builder; 1023s # guint n; 1023s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1023s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1023s # goto out; 1023s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1023s # { 1023s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1023s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1023s # { 1023s # GVariant *value; 1023s # 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); 1023s # if (value != NULL) 1023s # { 1023s # g_variant_take_ref (value); 1023s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1023s # g_variant_unref (value); 1023s # } 1023s # } 1023s # } 1023s # out: 1023s # return g_variant_builder_end (&builder); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # _org_project_useful_interface_on_signal_simple_signal ( 1023s # OrgProjectUsefulInterface *object) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1023s # 1023s # GList *connections, *l; 1023s # GVariant *signal_variant; 1023s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1023s # 1023s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1023s # for (l = connections; l != NULL; l = l->next) 1023s # { 1023s # GDBusConnection *connection = l->data; 1023s # g_dbus_connection_emit_signal (connection, 1023s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 1023s # signal_variant, NULL); 1023s # } 1023s # g_variant_unref (signal_variant); 1023s # g_list_free_full (connections, g_object_unref); 1023s # } 1023s # 1023s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_useful_interface_skeleton_finalize (GObject *object) 1023s # { 1023s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1023s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1023s # if (skeleton->priv->changed_properties_idle_source != NULL) 1023s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1023s # g_main_context_unref (skeleton->priv->context); 1023s # g_mutex_clear (&skeleton->priv->lock); 1023s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1023s # #else 1023s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1023s # #endif 1023s # 1023s # g_mutex_init (&skeleton->priv->lock); 1023s # skeleton->priv->context = g_main_context_ref_thread_default (); 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusInterfaceSkeletonClass *skeleton_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1023s # 1023s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1023s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1023s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1023s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1023s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 1023s # { 1023s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 1023s # } 1023s # 1023s # /** 1023s # * org_project_useful_interface_skeleton_new: 1023s # * 1023s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1023s # */ 1023s # OrgProjectUsefulInterface * 1023s # org_project_useful_interface_skeleton_new (void) 1023s # { 1023s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ 1023s # * Code for interface org.project.OtherIface 1023s # * ------------------------------------------------------------------------ 1023s # */ 1023s # 1023s # /** 1023s # * SECTION:OrgProjectOtherIface 1023s # * @title: OrgProjectOtherIface 1023s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 1023s # * 1023s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 1023s # */ 1023s # 1023s # enum 1023s # { 1023s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 1023s # }; 1023s # 1023s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 1023s # 1023s # /* ---- Introspection data for org.project.OtherIface ---- */ 1023s # 1023s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SimpleSignal", 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "simple-signal" 1023s # }; 1023s # 1023s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 1023s # { 1023s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "org.project.OtherIface", 1023s # NULL, 1023s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "org-project-other-iface", 1023s # }; 1023s # 1023s # 1023s # /** 1023s # * org_project_other_iface_interface_info: 1023s # * 1023s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 1023s # * 1023s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1023s # */ 1023s # GDBusInterfaceInfo * 1023s # org_project_other_iface_interface_info (void) 1023s # { 1023s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 1023s # } 1023s # 1023s # /** 1023s # * org_project_other_iface_override_properties: 1023s # * @klass: The class structure for a #GObject derived class. 1023s # * @property_id_begin: The property id to assign to the first overridden property. 1023s # * 1023s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 1023s # * The properties are overridden in the order they are defined. 1023s # * 1023s # * Returns: The last property id. 1023s # */ 1023s # guint 1023s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1023s # { 1023s # return property_id_begin - 1; 1023s # } 1023s # 1023s # 1023s # inline static void 1023s # org_project_other_iface_signal_marshal_simple_signal ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # g_cclosure_marshal_VOID__VOID (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # 1023s # /** 1023s # * OrgProjectOtherIface: 1023s # * 1023s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectOtherIfaceIface: 1023s # * @parent_iface: The parent interface. 1023s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 1023s # * 1023s # * Virtual table for the D-Bus interface org.project.OtherIface. 1023s # */ 1023s # 1023s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 1023s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 1023s # 1023s # static void 1023s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 1023s # { 1023s # /* GObject signals for received D-Bus signals: */ 1023s # /** 1023s # * OrgProjectOtherIface::simple-signal: 1023s # * @object: A #OrgProjectOtherIface. 1023s # * 1023s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1023s # * 1023s # * 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. 1023s # */ 1023s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 1023s # g_signal_new ("simple-signal", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 1023s # NULL, 1023s # NULL, 1023s # org_project_other_iface_signal_marshal_simple_signal, 1023s # G_TYPE_NONE, 1023s # 0); 1023s # 1023s # } 1023s # 1023s # /** 1023s # * org_project_other_iface_emit_simple_signal: 1023s # * @object: A #OrgProjectOtherIface. 1023s # * 1023s # * Emits the "SimpleSignal" D-Bus signal. 1023s # */ 1023s # void 1023s # org_project_other_iface_emit_simple_signal ( 1023s # OrgProjectOtherIface *object) 1023s # { 1023s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectOtherIfaceProxy: 1023s # * 1023s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectOtherIfaceProxyClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectOtherIfaceProxy. 1023s # */ 1023s # 1023s # struct _OrgProjectOtherIfaceProxyPrivate 1023s # { 1023s # GData *qdata; 1023s # }; 1023s # 1023s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_other_iface_proxy_finalize (GObject *object) 1023s # { 1023s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 1023s # g_datalist_clear (&proxy->priv->qdata); 1023s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # const GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 1023s # const gchar *sender_name G_GNUC_UNUSED, 1023s # const gchar *signal_name, 1023s # GVariant *parameters) 1023s # { 1023s # _ExtendedGDBusSignalInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # gsize n; 1023s # guint signal_id; 1023s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 1023s # if (info == NULL) 1023s # return; 1023s # num_params = g_variant_n_children (parameters); 1023s # paramv = g_new0 (GValue, num_params + 1); 1023s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 1023s # g_value_set_object (¶mv[0], proxy); 1023s # g_variant_iter_init (&iter, parameters); 1023s # n = 1; 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1023s # g_signal_emitv (paramv, signal_id, 0, NULL); 1023s # for (n = 0; n < num_params + 1; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static void 1023s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1023s # GVariant *changed_properties, 1023s # const gchar *const *invalidated_properties) 1023s # { 1023s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 1023s # guint n; 1023s # const gchar *key; 1023s # GVariantIter *iter; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # g_variant_get (changed_properties, "a{sv}", &iter); 1023s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 1023s # g_datalist_remove_data (&proxy->priv->qdata, key); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # g_variant_iter_free (iter); 1023s # for (n = 0; invalidated_properties[n] != NULL; n++) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 1023s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # } 1023s # 1023s # static void 1023s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 1023s # #else 1023s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 1023s # #endif 1023s # 1023s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 1023s # } 1023s # 1023s # static void 1023s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusProxyClass *proxy_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 1023s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 1023s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 1023s # 1023s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1023s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 1023s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_other_iface_proxy_new: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_other_iface_proxy_new ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_other_iface_proxy_new_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_other_iface_proxy_new(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectOtherIface * 1023s # org_project_other_iface_proxy_new_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_OTHER_IFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_other_iface_proxy_new_sync: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectOtherIface * 1023s # org_project_other_iface_proxy_new_sync ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_OTHER_IFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /** 1023s # * org_project_other_iface_proxy_new_for_bus: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_other_iface_proxy_new_for_bus ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_other_iface_proxy_new_for_bus_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectOtherIface * 1023s # org_project_other_iface_proxy_new_for_bus_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_OTHER_IFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_other_iface_proxy_new_for_bus_sync: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectOtherIface * 1023s # org_project_other_iface_proxy_new_for_bus_sync ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_OTHER_IFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectOtherIfaceSkeleton: 1023s # * 1023s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectOtherIfaceSkeletonClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectOtherIfaceSkeleton. 1023s # */ 1023s # 1023s # struct _OrgProjectOtherIfaceSkeletonPrivate 1023s # { 1023s # GValue *properties; 1023s # GList *changed_properties; 1023s # GSource *changed_properties_idle_source; 1023s # GMainContext *context; 1023s # GMutex lock; 1023s # }; 1023s # 1023s # static void 1023s # _org_project_other_iface_skeleton_handle_method_call ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name, 1023s # const gchar *method_name, 1023s # GVariant *parameters, 1023s # GDBusMethodInvocation *invocation, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1023s # _ExtendedGDBusMethodInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # guint num_extra; 1023s # gsize n; 1023s # guint signal_id; 1023s # GValue return_value = G_VALUE_INIT; 1023s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1023s # g_assert (info != NULL); 1023s # num_params = g_variant_n_children (parameters); 1023s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1023s # n = 0; 1023s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 1023s # g_value_set_object (¶mv[n++], skeleton); 1023s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1023s # g_value_set_object (¶mv[n++], invocation); 1023s # if (info->pass_fdlist) 1023s # { 1023s # #ifdef G_OS_UNIX 1023s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1023s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1023s # #else 1023s # g_assert_not_reached (); 1023s # #endif 1023s # } 1023s # g_variant_iter_init (&iter, parameters); 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1023s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1023s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1023s # if (!g_value_get_boolean (&return_value)) 1023s # 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); 1023s # g_value_unset (&return_value); 1023s # for (n = 0; n < num_params + num_extra; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static GVariant * 1023s # _org_project_other_iface_skeleton_handle_get_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # GVariant *ret; 1023s # ret = NULL; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # g_value_init (&value, pspec->value_type); 1023s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1023s # g_value_unset (&value); 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _org_project_other_iface_skeleton_handle_set_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GVariant *variant, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # gboolean ret; 1023s # ret = FALSE; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # if (info->use_gvariant) 1023s # g_value_set_variant (&value, variant); 1023s # else 1023s # g_dbus_gvariant_to_gvalue (variant, &value); 1023s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # g_value_unset (&value); 1023s # ret = TRUE; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 1023s # { 1023s # _org_project_other_iface_skeleton_handle_method_call, 1023s # _org_project_other_iface_skeleton_handle_get_property, 1023s # _org_project_other_iface_skeleton_handle_set_property, 1023s # {NULL} 1023s # }; 1023s # 1023s # static GDBusInterfaceInfo * 1023s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return org_project_other_iface_interface_info (); 1023s # } 1023s # 1023s # static GDBusInterfaceVTable * 1023s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 1023s # } 1023s # 1023s # static GVariant * 1023s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1023s # { 1023s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 1023s # 1023s # GVariantBuilder builder; 1023s # guint n; 1023s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1023s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 1023s # goto out; 1023s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1023s # { 1023s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 1023s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1023s # { 1023s # GVariant *value; 1023s # 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); 1023s # if (value != NULL) 1023s # { 1023s # g_variant_take_ref (value); 1023s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1023s # g_variant_unref (value); 1023s # } 1023s # } 1023s # } 1023s # out: 1023s # return g_variant_builder_end (&builder); 1023s # } 1023s # 1023s # static void 1023s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # _org_project_other_iface_on_signal_simple_signal ( 1023s # OrgProjectOtherIface *object) 1023s # { 1023s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1023s # 1023s # GList *connections, *l; 1023s # GVariant *signal_variant; 1023s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1023s # 1023s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1023s # for (l = connections; l != NULL; l = l->next) 1023s # { 1023s # GDBusConnection *connection = l->data; 1023s # g_dbus_connection_emit_signal (connection, 1023s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 1023s # signal_variant, NULL); 1023s # } 1023s # g_variant_unref (signal_variant); 1023s # g_list_free_full (connections, g_object_unref); 1023s # } 1023s # 1023s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_other_iface_skeleton_finalize (GObject *object) 1023s # { 1023s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1023s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1023s # if (skeleton->priv->changed_properties_idle_source != NULL) 1023s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1023s # g_main_context_unref (skeleton->priv->context); 1023s # g_mutex_clear (&skeleton->priv->lock); 1023s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 1023s # #else 1023s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 1023s # #endif 1023s # 1023s # g_mutex_init (&skeleton->priv->lock); 1023s # skeleton->priv->context = g_main_context_ref_thread_default (); 1023s # } 1023s # 1023s # static void 1023s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusInterfaceSkeletonClass *skeleton_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 1023s # 1023s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1023s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 1023s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 1023s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 1023s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 1023s # { 1023s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 1023s # } 1023s # 1023s # /** 1023s # * org_project_other_iface_skeleton_new: 1023s # * 1023s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 1023s # */ 1023s # OrgProjectOtherIface * 1023s # org_project_other_iface_skeleton_new (void) 1023s # { 1023s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 1023s # } 1023s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 1023s # tmpdir: /tmp/tmpp6uj1i5w 1023s # codegen: /usr/bin/gdbus-codegen 1023s # /tmp/tmpp6uj1i5w/tmp95l9_gdk.xml: 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # 1023s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp6uj1i5w/tmp95l9_gdk.xml', '--output', '-', '--body'] 1023s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1023s # Output: /* 1023s # * This file is generated by gdbus-codegen, do not modify it. 1023s # * 1023s # * The license of this code is the same as for the D-Bus interface description 1023s # * it was derived from. Note that it links to GLib, so must comply with the 1023s # * LGPL linking clauses. 1023s # */ 1023s # 1023s # #ifdef HAVE_CONFIG_H 1023s # # include "config.h" 1023s # #endif 1023s # 1023s # #include 1023s # #ifdef G_OS_UNIX 1023s # # include 1023s # #endif 1023s # 1023s # #ifdef G_ENABLE_DEBUG 1023s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1023s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1023s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1023s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1023s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1023s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1023s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1023s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1023s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1023s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1023s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1023s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1023s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1023s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1023s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1023s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1023s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1023s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1023s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1023s # #else /* !G_ENABLE_DEBUG */ 1023s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1023s # * Do not access GValues directly in your code. Instead, use the 1023s # * g_value_get_*() functions 1023s # */ 1023s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1023s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1023s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1023s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1023s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1023s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1023s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1023s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1023s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1023s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1023s # #endif /* !G_ENABLE_DEBUG */ 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusArgInfo parent_struct; 1023s # gboolean use_gvariant; 1023s # } _ExtendedGDBusArgInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusMethodInfo parent_struct; 1023s # const gchar *signal_name; 1023s # gboolean pass_fdlist; 1023s # } _ExtendedGDBusMethodInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusSignalInfo parent_struct; 1023s # const gchar *signal_name; 1023s # } _ExtendedGDBusSignalInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusPropertyInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # guint use_gvariant : 1; 1023s # guint emits_changed_signal : 1; 1023s # } _ExtendedGDBusPropertyInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # GDBusInterfaceInfo parent_struct; 1023s # const gchar *hyphen_name; 1023s # } _ExtendedGDBusInterfaceInfo; 1023s # 1023s # typedef struct 1023s # { 1023s # const _ExtendedGDBusPropertyInfo *info; 1023s # guint prop_id; 1023s # GValue orig_value; /* the value before the change */ 1023s # } ChangedProperty; 1023s # 1023s # static void 1023s # _changed_property_free (ChangedProperty *data) 1023s # { 1023s # g_value_unset (&data->orig_value); 1023s # g_free (data); 1023s # } 1023s # 1023s # static gboolean 1023s # _g_strv_equal0 (gchar **a, gchar **b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # guint n; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # if (g_strv_length (a) != g_strv_length (b)) 1023s # goto out; 1023s # for (n = 0; a[n] != NULL; n++) 1023s # if (g_strcmp0 (a[n], b[n]) != 0) 1023s # goto out; 1023s # ret = TRUE; 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _g_variant_equal0 (GVariant *a, GVariant *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # if (a == NULL && b == NULL) 1023s # { 1023s # ret = TRUE; 1023s # goto out; 1023s # } 1023s # if (a == NULL || b == NULL) 1023s # goto out; 1023s # ret = g_variant_equal (a, b); 1023s # out: 1023s # return ret; 1023s # } 1023s # 1023s # G_GNUC_UNUSED static gboolean 1023s # _g_value_equal (const GValue *a, const GValue *b) 1023s # { 1023s # gboolean ret = FALSE; 1023s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1023s # switch (G_VALUE_TYPE (a)) 1023s # { 1023s # case G_TYPE_BOOLEAN: 1023s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1023s # break; 1023s # case G_TYPE_UCHAR: 1023s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1023s # break; 1023s # case G_TYPE_INT: 1023s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1023s # break; 1023s # case G_TYPE_UINT: 1023s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1023s # break; 1023s # case G_TYPE_INT64: 1023s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1023s # break; 1023s # case G_TYPE_UINT64: 1023s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1023s # break; 1023s # case G_TYPE_DOUBLE: 1023s # { 1023s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1023s # gdouble da = g_value_get_double (a); 1023s # gdouble db = g_value_get_double (b); 1023s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1023s # } 1023s # break; 1023s # case G_TYPE_STRING: 1023s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1023s # break; 1023s # case G_TYPE_VARIANT: 1023s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1023s # break; 1023s # default: 1023s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1023s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1023s # else 1023s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1023s # break; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ 1023s # * Code for interface org.project.SignalingIface 1023s # * ------------------------------------------------------------------------ 1023s # */ 1023s # 1023s # /** 1023s # * SECTION:OrgProjectSignalingIface 1023s # * @title: OrgProjectSignalingIface 1023s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1023s # * 1023s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1023s # */ 1023s # 1023s # enum 1023s # { 1023s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1023s # }; 1023s # 1023s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1023s # 1023s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1023s # 1023s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SimpleSignal", 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "simple-signal" 1023s # }; 1023s # 1023s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1023s # { 1023s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "org.project.SignalingIface", 1023s # NULL, 1023s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "org-project-signaling-iface", 1023s # }; 1023s # 1023s # 1023s # /** 1023s # * org_project_signaling_iface_interface_info: 1023s # * 1023s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1023s # * 1023s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1023s # */ 1023s # GDBusInterfaceInfo * 1023s # org_project_signaling_iface_interface_info (void) 1023s # { 1023s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_override_properties: 1023s # * @klass: The class structure for a #GObject derived class. 1023s # * @property_id_begin: The property id to assign to the first overridden property. 1023s # * 1023s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1023s # * The properties are overridden in the order they are defined. 1023s # * 1023s # * Returns: The last property id. 1023s # */ 1023s # guint 1023s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1023s # { 1023s # return property_id_begin - 1; 1023s # } 1023s # 1023s # 1023s # inline static void 1023s # org_project_signaling_iface_signal_marshal_simple_signal ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # g_cclosure_marshal_VOID__VOID (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # 1023s # /** 1023s # * OrgProjectSignalingIface: 1023s # * 1023s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectSignalingIfaceIface: 1023s # * @parent_iface: The parent interface. 1023s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1023s # * 1023s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1023s # */ 1023s # 1023s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1023s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1023s # 1023s # static void 1023s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1023s # { 1023s # /* GObject signals for received D-Bus signals: */ 1023s # /** 1023s # * OrgProjectSignalingIface::simple-signal: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * 1023s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1023s # * 1023s # * 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. 1023s # */ 1023s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1023s # g_signal_new ("simple-signal", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1023s # NULL, 1023s # NULL, 1023s # org_project_signaling_iface_signal_marshal_simple_signal, 1023s # G_TYPE_NONE, 1023s # 0); 1023s # 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_emit_simple_signal: 1023s # * @object: A #OrgProjectSignalingIface. 1023s # * 1023s # * Emits the "SimpleSignal" D-Bus signal. 1023s # */ 1023s # void 1023s # org_project_signaling_iface_emit_simple_signal ( 1023s # OrgProjectSignalingIface *object) 1023s # { 1023s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectSignalingIfaceProxy: 1023s # * 1023s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectSignalingIfaceProxyClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectSignalingIfaceProxy. 1023s # */ 1023s # 1023s # struct _OrgProjectSignalingIfaceProxyPrivate 1023s # { 1023s # GData *qdata; 1023s # }; 1023s # 1023s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_signaling_iface_proxy_finalize (GObject *object) 1023s # { 1023s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1023s # g_datalist_clear (&proxy->priv->qdata); 1023s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # const GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1023s # const gchar *sender_name G_GNUC_UNUSED, 1023s # const gchar *signal_name, 1023s # GVariant *parameters) 1023s # { 1023s # _ExtendedGDBusSignalInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # gsize n; 1023s # guint signal_id; 1023s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1023s # if (info == NULL) 1023s # return; 1023s # num_params = g_variant_n_children (parameters); 1023s # paramv = g_new0 (GValue, num_params + 1); 1023s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1023s # g_value_set_object (¶mv[0], proxy); 1023s # g_variant_iter_init (&iter, parameters); 1023s # n = 1; 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1023s # g_signal_emitv (paramv, signal_id, 0, NULL); 1023s # for (n = 0; n < num_params + 1; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1023s # GVariant *changed_properties, 1023s # const gchar *const *invalidated_properties) 1023s # { 1023s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1023s # guint n; 1023s # const gchar *key; 1023s # GVariantIter *iter; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # g_variant_get (changed_properties, "a{sv}", &iter); 1023s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1023s # g_datalist_remove_data (&proxy->priv->qdata, key); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # g_variant_iter_free (iter); 1023s # for (n = 0; invalidated_properties[n] != NULL; n++) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1023s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1023s # #else 1023s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1023s # #endif 1023s # 1023s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusProxyClass *proxy_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1023s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1023s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1023s # 1023s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1023s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1023s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_proxy_new: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_signaling_iface_proxy_new ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_proxy_new_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectSignalingIface * 1023s # org_project_signaling_iface_proxy_new_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_proxy_new_sync: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectSignalingIface * 1023s # org_project_signaling_iface_proxy_new_sync ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /** 1023s # * org_project_signaling_iface_proxy_new_for_bus: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_signaling_iface_proxy_new_for_bus ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectSignalingIface * 1023s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectSignalingIface * 1023s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectSignalingIfaceSkeleton: 1023s # * 1023s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectSignalingIfaceSkeletonClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1023s # */ 1023s # 1023s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1023s # { 1023s # GValue *properties; 1023s # GList *changed_properties; 1023s # GSource *changed_properties_idle_source; 1023s # GMainContext *context; 1023s # GMutex lock; 1023s # }; 1023s # 1023s # static void 1023s # _org_project_signaling_iface_skeleton_handle_method_call ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name, 1023s # const gchar *method_name, 1023s # GVariant *parameters, 1023s # GDBusMethodInvocation *invocation, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1023s # _ExtendedGDBusMethodInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # guint num_extra; 1023s # gsize n; 1023s # guint signal_id; 1023s # GValue return_value = G_VALUE_INIT; 1023s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1023s # g_assert (info != NULL); 1023s # num_params = g_variant_n_children (parameters); 1023s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1023s # n = 0; 1023s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1023s # g_value_set_object (¶mv[n++], skeleton); 1023s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1023s # g_value_set_object (¶mv[n++], invocation); 1023s # if (info->pass_fdlist) 1023s # { 1023s # #ifdef G_OS_UNIX 1023s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1023s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1023s # #else 1023s # g_assert_not_reached (); 1023s # #endif 1023s # } 1023s # g_variant_iter_init (&iter, parameters); 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1023s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1023s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1023s # if (!g_value_get_boolean (&return_value)) 1023s # 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); 1023s # g_value_unset (&return_value); 1023s # for (n = 0; n < num_params + num_extra; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static GVariant * 1023s # _org_project_signaling_iface_skeleton_handle_get_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # GVariant *ret; 1023s # ret = NULL; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # g_value_init (&value, pspec->value_type); 1023s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1023s # g_value_unset (&value); 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _org_project_signaling_iface_skeleton_handle_set_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GVariant *variant, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # gboolean ret; 1023s # ret = FALSE; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # if (info->use_gvariant) 1023s # g_value_set_variant (&value, variant); 1023s # else 1023s # g_dbus_gvariant_to_gvalue (variant, &value); 1023s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # g_value_unset (&value); 1023s # ret = TRUE; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1023s # { 1023s # _org_project_signaling_iface_skeleton_handle_method_call, 1023s # _org_project_signaling_iface_skeleton_handle_get_property, 1023s # _org_project_signaling_iface_skeleton_handle_set_property, 1023s # {NULL} 1023s # }; 1023s # 1023s # static GDBusInterfaceInfo * 1023s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return org_project_signaling_iface_interface_info (); 1023s # } 1023s # 1023s # static GDBusInterfaceVTable * 1023s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1023s # } 1023s # 1023s # static GVariant * 1023s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1023s # 1023s # GVariantBuilder builder; 1023s # guint n; 1023s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1023s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1023s # goto out; 1023s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1023s # { 1023s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1023s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1023s # { 1023s # GVariant *value; 1023s # 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); 1023s # if (value != NULL) 1023s # { 1023s # g_variant_take_ref (value); 1023s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1023s # g_variant_unref (value); 1023s # } 1023s # } 1023s # } 1023s # out: 1023s # return g_variant_builder_end (&builder); 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # _org_project_signaling_iface_on_signal_simple_signal ( 1023s # OrgProjectSignalingIface *object) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1023s # 1023s # GList *connections, *l; 1023s # GVariant *signal_variant; 1023s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1023s # 1023s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1023s # for (l = connections; l != NULL; l = l->next) 1023s # { 1023s # GDBusConnection *connection = l->data; 1023s # g_dbus_connection_emit_signal (connection, 1023s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1023s # signal_variant, NULL); 1023s # } 1023s # g_variant_unref (signal_variant); 1023s # g_list_free_full (connections, g_object_unref); 1023s # } 1023s # 1023s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1023s # { 1023s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1023s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1023s # if (skeleton->priv->changed_properties_idle_source != NULL) 1023s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1023s # g_main_context_unref (skeleton->priv->context); 1023s # g_mutex_clear (&skeleton->priv->lock); 1023s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1023s # #else 1023s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1023s # #endif 1023s # 1023s # g_mutex_init (&skeleton->priv->lock); 1023s # skeleton->priv->context = g_main_context_ref_thread_default (); 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusInterfaceSkeletonClass *skeleton_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1023s # 1023s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1023s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1023s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1023s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1023s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1023s # { 1023s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1023s # } 1023s # 1023s # /** 1023s # * org_project_signaling_iface_skeleton_new: 1023s # * 1023s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1023s # */ 1023s # OrgProjectSignalingIface * 1023s # org_project_signaling_iface_skeleton_new (void) 1023s # { 1023s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ 1023s # * Code for interface org.project.OtherSignalingIface 1023s # * ------------------------------------------------------------------------ 1023s # */ 1023s # 1023s # /** 1023s # * SECTION:OrgProjectOtherSignalingIface 1023s # * @title: OrgProjectOtherSignalingIface 1023s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 1023s # * 1023s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 1023s # */ 1023s # 1023s # enum 1023s # { 1023s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 1023s # }; 1023s # 1023s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1023s # 1023s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 1023s # 1023s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "SimpleSignal", 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "simple-signal" 1023s # }; 1023s # 1023s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 1023s # { 1023s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 1023s # NULL 1023s # }; 1023s # 1023s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 1023s # { 1023s # { 1023s # -1, 1023s # (gchar *) "org.project.OtherSignalingIface", 1023s # NULL, 1023s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 1023s # NULL, 1023s # NULL 1023s # }, 1023s # "org-project-other-signaling-iface", 1023s # }; 1023s # 1023s # 1023s # /** 1023s # * org_project_other_signaling_iface_interface_info: 1023s # * 1023s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 1023s # * 1023s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1023s # */ 1023s # GDBusInterfaceInfo * 1023s # org_project_other_signaling_iface_interface_info (void) 1023s # { 1023s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 1023s # } 1023s # 1023s # /** 1023s # * org_project_other_signaling_iface_override_properties: 1023s # * @klass: The class structure for a #GObject derived class. 1023s # * @property_id_begin: The property id to assign to the first overridden property. 1023s # * 1023s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 1023s # * The properties are overridden in the order they are defined. 1023s # * 1023s # * Returns: The last property id. 1023s # */ 1023s # guint 1023s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1023s # { 1023s # return property_id_begin - 1; 1023s # } 1023s # 1023s # 1023s # inline static void 1023s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 1023s # GClosure *closure, 1023s # GValue *return_value, 1023s # unsigned int n_param_values, 1023s # const GValue *param_values, 1023s # void *invocation_hint, 1023s # void *marshal_data) 1023s # { 1023s # g_cclosure_marshal_VOID__VOID (closure, 1023s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1023s # } 1023s # 1023s # 1023s # /** 1023s # * OrgProjectOtherSignalingIface: 1023s # * 1023s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectOtherSignalingIfaceIface: 1023s # * @parent_iface: The parent interface. 1023s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 1023s # * 1023s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 1023s # */ 1023s # 1023s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 1023s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 1023s # 1023s # static void 1023s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 1023s # { 1023s # /* GObject signals for received D-Bus signals: */ 1023s # /** 1023s # * OrgProjectOtherSignalingIface::simple-signal: 1023s # * @object: A #OrgProjectOtherSignalingIface. 1023s # * 1023s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1023s # * 1023s # * 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. 1023s # */ 1023s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1023s # g_signal_new ("simple-signal", 1023s # G_TYPE_FROM_INTERFACE (iface), 1023s # G_SIGNAL_RUN_LAST, 1023s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 1023s # NULL, 1023s # NULL, 1023s # org_project_other_signaling_iface_signal_marshal_simple_signal, 1023s # G_TYPE_NONE, 1023s # 0); 1023s # 1023s # } 1023s # 1023s # /** 1023s # * org_project_other_signaling_iface_emit_simple_signal: 1023s # * @object: A #OrgProjectOtherSignalingIface. 1023s # * 1023s # * Emits the "SimpleSignal" D-Bus signal. 1023s # */ 1023s # void 1023s # org_project_other_signaling_iface_emit_simple_signal ( 1023s # OrgProjectOtherSignalingIface *object) 1023s # { 1023s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1023s # } 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectOtherSignalingIfaceProxy: 1023s # * 1023s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectOtherSignalingIfaceProxyClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 1023s # */ 1023s # 1023s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 1023s # { 1023s # GData *qdata; 1023s # }; 1023s # 1023s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 1023s # { 1023s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 1023s # g_datalist_clear (&proxy->priv->qdata); 1023s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1023s # guint prop_id G_GNUC_UNUSED, 1023s # const GValue *value G_GNUC_UNUSED, 1023s # GParamSpec *pspec G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1023s # const gchar *sender_name G_GNUC_UNUSED, 1023s # const gchar *signal_name, 1023s # GVariant *parameters) 1023s # { 1023s # _ExtendedGDBusSignalInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # gsize n; 1023s # guint signal_id; 1023s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 1023s # if (info == NULL) 1023s # return; 1023s # num_params = g_variant_n_children (parameters); 1023s # paramv = g_new0 (GValue, num_params + 1); 1023s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1023s # g_value_set_object (¶mv[0], proxy); 1023s # g_variant_iter_init (&iter, parameters); 1023s # n = 1; 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1023s # g_signal_emitv (paramv, signal_id, 0, NULL); 1023s # for (n = 0; n < num_params + 1; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static void 1023s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1023s # GVariant *changed_properties, 1023s # const gchar *const *invalidated_properties) 1023s # { 1023s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 1023s # guint n; 1023s # const gchar *key; 1023s # GVariantIter *iter; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # g_variant_get (changed_properties, "a{sv}", &iter); 1023s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 1023s # g_datalist_remove_data (&proxy->priv->qdata, key); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # g_variant_iter_free (iter); 1023s # for (n = 0; invalidated_properties[n] != NULL; n++) 1023s # { 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1023s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1023s # if (info != NULL) 1023s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1023s # } 1023s # } 1023s # 1023s # static void 1023s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 1023s # #else 1023s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 1023s # #endif 1023s # 1023s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 1023s # } 1023s # 1023s # static void 1023s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusProxyClass *proxy_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 1023s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 1023s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 1023s # 1023s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1023s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 1023s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # /** 1023s # * org_project_other_signaling_iface_proxy_new: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_other_signaling_iface_proxy_new ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_other_signaling_iface_proxy_new_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectOtherSignalingIface * 1023s # org_project_other_signaling_iface_proxy_new_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_other_signaling_iface_proxy_new_sync: 1023s # * @connection: A #GDBusConnection. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectOtherSignalingIface * 1023s # org_project_other_signaling_iface_proxy_new_sync ( 1023s # GDBusConnection *connection, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /** 1023s # * org_project_other_signaling_iface_proxy_new_for_bus: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1023s # * @user_data: User data to pass to @callback. 1023s # * 1023s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1023s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1023s # * 1023s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1023s # */ 1023s # void 1023s # org_project_other_signaling_iface_proxy_new_for_bus ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GAsyncReadyCallback callback, 1023s # gpointer user_data) 1023s # { 1023s # 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); 1023s # } 1023s # 1023s # /** 1023s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 1023s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectOtherSignalingIface * 1023s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 1023s # GAsyncResult *res, 1023s # GError **error) 1023s # { 1023s # GObject *ret; 1023s # GObject *source_object; 1023s # source_object = g_async_result_get_source_object (res); 1023s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1023s # g_object_unref (source_object); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # /** 1023s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 1023s # * @bus_type: A #GBusType. 1023s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1023s # * @name: A bus name (well-known or unique). 1023s # * @object_path: An object path. 1023s # * @cancellable: (nullable): A #GCancellable or %NULL. 1023s # * @error: Return location for error or %NULL 1023s # * 1023s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1023s # * 1023s # * The calling thread is blocked until a reply is received. 1023s # * 1023s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1023s # */ 1023s # OrgProjectOtherSignalingIface * 1023s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 1023s # GBusType bus_type, 1023s # GDBusProxyFlags flags, 1023s # const gchar *name, 1023s # const gchar *object_path, 1023s # GCancellable *cancellable, 1023s # GError **error) 1023s # { 1023s # GInitable *ret; 1023s # 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); 1023s # if (ret != NULL) 1023s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1023s # else 1023s # return NULL; 1023s # } 1023s # 1023s # 1023s # /* ------------------------------------------------------------------------ */ 1023s # 1023s # /** 1023s # * OrgProjectOtherSignalingIfaceSkeleton: 1023s # * 1023s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1023s # */ 1023s # 1023s # /** 1023s # * OrgProjectOtherSignalingIfaceSkeletonClass: 1023s # * @parent_class: The parent class. 1023s # * 1023s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 1023s # */ 1023s # 1023s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 1023s # { 1023s # GValue *properties; 1023s # GList *changed_properties; 1023s # GSource *changed_properties_idle_source; 1023s # GMainContext *context; 1023s # GMutex lock; 1023s # }; 1023s # 1023s # static void 1023s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name, 1023s # const gchar *method_name, 1023s # GVariant *parameters, 1023s # GDBusMethodInvocation *invocation, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1023s # _ExtendedGDBusMethodInfo *info; 1023s # GVariantIter iter; 1023s # GVariant *child; 1023s # GValue *paramv; 1023s # gsize num_params; 1023s # guint num_extra; 1023s # gsize n; 1023s # guint signal_id; 1023s # GValue return_value = G_VALUE_INIT; 1023s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1023s # g_assert (info != NULL); 1023s # num_params = g_variant_n_children (parameters); 1023s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1023s # n = 0; 1023s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1023s # g_value_set_object (¶mv[n++], skeleton); 1023s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1023s # g_value_set_object (¶mv[n++], invocation); 1023s # if (info->pass_fdlist) 1023s # { 1023s # #ifdef G_OS_UNIX 1023s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1023s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1023s # #else 1023s # g_assert_not_reached (); 1023s # #endif 1023s # } 1023s # g_variant_iter_init (&iter, parameters); 1023s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1023s # { 1023s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1023s # if (arg_info->use_gvariant) 1023s # { 1023s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1023s # g_value_set_variant (¶mv[n], child); 1023s # n++; 1023s # } 1023s # else 1023s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1023s # g_variant_unref (child); 1023s # } 1023s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1023s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1023s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1023s # if (!g_value_get_boolean (&return_value)) 1023s # 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); 1023s # g_value_unset (&return_value); 1023s # for (n = 0; n < num_params + num_extra; n++) 1023s # g_value_unset (¶mv[n]); 1023s # g_free (paramv); 1023s # } 1023s # 1023s # static GVariant * 1023s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # GVariant *ret; 1023s # ret = NULL; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # g_value_init (&value, pspec->value_type); 1023s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1023s # g_value_unset (&value); 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static gboolean 1023s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 1023s # GDBusConnection *connection G_GNUC_UNUSED, 1023s # const gchar *sender G_GNUC_UNUSED, 1023s # const gchar *object_path G_GNUC_UNUSED, 1023s # const gchar *interface_name G_GNUC_UNUSED, 1023s # const gchar *property_name, 1023s # GVariant *variant, 1023s # GError **error, 1023s # gpointer user_data) 1023s # { 1023s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1023s # GValue value = G_VALUE_INIT; 1023s # GParamSpec *pspec; 1023s # _ExtendedGDBusPropertyInfo *info; 1023s # gboolean ret; 1023s # ret = FALSE; 1023s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1023s # g_assert (info != NULL); 1023s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1023s # if (pspec == NULL) 1023s # { 1023s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1023s # } 1023s # else 1023s # { 1023s # if (info->use_gvariant) 1023s # g_value_set_variant (&value, variant); 1023s # else 1023s # g_dbus_gvariant_to_gvalue (variant, &value); 1023s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1023s # g_value_unset (&value); 1023s # ret = TRUE; 1023s # } 1023s # return ret; 1023s # } 1023s # 1023s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 1023s # { 1023s # _org_project_other_signaling_iface_skeleton_handle_method_call, 1023s # _org_project_other_signaling_iface_skeleton_handle_get_property, 1023s # _org_project_other_signaling_iface_skeleton_handle_set_property, 1023s # {NULL} 1023s # }; 1023s # 1023s # static GDBusInterfaceInfo * 1023s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return org_project_other_signaling_iface_interface_info (); 1023s # } 1023s # 1023s # static GDBusInterfaceVTable * 1023s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1023s # { 1023s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 1023s # } 1023s # 1023s # static GVariant * 1023s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1023s # { 1023s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 1023s # 1023s # GVariantBuilder builder; 1023s # guint n; 1023s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1023s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 1023s # goto out; 1023s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1023s # { 1023s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 1023s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1023s # { 1023s # GVariant *value; 1023s # 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); 1023s # if (value != NULL) 1023s # { 1023s # g_variant_take_ref (value); 1023s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1023s # g_variant_unref (value); 1023s # } 1023s # } 1023s # } 1023s # out: 1023s # return g_variant_builder_end (&builder); 1023s # } 1023s # 1023s # static void 1023s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1023s # { 1023s # } 1023s # 1023s # static void 1023s # _org_project_other_signaling_iface_on_signal_simple_signal ( 1023s # OrgProjectOtherSignalingIface *object) 1023s # { 1023s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1023s # 1023s # GList *connections, *l; 1023s # GVariant *signal_variant; 1023s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1023s # 1023s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1023s # for (l = connections; l != NULL; l = l->next) 1023s # { 1023s # GDBusConnection *connection = l->data; 1023s # g_dbus_connection_emit_signal (connection, 1023s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 1023s # signal_variant, NULL); 1023s # } 1023s # g_variant_unref (signal_variant); 1023s # g_list_free_full (connections, g_object_unref); 1023s # } 1023s # 1023s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1023s # 1023s # #else 1023s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1023s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1023s # 1023s # #endif 1023s # static void 1023s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 1023s # { 1023s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1023s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1023s # if (skeleton->priv->changed_properties_idle_source != NULL) 1023s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1023s # g_main_context_unref (skeleton->priv->context); 1023s # g_mutex_clear (&skeleton->priv->lock); 1023s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 1023s # } 1023s # 1023s # static void 1023s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 1023s # { 1023s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1023s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 1023s # #else 1023s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 1023s # #endif 1023s # 1023s # g_mutex_init (&skeleton->priv->lock); 1023s # skeleton->priv->context = g_main_context_ref_thread_default (); 1023s # } 1023s # 1023s # static void 1023s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 1023s # { 1023s # GObjectClass *gobject_class; 1023s # GDBusInterfaceSkeletonClass *skeleton_class; 1023s # 1023s # gobject_class = G_OBJECT_CLASS (klass); 1023s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 1023s # 1023s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1023s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 1023s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 1023s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 1023s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 1023s # 1023s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1023s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 1023s # #endif 1023s # } 1023s # 1023s # static void 1023s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 1023s # { 1023s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 1023s # } 1023s # 1023s # /** 1023s # * org_project_other_signaling_iface_skeleton_new: 1023s # * 1023s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 1023s # * 1023s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 1023s # */ 1023s # OrgProjectOtherSignalingIface * 1023s # org_project_other_signaling_iface_skeleton_new (void) 1023s # { 1023s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 1023s # } 1024s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 1024s # tmpdir: /tmp/tmpis8jsnsw 1024s # codegen: /usr/bin/gdbus-codegen 1024s # /tmp/tmpis8jsnsw/tmpapcbm7jm.xml: 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpis8jsnsw/tmpapcbm7jm.xml', '--output', '-', '--body'] 1024s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1024s # Output: /* 1024s # * This file is generated by gdbus-codegen, do not modify it. 1024s # * 1024s # * The license of this code is the same as for the D-Bus interface description 1024s # * it was derived from. Note that it links to GLib, so must comply with the 1024s # * LGPL linking clauses. 1024s # */ 1024s # 1024s # #ifdef HAVE_CONFIG_H 1024s # # include "config.h" 1024s # #endif 1024s # 1024s # #include 1024s # #ifdef G_OS_UNIX 1024s # # include 1024s # #endif 1024s # 1024s # #ifdef G_ENABLE_DEBUG 1024s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1024s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1024s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1024s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1024s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1024s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1024s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1024s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1024s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1024s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1024s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1024s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1024s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1024s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1024s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1024s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1024s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1024s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1024s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1024s # #else /* !G_ENABLE_DEBUG */ 1024s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1024s # * Do not access GValues directly in your code. Instead, use the 1024s # * g_value_get_*() functions 1024s # */ 1024s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1024s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1024s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1024s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1024s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1024s # #endif /* !G_ENABLE_DEBUG */ 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusArgInfo parent_struct; 1024s # gboolean use_gvariant; 1024s # } _ExtendedGDBusArgInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusMethodInfo parent_struct; 1024s # const gchar *signal_name; 1024s # gboolean pass_fdlist; 1024s # } _ExtendedGDBusMethodInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusSignalInfo parent_struct; 1024s # const gchar *signal_name; 1024s # } _ExtendedGDBusSignalInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusPropertyInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # guint use_gvariant : 1; 1024s # guint emits_changed_signal : 1; 1024s # } _ExtendedGDBusPropertyInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusInterfaceInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # } _ExtendedGDBusInterfaceInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # const _ExtendedGDBusPropertyInfo *info; 1024s # guint prop_id; 1024s # GValue orig_value; /* the value before the change */ 1024s # } ChangedProperty; 1024s # 1024s # static void 1024s # _changed_property_free (ChangedProperty *data) 1024s # { 1024s # g_value_unset (&data->orig_value); 1024s # g_free (data); 1024s # } 1024s # 1024s # static gboolean 1024s # _g_strv_equal0 (gchar **a, gchar **b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # guint n; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # if (g_strv_length (a) != g_strv_length (b)) 1024s # goto out; 1024s # for (n = 0; a[n] != NULL; n++) 1024s # if (g_strcmp0 (a[n], b[n]) != 0) 1024s # goto out; 1024s # ret = TRUE; 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _g_variant_equal0 (GVariant *a, GVariant *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # ret = g_variant_equal (a, b); 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # G_GNUC_UNUSED static gboolean 1024s # _g_value_equal (const GValue *a, const GValue *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1024s # switch (G_VALUE_TYPE (a)) 1024s # { 1024s # case G_TYPE_BOOLEAN: 1024s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1024s # break; 1024s # case G_TYPE_UCHAR: 1024s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1024s # break; 1024s # case G_TYPE_INT: 1024s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1024s # break; 1024s # case G_TYPE_UINT: 1024s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1024s # break; 1024s # case G_TYPE_INT64: 1024s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1024s # break; 1024s # case G_TYPE_UINT64: 1024s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1024s # break; 1024s # case G_TYPE_DOUBLE: 1024s # { 1024s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1024s # gdouble da = g_value_get_double (a); 1024s # gdouble db = g_value_get_double (b); 1024s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1024s # } 1024s # break; 1024s # case G_TYPE_STRING: 1024s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1024s # break; 1024s # case G_TYPE_VARIANT: 1024s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1024s # break; 1024s # default: 1024s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1024s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1024s # else 1024s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1024s # break; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ 1024s # * Code for interface org.project.SignalingIface 1024s # * ------------------------------------------------------------------------ 1024s # */ 1024s # 1024s # /** 1024s # * SECTION:OrgProjectSignalingIface 1024s # * @title: OrgProjectSignalingIface 1024s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1024s # * 1024s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1024s # */ 1024s # 1024s # enum 1024s # { 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1024s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1024s # }; 1024s # 1024s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1024s # 1024s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SimpleSignal", 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "simple-signal" 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "arg_b", 1024s # (gchar *) "b", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SingleArgSignalB", 1024s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1024s # NULL 1024s # }, 1024s # "single-arg-signal-b" 1024s # }; 1024s # 1024s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "org.project.SignalingIface", 1024s # NULL, 1024s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "org-project-signaling-iface", 1024s # }; 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_interface_info: 1024s # * 1024s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1024s # * 1024s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1024s # */ 1024s # GDBusInterfaceInfo * 1024s # org_project_signaling_iface_interface_info (void) 1024s # { 1024s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_override_properties: 1024s # * @klass: The class structure for a #GObject derived class. 1024s # * @property_id_begin: The property id to assign to the first overridden property. 1024s # * 1024s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1024s # * The properties are overridden in the order they are defined. 1024s # * 1024s # * Returns: The last property id. 1024s # */ 1024s # guint 1024s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1024s # { 1024s # return property_id_begin - 1; 1024s # } 1024s # 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_simple_signal ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__VOID (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface: 1024s # * 1024s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceIface: 1024s # * @parent_iface: The parent interface. 1024s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1024s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1024s # * 1024s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1024s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1024s # 1024s # static void 1024s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # /* GObject signals for received D-Bus signals: */ 1024s # /** 1024s # * OrgProjectSignalingIface::simple-signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1024s # g_signal_new ("simple-signal", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_simple_signal, 1024s # G_TYPE_NONE, 1024s # 0); 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface::single-arg-signal-b: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_b: Argument. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1024s # g_signal_new ("single-arg-signal-b", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1024s # G_TYPE_NONE, 1024s # 1, G_TYPE_BOOLEAN); 1024s # 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_simple_signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * Emits the "SimpleSignal" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_single_arg_signal_b: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_b: Argument to pass with the signal. 1024s # * 1024s # * Emits the "SingleArgSignalB" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_single_arg_signal_b ( 1024s # OrgProjectSignalingIface *object, 1024s # gboolean arg_arg_b) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxy: 1024s # * 1024s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxyClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceProxy. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceProxyPrivate 1024s # { 1024s # GData *qdata; 1024s # }; 1024s # 1024s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_proxy_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1024s # g_datalist_clear (&proxy->priv->qdata); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # const GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1024s # const gchar *sender_name G_GNUC_UNUSED, 1024s # const gchar *signal_name, 1024s # GVariant *parameters) 1024s # { 1024s # _ExtendedGDBusSignalInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # gsize n; 1024s # guint signal_id; 1024s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1024s # if (info == NULL) 1024s # return; 1024s # num_params = g_variant_n_children (parameters); 1024s # paramv = g_new0 (GValue, num_params + 1); 1024s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[0], proxy); 1024s # g_variant_iter_init (&iter, parameters); 1024s # n = 1; 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_signal_emitv (paramv, signal_id, 0, NULL); 1024s # for (n = 0; n < num_params + 1; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1024s # GVariant *changed_properties, 1024s # const gchar *const *invalidated_properties) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1024s # guint n; 1024s # const gchar *key; 1024s # GVariantIter *iter; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # g_variant_get (changed_properties, "a{sv}", &iter); 1024s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1024s # g_datalist_remove_data (&proxy->priv->qdata, key); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # g_variant_iter_free (iter); 1024s # for (n = 0; invalidated_properties[n] != NULL; n++) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1024s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1024s # #else 1024s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1024s # #endif 1024s # 1024s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusProxyClass *proxy_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1024s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1024s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1024s # 1024s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1024s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1024s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_sync: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_sync ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new_for_bus ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeleton: 1024s # * 1024s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeletonClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1024s # { 1024s # GValue *properties; 1024s # GList *changed_properties; 1024s # GSource *changed_properties_idle_source; 1024s # GMainContext *context; 1024s # GMutex lock; 1024s # }; 1024s # 1024s # static void 1024s # _org_project_signaling_iface_skeleton_handle_method_call ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name, 1024s # const gchar *method_name, 1024s # GVariant *parameters, 1024s # GDBusMethodInvocation *invocation, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # _ExtendedGDBusMethodInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # guint num_extra; 1024s # gsize n; 1024s # guint signal_id; 1024s # GValue return_value = G_VALUE_INIT; 1024s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1024s # g_assert (info != NULL); 1024s # num_params = g_variant_n_children (parameters); 1024s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1024s # n = 0; 1024s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[n++], skeleton); 1024s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1024s # g_value_set_object (¶mv[n++], invocation); 1024s # if (info->pass_fdlist) 1024s # { 1024s # #ifdef G_OS_UNIX 1024s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1024s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1024s # #else 1024s # g_assert_not_reached (); 1024s # #endif 1024s # } 1024s # g_variant_iter_init (&iter, parameters); 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1024s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1024s # if (!g_value_get_boolean (&return_value)) 1024s # 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); 1024s # g_value_unset (&return_value); 1024s # for (n = 0; n < num_params + num_extra; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static GVariant * 1024s # _org_project_signaling_iface_skeleton_handle_get_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # GVariant *ret; 1024s # ret = NULL; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # g_value_init (&value, pspec->value_type); 1024s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1024s # g_value_unset (&value); 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _org_project_signaling_iface_skeleton_handle_set_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GVariant *variant, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # gboolean ret; 1024s # ret = FALSE; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # if (info->use_gvariant) 1024s # g_value_set_variant (&value, variant); 1024s # else 1024s # g_dbus_gvariant_to_gvalue (variant, &value); 1024s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # g_value_unset (&value); 1024s # ret = TRUE; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1024s # { 1024s # _org_project_signaling_iface_skeleton_handle_method_call, 1024s # _org_project_signaling_iface_skeleton_handle_get_property, 1024s # _org_project_signaling_iface_skeleton_handle_set_property, 1024s # {NULL} 1024s # }; 1024s # 1024s # static GDBusInterfaceInfo * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return org_project_signaling_iface_interface_info (); 1024s # } 1024s # 1024s # static GDBusInterfaceVTable * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1024s # } 1024s # 1024s # static GVariant * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1024s # 1024s # GVariantBuilder builder; 1024s # guint n; 1024s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1024s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1024s # goto out; 1024s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1024s # { 1024s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1024s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1024s # { 1024s # GVariant *value; 1024s # 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); 1024s # if (value != NULL) 1024s # { 1024s # g_variant_take_ref (value); 1024s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1024s # g_variant_unref (value); 1024s # } 1024s # } 1024s # } 1024s # out: 1024s # return g_variant_builder_end (&builder); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1024s # OrgProjectSignalingIface *object, 1024s # gboolean arg_arg_b) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1024s # arg_arg_b)); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1024s # if (skeleton->priv->changed_properties_idle_source != NULL) 1024s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1024s # g_main_context_unref (skeleton->priv->context); 1024s # g_mutex_clear (&skeleton->priv->lock); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1024s # #else 1024s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1024s # #endif 1024s # 1024s # g_mutex_init (&skeleton->priv->lock); 1024s # skeleton->priv->context = g_main_context_ref_thread_default (); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusInterfaceSkeletonClass *skeleton_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1024s # 1024s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1024s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1024s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1024s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1024s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1024s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_skeleton_new: 1024s # * 1024s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_skeleton_new (void) 1024s # { 1024s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1024s # } 1024s # /tmp/tmpis8jsnsw/tmpnqx8o4c3.xml: 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpis8jsnsw/tmpnqx8o4c3.xml', '--output', '-', '--body'] 1024s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1024s # Output: /* 1024s # * This file is generated by gdbus-codegen, do not modify it. 1024s # * 1024s # * The license of this code is the same as for the D-Bus interface description 1024s # * it was derived from. Note that it links to GLib, so must comply with the 1024s # * LGPL linking clauses. 1024s # */ 1024s # 1024s # #ifdef HAVE_CONFIG_H 1024s # # include "config.h" 1024s # #endif 1024s # 1024s # #include 1024s # #ifdef G_OS_UNIX 1024s # # include 1024s # #endif 1024s # 1024s # #ifdef G_ENABLE_DEBUG 1024s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1024s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1024s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1024s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1024s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1024s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1024s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1024s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1024s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1024s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1024s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1024s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1024s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1024s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1024s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1024s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1024s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1024s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1024s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1024s # #else /* !G_ENABLE_DEBUG */ 1024s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1024s # * Do not access GValues directly in your code. Instead, use the 1024s # * g_value_get_*() functions 1024s # */ 1024s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1024s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1024s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1024s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1024s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1024s # #endif /* !G_ENABLE_DEBUG */ 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusArgInfo parent_struct; 1024s # gboolean use_gvariant; 1024s # } _ExtendedGDBusArgInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusMethodInfo parent_struct; 1024s # const gchar *signal_name; 1024s # gboolean pass_fdlist; 1024s # } _ExtendedGDBusMethodInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusSignalInfo parent_struct; 1024s # const gchar *signal_name; 1024s # } _ExtendedGDBusSignalInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusPropertyInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # guint use_gvariant : 1; 1024s # guint emits_changed_signal : 1; 1024s # } _ExtendedGDBusPropertyInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusInterfaceInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # } _ExtendedGDBusInterfaceInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # const _ExtendedGDBusPropertyInfo *info; 1024s # guint prop_id; 1024s # GValue orig_value; /* the value before the change */ 1024s # } ChangedProperty; 1024s # 1024s # static void 1024s # _changed_property_free (ChangedProperty *data) 1024s # { 1024s # g_value_unset (&data->orig_value); 1024s # g_free (data); 1024s # } 1024s # 1024s # static gboolean 1024s # _g_strv_equal0 (gchar **a, gchar **b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # guint n; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # if (g_strv_length (a) != g_strv_length (b)) 1024s # goto out; 1024s # for (n = 0; a[n] != NULL; n++) 1024s # if (g_strcmp0 (a[n], b[n]) != 0) 1024s # goto out; 1024s # ret = TRUE; 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _g_variant_equal0 (GVariant *a, GVariant *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # ret = g_variant_equal (a, b); 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # G_GNUC_UNUSED static gboolean 1024s # _g_value_equal (const GValue *a, const GValue *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1024s # switch (G_VALUE_TYPE (a)) 1024s # { 1024s # case G_TYPE_BOOLEAN: 1024s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1024s # break; 1024s # case G_TYPE_UCHAR: 1024s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1024s # break; 1024s # case G_TYPE_INT: 1024s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1024s # break; 1024s # case G_TYPE_UINT: 1024s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1024s # break; 1024s # case G_TYPE_INT64: 1024s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1024s # break; 1024s # case G_TYPE_UINT64: 1024s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1024s # break; 1024s # case G_TYPE_DOUBLE: 1024s # { 1024s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1024s # gdouble da = g_value_get_double (a); 1024s # gdouble db = g_value_get_double (b); 1024s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1024s # } 1024s # break; 1024s # case G_TYPE_STRING: 1024s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1024s # break; 1024s # case G_TYPE_VARIANT: 1024s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1024s # break; 1024s # default: 1024s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1024s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1024s # else 1024s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1024s # break; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ 1024s # * Code for interface org.project.SignalingIface 1024s # * ------------------------------------------------------------------------ 1024s # */ 1024s # 1024s # /** 1024s # * SECTION:OrgProjectSignalingIface 1024s # * @title: OrgProjectSignalingIface 1024s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1024s # * 1024s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1024s # */ 1024s # 1024s # enum 1024s # { 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1024s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1024s # }; 1024s # 1024s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1024s # 1024s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SimpleSignal", 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "simple-signal" 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "arg_y", 1024s # (gchar *) "y", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SingleArgSignalY", 1024s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1024s # NULL 1024s # }, 1024s # "single-arg-signal-y" 1024s # }; 1024s # 1024s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "org.project.SignalingIface", 1024s # NULL, 1024s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "org-project-signaling-iface", 1024s # }; 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_interface_info: 1024s # * 1024s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1024s # * 1024s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1024s # */ 1024s # GDBusInterfaceInfo * 1024s # org_project_signaling_iface_interface_info (void) 1024s # { 1024s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_override_properties: 1024s # * @klass: The class structure for a #GObject derived class. 1024s # * @property_id_begin: The property id to assign to the first overridden property. 1024s # * 1024s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1024s # * The properties are overridden in the order they are defined. 1024s # * 1024s # * Returns: The last property id. 1024s # */ 1024s # guint 1024s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1024s # { 1024s # return property_id_begin - 1; 1024s # } 1024s # 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_simple_signal ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__VOID (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__UCHAR (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface: 1024s # * 1024s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceIface: 1024s # * @parent_iface: The parent interface. 1024s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1024s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1024s # * 1024s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1024s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1024s # 1024s # static void 1024s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # /* GObject signals for received D-Bus signals: */ 1024s # /** 1024s # * OrgProjectSignalingIface::simple-signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1024s # g_signal_new ("simple-signal", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_simple_signal, 1024s # G_TYPE_NONE, 1024s # 0); 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface::single-arg-signal-y: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_y: Argument. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1024s # g_signal_new ("single-arg-signal-y", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1024s # G_TYPE_NONE, 1024s # 1, G_TYPE_UCHAR); 1024s # 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_simple_signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * Emits the "SimpleSignal" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_single_arg_signal_y: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_y: Argument to pass with the signal. 1024s # * 1024s # * Emits the "SingleArgSignalY" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_single_arg_signal_y ( 1024s # OrgProjectSignalingIface *object, 1024s # guchar arg_arg_y) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxy: 1024s # * 1024s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxyClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceProxy. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceProxyPrivate 1024s # { 1024s # GData *qdata; 1024s # }; 1024s # 1024s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_proxy_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1024s # g_datalist_clear (&proxy->priv->qdata); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # const GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1024s # const gchar *sender_name G_GNUC_UNUSED, 1024s # const gchar *signal_name, 1024s # GVariant *parameters) 1024s # { 1024s # _ExtendedGDBusSignalInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # gsize n; 1024s # guint signal_id; 1024s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1024s # if (info == NULL) 1024s # return; 1024s # num_params = g_variant_n_children (parameters); 1024s # paramv = g_new0 (GValue, num_params + 1); 1024s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[0], proxy); 1024s # g_variant_iter_init (&iter, parameters); 1024s # n = 1; 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_signal_emitv (paramv, signal_id, 0, NULL); 1024s # for (n = 0; n < num_params + 1; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1024s # GVariant *changed_properties, 1024s # const gchar *const *invalidated_properties) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1024s # guint n; 1024s # const gchar *key; 1024s # GVariantIter *iter; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # g_variant_get (changed_properties, "a{sv}", &iter); 1024s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1024s # g_datalist_remove_data (&proxy->priv->qdata, key); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # g_variant_iter_free (iter); 1024s # for (n = 0; invalidated_properties[n] != NULL; n++) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1024s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1024s # #else 1024s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1024s # #endif 1024s # 1024s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusProxyClass *proxy_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1024s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1024s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1024s # 1024s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1024s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1024s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_sync: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_sync ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new_for_bus ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeleton: 1024s # * 1024s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeletonClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1024s # { 1024s # GValue *properties; 1024s # GList *changed_properties; 1024s # GSource *changed_properties_idle_source; 1024s # GMainContext *context; 1024s # GMutex lock; 1024s # }; 1024s # 1024s # static void 1024s # _org_project_signaling_iface_skeleton_handle_method_call ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name, 1024s # const gchar *method_name, 1024s # GVariant *parameters, 1024s # GDBusMethodInvocation *invocation, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # _ExtendedGDBusMethodInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # guint num_extra; 1024s # gsize n; 1024s # guint signal_id; 1024s # GValue return_value = G_VALUE_INIT; 1024s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1024s # g_assert (info != NULL); 1024s # num_params = g_variant_n_children (parameters); 1024s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1024s # n = 0; 1024s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[n++], skeleton); 1024s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1024s # g_value_set_object (¶mv[n++], invocation); 1024s # if (info->pass_fdlist) 1024s # { 1024s # #ifdef G_OS_UNIX 1024s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1024s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1024s # #else 1024s # g_assert_not_reached (); 1024s # #endif 1024s # } 1024s # g_variant_iter_init (&iter, parameters); 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1024s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1024s # if (!g_value_get_boolean (&return_value)) 1024s # 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); 1024s # g_value_unset (&return_value); 1024s # for (n = 0; n < num_params + num_extra; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static GVariant * 1024s # _org_project_signaling_iface_skeleton_handle_get_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # GVariant *ret; 1024s # ret = NULL; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # g_value_init (&value, pspec->value_type); 1024s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1024s # g_value_unset (&value); 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _org_project_signaling_iface_skeleton_handle_set_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GVariant *variant, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # gboolean ret; 1024s # ret = FALSE; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # if (info->use_gvariant) 1024s # g_value_set_variant (&value, variant); 1024s # else 1024s # g_dbus_gvariant_to_gvalue (variant, &value); 1024s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # g_value_unset (&value); 1024s # ret = TRUE; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1024s # { 1024s # _org_project_signaling_iface_skeleton_handle_method_call, 1024s # _org_project_signaling_iface_skeleton_handle_get_property, 1024s # _org_project_signaling_iface_skeleton_handle_set_property, 1024s # {NULL} 1024s # }; 1024s # 1024s # static GDBusInterfaceInfo * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return org_project_signaling_iface_interface_info (); 1024s # } 1024s # 1024s # static GDBusInterfaceVTable * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1024s # } 1024s # 1024s # static GVariant * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1024s # 1024s # GVariantBuilder builder; 1024s # guint n; 1024s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1024s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1024s # goto out; 1024s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1024s # { 1024s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1024s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1024s # { 1024s # GVariant *value; 1024s # 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); 1024s # if (value != NULL) 1024s # { 1024s # g_variant_take_ref (value); 1024s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1024s # g_variant_unref (value); 1024s # } 1024s # } 1024s # } 1024s # out: 1024s # return g_variant_builder_end (&builder); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1024s # OrgProjectSignalingIface *object, 1024s # guchar arg_arg_y) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1024s # arg_arg_y)); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1024s # if (skeleton->priv->changed_properties_idle_source != NULL) 1024s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1024s # g_main_context_unref (skeleton->priv->context); 1024s # g_mutex_clear (&skeleton->priv->lock); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1024s # #else 1024s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1024s # #endif 1024s # 1024s # g_mutex_init (&skeleton->priv->lock); 1024s # skeleton->priv->context = g_main_context_ref_thread_default (); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusInterfaceSkeletonClass *skeleton_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1024s # 1024s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1024s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1024s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1024s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1024s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1024s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_skeleton_new: 1024s # * 1024s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_skeleton_new (void) 1024s # { 1024s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1024s # } 1024s # /tmp/tmpis8jsnsw/tmp_q6uzgip.xml: 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpis8jsnsw/tmp_q6uzgip.xml', '--output', '-', '--body'] 1024s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1024s # Output: /* 1024s # * This file is generated by gdbus-codegen, do not modify it. 1024s # * 1024s # * The license of this code is the same as for the D-Bus interface description 1024s # * it was derived from. Note that it links to GLib, so must comply with the 1024s # * LGPL linking clauses. 1024s # */ 1024s # 1024s # #ifdef HAVE_CONFIG_H 1024s # # include "config.h" 1024s # #endif 1024s # 1024s # #include 1024s # #ifdef G_OS_UNIX 1024s # # include 1024s # #endif 1024s # 1024s # #ifdef G_ENABLE_DEBUG 1024s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1024s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1024s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1024s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1024s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1024s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1024s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1024s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1024s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1024s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1024s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1024s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1024s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1024s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1024s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1024s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1024s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1024s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1024s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1024s # #else /* !G_ENABLE_DEBUG */ 1024s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1024s # * Do not access GValues directly in your code. Instead, use the 1024s # * g_value_get_*() functions 1024s # */ 1024s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1024s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1024s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1024s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1024s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1024s # #endif /* !G_ENABLE_DEBUG */ 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusArgInfo parent_struct; 1024s # gboolean use_gvariant; 1024s # } _ExtendedGDBusArgInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusMethodInfo parent_struct; 1024s # const gchar *signal_name; 1024s # gboolean pass_fdlist; 1024s # } _ExtendedGDBusMethodInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusSignalInfo parent_struct; 1024s # const gchar *signal_name; 1024s # } _ExtendedGDBusSignalInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusPropertyInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # guint use_gvariant : 1; 1024s # guint emits_changed_signal : 1; 1024s # } _ExtendedGDBusPropertyInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusInterfaceInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # } _ExtendedGDBusInterfaceInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # const _ExtendedGDBusPropertyInfo *info; 1024s # guint prop_id; 1024s # GValue orig_value; /* the value before the change */ 1024s # } ChangedProperty; 1024s # 1024s # static void 1024s # _changed_property_free (ChangedProperty *data) 1024s # { 1024s # g_value_unset (&data->orig_value); 1024s # g_free (data); 1024s # } 1024s # 1024s # static gboolean 1024s # _g_strv_equal0 (gchar **a, gchar **b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # guint n; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # if (g_strv_length (a) != g_strv_length (b)) 1024s # goto out; 1024s # for (n = 0; a[n] != NULL; n++) 1024s # if (g_strcmp0 (a[n], b[n]) != 0) 1024s # goto out; 1024s # ret = TRUE; 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _g_variant_equal0 (GVariant *a, GVariant *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # ret = g_variant_equal (a, b); 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # G_GNUC_UNUSED static gboolean 1024s # _g_value_equal (const GValue *a, const GValue *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1024s # switch (G_VALUE_TYPE (a)) 1024s # { 1024s # case G_TYPE_BOOLEAN: 1024s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1024s # break; 1024s # case G_TYPE_UCHAR: 1024s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1024s # break; 1024s # case G_TYPE_INT: 1024s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1024s # break; 1024s # case G_TYPE_UINT: 1024s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1024s # break; 1024s # case G_TYPE_INT64: 1024s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1024s # break; 1024s # case G_TYPE_UINT64: 1024s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1024s # break; 1024s # case G_TYPE_DOUBLE: 1024s # { 1024s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1024s # gdouble da = g_value_get_double (a); 1024s # gdouble db = g_value_get_double (b); 1024s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1024s # } 1024s # break; 1024s # case G_TYPE_STRING: 1024s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1024s # break; 1024s # case G_TYPE_VARIANT: 1024s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1024s # break; 1024s # default: 1024s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1024s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1024s # else 1024s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1024s # break; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ 1024s # * Code for interface org.project.SignalingIface 1024s # * ------------------------------------------------------------------------ 1024s # */ 1024s # 1024s # /** 1024s # * SECTION:OrgProjectSignalingIface 1024s # * @title: OrgProjectSignalingIface 1024s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1024s # * 1024s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1024s # */ 1024s # 1024s # enum 1024s # { 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1024s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1024s # }; 1024s # 1024s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1024s # 1024s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SimpleSignal", 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "simple-signal" 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "arg_n", 1024s # (gchar *) "n", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SingleArgSignalN", 1024s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1024s # NULL 1024s # }, 1024s # "single-arg-signal-n" 1024s # }; 1024s # 1024s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "org.project.SignalingIface", 1024s # NULL, 1024s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "org-project-signaling-iface", 1024s # }; 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_interface_info: 1024s # * 1024s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1024s # * 1024s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1024s # */ 1024s # GDBusInterfaceInfo * 1024s # org_project_signaling_iface_interface_info (void) 1024s # { 1024s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_override_properties: 1024s # * @klass: The class structure for a #GObject derived class. 1024s # * @property_id_begin: The property id to assign to the first overridden property. 1024s # * 1024s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1024s # * The properties are overridden in the order they are defined. 1024s # * 1024s # * Returns: The last property id. 1024s # */ 1024s # guint 1024s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1024s # { 1024s # return property_id_begin - 1; 1024s # } 1024s # 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_simple_signal ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__VOID (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__INT (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface: 1024s # * 1024s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceIface: 1024s # * @parent_iface: The parent interface. 1024s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1024s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1024s # * 1024s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1024s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1024s # 1024s # static void 1024s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # /* GObject signals for received D-Bus signals: */ 1024s # /** 1024s # * OrgProjectSignalingIface::simple-signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1024s # g_signal_new ("simple-signal", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_simple_signal, 1024s # G_TYPE_NONE, 1024s # 0); 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface::single-arg-signal-n: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_n: Argument. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1024s # g_signal_new ("single-arg-signal-n", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1024s # G_TYPE_NONE, 1024s # 1, G_TYPE_INT); 1024s # 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_simple_signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * Emits the "SimpleSignal" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_single_arg_signal_n: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_n: Argument to pass with the signal. 1024s # * 1024s # * Emits the "SingleArgSignalN" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_single_arg_signal_n ( 1024s # OrgProjectSignalingIface *object, 1024s # gint16 arg_arg_n) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxy: 1024s # * 1024s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxyClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceProxy. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceProxyPrivate 1024s # { 1024s # GData *qdata; 1024s # }; 1024s # 1024s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_proxy_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1024s # g_datalist_clear (&proxy->priv->qdata); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # const GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1024s # const gchar *sender_name G_GNUC_UNUSED, 1024s # const gchar *signal_name, 1024s # GVariant *parameters) 1024s # { 1024s # _ExtendedGDBusSignalInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # gsize n; 1024s # guint signal_id; 1024s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1024s # if (info == NULL) 1024s # return; 1024s # num_params = g_variant_n_children (parameters); 1024s # paramv = g_new0 (GValue, num_params + 1); 1024s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[0], proxy); 1024s # g_variant_iter_init (&iter, parameters); 1024s # n = 1; 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_signal_emitv (paramv, signal_id, 0, NULL); 1024s # for (n = 0; n < num_params + 1; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1024s # GVariant *changed_properties, 1024s # const gchar *const *invalidated_properties) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1024s # guint n; 1024s # const gchar *key; 1024s # GVariantIter *iter; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # g_variant_get (changed_properties, "a{sv}", &iter); 1024s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1024s # g_datalist_remove_data (&proxy->priv->qdata, key); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # g_variant_iter_free (iter); 1024s # for (n = 0; invalidated_properties[n] != NULL; n++) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1024s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1024s # #else 1024s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1024s # #endif 1024s # 1024s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusProxyClass *proxy_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1024s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1024s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1024s # 1024s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1024s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1024s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_sync: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_sync ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new_for_bus ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeleton: 1024s # * 1024s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeletonClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1024s # { 1024s # GValue *properties; 1024s # GList *changed_properties; 1024s # GSource *changed_properties_idle_source; 1024s # GMainContext *context; 1024s # GMutex lock; 1024s # }; 1024s # 1024s # static void 1024s # _org_project_signaling_iface_skeleton_handle_method_call ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name, 1024s # const gchar *method_name, 1024s # GVariant *parameters, 1024s # GDBusMethodInvocation *invocation, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # _ExtendedGDBusMethodInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # guint num_extra; 1024s # gsize n; 1024s # guint signal_id; 1024s # GValue return_value = G_VALUE_INIT; 1024s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1024s # g_assert (info != NULL); 1024s # num_params = g_variant_n_children (parameters); 1024s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1024s # n = 0; 1024s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[n++], skeleton); 1024s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1024s # g_value_set_object (¶mv[n++], invocation); 1024s # if (info->pass_fdlist) 1024s # { 1024s # #ifdef G_OS_UNIX 1024s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1024s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1024s # #else 1024s # g_assert_not_reached (); 1024s # #endif 1024s # } 1024s # g_variant_iter_init (&iter, parameters); 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1024s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1024s # if (!g_value_get_boolean (&return_value)) 1024s # 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); 1024s # g_value_unset (&return_value); 1024s # for (n = 0; n < num_params + num_extra; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static GVariant * 1024s # _org_project_signaling_iface_skeleton_handle_get_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # GVariant *ret; 1024s # ret = NULL; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # g_value_init (&value, pspec->value_type); 1024s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1024s # g_value_unset (&value); 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _org_project_signaling_iface_skeleton_handle_set_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GVariant *variant, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # gboolean ret; 1024s # ret = FALSE; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # if (info->use_gvariant) 1024s # g_value_set_variant (&value, variant); 1024s # else 1024s # g_dbus_gvariant_to_gvalue (variant, &value); 1024s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # g_value_unset (&value); 1024s # ret = TRUE; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1024s # { 1024s # _org_project_signaling_iface_skeleton_handle_method_call, 1024s # _org_project_signaling_iface_skeleton_handle_get_property, 1024s # _org_project_signaling_iface_skeleton_handle_set_property, 1024s # {NULL} 1024s # }; 1024s # 1024s # static GDBusInterfaceInfo * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return org_project_signaling_iface_interface_info (); 1024s # } 1024s # 1024s # static GDBusInterfaceVTable * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1024s # } 1024s # 1024s # static GVariant * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1024s # 1024s # GVariantBuilder builder; 1024s # guint n; 1024s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1024s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1024s # goto out; 1024s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1024s # { 1024s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1024s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1024s # { 1024s # GVariant *value; 1024s # 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); 1024s # if (value != NULL) 1024s # { 1024s # g_variant_take_ref (value); 1024s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1024s # g_variant_unref (value); 1024s # } 1024s # } 1024s # } 1024s # out: 1024s # return g_variant_builder_end (&builder); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1024s # OrgProjectSignalingIface *object, 1024s # gint16 arg_arg_n) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1024s # arg_arg_n)); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1024s # if (skeleton->priv->changed_properties_idle_source != NULL) 1024s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1024s # g_main_context_unref (skeleton->priv->context); 1024s # g_mutex_clear (&skeleton->priv->lock); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1024s # #else 1024s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1024s # #endif 1024s # 1024s # g_mutex_init (&skeleton->priv->lock); 1024s # skeleton->priv->context = g_main_context_ref_thread_default (); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusInterfaceSkeletonClass *skeleton_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1024s # 1024s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1024s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1024s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1024s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1024s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1024s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_skeleton_new: 1024s # * 1024s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_skeleton_new (void) 1024s # { 1024s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1024s # } 1024s # /tmp/tmpis8jsnsw/tmpb9dkeft6.xml: 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpis8jsnsw/tmpb9dkeft6.xml', '--output', '-', '--body'] 1024s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1024s # Output: /* 1024s # * This file is generated by gdbus-codegen, do not modify it. 1024s # * 1024s # * The license of this code is the same as for the D-Bus interface description 1024s # * it was derived from. Note that it links to GLib, so must comply with the 1024s # * LGPL linking clauses. 1024s # */ 1024s # 1024s # #ifdef HAVE_CONFIG_H 1024s # # include "config.h" 1024s # #endif 1024s # 1024s # #include 1024s # #ifdef G_OS_UNIX 1024s # # include 1024s # #endif 1024s # 1024s # #ifdef G_ENABLE_DEBUG 1024s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1024s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1024s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1024s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1024s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1024s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1024s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1024s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1024s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1024s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1024s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1024s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1024s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1024s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1024s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1024s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1024s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1024s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1024s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1024s # #else /* !G_ENABLE_DEBUG */ 1024s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1024s # * Do not access GValues directly in your code. Instead, use the 1024s # * g_value_get_*() functions 1024s # */ 1024s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1024s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1024s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1024s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1024s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1024s # #endif /* !G_ENABLE_DEBUG */ 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusArgInfo parent_struct; 1024s # gboolean use_gvariant; 1024s # } _ExtendedGDBusArgInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusMethodInfo parent_struct; 1024s # const gchar *signal_name; 1024s # gboolean pass_fdlist; 1024s # } _ExtendedGDBusMethodInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusSignalInfo parent_struct; 1024s # const gchar *signal_name; 1024s # } _ExtendedGDBusSignalInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusPropertyInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # guint use_gvariant : 1; 1024s # guint emits_changed_signal : 1; 1024s # } _ExtendedGDBusPropertyInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusInterfaceInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # } _ExtendedGDBusInterfaceInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # const _ExtendedGDBusPropertyInfo *info; 1024s # guint prop_id; 1024s # GValue orig_value; /* the value before the change */ 1024s # } ChangedProperty; 1024s # 1024s # static void 1024s # _changed_property_free (ChangedProperty *data) 1024s # { 1024s # g_value_unset (&data->orig_value); 1024s # g_free (data); 1024s # } 1024s # 1024s # static gboolean 1024s # _g_strv_equal0 (gchar **a, gchar **b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # guint n; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # if (g_strv_length (a) != g_strv_length (b)) 1024s # goto out; 1024s # for (n = 0; a[n] != NULL; n++) 1024s # if (g_strcmp0 (a[n], b[n]) != 0) 1024s # goto out; 1024s # ret = TRUE; 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _g_variant_equal0 (GVariant *a, GVariant *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # ret = g_variant_equal (a, b); 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # G_GNUC_UNUSED static gboolean 1024s # _g_value_equal (const GValue *a, const GValue *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1024s # switch (G_VALUE_TYPE (a)) 1024s # { 1024s # case G_TYPE_BOOLEAN: 1024s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1024s # break; 1024s # case G_TYPE_UCHAR: 1024s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1024s # break; 1024s # case G_TYPE_INT: 1024s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1024s # break; 1024s # case G_TYPE_UINT: 1024s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1024s # break; 1024s # case G_TYPE_INT64: 1024s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1024s # break; 1024s # case G_TYPE_UINT64: 1024s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1024s # break; 1024s # case G_TYPE_DOUBLE: 1024s # { 1024s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1024s # gdouble da = g_value_get_double (a); 1024s # gdouble db = g_value_get_double (b); 1024s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1024s # } 1024s # break; 1024s # case G_TYPE_STRING: 1024s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1024s # break; 1024s # case G_TYPE_VARIANT: 1024s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1024s # break; 1024s # default: 1024s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1024s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1024s # else 1024s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1024s # break; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ 1024s # * Code for interface org.project.SignalingIface 1024s # * ------------------------------------------------------------------------ 1024s # */ 1024s # 1024s # /** 1024s # * SECTION:OrgProjectSignalingIface 1024s # * @title: OrgProjectSignalingIface 1024s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1024s # * 1024s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1024s # */ 1024s # 1024s # enum 1024s # { 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1024s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1024s # }; 1024s # 1024s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1024s # 1024s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SimpleSignal", 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "simple-signal" 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "arg_q", 1024s # (gchar *) "q", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SingleArgSignalQ", 1024s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1024s # NULL 1024s # }, 1024s # "single-arg-signal-q" 1024s # }; 1024s # 1024s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "org.project.SignalingIface", 1024s # NULL, 1024s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "org-project-signaling-iface", 1024s # }; 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_interface_info: 1024s # * 1024s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1024s # * 1024s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1024s # */ 1024s # GDBusInterfaceInfo * 1024s # org_project_signaling_iface_interface_info (void) 1024s # { 1024s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_override_properties: 1024s # * @klass: The class structure for a #GObject derived class. 1024s # * @property_id_begin: The property id to assign to the first overridden property. 1024s # * 1024s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1024s # * The properties are overridden in the order they are defined. 1024s # * 1024s # * Returns: The last property id. 1024s # */ 1024s # guint 1024s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1024s # { 1024s # return property_id_begin - 1; 1024s # } 1024s # 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_simple_signal ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__VOID (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__UINT (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface: 1024s # * 1024s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceIface: 1024s # * @parent_iface: The parent interface. 1024s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1024s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1024s # * 1024s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1024s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1024s # 1024s # static void 1024s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # /* GObject signals for received D-Bus signals: */ 1024s # /** 1024s # * OrgProjectSignalingIface::simple-signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1024s # g_signal_new ("simple-signal", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_simple_signal, 1024s # G_TYPE_NONE, 1024s # 0); 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface::single-arg-signal-q: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_q: Argument. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1024s # g_signal_new ("single-arg-signal-q", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1024s # G_TYPE_NONE, 1024s # 1, G_TYPE_UINT); 1024s # 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_simple_signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * Emits the "SimpleSignal" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_single_arg_signal_q: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_q: Argument to pass with the signal. 1024s # * 1024s # * Emits the "SingleArgSignalQ" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_single_arg_signal_q ( 1024s # OrgProjectSignalingIface *object, 1024s # guint16 arg_arg_q) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxy: 1024s # * 1024s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxyClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceProxy. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceProxyPrivate 1024s # { 1024s # GData *qdata; 1024s # }; 1024s # 1024s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_proxy_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1024s # g_datalist_clear (&proxy->priv->qdata); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # const GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1024s # const gchar *sender_name G_GNUC_UNUSED, 1024s # const gchar *signal_name, 1024s # GVariant *parameters) 1024s # { 1024s # _ExtendedGDBusSignalInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # gsize n; 1024s # guint signal_id; 1024s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1024s # if (info == NULL) 1024s # return; 1024s # num_params = g_variant_n_children (parameters); 1024s # paramv = g_new0 (GValue, num_params + 1); 1024s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[0], proxy); 1024s # g_variant_iter_init (&iter, parameters); 1024s # n = 1; 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_signal_emitv (paramv, signal_id, 0, NULL); 1024s # for (n = 0; n < num_params + 1; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1024s # GVariant *changed_properties, 1024s # const gchar *const *invalidated_properties) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1024s # guint n; 1024s # const gchar *key; 1024s # GVariantIter *iter; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # g_variant_get (changed_properties, "a{sv}", &iter); 1024s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1024s # g_datalist_remove_data (&proxy->priv->qdata, key); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # g_variant_iter_free (iter); 1024s # for (n = 0; invalidated_properties[n] != NULL; n++) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1024s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1024s # #else 1024s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1024s # #endif 1024s # 1024s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusProxyClass *proxy_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1024s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1024s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1024s # 1024s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1024s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1024s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_sync: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_sync ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new_for_bus ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeleton: 1024s # * 1024s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeletonClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1024s # { 1024s # GValue *properties; 1024s # GList *changed_properties; 1024s # GSource *changed_properties_idle_source; 1024s # GMainContext *context; 1024s # GMutex lock; 1024s # }; 1024s # 1024s # static void 1024s # _org_project_signaling_iface_skeleton_handle_method_call ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name, 1024s # const gchar *method_name, 1024s # GVariant *parameters, 1024s # GDBusMethodInvocation *invocation, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # _ExtendedGDBusMethodInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # guint num_extra; 1024s # gsize n; 1024s # guint signal_id; 1024s # GValue return_value = G_VALUE_INIT; 1024s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1024s # g_assert (info != NULL); 1024s # num_params = g_variant_n_children (parameters); 1024s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1024s # n = 0; 1024s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[n++], skeleton); 1024s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1024s # g_value_set_object (¶mv[n++], invocation); 1024s # if (info->pass_fdlist) 1024s # { 1024s # #ifdef G_OS_UNIX 1024s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1024s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1024s # #else 1024s # g_assert_not_reached (); 1024s # #endif 1024s # } 1024s # g_variant_iter_init (&iter, parameters); 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1024s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1024s # if (!g_value_get_boolean (&return_value)) 1024s # 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); 1024s # g_value_unset (&return_value); 1024s # for (n = 0; n < num_params + num_extra; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static GVariant * 1024s # _org_project_signaling_iface_skeleton_handle_get_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # GVariant *ret; 1024s # ret = NULL; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # g_value_init (&value, pspec->value_type); 1024s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1024s # g_value_unset (&value); 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _org_project_signaling_iface_skeleton_handle_set_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GVariant *variant, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # gboolean ret; 1024s # ret = FALSE; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # if (info->use_gvariant) 1024s # g_value_set_variant (&value, variant); 1024s # else 1024s # g_dbus_gvariant_to_gvalue (variant, &value); 1024s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # g_value_unset (&value); 1024s # ret = TRUE; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1024s # { 1024s # _org_project_signaling_iface_skeleton_handle_method_call, 1024s # _org_project_signaling_iface_skeleton_handle_get_property, 1024s # _org_project_signaling_iface_skeleton_handle_set_property, 1024s # {NULL} 1024s # }; 1024s # 1024s # static GDBusInterfaceInfo * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return org_project_signaling_iface_interface_info (); 1024s # } 1024s # 1024s # static GDBusInterfaceVTable * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1024s # } 1024s # 1024s # static GVariant * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1024s # 1024s # GVariantBuilder builder; 1024s # guint n; 1024s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1024s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1024s # goto out; 1024s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1024s # { 1024s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1024s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1024s # { 1024s # GVariant *value; 1024s # 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); 1024s # if (value != NULL) 1024s # { 1024s # g_variant_take_ref (value); 1024s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1024s # g_variant_unref (value); 1024s # } 1024s # } 1024s # } 1024s # out: 1024s # return g_variant_builder_end (&builder); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1024s # OrgProjectSignalingIface *object, 1024s # guint16 arg_arg_q) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1024s # arg_arg_q)); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1024s # if (skeleton->priv->changed_properties_idle_source != NULL) 1024s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1024s # g_main_context_unref (skeleton->priv->context); 1024s # g_mutex_clear (&skeleton->priv->lock); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1024s # #else 1024s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1024s # #endif 1024s # 1024s # g_mutex_init (&skeleton->priv->lock); 1024s # skeleton->priv->context = g_main_context_ref_thread_default (); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusInterfaceSkeletonClass *skeleton_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1024s # 1024s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1024s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1024s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1024s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1024s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1024s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_skeleton_new: 1024s # * 1024s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_skeleton_new (void) 1024s # { 1024s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1024s # } 1024s # /tmp/tmpis8jsnsw/tmp0jci8oiq.xml: 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpis8jsnsw/tmp0jci8oiq.xml', '--output', '-', '--body'] 1024s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1024s # Output: /* 1024s # * This file is generated by gdbus-codegen, do not modify it. 1024s # * 1024s # * The license of this code is the same as for the D-Bus interface description 1024s # * it was derived from. Note that it links to GLib, so must comply with the 1024s # * LGPL linking clauses. 1024s # */ 1024s # 1024s # #ifdef HAVE_CONFIG_H 1024s # # include "config.h" 1024s # #endif 1024s # 1024s # #include 1024s # #ifdef G_OS_UNIX 1024s # # include 1024s # #endif 1024s # 1024s # #ifdef G_ENABLE_DEBUG 1024s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1024s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1024s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1024s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1024s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1024s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1024s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1024s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1024s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1024s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1024s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1024s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1024s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1024s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1024s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1024s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1024s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1024s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1024s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1024s # #else /* !G_ENABLE_DEBUG */ 1024s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1024s # * Do not access GValues directly in your code. Instead, use the 1024s # * g_value_get_*() functions 1024s # */ 1024s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1024s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1024s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1024s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1024s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1024s # #endif /* !G_ENABLE_DEBUG */ 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusArgInfo parent_struct; 1024s # gboolean use_gvariant; 1024s # } _ExtendedGDBusArgInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusMethodInfo parent_struct; 1024s # const gchar *signal_name; 1024s # gboolean pass_fdlist; 1024s # } _ExtendedGDBusMethodInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusSignalInfo parent_struct; 1024s # const gchar *signal_name; 1024s # } _ExtendedGDBusSignalInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusPropertyInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # guint use_gvariant : 1; 1024s # guint emits_changed_signal : 1; 1024s # } _ExtendedGDBusPropertyInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusInterfaceInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # } _ExtendedGDBusInterfaceInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # const _ExtendedGDBusPropertyInfo *info; 1024s # guint prop_id; 1024s # GValue orig_value; /* the value before the change */ 1024s # } ChangedProperty; 1024s # 1024s # static void 1024s # _changed_property_free (ChangedProperty *data) 1024s # { 1024s # g_value_unset (&data->orig_value); 1024s # g_free (data); 1024s # } 1024s # 1024s # static gboolean 1024s # _g_strv_equal0 (gchar **a, gchar **b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # guint n; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # if (g_strv_length (a) != g_strv_length (b)) 1024s # goto out; 1024s # for (n = 0; a[n] != NULL; n++) 1024s # if (g_strcmp0 (a[n], b[n]) != 0) 1024s # goto out; 1024s # ret = TRUE; 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _g_variant_equal0 (GVariant *a, GVariant *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # ret = g_variant_equal (a, b); 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # G_GNUC_UNUSED static gboolean 1024s # _g_value_equal (const GValue *a, const GValue *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1024s # switch (G_VALUE_TYPE (a)) 1024s # { 1024s # case G_TYPE_BOOLEAN: 1024s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1024s # break; 1024s # case G_TYPE_UCHAR: 1024s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1024s # break; 1024s # case G_TYPE_INT: 1024s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1024s # break; 1024s # case G_TYPE_UINT: 1024s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1024s # break; 1024s # case G_TYPE_INT64: 1024s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1024s # break; 1024s # case G_TYPE_UINT64: 1024s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1024s # break; 1024s # case G_TYPE_DOUBLE: 1024s # { 1024s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1024s # gdouble da = g_value_get_double (a); 1024s # gdouble db = g_value_get_double (b); 1024s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1024s # } 1024s # break; 1024s # case G_TYPE_STRING: 1024s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1024s # break; 1024s # case G_TYPE_VARIANT: 1024s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1024s # break; 1024s # default: 1024s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1024s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1024s # else 1024s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1024s # break; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ 1024s # * Code for interface org.project.SignalingIface 1024s # * ------------------------------------------------------------------------ 1024s # */ 1024s # 1024s # /** 1024s # * SECTION:OrgProjectSignalingIface 1024s # * @title: OrgProjectSignalingIface 1024s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1024s # * 1024s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1024s # */ 1024s # 1024s # enum 1024s # { 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1024s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1024s # }; 1024s # 1024s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1024s # 1024s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SimpleSignal", 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "simple-signal" 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "arg_i", 1024s # (gchar *) "i", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SingleArgSignalI", 1024s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1024s # NULL 1024s # }, 1024s # "single-arg-signal-i" 1024s # }; 1024s # 1024s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "org.project.SignalingIface", 1024s # NULL, 1024s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "org-project-signaling-iface", 1024s # }; 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_interface_info: 1024s # * 1024s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1024s # * 1024s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1024s # */ 1024s # GDBusInterfaceInfo * 1024s # org_project_signaling_iface_interface_info (void) 1024s # { 1024s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_override_properties: 1024s # * @klass: The class structure for a #GObject derived class. 1024s # * @property_id_begin: The property id to assign to the first overridden property. 1024s # * 1024s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1024s # * The properties are overridden in the order they are defined. 1024s # * 1024s # * Returns: The last property id. 1024s # */ 1024s # guint 1024s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1024s # { 1024s # return property_id_begin - 1; 1024s # } 1024s # 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_simple_signal ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__VOID (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__INT (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface: 1024s # * 1024s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceIface: 1024s # * @parent_iface: The parent interface. 1024s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1024s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1024s # * 1024s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1024s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1024s # 1024s # static void 1024s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # /* GObject signals for received D-Bus signals: */ 1024s # /** 1024s # * OrgProjectSignalingIface::simple-signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1024s # g_signal_new ("simple-signal", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_simple_signal, 1024s # G_TYPE_NONE, 1024s # 0); 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface::single-arg-signal-i: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_i: Argument. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1024s # g_signal_new ("single-arg-signal-i", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1024s # G_TYPE_NONE, 1024s # 1, G_TYPE_INT); 1024s # 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_simple_signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * Emits the "SimpleSignal" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_single_arg_signal_i: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_i: Argument to pass with the signal. 1024s # * 1024s # * Emits the "SingleArgSignalI" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_single_arg_signal_i ( 1024s # OrgProjectSignalingIface *object, 1024s # gint arg_arg_i) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxy: 1024s # * 1024s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxyClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceProxy. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceProxyPrivate 1024s # { 1024s # GData *qdata; 1024s # }; 1024s # 1024s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_proxy_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1024s # g_datalist_clear (&proxy->priv->qdata); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # const GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1024s # const gchar *sender_name G_GNUC_UNUSED, 1024s # const gchar *signal_name, 1024s # GVariant *parameters) 1024s # { 1024s # _ExtendedGDBusSignalInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # gsize n; 1024s # guint signal_id; 1024s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1024s # if (info == NULL) 1024s # return; 1024s # num_params = g_variant_n_children (parameters); 1024s # paramv = g_new0 (GValue, num_params + 1); 1024s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[0], proxy); 1024s # g_variant_iter_init (&iter, parameters); 1024s # n = 1; 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_signal_emitv (paramv, signal_id, 0, NULL); 1024s # for (n = 0; n < num_params + 1; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1024s # GVariant *changed_properties, 1024s # const gchar *const *invalidated_properties) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1024s # guint n; 1024s # const gchar *key; 1024s # GVariantIter *iter; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # g_variant_get (changed_properties, "a{sv}", &iter); 1024s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1024s # g_datalist_remove_data (&proxy->priv->qdata, key); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # g_variant_iter_free (iter); 1024s # for (n = 0; invalidated_properties[n] != NULL; n++) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1024s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1024s # #else 1024s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1024s # #endif 1024s # 1024s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusProxyClass *proxy_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1024s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1024s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1024s # 1024s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1024s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1024s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_sync: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_sync ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new_for_bus ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeleton: 1024s # * 1024s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeletonClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1024s # { 1024s # GValue *properties; 1024s # GList *changed_properties; 1024s # GSource *changed_properties_idle_source; 1024s # GMainContext *context; 1024s # GMutex lock; 1024s # }; 1024s # 1024s # static void 1024s # _org_project_signaling_iface_skeleton_handle_method_call ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name, 1024s # const gchar *method_name, 1024s # GVariant *parameters, 1024s # GDBusMethodInvocation *invocation, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # _ExtendedGDBusMethodInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # guint num_extra; 1024s # gsize n; 1024s # guint signal_id; 1024s # GValue return_value = G_VALUE_INIT; 1024s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1024s # g_assert (info != NULL); 1024s # num_params = g_variant_n_children (parameters); 1024s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1024s # n = 0; 1024s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[n++], skeleton); 1024s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1024s # g_value_set_object (¶mv[n++], invocation); 1024s # if (info->pass_fdlist) 1024s # { 1024s # #ifdef G_OS_UNIX 1024s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1024s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1024s # #else 1024s # g_assert_not_reached (); 1024s # #endif 1024s # } 1024s # g_variant_iter_init (&iter, parameters); 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1024s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1024s # if (!g_value_get_boolean (&return_value)) 1024s # 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); 1024s # g_value_unset (&return_value); 1024s # for (n = 0; n < num_params + num_extra; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static GVariant * 1024s # _org_project_signaling_iface_skeleton_handle_get_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # GVariant *ret; 1024s # ret = NULL; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # g_value_init (&value, pspec->value_type); 1024s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1024s # g_value_unset (&value); 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _org_project_signaling_iface_skeleton_handle_set_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GVariant *variant, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # gboolean ret; 1024s # ret = FALSE; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # if (info->use_gvariant) 1024s # g_value_set_variant (&value, variant); 1024s # else 1024s # g_dbus_gvariant_to_gvalue (variant, &value); 1024s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # g_value_unset (&value); 1024s # ret = TRUE; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1024s # { 1024s # _org_project_signaling_iface_skeleton_handle_method_call, 1024s # _org_project_signaling_iface_skeleton_handle_get_property, 1024s # _org_project_signaling_iface_skeleton_handle_set_property, 1024s # {NULL} 1024s # }; 1024s # 1024s # static GDBusInterfaceInfo * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return org_project_signaling_iface_interface_info (); 1024s # } 1024s # 1024s # static GDBusInterfaceVTable * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1024s # } 1024s # 1024s # static GVariant * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1024s # 1024s # GVariantBuilder builder; 1024s # guint n; 1024s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1024s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1024s # goto out; 1024s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1024s # { 1024s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1024s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1024s # { 1024s # GVariant *value; 1024s # 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); 1024s # if (value != NULL) 1024s # { 1024s # g_variant_take_ref (value); 1024s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1024s # g_variant_unref (value); 1024s # } 1024s # } 1024s # } 1024s # out: 1024s # return g_variant_builder_end (&builder); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1024s # OrgProjectSignalingIface *object, 1024s # gint arg_arg_i) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1024s # arg_arg_i)); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1024s # if (skeleton->priv->changed_properties_idle_source != NULL) 1024s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1024s # g_main_context_unref (skeleton->priv->context); 1024s # g_mutex_clear (&skeleton->priv->lock); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1024s # #else 1024s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1024s # #endif 1024s # 1024s # g_mutex_init (&skeleton->priv->lock); 1024s # skeleton->priv->context = g_main_context_ref_thread_default (); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusInterfaceSkeletonClass *skeleton_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1024s # 1024s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1024s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1024s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1024s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1024s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1024s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_skeleton_new: 1024s # * 1024s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_skeleton_new (void) 1024s # { 1024s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1024s # } 1024s # /tmp/tmpis8jsnsw/tmpdayfjg3e.xml: 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpis8jsnsw/tmpdayfjg3e.xml', '--output', '-', '--body'] 1024s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1024s # Output: /* 1024s # * This file is generated by gdbus-codegen, do not modify it. 1024s # * 1024s # * The license of this code is the same as for the D-Bus interface description 1024s # * it was derived from. Note that it links to GLib, so must comply with the 1024s # * LGPL linking clauses. 1024s # */ 1024s # 1024s # #ifdef HAVE_CONFIG_H 1024s # # include "config.h" 1024s # #endif 1024s # 1024s # #include 1024s # #ifdef G_OS_UNIX 1024s # # include 1024s # #endif 1024s # 1024s # #ifdef G_ENABLE_DEBUG 1024s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1024s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1024s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1024s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1024s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1024s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1024s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1024s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1024s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1024s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1024s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1024s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1024s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1024s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1024s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1024s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1024s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1024s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1024s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1024s # #else /* !G_ENABLE_DEBUG */ 1024s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1024s # * Do not access GValues directly in your code. Instead, use the 1024s # * g_value_get_*() functions 1024s # */ 1024s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1024s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1024s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1024s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1024s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1024s # #endif /* !G_ENABLE_DEBUG */ 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusArgInfo parent_struct; 1024s # gboolean use_gvariant; 1024s # } _ExtendedGDBusArgInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusMethodInfo parent_struct; 1024s # const gchar *signal_name; 1024s # gboolean pass_fdlist; 1024s # } _ExtendedGDBusMethodInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusSignalInfo parent_struct; 1024s # const gchar *signal_name; 1024s # } _ExtendedGDBusSignalInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusPropertyInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # guint use_gvariant : 1; 1024s # guint emits_changed_signal : 1; 1024s # } _ExtendedGDBusPropertyInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusInterfaceInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # } _ExtendedGDBusInterfaceInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # const _ExtendedGDBusPropertyInfo *info; 1024s # guint prop_id; 1024s # GValue orig_value; /* the value before the change */ 1024s # } ChangedProperty; 1024s # 1024s # static void 1024s # _changed_property_free (ChangedProperty *data) 1024s # { 1024s # g_value_unset (&data->orig_value); 1024s # g_free (data); 1024s # } 1024s # 1024s # static gboolean 1024s # _g_strv_equal0 (gchar **a, gchar **b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # guint n; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # if (g_strv_length (a) != g_strv_length (b)) 1024s # goto out; 1024s # for (n = 0; a[n] != NULL; n++) 1024s # if (g_strcmp0 (a[n], b[n]) != 0) 1024s # goto out; 1024s # ret = TRUE; 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _g_variant_equal0 (GVariant *a, GVariant *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # ret = g_variant_equal (a, b); 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # G_GNUC_UNUSED static gboolean 1024s # _g_value_equal (const GValue *a, const GValue *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1024s # switch (G_VALUE_TYPE (a)) 1024s # { 1024s # case G_TYPE_BOOLEAN: 1024s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1024s # break; 1024s # case G_TYPE_UCHAR: 1024s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1024s # break; 1024s # case G_TYPE_INT: 1024s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1024s # break; 1024s # case G_TYPE_UINT: 1024s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1024s # break; 1024s # case G_TYPE_INT64: 1024s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1024s # break; 1024s # case G_TYPE_UINT64: 1024s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1024s # break; 1024s # case G_TYPE_DOUBLE: 1024s # { 1024s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1024s # gdouble da = g_value_get_double (a); 1024s # gdouble db = g_value_get_double (b); 1024s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1024s # } 1024s # break; 1024s # case G_TYPE_STRING: 1024s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1024s # break; 1024s # case G_TYPE_VARIANT: 1024s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1024s # break; 1024s # default: 1024s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1024s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1024s # else 1024s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1024s # break; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ 1024s # * Code for interface org.project.SignalingIface 1024s # * ------------------------------------------------------------------------ 1024s # */ 1024s # 1024s # /** 1024s # * SECTION:OrgProjectSignalingIface 1024s # * @title: OrgProjectSignalingIface 1024s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1024s # * 1024s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1024s # */ 1024s # 1024s # enum 1024s # { 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1024s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1024s # }; 1024s # 1024s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1024s # 1024s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SimpleSignal", 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "simple-signal" 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "arg_u", 1024s # (gchar *) "u", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SingleArgSignalU", 1024s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1024s # NULL 1024s # }, 1024s # "single-arg-signal-u" 1024s # }; 1024s # 1024s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "org.project.SignalingIface", 1024s # NULL, 1024s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "org-project-signaling-iface", 1024s # }; 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_interface_info: 1024s # * 1024s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1024s # * 1024s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1024s # */ 1024s # GDBusInterfaceInfo * 1024s # org_project_signaling_iface_interface_info (void) 1024s # { 1024s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_override_properties: 1024s # * @klass: The class structure for a #GObject derived class. 1024s # * @property_id_begin: The property id to assign to the first overridden property. 1024s # * 1024s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1024s # * The properties are overridden in the order they are defined. 1024s # * 1024s # * Returns: The last property id. 1024s # */ 1024s # guint 1024s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1024s # { 1024s # return property_id_begin - 1; 1024s # } 1024s # 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_simple_signal ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__VOID (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__UINT (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface: 1024s # * 1024s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceIface: 1024s # * @parent_iface: The parent interface. 1024s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1024s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1024s # * 1024s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1024s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1024s # 1024s # static void 1024s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # /* GObject signals for received D-Bus signals: */ 1024s # /** 1024s # * OrgProjectSignalingIface::simple-signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1024s # g_signal_new ("simple-signal", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_simple_signal, 1024s # G_TYPE_NONE, 1024s # 0); 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface::single-arg-signal-u: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_u: Argument. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1024s # g_signal_new ("single-arg-signal-u", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1024s # G_TYPE_NONE, 1024s # 1, G_TYPE_UINT); 1024s # 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_simple_signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * Emits the "SimpleSignal" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_single_arg_signal_u: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_u: Argument to pass with the signal. 1024s # * 1024s # * Emits the "SingleArgSignalU" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_single_arg_signal_u ( 1024s # OrgProjectSignalingIface *object, 1024s # guint arg_arg_u) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxy: 1024s # * 1024s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxyClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceProxy. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceProxyPrivate 1024s # { 1024s # GData *qdata; 1024s # }; 1024s # 1024s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_proxy_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1024s # g_datalist_clear (&proxy->priv->qdata); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # const GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1024s # const gchar *sender_name G_GNUC_UNUSED, 1024s # const gchar *signal_name, 1024s # GVariant *parameters) 1024s # { 1024s # _ExtendedGDBusSignalInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # gsize n; 1024s # guint signal_id; 1024s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1024s # if (info == NULL) 1024s # return; 1024s # num_params = g_variant_n_children (parameters); 1024s # paramv = g_new0 (GValue, num_params + 1); 1024s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[0], proxy); 1024s # g_variant_iter_init (&iter, parameters); 1024s # n = 1; 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_signal_emitv (paramv, signal_id, 0, NULL); 1024s # for (n = 0; n < num_params + 1; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1024s # GVariant *changed_properties, 1024s # const gchar *const *invalidated_properties) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1024s # guint n; 1024s # const gchar *key; 1024s # GVariantIter *iter; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # g_variant_get (changed_properties, "a{sv}", &iter); 1024s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1024s # g_datalist_remove_data (&proxy->priv->qdata, key); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # g_variant_iter_free (iter); 1024s # for (n = 0; invalidated_properties[n] != NULL; n++) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1024s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1024s # #else 1024s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1024s # #endif 1024s # 1024s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusProxyClass *proxy_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1024s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1024s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1024s # 1024s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1024s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1024s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_sync: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_sync ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new_for_bus ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeleton: 1024s # * 1024s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeletonClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1024s # { 1024s # GValue *properties; 1024s # GList *changed_properties; 1024s # GSource *changed_properties_idle_source; 1024s # GMainContext *context; 1024s # GMutex lock; 1024s # }; 1024s # 1024s # static void 1024s # _org_project_signaling_iface_skeleton_handle_method_call ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name, 1024s # const gchar *method_name, 1024s # GVariant *parameters, 1024s # GDBusMethodInvocation *invocation, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # _ExtendedGDBusMethodInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # guint num_extra; 1024s # gsize n; 1024s # guint signal_id; 1024s # GValue return_value = G_VALUE_INIT; 1024s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1024s # g_assert (info != NULL); 1024s # num_params = g_variant_n_children (parameters); 1024s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1024s # n = 0; 1024s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[n++], skeleton); 1024s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1024s # g_value_set_object (¶mv[n++], invocation); 1024s # if (info->pass_fdlist) 1024s # { 1024s # #ifdef G_OS_UNIX 1024s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1024s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1024s # #else 1024s # g_assert_not_reached (); 1024s # #endif 1024s # } 1024s # g_variant_iter_init (&iter, parameters); 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1024s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1024s # if (!g_value_get_boolean (&return_value)) 1024s # 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); 1024s # g_value_unset (&return_value); 1024s # for (n = 0; n < num_params + num_extra; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static GVariant * 1024s # _org_project_signaling_iface_skeleton_handle_get_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # GVariant *ret; 1024s # ret = NULL; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # g_value_init (&value, pspec->value_type); 1024s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1024s # g_value_unset (&value); 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _org_project_signaling_iface_skeleton_handle_set_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GVariant *variant, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # gboolean ret; 1024s # ret = FALSE; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # if (info->use_gvariant) 1024s # g_value_set_variant (&value, variant); 1024s # else 1024s # g_dbus_gvariant_to_gvalue (variant, &value); 1024s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # g_value_unset (&value); 1024s # ret = TRUE; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1024s # { 1024s # _org_project_signaling_iface_skeleton_handle_method_call, 1024s # _org_project_signaling_iface_skeleton_handle_get_property, 1024s # _org_project_signaling_iface_skeleton_handle_set_property, 1024s # {NULL} 1024s # }; 1024s # 1024s # static GDBusInterfaceInfo * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return org_project_signaling_iface_interface_info (); 1024s # } 1024s # 1024s # static GDBusInterfaceVTable * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1024s # } 1024s # 1024s # static GVariant * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1024s # 1024s # GVariantBuilder builder; 1024s # guint n; 1024s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1024s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1024s # goto out; 1024s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1024s # { 1024s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1024s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1024s # { 1024s # GVariant *value; 1024s # 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); 1024s # if (value != NULL) 1024s # { 1024s # g_variant_take_ref (value); 1024s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1024s # g_variant_unref (value); 1024s # } 1024s # } 1024s # } 1024s # out: 1024s # return g_variant_builder_end (&builder); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1024s # OrgProjectSignalingIface *object, 1024s # guint arg_arg_u) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1024s # arg_arg_u)); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1024s # if (skeleton->priv->changed_properties_idle_source != NULL) 1024s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1024s # g_main_context_unref (skeleton->priv->context); 1024s # g_mutex_clear (&skeleton->priv->lock); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1024s # #else 1024s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1024s # #endif 1024s # 1024s # g_mutex_init (&skeleton->priv->lock); 1024s # skeleton->priv->context = g_main_context_ref_thread_default (); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusInterfaceSkeletonClass *skeleton_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1024s # 1024s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1024s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1024s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1024s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1024s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1024s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_skeleton_new: 1024s # * 1024s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_skeleton_new (void) 1024s # { 1024s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1024s # } 1024s # /tmp/tmpis8jsnsw/tmpclq78_wk.xml: 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpis8jsnsw/tmpclq78_wk.xml', '--output', '-', '--body'] 1024s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1024s # Output: /* 1024s # * This file is generated by gdbus-codegen, do not modify it. 1024s # * 1024s # * The license of this code is the same as for the D-Bus interface description 1024s # * it was derived from. Note that it links to GLib, so must comply with the 1024s # * LGPL linking clauses. 1024s # */ 1024s # 1024s # #ifdef HAVE_CONFIG_H 1024s # # include "config.h" 1024s # #endif 1024s # 1024s # #include 1024s # #ifdef G_OS_UNIX 1024s # # include 1024s # #endif 1024s # 1024s # #ifdef G_ENABLE_DEBUG 1024s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1024s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1024s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1024s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1024s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1024s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1024s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1024s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1024s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1024s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1024s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1024s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1024s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1024s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1024s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1024s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1024s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1024s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1024s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1024s # #else /* !G_ENABLE_DEBUG */ 1024s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1024s # * Do not access GValues directly in your code. Instead, use the 1024s # * g_value_get_*() functions 1024s # */ 1024s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1024s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1024s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1024s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1024s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1024s # #endif /* !G_ENABLE_DEBUG */ 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusArgInfo parent_struct; 1024s # gboolean use_gvariant; 1024s # } _ExtendedGDBusArgInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusMethodInfo parent_struct; 1024s # const gchar *signal_name; 1024s # gboolean pass_fdlist; 1024s # } _ExtendedGDBusMethodInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusSignalInfo parent_struct; 1024s # const gchar *signal_name; 1024s # } _ExtendedGDBusSignalInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusPropertyInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # guint use_gvariant : 1; 1024s # guint emits_changed_signal : 1; 1024s # } _ExtendedGDBusPropertyInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusInterfaceInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # } _ExtendedGDBusInterfaceInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # const _ExtendedGDBusPropertyInfo *info; 1024s # guint prop_id; 1024s # GValue orig_value; /* the value before the change */ 1024s # } ChangedProperty; 1024s # 1024s # static void 1024s # _changed_property_free (ChangedProperty *data) 1024s # { 1024s # g_value_unset (&data->orig_value); 1024s # g_free (data); 1024s # } 1024s # 1024s # static gboolean 1024s # _g_strv_equal0 (gchar **a, gchar **b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # guint n; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # if (g_strv_length (a) != g_strv_length (b)) 1024s # goto out; 1024s # for (n = 0; a[n] != NULL; n++) 1024s # if (g_strcmp0 (a[n], b[n]) != 0) 1024s # goto out; 1024s # ret = TRUE; 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _g_variant_equal0 (GVariant *a, GVariant *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # ret = g_variant_equal (a, b); 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # G_GNUC_UNUSED static gboolean 1024s # _g_value_equal (const GValue *a, const GValue *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1024s # switch (G_VALUE_TYPE (a)) 1024s # { 1024s # case G_TYPE_BOOLEAN: 1024s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1024s # break; 1024s # case G_TYPE_UCHAR: 1024s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1024s # break; 1024s # case G_TYPE_INT: 1024s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1024s # break; 1024s # case G_TYPE_UINT: 1024s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1024s # break; 1024s # case G_TYPE_INT64: 1024s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1024s # break; 1024s # case G_TYPE_UINT64: 1024s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1024s # break; 1024s # case G_TYPE_DOUBLE: 1024s # { 1024s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1024s # gdouble da = g_value_get_double (a); 1024s # gdouble db = g_value_get_double (b); 1024s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1024s # } 1024s # break; 1024s # case G_TYPE_STRING: 1024s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1024s # break; 1024s # case G_TYPE_VARIANT: 1024s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1024s # break; 1024s # default: 1024s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1024s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1024s # else 1024s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1024s # break; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static void 1024s # _g_dbus_codegen_marshal_VOID__INT64 ( 1024s # GClosure *closure, 1024s # GValue *return_value G_GNUC_UNUSED, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint G_GNUC_UNUSED, 1024s # void *marshal_data) 1024s # { 1024s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1024s # (void *data1, 1024s # gint64 arg_arg_x, 1024s # void *data2); 1024s # _GDbusCodegenMarshalVoid_Int64Func callback; 1024s # GCClosure *cc = (GCClosure*) closure; 1024s # void *data1, *data2; 1024s # 1024s # g_return_if_fail (n_param_values == 2); 1024s # 1024s # if (G_CCLOSURE_SWAP_DATA (closure)) 1024s # { 1024s # data1 = closure->data; 1024s # data2 = g_value_peek_pointer (param_values + 0); 1024s # } 1024s # else 1024s # { 1024s # data1 = g_value_peek_pointer (param_values + 0); 1024s # data2 = closure->data; 1024s # } 1024s # 1024s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1024s # (marshal_data ? marshal_data : cc->callback); 1024s # 1024s # callback (data1, 1024s # g_marshal_value_peek_int64 (param_values + 1), 1024s # data2); 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ 1024s # * Code for interface org.project.SignalingIface 1024s # * ------------------------------------------------------------------------ 1024s # */ 1024s # 1024s # /** 1024s # * SECTION:OrgProjectSignalingIface 1024s # * @title: OrgProjectSignalingIface 1024s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1024s # * 1024s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1024s # */ 1024s # 1024s # enum 1024s # { 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1024s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1024s # }; 1024s # 1024s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1024s # 1024s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SimpleSignal", 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "simple-signal" 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "arg_x", 1024s # (gchar *) "x", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SingleArgSignalX", 1024s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1024s # NULL 1024s # }, 1024s # "single-arg-signal-x" 1024s # }; 1024s # 1024s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "org.project.SignalingIface", 1024s # NULL, 1024s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "org-project-signaling-iface", 1024s # }; 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_interface_info: 1024s # * 1024s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1024s # * 1024s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1024s # */ 1024s # GDBusInterfaceInfo * 1024s # org_project_signaling_iface_interface_info (void) 1024s # { 1024s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_override_properties: 1024s # * @klass: The class structure for a #GObject derived class. 1024s # * @property_id_begin: The property id to assign to the first overridden property. 1024s # * 1024s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1024s # * The properties are overridden in the order they are defined. 1024s # * 1024s # * Returns: The last property id. 1024s # */ 1024s # guint 1024s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1024s # { 1024s # return property_id_begin - 1; 1024s # } 1024s # 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_simple_signal ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__VOID (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface: 1024s # * 1024s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceIface: 1024s # * @parent_iface: The parent interface. 1024s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1024s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1024s # * 1024s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1024s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1024s # 1024s # static void 1024s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # /* GObject signals for received D-Bus signals: */ 1024s # /** 1024s # * OrgProjectSignalingIface::simple-signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1024s # g_signal_new ("simple-signal", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_simple_signal, 1024s # G_TYPE_NONE, 1024s # 0); 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface::single-arg-signal-x: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_x: Argument. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1024s # g_signal_new ("single-arg-signal-x", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1024s # G_TYPE_NONE, 1024s # 1, G_TYPE_INT64); 1024s # 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_simple_signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * Emits the "SimpleSignal" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_single_arg_signal_x: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_x: Argument to pass with the signal. 1024s # * 1024s # * Emits the "SingleArgSignalX" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_single_arg_signal_x ( 1024s # OrgProjectSignalingIface *object, 1024s # gint64 arg_arg_x) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxy: 1024s # * 1024s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxyClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceProxy. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceProxyPrivate 1024s # { 1024s # GData *qdata; 1024s # }; 1024s # 1024s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_proxy_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1024s # g_datalist_clear (&proxy->priv->qdata); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # const GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1024s # const gchar *sender_name G_GNUC_UNUSED, 1024s # const gchar *signal_name, 1024s # GVariant *parameters) 1024s # { 1024s # _ExtendedGDBusSignalInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # gsize n; 1024s # guint signal_id; 1024s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1024s # if (info == NULL) 1024s # return; 1024s # num_params = g_variant_n_children (parameters); 1024s # paramv = g_new0 (GValue, num_params + 1); 1024s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[0], proxy); 1024s # g_variant_iter_init (&iter, parameters); 1024s # n = 1; 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_signal_emitv (paramv, signal_id, 0, NULL); 1024s # for (n = 0; n < num_params + 1; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1024s # GVariant *changed_properties, 1024s # const gchar *const *invalidated_properties) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1024s # guint n; 1024s # const gchar *key; 1024s # GVariantIter *iter; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # g_variant_get (changed_properties, "a{sv}", &iter); 1024s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1024s # g_datalist_remove_data (&proxy->priv->qdata, key); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # g_variant_iter_free (iter); 1024s # for (n = 0; invalidated_properties[n] != NULL; n++) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1024s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1024s # #else 1024s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1024s # #endif 1024s # 1024s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusProxyClass *proxy_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1024s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1024s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1024s # 1024s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1024s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1024s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_sync: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_sync ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new_for_bus ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeleton: 1024s # * 1024s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeletonClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1024s # { 1024s # GValue *properties; 1024s # GList *changed_properties; 1024s # GSource *changed_properties_idle_source; 1024s # GMainContext *context; 1024s # GMutex lock; 1024s # }; 1024s # 1024s # static void 1024s # _org_project_signaling_iface_skeleton_handle_method_call ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name, 1024s # const gchar *method_name, 1024s # GVariant *parameters, 1024s # GDBusMethodInvocation *invocation, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # _ExtendedGDBusMethodInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # guint num_extra; 1024s # gsize n; 1024s # guint signal_id; 1024s # GValue return_value = G_VALUE_INIT; 1024s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1024s # g_assert (info != NULL); 1024s # num_params = g_variant_n_children (parameters); 1024s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1024s # n = 0; 1024s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[n++], skeleton); 1024s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1024s # g_value_set_object (¶mv[n++], invocation); 1024s # if (info->pass_fdlist) 1024s # { 1024s # #ifdef G_OS_UNIX 1024s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1024s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1024s # #else 1024s # g_assert_not_reached (); 1024s # #endif 1024s # } 1024s # g_variant_iter_init (&iter, parameters); 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1024s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1024s # if (!g_value_get_boolean (&return_value)) 1024s # 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); 1024s # g_value_unset (&return_value); 1024s # for (n = 0; n < num_params + num_extra; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static GVariant * 1024s # _org_project_signaling_iface_skeleton_handle_get_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # GVariant *ret; 1024s # ret = NULL; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # g_value_init (&value, pspec->value_type); 1024s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1024s # g_value_unset (&value); 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _org_project_signaling_iface_skeleton_handle_set_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GVariant *variant, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # gboolean ret; 1024s # ret = FALSE; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # if (info->use_gvariant) 1024s # g_value_set_variant (&value, variant); 1024s # else 1024s # g_dbus_gvariant_to_gvalue (variant, &value); 1024s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # g_value_unset (&value); 1024s # ret = TRUE; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1024s # { 1024s # _org_project_signaling_iface_skeleton_handle_method_call, 1024s # _org_project_signaling_iface_skeleton_handle_get_property, 1024s # _org_project_signaling_iface_skeleton_handle_set_property, 1024s # {NULL} 1024s # }; 1024s # 1024s # static GDBusInterfaceInfo * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return org_project_signaling_iface_interface_info (); 1024s # } 1024s # 1024s # static GDBusInterfaceVTable * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1024s # } 1024s # 1024s # static GVariant * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1024s # 1024s # GVariantBuilder builder; 1024s # guint n; 1024s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1024s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1024s # goto out; 1024s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1024s # { 1024s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1024s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1024s # { 1024s # GVariant *value; 1024s # 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); 1024s # if (value != NULL) 1024s # { 1024s # g_variant_take_ref (value); 1024s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1024s # g_variant_unref (value); 1024s # } 1024s # } 1024s # } 1024s # out: 1024s # return g_variant_builder_end (&builder); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1024s # OrgProjectSignalingIface *object, 1024s # gint64 arg_arg_x) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1024s # arg_arg_x)); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1024s # if (skeleton->priv->changed_properties_idle_source != NULL) 1024s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1024s # g_main_context_unref (skeleton->priv->context); 1024s # g_mutex_clear (&skeleton->priv->lock); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1024s # #else 1024s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1024s # #endif 1024s # 1024s # g_mutex_init (&skeleton->priv->lock); 1024s # skeleton->priv->context = g_main_context_ref_thread_default (); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusInterfaceSkeletonClass *skeleton_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1024s # 1024s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1024s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1024s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1024s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1024s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1024s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_skeleton_new: 1024s # * 1024s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_skeleton_new (void) 1024s # { 1024s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1024s # } 1024s # /tmp/tmpis8jsnsw/tmpv343j445.xml: 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpis8jsnsw/tmpv343j445.xml', '--output', '-', '--body'] 1024s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1024s # Output: /* 1024s # * This file is generated by gdbus-codegen, do not modify it. 1024s # * 1024s # * The license of this code is the same as for the D-Bus interface description 1024s # * it was derived from. Note that it links to GLib, so must comply with the 1024s # * LGPL linking clauses. 1024s # */ 1024s # 1024s # #ifdef HAVE_CONFIG_H 1024s # # include "config.h" 1024s # #endif 1024s # 1024s # #include 1024s # #ifdef G_OS_UNIX 1024s # # include 1024s # #endif 1024s # 1024s # #ifdef G_ENABLE_DEBUG 1024s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1024s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1024s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1024s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1024s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1024s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1024s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1024s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1024s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1024s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1024s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1024s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1024s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1024s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1024s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1024s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1024s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1024s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1024s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1024s # #else /* !G_ENABLE_DEBUG */ 1024s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1024s # * Do not access GValues directly in your code. Instead, use the 1024s # * g_value_get_*() functions 1024s # */ 1024s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1024s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1024s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1024s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1024s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1024s # #endif /* !G_ENABLE_DEBUG */ 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusArgInfo parent_struct; 1024s # gboolean use_gvariant; 1024s # } _ExtendedGDBusArgInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusMethodInfo parent_struct; 1024s # const gchar *signal_name; 1024s # gboolean pass_fdlist; 1024s # } _ExtendedGDBusMethodInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusSignalInfo parent_struct; 1024s # const gchar *signal_name; 1024s # } _ExtendedGDBusSignalInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusPropertyInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # guint use_gvariant : 1; 1024s # guint emits_changed_signal : 1; 1024s # } _ExtendedGDBusPropertyInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusInterfaceInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # } _ExtendedGDBusInterfaceInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # const _ExtendedGDBusPropertyInfo *info; 1024s # guint prop_id; 1024s # GValue orig_value; /* the value before the change */ 1024s # } ChangedProperty; 1024s # 1024s # static void 1024s # _changed_property_free (ChangedProperty *data) 1024s # { 1024s # g_value_unset (&data->orig_value); 1024s # g_free (data); 1024s # } 1024s # 1024s # static gboolean 1024s # _g_strv_equal0 (gchar **a, gchar **b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # guint n; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # if (g_strv_length (a) != g_strv_length (b)) 1024s # goto out; 1024s # for (n = 0; a[n] != NULL; n++) 1024s # if (g_strcmp0 (a[n], b[n]) != 0) 1024s # goto out; 1024s # ret = TRUE; 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _g_variant_equal0 (GVariant *a, GVariant *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # ret = g_variant_equal (a, b); 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # G_GNUC_UNUSED static gboolean 1024s # _g_value_equal (const GValue *a, const GValue *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1024s # switch (G_VALUE_TYPE (a)) 1024s # { 1024s # case G_TYPE_BOOLEAN: 1024s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1024s # break; 1024s # case G_TYPE_UCHAR: 1024s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1024s # break; 1024s # case G_TYPE_INT: 1024s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1024s # break; 1024s # case G_TYPE_UINT: 1024s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1024s # break; 1024s # case G_TYPE_INT64: 1024s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1024s # break; 1024s # case G_TYPE_UINT64: 1024s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1024s # break; 1024s # case G_TYPE_DOUBLE: 1024s # { 1024s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1024s # gdouble da = g_value_get_double (a); 1024s # gdouble db = g_value_get_double (b); 1024s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1024s # } 1024s # break; 1024s # case G_TYPE_STRING: 1024s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1024s # break; 1024s # case G_TYPE_VARIANT: 1024s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1024s # break; 1024s # default: 1024s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1024s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1024s # else 1024s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1024s # break; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static void 1024s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1024s # GClosure *closure, 1024s # GValue *return_value G_GNUC_UNUSED, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint G_GNUC_UNUSED, 1024s # void *marshal_data) 1024s # { 1024s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1024s # (void *data1, 1024s # guint64 arg_arg_t, 1024s # void *data2); 1024s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1024s # GCClosure *cc = (GCClosure*) closure; 1024s # void *data1, *data2; 1024s # 1024s # g_return_if_fail (n_param_values == 2); 1024s # 1024s # if (G_CCLOSURE_SWAP_DATA (closure)) 1024s # { 1024s # data1 = closure->data; 1024s # data2 = g_value_peek_pointer (param_values + 0); 1024s # } 1024s # else 1024s # { 1024s # data1 = g_value_peek_pointer (param_values + 0); 1024s # data2 = closure->data; 1024s # } 1024s # 1024s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1024s # (marshal_data ? marshal_data : cc->callback); 1024s # 1024s # callback (data1, 1024s # g_marshal_value_peek_uint64 (param_values + 1), 1024s # data2); 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ 1024s # * Code for interface org.project.SignalingIface 1024s # * ------------------------------------------------------------------------ 1024s # */ 1024s # 1024s # /** 1024s # * SECTION:OrgProjectSignalingIface 1024s # * @title: OrgProjectSignalingIface 1024s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1024s # * 1024s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1024s # */ 1024s # 1024s # enum 1024s # { 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1024s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1024s # }; 1024s # 1024s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1024s # 1024s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SimpleSignal", 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "simple-signal" 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "arg_t", 1024s # (gchar *) "t", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SingleArgSignalT", 1024s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1024s # NULL 1024s # }, 1024s # "single-arg-signal-t" 1024s # }; 1024s # 1024s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "org.project.SignalingIface", 1024s # NULL, 1024s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "org-project-signaling-iface", 1024s # }; 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_interface_info: 1024s # * 1024s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1024s # * 1024s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1024s # */ 1024s # GDBusInterfaceInfo * 1024s # org_project_signaling_iface_interface_info (void) 1024s # { 1024s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_override_properties: 1024s # * @klass: The class structure for a #GObject derived class. 1024s # * @property_id_begin: The property id to assign to the first overridden property. 1024s # * 1024s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1024s # * The properties are overridden in the order they are defined. 1024s # * 1024s # * Returns: The last property id. 1024s # */ 1024s # guint 1024s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1024s # { 1024s # return property_id_begin - 1; 1024s # } 1024s # 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_simple_signal ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__VOID (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface: 1024s # * 1024s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceIface: 1024s # * @parent_iface: The parent interface. 1024s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1024s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1024s # * 1024s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1024s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1024s # 1024s # static void 1024s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # /* GObject signals for received D-Bus signals: */ 1024s # /** 1024s # * OrgProjectSignalingIface::simple-signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1024s # g_signal_new ("simple-signal", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_simple_signal, 1024s # G_TYPE_NONE, 1024s # 0); 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface::single-arg-signal-t: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_t: Argument. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1024s # g_signal_new ("single-arg-signal-t", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1024s # G_TYPE_NONE, 1024s # 1, G_TYPE_UINT64); 1024s # 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_simple_signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * Emits the "SimpleSignal" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_single_arg_signal_t: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_t: Argument to pass with the signal. 1024s # * 1024s # * Emits the "SingleArgSignalT" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_single_arg_signal_t ( 1024s # OrgProjectSignalingIface *object, 1024s # guint64 arg_arg_t) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxy: 1024s # * 1024s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxyClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceProxy. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceProxyPrivate 1024s # { 1024s # GData *qdata; 1024s # }; 1024s # 1024s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_proxy_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1024s # g_datalist_clear (&proxy->priv->qdata); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # const GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1024s # const gchar *sender_name G_GNUC_UNUSED, 1024s # const gchar *signal_name, 1024s # GVariant *parameters) 1024s # { 1024s # _ExtendedGDBusSignalInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # gsize n; 1024s # guint signal_id; 1024s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1024s # if (info == NULL) 1024s # return; 1024s # num_params = g_variant_n_children (parameters); 1024s # paramv = g_new0 (GValue, num_params + 1); 1024s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[0], proxy); 1024s # g_variant_iter_init (&iter, parameters); 1024s # n = 1; 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_signal_emitv (paramv, signal_id, 0, NULL); 1024s # for (n = 0; n < num_params + 1; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1024s # GVariant *changed_properties, 1024s # const gchar *const *invalidated_properties) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1024s # guint n; 1024s # const gchar *key; 1024s # GVariantIter *iter; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # g_variant_get (changed_properties, "a{sv}", &iter); 1024s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1024s # g_datalist_remove_data (&proxy->priv->qdata, key); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # g_variant_iter_free (iter); 1024s # for (n = 0; invalidated_properties[n] != NULL; n++) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1024s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1024s # #else 1024s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1024s # #endif 1024s # 1024s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusProxyClass *proxy_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1024s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1024s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1024s # 1024s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1024s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1024s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_sync: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_sync ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new_for_bus ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeleton: 1024s # * 1024s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeletonClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1024s # { 1024s # GValue *properties; 1024s # GList *changed_properties; 1024s # GSource *changed_properties_idle_source; 1024s # GMainContext *context; 1024s # GMutex lock; 1024s # }; 1024s # 1024s # static void 1024s # _org_project_signaling_iface_skeleton_handle_method_call ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name, 1024s # const gchar *method_name, 1024s # GVariant *parameters, 1024s # GDBusMethodInvocation *invocation, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # _ExtendedGDBusMethodInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # guint num_extra; 1024s # gsize n; 1024s # guint signal_id; 1024s # GValue return_value = G_VALUE_INIT; 1024s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1024s # g_assert (info != NULL); 1024s # num_params = g_variant_n_children (parameters); 1024s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1024s # n = 0; 1024s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[n++], skeleton); 1024s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1024s # g_value_set_object (¶mv[n++], invocation); 1024s # if (info->pass_fdlist) 1024s # { 1024s # #ifdef G_OS_UNIX 1024s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1024s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1024s # #else 1024s # g_assert_not_reached (); 1024s # #endif 1024s # } 1024s # g_variant_iter_init (&iter, parameters); 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1024s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1024s # if (!g_value_get_boolean (&return_value)) 1024s # 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); 1024s # g_value_unset (&return_value); 1024s # for (n = 0; n < num_params + num_extra; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static GVariant * 1024s # _org_project_signaling_iface_skeleton_handle_get_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # GVariant *ret; 1024s # ret = NULL; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # g_value_init (&value, pspec->value_type); 1024s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1024s # g_value_unset (&value); 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _org_project_signaling_iface_skeleton_handle_set_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GVariant *variant, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # gboolean ret; 1024s # ret = FALSE; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # if (info->use_gvariant) 1024s # g_value_set_variant (&value, variant); 1024s # else 1024s # g_dbus_gvariant_to_gvalue (variant, &value); 1024s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # g_value_unset (&value); 1024s # ret = TRUE; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1024s # { 1024s # _org_project_signaling_iface_skeleton_handle_method_call, 1024s # _org_project_signaling_iface_skeleton_handle_get_property, 1024s # _org_project_signaling_iface_skeleton_handle_set_property, 1024s # {NULL} 1024s # }; 1024s # 1024s # static GDBusInterfaceInfo * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return org_project_signaling_iface_interface_info (); 1024s # } 1024s # 1024s # static GDBusInterfaceVTable * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1024s # } 1024s # 1024s # static GVariant * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1024s # 1024s # GVariantBuilder builder; 1024s # guint n; 1024s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1024s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1024s # goto out; 1024s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1024s # { 1024s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1024s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1024s # { 1024s # GVariant *value; 1024s # 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); 1024s # if (value != NULL) 1024s # { 1024s # g_variant_take_ref (value); 1024s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1024s # g_variant_unref (value); 1024s # } 1024s # } 1024s # } 1024s # out: 1024s # return g_variant_builder_end (&builder); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1024s # OrgProjectSignalingIface *object, 1024s # guint64 arg_arg_t) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1024s # arg_arg_t)); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1024s # if (skeleton->priv->changed_properties_idle_source != NULL) 1024s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1024s # g_main_context_unref (skeleton->priv->context); 1024s # g_mutex_clear (&skeleton->priv->lock); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1024s # #else 1024s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1024s # #endif 1024s # 1024s # g_mutex_init (&skeleton->priv->lock); 1024s # skeleton->priv->context = g_main_context_ref_thread_default (); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusInterfaceSkeletonClass *skeleton_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1024s # 1024s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1024s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1024s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1024s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1024s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1024s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_skeleton_new: 1024s # * 1024s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_skeleton_new (void) 1024s # { 1024s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1024s # } 1024s # /tmp/tmpis8jsnsw/tmpzvgxom64.xml: 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpis8jsnsw/tmpzvgxom64.xml', '--output', '-', '--body'] 1024s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1024s # Output: /* 1024s # * This file is generated by gdbus-codegen, do not modify it. 1024s # * 1024s # * The license of this code is the same as for the D-Bus interface description 1024s # * it was derived from. Note that it links to GLib, so must comply with the 1024s # * LGPL linking clauses. 1024s # */ 1024s # 1024s # #ifdef HAVE_CONFIG_H 1024s # # include "config.h" 1024s # #endif 1024s # 1024s # #include 1024s # #ifdef G_OS_UNIX 1024s # # include 1024s # #endif 1024s # 1024s # #ifdef G_ENABLE_DEBUG 1024s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1024s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1024s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1024s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1024s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1024s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1024s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1024s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1024s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1024s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1024s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1024s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1024s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1024s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1024s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1024s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1024s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1024s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1024s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1024s # #else /* !G_ENABLE_DEBUG */ 1024s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1024s # * Do not access GValues directly in your code. Instead, use the 1024s # * g_value_get_*() functions 1024s # */ 1024s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1024s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1024s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1024s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1024s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1024s # #endif /* !G_ENABLE_DEBUG */ 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusArgInfo parent_struct; 1024s # gboolean use_gvariant; 1024s # } _ExtendedGDBusArgInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusMethodInfo parent_struct; 1024s # const gchar *signal_name; 1024s # gboolean pass_fdlist; 1024s # } _ExtendedGDBusMethodInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusSignalInfo parent_struct; 1024s # const gchar *signal_name; 1024s # } _ExtendedGDBusSignalInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusPropertyInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # guint use_gvariant : 1; 1024s # guint emits_changed_signal : 1; 1024s # } _ExtendedGDBusPropertyInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusInterfaceInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # } _ExtendedGDBusInterfaceInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # const _ExtendedGDBusPropertyInfo *info; 1024s # guint prop_id; 1024s # GValue orig_value; /* the value before the change */ 1024s # } ChangedProperty; 1024s # 1024s # static void 1024s # _changed_property_free (ChangedProperty *data) 1024s # { 1024s # g_value_unset (&data->orig_value); 1024s # g_free (data); 1024s # } 1024s # 1024s # static gboolean 1024s # _g_strv_equal0 (gchar **a, gchar **b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # guint n; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # if (g_strv_length (a) != g_strv_length (b)) 1024s # goto out; 1024s # for (n = 0; a[n] != NULL; n++) 1024s # if (g_strcmp0 (a[n], b[n]) != 0) 1024s # goto out; 1024s # ret = TRUE; 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _g_variant_equal0 (GVariant *a, GVariant *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # ret = g_variant_equal (a, b); 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # G_GNUC_UNUSED static gboolean 1024s # _g_value_equal (const GValue *a, const GValue *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1024s # switch (G_VALUE_TYPE (a)) 1024s # { 1024s # case G_TYPE_BOOLEAN: 1024s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1024s # break; 1024s # case G_TYPE_UCHAR: 1024s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1024s # break; 1024s # case G_TYPE_INT: 1024s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1024s # break; 1024s # case G_TYPE_UINT: 1024s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1024s # break; 1024s # case G_TYPE_INT64: 1024s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1024s # break; 1024s # case G_TYPE_UINT64: 1024s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1024s # break; 1024s # case G_TYPE_DOUBLE: 1024s # { 1024s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1024s # gdouble da = g_value_get_double (a); 1024s # gdouble db = g_value_get_double (b); 1024s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1024s # } 1024s # break; 1024s # case G_TYPE_STRING: 1024s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1024s # break; 1024s # case G_TYPE_VARIANT: 1024s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1024s # break; 1024s # default: 1024s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1024s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1024s # else 1024s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1024s # break; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ 1024s # * Code for interface org.project.SignalingIface 1024s # * ------------------------------------------------------------------------ 1024s # */ 1024s # 1024s # /** 1024s # * SECTION:OrgProjectSignalingIface 1024s # * @title: OrgProjectSignalingIface 1024s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1024s # * 1024s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1024s # */ 1024s # 1024s # enum 1024s # { 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1024s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1024s # }; 1024s # 1024s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1024s # 1024s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SimpleSignal", 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "simple-signal" 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "arg_d", 1024s # (gchar *) "d", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SingleArgSignalD", 1024s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1024s # NULL 1024s # }, 1024s # "single-arg-signal-d" 1024s # }; 1024s # 1024s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "org.project.SignalingIface", 1024s # NULL, 1024s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "org-project-signaling-iface", 1024s # }; 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_interface_info: 1024s # * 1024s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1024s # * 1024s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1024s # */ 1024s # GDBusInterfaceInfo * 1024s # org_project_signaling_iface_interface_info (void) 1024s # { 1024s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_override_properties: 1024s # * @klass: The class structure for a #GObject derived class. 1024s # * @property_id_begin: The property id to assign to the first overridden property. 1024s # * 1024s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1024s # * The properties are overridden in the order they are defined. 1024s # * 1024s # * Returns: The last property id. 1024s # */ 1024s # guint 1024s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1024s # { 1024s # return property_id_begin - 1; 1024s # } 1024s # 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_simple_signal ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__VOID (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__DOUBLE (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface: 1024s # * 1024s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceIface: 1024s # * @parent_iface: The parent interface. 1024s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1024s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1024s # * 1024s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1024s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1024s # 1024s # static void 1024s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # /* GObject signals for received D-Bus signals: */ 1024s # /** 1024s # * OrgProjectSignalingIface::simple-signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1024s # g_signal_new ("simple-signal", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_simple_signal, 1024s # G_TYPE_NONE, 1024s # 0); 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface::single-arg-signal-d: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_d: Argument. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1024s # g_signal_new ("single-arg-signal-d", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1024s # G_TYPE_NONE, 1024s # 1, G_TYPE_DOUBLE); 1024s # 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_simple_signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * Emits the "SimpleSignal" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_single_arg_signal_d: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_d: Argument to pass with the signal. 1024s # * 1024s # * Emits the "SingleArgSignalD" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_single_arg_signal_d ( 1024s # OrgProjectSignalingIface *object, 1024s # gdouble arg_arg_d) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxy: 1024s # * 1024s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxyClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceProxy. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceProxyPrivate 1024s # { 1024s # GData *qdata; 1024s # }; 1024s # 1024s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_proxy_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1024s # g_datalist_clear (&proxy->priv->qdata); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # const GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1024s # const gchar *sender_name G_GNUC_UNUSED, 1024s # const gchar *signal_name, 1024s # GVariant *parameters) 1024s # { 1024s # _ExtendedGDBusSignalInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # gsize n; 1024s # guint signal_id; 1024s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1024s # if (info == NULL) 1024s # return; 1024s # num_params = g_variant_n_children (parameters); 1024s # paramv = g_new0 (GValue, num_params + 1); 1024s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[0], proxy); 1024s # g_variant_iter_init (&iter, parameters); 1024s # n = 1; 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_signal_emitv (paramv, signal_id, 0, NULL); 1024s # for (n = 0; n < num_params + 1; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1024s # GVariant *changed_properties, 1024s # const gchar *const *invalidated_properties) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1024s # guint n; 1024s # const gchar *key; 1024s # GVariantIter *iter; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # g_variant_get (changed_properties, "a{sv}", &iter); 1024s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1024s # g_datalist_remove_data (&proxy->priv->qdata, key); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # g_variant_iter_free (iter); 1024s # for (n = 0; invalidated_properties[n] != NULL; n++) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1024s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1024s # #else 1024s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1024s # #endif 1024s # 1024s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusProxyClass *proxy_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1024s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1024s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1024s # 1024s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1024s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1024s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_sync: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_sync ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new_for_bus ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeleton: 1024s # * 1024s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeletonClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1024s # { 1024s # GValue *properties; 1024s # GList *changed_properties; 1024s # GSource *changed_properties_idle_source; 1024s # GMainContext *context; 1024s # GMutex lock; 1024s # }; 1024s # 1024s # static void 1024s # _org_project_signaling_iface_skeleton_handle_method_call ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name, 1024s # const gchar *method_name, 1024s # GVariant *parameters, 1024s # GDBusMethodInvocation *invocation, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # _ExtendedGDBusMethodInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # guint num_extra; 1024s # gsize n; 1024s # guint signal_id; 1024s # GValue return_value = G_VALUE_INIT; 1024s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1024s # g_assert (info != NULL); 1024s # num_params = g_variant_n_children (parameters); 1024s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1024s # n = 0; 1024s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[n++], skeleton); 1024s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1024s # g_value_set_object (¶mv[n++], invocation); 1024s # if (info->pass_fdlist) 1024s # { 1024s # #ifdef G_OS_UNIX 1024s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1024s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1024s # #else 1024s # g_assert_not_reached (); 1024s # #endif 1024s # } 1024s # g_variant_iter_init (&iter, parameters); 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1024s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1024s # if (!g_value_get_boolean (&return_value)) 1024s # 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); 1024s # g_value_unset (&return_value); 1024s # for (n = 0; n < num_params + num_extra; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static GVariant * 1024s # _org_project_signaling_iface_skeleton_handle_get_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # GVariant *ret; 1024s # ret = NULL; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # g_value_init (&value, pspec->value_type); 1024s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1024s # g_value_unset (&value); 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _org_project_signaling_iface_skeleton_handle_set_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GVariant *variant, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # gboolean ret; 1024s # ret = FALSE; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # if (info->use_gvariant) 1024s # g_value_set_variant (&value, variant); 1024s # else 1024s # g_dbus_gvariant_to_gvalue (variant, &value); 1024s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # g_value_unset (&value); 1024s # ret = TRUE; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1024s # { 1024s # _org_project_signaling_iface_skeleton_handle_method_call, 1024s # _org_project_signaling_iface_skeleton_handle_get_property, 1024s # _org_project_signaling_iface_skeleton_handle_set_property, 1024s # {NULL} 1024s # }; 1024s # 1024s # static GDBusInterfaceInfo * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return org_project_signaling_iface_interface_info (); 1024s # } 1024s # 1024s # static GDBusInterfaceVTable * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1024s # } 1024s # 1024s # static GVariant * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1024s # 1024s # GVariantBuilder builder; 1024s # guint n; 1024s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1024s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1024s # goto out; 1024s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1024s # { 1024s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1024s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1024s # { 1024s # GVariant *value; 1024s # 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); 1024s # if (value != NULL) 1024s # { 1024s # g_variant_take_ref (value); 1024s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1024s # g_variant_unref (value); 1024s # } 1024s # } 1024s # } 1024s # out: 1024s # return g_variant_builder_end (&builder); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1024s # OrgProjectSignalingIface *object, 1024s # gdouble arg_arg_d) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1024s # arg_arg_d)); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1024s # if (skeleton->priv->changed_properties_idle_source != NULL) 1024s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1024s # g_main_context_unref (skeleton->priv->context); 1024s # g_mutex_clear (&skeleton->priv->lock); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1024s # #else 1024s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1024s # #endif 1024s # 1024s # g_mutex_init (&skeleton->priv->lock); 1024s # skeleton->priv->context = g_main_context_ref_thread_default (); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusInterfaceSkeletonClass *skeleton_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1024s # 1024s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1024s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1024s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1024s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1024s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1024s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_skeleton_new: 1024s # * 1024s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_skeleton_new (void) 1024s # { 1024s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1024s # } 1024s # /tmp/tmpis8jsnsw/tmpywok_y_7.xml: 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpis8jsnsw/tmpywok_y_7.xml', '--output', '-', '--body'] 1024s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1024s # Output: /* 1024s # * This file is generated by gdbus-codegen, do not modify it. 1024s # * 1024s # * The license of this code is the same as for the D-Bus interface description 1024s # * it was derived from. Note that it links to GLib, so must comply with the 1024s # * LGPL linking clauses. 1024s # */ 1024s # 1024s # #ifdef HAVE_CONFIG_H 1024s # # include "config.h" 1024s # #endif 1024s # 1024s # #include 1024s # #ifdef G_OS_UNIX 1024s # # include 1024s # #endif 1024s # 1024s # #ifdef G_ENABLE_DEBUG 1024s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1024s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1024s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1024s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1024s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1024s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1024s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1024s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1024s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1024s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1024s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1024s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1024s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1024s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1024s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1024s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1024s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1024s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1024s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1024s # #else /* !G_ENABLE_DEBUG */ 1024s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1024s # * Do not access GValues directly in your code. Instead, use the 1024s # * g_value_get_*() functions 1024s # */ 1024s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1024s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1024s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1024s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1024s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1024s # #endif /* !G_ENABLE_DEBUG */ 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusArgInfo parent_struct; 1024s # gboolean use_gvariant; 1024s # } _ExtendedGDBusArgInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusMethodInfo parent_struct; 1024s # const gchar *signal_name; 1024s # gboolean pass_fdlist; 1024s # } _ExtendedGDBusMethodInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusSignalInfo parent_struct; 1024s # const gchar *signal_name; 1024s # } _ExtendedGDBusSignalInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusPropertyInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # guint use_gvariant : 1; 1024s # guint emits_changed_signal : 1; 1024s # } _ExtendedGDBusPropertyInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusInterfaceInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # } _ExtendedGDBusInterfaceInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # const _ExtendedGDBusPropertyInfo *info; 1024s # guint prop_id; 1024s # GValue orig_value; /* the value before the change */ 1024s # } ChangedProperty; 1024s # 1024s # static void 1024s # _changed_property_free (ChangedProperty *data) 1024s # { 1024s # g_value_unset (&data->orig_value); 1024s # g_free (data); 1024s # } 1024s # 1024s # static gboolean 1024s # _g_strv_equal0 (gchar **a, gchar **b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # guint n; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # if (g_strv_length (a) != g_strv_length (b)) 1024s # goto out; 1024s # for (n = 0; a[n] != NULL; n++) 1024s # if (g_strcmp0 (a[n], b[n]) != 0) 1024s # goto out; 1024s # ret = TRUE; 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _g_variant_equal0 (GVariant *a, GVariant *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # ret = g_variant_equal (a, b); 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # G_GNUC_UNUSED static gboolean 1024s # _g_value_equal (const GValue *a, const GValue *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1024s # switch (G_VALUE_TYPE (a)) 1024s # { 1024s # case G_TYPE_BOOLEAN: 1024s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1024s # break; 1024s # case G_TYPE_UCHAR: 1024s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1024s # break; 1024s # case G_TYPE_INT: 1024s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1024s # break; 1024s # case G_TYPE_UINT: 1024s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1024s # break; 1024s # case G_TYPE_INT64: 1024s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1024s # break; 1024s # case G_TYPE_UINT64: 1024s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1024s # break; 1024s # case G_TYPE_DOUBLE: 1024s # { 1024s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1024s # gdouble da = g_value_get_double (a); 1024s # gdouble db = g_value_get_double (b); 1024s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1024s # } 1024s # break; 1024s # case G_TYPE_STRING: 1024s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1024s # break; 1024s # case G_TYPE_VARIANT: 1024s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1024s # break; 1024s # default: 1024s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1024s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1024s # else 1024s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1024s # break; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ 1024s # * Code for interface org.project.SignalingIface 1024s # * ------------------------------------------------------------------------ 1024s # */ 1024s # 1024s # /** 1024s # * SECTION:OrgProjectSignalingIface 1024s # * @title: OrgProjectSignalingIface 1024s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1024s # * 1024s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1024s # */ 1024s # 1024s # enum 1024s # { 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1024s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1024s # }; 1024s # 1024s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1024s # 1024s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SimpleSignal", 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "simple-signal" 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "arg_s", 1024s # (gchar *) "s", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SingleArgSignalS", 1024s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1024s # NULL 1024s # }, 1024s # "single-arg-signal-s" 1024s # }; 1024s # 1024s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "org.project.SignalingIface", 1024s # NULL, 1024s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "org-project-signaling-iface", 1024s # }; 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_interface_info: 1024s # * 1024s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1024s # * 1024s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1024s # */ 1024s # GDBusInterfaceInfo * 1024s # org_project_signaling_iface_interface_info (void) 1024s # { 1024s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_override_properties: 1024s # * @klass: The class structure for a #GObject derived class. 1024s # * @property_id_begin: The property id to assign to the first overridden property. 1024s # * 1024s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1024s # * The properties are overridden in the order they are defined. 1024s # * 1024s # * Returns: The last property id. 1024s # */ 1024s # guint 1024s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1024s # { 1024s # return property_id_begin - 1; 1024s # } 1024s # 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_simple_signal ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__VOID (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__STRING (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface: 1024s # * 1024s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceIface: 1024s # * @parent_iface: The parent interface. 1024s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1024s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1024s # * 1024s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1024s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1024s # 1024s # static void 1024s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # /* GObject signals for received D-Bus signals: */ 1024s # /** 1024s # * OrgProjectSignalingIface::simple-signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1024s # g_signal_new ("simple-signal", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_simple_signal, 1024s # G_TYPE_NONE, 1024s # 0); 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface::single-arg-signal-s: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_s: Argument. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1024s # g_signal_new ("single-arg-signal-s", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1024s # G_TYPE_NONE, 1024s # 1, G_TYPE_STRING); 1024s # 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_simple_signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * Emits the "SimpleSignal" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_single_arg_signal_s: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_s: Argument to pass with the signal. 1024s # * 1024s # * Emits the "SingleArgSignalS" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_single_arg_signal_s ( 1024s # OrgProjectSignalingIface *object, 1024s # const gchar *arg_arg_s) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxy: 1024s # * 1024s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxyClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceProxy. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceProxyPrivate 1024s # { 1024s # GData *qdata; 1024s # }; 1024s # 1024s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_proxy_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1024s # g_datalist_clear (&proxy->priv->qdata); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # const GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1024s # const gchar *sender_name G_GNUC_UNUSED, 1024s # const gchar *signal_name, 1024s # GVariant *parameters) 1024s # { 1024s # _ExtendedGDBusSignalInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # gsize n; 1024s # guint signal_id; 1024s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1024s # if (info == NULL) 1024s # return; 1024s # num_params = g_variant_n_children (parameters); 1024s # paramv = g_new0 (GValue, num_params + 1); 1024s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[0], proxy); 1024s # g_variant_iter_init (&iter, parameters); 1024s # n = 1; 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_signal_emitv (paramv, signal_id, 0, NULL); 1024s # for (n = 0; n < num_params + 1; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1024s # GVariant *changed_properties, 1024s # const gchar *const *invalidated_properties) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1024s # guint n; 1024s # const gchar *key; 1024s # GVariantIter *iter; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # g_variant_get (changed_properties, "a{sv}", &iter); 1024s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1024s # g_datalist_remove_data (&proxy->priv->qdata, key); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # g_variant_iter_free (iter); 1024s # for (n = 0; invalidated_properties[n] != NULL; n++) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1024s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1024s # #else 1024s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1024s # #endif 1024s # 1024s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusProxyClass *proxy_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1024s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1024s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1024s # 1024s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1024s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1024s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_sync: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_sync ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new_for_bus ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeleton: 1024s # * 1024s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeletonClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1024s # { 1024s # GValue *properties; 1024s # GList *changed_properties; 1024s # GSource *changed_properties_idle_source; 1024s # GMainContext *context; 1024s # GMutex lock; 1024s # }; 1024s # 1024s # static void 1024s # _org_project_signaling_iface_skeleton_handle_method_call ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name, 1024s # const gchar *method_name, 1024s # GVariant *parameters, 1024s # GDBusMethodInvocation *invocation, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # _ExtendedGDBusMethodInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # guint num_extra; 1024s # gsize n; 1024s # guint signal_id; 1024s # GValue return_value = G_VALUE_INIT; 1024s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1024s # g_assert (info != NULL); 1024s # num_params = g_variant_n_children (parameters); 1024s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1024s # n = 0; 1024s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[n++], skeleton); 1024s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1024s # g_value_set_object (¶mv[n++], invocation); 1024s # if (info->pass_fdlist) 1024s # { 1024s # #ifdef G_OS_UNIX 1024s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1024s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1024s # #else 1024s # g_assert_not_reached (); 1024s # #endif 1024s # } 1024s # g_variant_iter_init (&iter, parameters); 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1024s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1024s # if (!g_value_get_boolean (&return_value)) 1024s # 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); 1024s # g_value_unset (&return_value); 1024s # for (n = 0; n < num_params + num_extra; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static GVariant * 1024s # _org_project_signaling_iface_skeleton_handle_get_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # GVariant *ret; 1024s # ret = NULL; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # g_value_init (&value, pspec->value_type); 1024s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1024s # g_value_unset (&value); 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _org_project_signaling_iface_skeleton_handle_set_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GVariant *variant, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # gboolean ret; 1024s # ret = FALSE; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # if (info->use_gvariant) 1024s # g_value_set_variant (&value, variant); 1024s # else 1024s # g_dbus_gvariant_to_gvalue (variant, &value); 1024s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # g_value_unset (&value); 1024s # ret = TRUE; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1024s # { 1024s # _org_project_signaling_iface_skeleton_handle_method_call, 1024s # _org_project_signaling_iface_skeleton_handle_get_property, 1024s # _org_project_signaling_iface_skeleton_handle_set_property, 1024s # {NULL} 1024s # }; 1024s # 1024s # static GDBusInterfaceInfo * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return org_project_signaling_iface_interface_info (); 1024s # } 1024s # 1024s # static GDBusInterfaceVTable * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1024s # } 1024s # 1024s # static GVariant * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1024s # 1024s # GVariantBuilder builder; 1024s # guint n; 1024s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1024s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1024s # goto out; 1024s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1024s # { 1024s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1024s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1024s # { 1024s # GVariant *value; 1024s # 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); 1024s # if (value != NULL) 1024s # { 1024s # g_variant_take_ref (value); 1024s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1024s # g_variant_unref (value); 1024s # } 1024s # } 1024s # } 1024s # out: 1024s # return g_variant_builder_end (&builder); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1024s # OrgProjectSignalingIface *object, 1024s # const gchar *arg_arg_s) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1024s # arg_arg_s)); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1024s # if (skeleton->priv->changed_properties_idle_source != NULL) 1024s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1024s # g_main_context_unref (skeleton->priv->context); 1024s # g_mutex_clear (&skeleton->priv->lock); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1024s # #else 1024s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1024s # #endif 1024s # 1024s # g_mutex_init (&skeleton->priv->lock); 1024s # skeleton->priv->context = g_main_context_ref_thread_default (); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusInterfaceSkeletonClass *skeleton_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1024s # 1024s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1024s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1024s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1024s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1024s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1024s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_skeleton_new: 1024s # * 1024s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_skeleton_new (void) 1024s # { 1024s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1024s # } 1024s # /tmp/tmpis8jsnsw/tmpcf0lfxag.xml: 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpis8jsnsw/tmpcf0lfxag.xml', '--output', '-', '--body'] 1024s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1024s # Output: /* 1024s # * This file is generated by gdbus-codegen, do not modify it. 1024s # * 1024s # * The license of this code is the same as for the D-Bus interface description 1024s # * it was derived from. Note that it links to GLib, so must comply with the 1024s # * LGPL linking clauses. 1024s # */ 1024s # 1024s # #ifdef HAVE_CONFIG_H 1024s # # include "config.h" 1024s # #endif 1024s # 1024s # #include 1024s # #ifdef G_OS_UNIX 1024s # # include 1024s # #endif 1024s # 1024s # #ifdef G_ENABLE_DEBUG 1024s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1024s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1024s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1024s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1024s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1024s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1024s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1024s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1024s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1024s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1024s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1024s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1024s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1024s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1024s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1024s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1024s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1024s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1024s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1024s # #else /* !G_ENABLE_DEBUG */ 1024s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1024s # * Do not access GValues directly in your code. Instead, use the 1024s # * g_value_get_*() functions 1024s # */ 1024s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1024s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1024s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1024s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1024s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1024s # #endif /* !G_ENABLE_DEBUG */ 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusArgInfo parent_struct; 1024s # gboolean use_gvariant; 1024s # } _ExtendedGDBusArgInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusMethodInfo parent_struct; 1024s # const gchar *signal_name; 1024s # gboolean pass_fdlist; 1024s # } _ExtendedGDBusMethodInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusSignalInfo parent_struct; 1024s # const gchar *signal_name; 1024s # } _ExtendedGDBusSignalInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusPropertyInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # guint use_gvariant : 1; 1024s # guint emits_changed_signal : 1; 1024s # } _ExtendedGDBusPropertyInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusInterfaceInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # } _ExtendedGDBusInterfaceInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # const _ExtendedGDBusPropertyInfo *info; 1024s # guint prop_id; 1024s # GValue orig_value; /* the value before the change */ 1024s # } ChangedProperty; 1024s # 1024s # static void 1024s # _changed_property_free (ChangedProperty *data) 1024s # { 1024s # g_value_unset (&data->orig_value); 1024s # g_free (data); 1024s # } 1024s # 1024s # static gboolean 1024s # _g_strv_equal0 (gchar **a, gchar **b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # guint n; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # if (g_strv_length (a) != g_strv_length (b)) 1024s # goto out; 1024s # for (n = 0; a[n] != NULL; n++) 1024s # if (g_strcmp0 (a[n], b[n]) != 0) 1024s # goto out; 1024s # ret = TRUE; 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _g_variant_equal0 (GVariant *a, GVariant *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # ret = g_variant_equal (a, b); 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # G_GNUC_UNUSED static gboolean 1024s # _g_value_equal (const GValue *a, const GValue *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1024s # switch (G_VALUE_TYPE (a)) 1024s # { 1024s # case G_TYPE_BOOLEAN: 1024s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1024s # break; 1024s # case G_TYPE_UCHAR: 1024s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1024s # break; 1024s # case G_TYPE_INT: 1024s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1024s # break; 1024s # case G_TYPE_UINT: 1024s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1024s # break; 1024s # case G_TYPE_INT64: 1024s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1024s # break; 1024s # case G_TYPE_UINT64: 1024s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1024s # break; 1024s # case G_TYPE_DOUBLE: 1024s # { 1024s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1024s # gdouble da = g_value_get_double (a); 1024s # gdouble db = g_value_get_double (b); 1024s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1024s # } 1024s # break; 1024s # case G_TYPE_STRING: 1024s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1024s # break; 1024s # case G_TYPE_VARIANT: 1024s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1024s # break; 1024s # default: 1024s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1024s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1024s # else 1024s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1024s # break; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ 1024s # * Code for interface org.project.SignalingIface 1024s # * ------------------------------------------------------------------------ 1024s # */ 1024s # 1024s # /** 1024s # * SECTION:OrgProjectSignalingIface 1024s # * @title: OrgProjectSignalingIface 1024s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1024s # * 1024s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1024s # */ 1024s # 1024s # enum 1024s # { 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1024s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1024s # }; 1024s # 1024s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1024s # 1024s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SimpleSignal", 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "simple-signal" 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "arg_o", 1024s # (gchar *) "o", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SingleArgSignalO", 1024s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1024s # NULL 1024s # }, 1024s # "single-arg-signal-o" 1024s # }; 1024s # 1024s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "org.project.SignalingIface", 1024s # NULL, 1024s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "org-project-signaling-iface", 1024s # }; 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_interface_info: 1024s # * 1024s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1024s # * 1024s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1024s # */ 1024s # GDBusInterfaceInfo * 1024s # org_project_signaling_iface_interface_info (void) 1024s # { 1024s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_override_properties: 1024s # * @klass: The class structure for a #GObject derived class. 1024s # * @property_id_begin: The property id to assign to the first overridden property. 1024s # * 1024s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1024s # * The properties are overridden in the order they are defined. 1024s # * 1024s # * Returns: The last property id. 1024s # */ 1024s # guint 1024s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1024s # { 1024s # return property_id_begin - 1; 1024s # } 1024s # 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_simple_signal ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__VOID (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__STRING (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface: 1024s # * 1024s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceIface: 1024s # * @parent_iface: The parent interface. 1024s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1024s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1024s # * 1024s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1024s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1024s # 1024s # static void 1024s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # /* GObject signals for received D-Bus signals: */ 1024s # /** 1024s # * OrgProjectSignalingIface::simple-signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1024s # g_signal_new ("simple-signal", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_simple_signal, 1024s # G_TYPE_NONE, 1024s # 0); 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface::single-arg-signal-o: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_o: Argument. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1024s # g_signal_new ("single-arg-signal-o", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1024s # G_TYPE_NONE, 1024s # 1, G_TYPE_STRING); 1024s # 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_simple_signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * Emits the "SimpleSignal" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_single_arg_signal_o: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_o: Argument to pass with the signal. 1024s # * 1024s # * Emits the "SingleArgSignalO" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_single_arg_signal_o ( 1024s # OrgProjectSignalingIface *object, 1024s # const gchar *arg_arg_o) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxy: 1024s # * 1024s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxyClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceProxy. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceProxyPrivate 1024s # { 1024s # GData *qdata; 1024s # }; 1024s # 1024s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_proxy_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1024s # g_datalist_clear (&proxy->priv->qdata); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # const GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1024s # const gchar *sender_name G_GNUC_UNUSED, 1024s # const gchar *signal_name, 1024s # GVariant *parameters) 1024s # { 1024s # _ExtendedGDBusSignalInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # gsize n; 1024s # guint signal_id; 1024s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1024s # if (info == NULL) 1024s # return; 1024s # num_params = g_variant_n_children (parameters); 1024s # paramv = g_new0 (GValue, num_params + 1); 1024s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[0], proxy); 1024s # g_variant_iter_init (&iter, parameters); 1024s # n = 1; 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_signal_emitv (paramv, signal_id, 0, NULL); 1024s # for (n = 0; n < num_params + 1; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1024s # GVariant *changed_properties, 1024s # const gchar *const *invalidated_properties) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1024s # guint n; 1024s # const gchar *key; 1024s # GVariantIter *iter; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # g_variant_get (changed_properties, "a{sv}", &iter); 1024s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1024s # g_datalist_remove_data (&proxy->priv->qdata, key); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # g_variant_iter_free (iter); 1024s # for (n = 0; invalidated_properties[n] != NULL; n++) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1024s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1024s # #else 1024s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1024s # #endif 1024s # 1024s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusProxyClass *proxy_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1024s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1024s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1024s # 1024s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1024s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1024s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_sync: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_sync ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new_for_bus ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeleton: 1024s # * 1024s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeletonClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1024s # { 1024s # GValue *properties; 1024s # GList *changed_properties; 1024s # GSource *changed_properties_idle_source; 1024s # GMainContext *context; 1024s # GMutex lock; 1024s # }; 1024s # 1024s # static void 1024s # _org_project_signaling_iface_skeleton_handle_method_call ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name, 1024s # const gchar *method_name, 1024s # GVariant *parameters, 1024s # GDBusMethodInvocation *invocation, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # _ExtendedGDBusMethodInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # guint num_extra; 1024s # gsize n; 1024s # guint signal_id; 1024s # GValue return_value = G_VALUE_INIT; 1024s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1024s # g_assert (info != NULL); 1024s # num_params = g_variant_n_children (parameters); 1024s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1024s # n = 0; 1024s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[n++], skeleton); 1024s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1024s # g_value_set_object (¶mv[n++], invocation); 1024s # if (info->pass_fdlist) 1024s # { 1024s # #ifdef G_OS_UNIX 1024s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1024s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1024s # #else 1024s # g_assert_not_reached (); 1024s # #endif 1024s # } 1024s # g_variant_iter_init (&iter, parameters); 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1024s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1024s # if (!g_value_get_boolean (&return_value)) 1024s # 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); 1024s # g_value_unset (&return_value); 1024s # for (n = 0; n < num_params + num_extra; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static GVariant * 1024s # _org_project_signaling_iface_skeleton_handle_get_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # GVariant *ret; 1024s # ret = NULL; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # g_value_init (&value, pspec->value_type); 1024s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1024s # g_value_unset (&value); 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _org_project_signaling_iface_skeleton_handle_set_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GVariant *variant, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # gboolean ret; 1024s # ret = FALSE; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # if (info->use_gvariant) 1024s # g_value_set_variant (&value, variant); 1024s # else 1024s # g_dbus_gvariant_to_gvalue (variant, &value); 1024s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # g_value_unset (&value); 1024s # ret = TRUE; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1024s # { 1024s # _org_project_signaling_iface_skeleton_handle_method_call, 1024s # _org_project_signaling_iface_skeleton_handle_get_property, 1024s # _org_project_signaling_iface_skeleton_handle_set_property, 1024s # {NULL} 1024s # }; 1024s # 1024s # static GDBusInterfaceInfo * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return org_project_signaling_iface_interface_info (); 1024s # } 1024s # 1024s # static GDBusInterfaceVTable * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1024s # } 1024s # 1024s # static GVariant * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1024s # 1024s # GVariantBuilder builder; 1024s # guint n; 1024s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1024s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1024s # goto out; 1024s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1024s # { 1024s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1024s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1024s # { 1024s # GVariant *value; 1024s # 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); 1024s # if (value != NULL) 1024s # { 1024s # g_variant_take_ref (value); 1024s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1024s # g_variant_unref (value); 1024s # } 1024s # } 1024s # } 1024s # out: 1024s # return g_variant_builder_end (&builder); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1024s # OrgProjectSignalingIface *object, 1024s # const gchar *arg_arg_o) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1024s # arg_arg_o)); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1024s # if (skeleton->priv->changed_properties_idle_source != NULL) 1024s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1024s # g_main_context_unref (skeleton->priv->context); 1024s # g_mutex_clear (&skeleton->priv->lock); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1024s # #else 1024s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1024s # #endif 1024s # 1024s # g_mutex_init (&skeleton->priv->lock); 1024s # skeleton->priv->context = g_main_context_ref_thread_default (); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusInterfaceSkeletonClass *skeleton_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1024s # 1024s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1024s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1024s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1024s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1024s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1024s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_skeleton_new: 1024s # * 1024s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_skeleton_new (void) 1024s # { 1024s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1024s # } 1024s # /tmp/tmpis8jsnsw/tmpnxupxbf_.xml: 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpis8jsnsw/tmpnxupxbf_.xml', '--output', '-', '--body'] 1024s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1024s # Output: /* 1024s # * This file is generated by gdbus-codegen, do not modify it. 1024s # * 1024s # * The license of this code is the same as for the D-Bus interface description 1024s # * it was derived from. Note that it links to GLib, so must comply with the 1024s # * LGPL linking clauses. 1024s # */ 1024s # 1024s # #ifdef HAVE_CONFIG_H 1024s # # include "config.h" 1024s # #endif 1024s # 1024s # #include 1024s # #ifdef G_OS_UNIX 1024s # # include 1024s # #endif 1024s # 1024s # #ifdef G_ENABLE_DEBUG 1024s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1024s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1024s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1024s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1024s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1024s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1024s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1024s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1024s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1024s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1024s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1024s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1024s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1024s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1024s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1024s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1024s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1024s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1024s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1024s # #else /* !G_ENABLE_DEBUG */ 1024s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1024s # * Do not access GValues directly in your code. Instead, use the 1024s # * g_value_get_*() functions 1024s # */ 1024s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1024s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1024s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1024s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1024s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1024s # #endif /* !G_ENABLE_DEBUG */ 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusArgInfo parent_struct; 1024s # gboolean use_gvariant; 1024s # } _ExtendedGDBusArgInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusMethodInfo parent_struct; 1024s # const gchar *signal_name; 1024s # gboolean pass_fdlist; 1024s # } _ExtendedGDBusMethodInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusSignalInfo parent_struct; 1024s # const gchar *signal_name; 1024s # } _ExtendedGDBusSignalInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusPropertyInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # guint use_gvariant : 1; 1024s # guint emits_changed_signal : 1; 1024s # } _ExtendedGDBusPropertyInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusInterfaceInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # } _ExtendedGDBusInterfaceInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # const _ExtendedGDBusPropertyInfo *info; 1024s # guint prop_id; 1024s # GValue orig_value; /* the value before the change */ 1024s # } ChangedProperty; 1024s # 1024s # static void 1024s # _changed_property_free (ChangedProperty *data) 1024s # { 1024s # g_value_unset (&data->orig_value); 1024s # g_free (data); 1024s # } 1024s # 1024s # static gboolean 1024s # _g_strv_equal0 (gchar **a, gchar **b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # guint n; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # if (g_strv_length (a) != g_strv_length (b)) 1024s # goto out; 1024s # for (n = 0; a[n] != NULL; n++) 1024s # if (g_strcmp0 (a[n], b[n]) != 0) 1024s # goto out; 1024s # ret = TRUE; 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _g_variant_equal0 (GVariant *a, GVariant *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # ret = g_variant_equal (a, b); 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # G_GNUC_UNUSED static gboolean 1024s # _g_value_equal (const GValue *a, const GValue *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1024s # switch (G_VALUE_TYPE (a)) 1024s # { 1024s # case G_TYPE_BOOLEAN: 1024s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1024s # break; 1024s # case G_TYPE_UCHAR: 1024s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1024s # break; 1024s # case G_TYPE_INT: 1024s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1024s # break; 1024s # case G_TYPE_UINT: 1024s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1024s # break; 1024s # case G_TYPE_INT64: 1024s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1024s # break; 1024s # case G_TYPE_UINT64: 1024s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1024s # break; 1024s # case G_TYPE_DOUBLE: 1024s # { 1024s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1024s # gdouble da = g_value_get_double (a); 1024s # gdouble db = g_value_get_double (b); 1024s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1024s # } 1024s # break; 1024s # case G_TYPE_STRING: 1024s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1024s # break; 1024s # case G_TYPE_VARIANT: 1024s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1024s # break; 1024s # default: 1024s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1024s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1024s # else 1024s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1024s # break; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ 1024s # * Code for interface org.project.SignalingIface 1024s # * ------------------------------------------------------------------------ 1024s # */ 1024s # 1024s # /** 1024s # * SECTION:OrgProjectSignalingIface 1024s # * @title: OrgProjectSignalingIface 1024s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1024s # * 1024s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1024s # */ 1024s # 1024s # enum 1024s # { 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1024s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1024s # }; 1024s # 1024s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1024s # 1024s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SimpleSignal", 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "simple-signal" 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "arg_g", 1024s # (gchar *) "g", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SingleArgSignalG", 1024s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1024s # NULL 1024s # }, 1024s # "single-arg-signal-g" 1024s # }; 1024s # 1024s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "org.project.SignalingIface", 1024s # NULL, 1024s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "org-project-signaling-iface", 1024s # }; 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_interface_info: 1024s # * 1024s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1024s # * 1024s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1024s # */ 1024s # GDBusInterfaceInfo * 1024s # org_project_signaling_iface_interface_info (void) 1024s # { 1024s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_override_properties: 1024s # * @klass: The class structure for a #GObject derived class. 1024s # * @property_id_begin: The property id to assign to the first overridden property. 1024s # * 1024s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1024s # * The properties are overridden in the order they are defined. 1024s # * 1024s # * Returns: The last property id. 1024s # */ 1024s # guint 1024s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1024s # { 1024s # return property_id_begin - 1; 1024s # } 1024s # 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_simple_signal ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__VOID (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__STRING (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface: 1024s # * 1024s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceIface: 1024s # * @parent_iface: The parent interface. 1024s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1024s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1024s # * 1024s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1024s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1024s # 1024s # static void 1024s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # /* GObject signals for received D-Bus signals: */ 1024s # /** 1024s # * OrgProjectSignalingIface::simple-signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1024s # g_signal_new ("simple-signal", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_simple_signal, 1024s # G_TYPE_NONE, 1024s # 0); 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface::single-arg-signal-g: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_g: Argument. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1024s # g_signal_new ("single-arg-signal-g", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1024s # G_TYPE_NONE, 1024s # 1, G_TYPE_STRING); 1024s # 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_simple_signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * Emits the "SimpleSignal" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_single_arg_signal_g: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_g: Argument to pass with the signal. 1024s # * 1024s # * Emits the "SingleArgSignalG" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_single_arg_signal_g ( 1024s # OrgProjectSignalingIface *object, 1024s # const gchar *arg_arg_g) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxy: 1024s # * 1024s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxyClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceProxy. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceProxyPrivate 1024s # { 1024s # GData *qdata; 1024s # }; 1024s # 1024s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_proxy_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1024s # g_datalist_clear (&proxy->priv->qdata); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # const GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1024s # const gchar *sender_name G_GNUC_UNUSED, 1024s # const gchar *signal_name, 1024s # GVariant *parameters) 1024s # { 1024s # _ExtendedGDBusSignalInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # gsize n; 1024s # guint signal_id; 1024s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1024s # if (info == NULL) 1024s # return; 1024s # num_params = g_variant_n_children (parameters); 1024s # paramv = g_new0 (GValue, num_params + 1); 1024s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[0], proxy); 1024s # g_variant_iter_init (&iter, parameters); 1024s # n = 1; 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_signal_emitv (paramv, signal_id, 0, NULL); 1024s # for (n = 0; n < num_params + 1; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1024s # GVariant *changed_properties, 1024s # const gchar *const *invalidated_properties) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1024s # guint n; 1024s # const gchar *key; 1024s # GVariantIter *iter; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # g_variant_get (changed_properties, "a{sv}", &iter); 1024s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1024s # g_datalist_remove_data (&proxy->priv->qdata, key); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # g_variant_iter_free (iter); 1024s # for (n = 0; invalidated_properties[n] != NULL; n++) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1024s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1024s # #else 1024s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1024s # #endif 1024s # 1024s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusProxyClass *proxy_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1024s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1024s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1024s # 1024s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1024s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1024s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_sync: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_sync ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new_for_bus ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeleton: 1024s # * 1024s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeletonClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1024s # { 1024s # GValue *properties; 1024s # GList *changed_properties; 1024s # GSource *changed_properties_idle_source; 1024s # GMainContext *context; 1024s # GMutex lock; 1024s # }; 1024s # 1024s # static void 1024s # _org_project_signaling_iface_skeleton_handle_method_call ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name, 1024s # const gchar *method_name, 1024s # GVariant *parameters, 1024s # GDBusMethodInvocation *invocation, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # _ExtendedGDBusMethodInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # guint num_extra; 1024s # gsize n; 1024s # guint signal_id; 1024s # GValue return_value = G_VALUE_INIT; 1024s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1024s # g_assert (info != NULL); 1024s # num_params = g_variant_n_children (parameters); 1024s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1024s # n = 0; 1024s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[n++], skeleton); 1024s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1024s # g_value_set_object (¶mv[n++], invocation); 1024s # if (info->pass_fdlist) 1024s # { 1024s # #ifdef G_OS_UNIX 1024s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1024s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1024s # #else 1024s # g_assert_not_reached (); 1024s # #endif 1024s # } 1024s # g_variant_iter_init (&iter, parameters); 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1024s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1024s # if (!g_value_get_boolean (&return_value)) 1024s # 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); 1024s # g_value_unset (&return_value); 1024s # for (n = 0; n < num_params + num_extra; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static GVariant * 1024s # _org_project_signaling_iface_skeleton_handle_get_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # GVariant *ret; 1024s # ret = NULL; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # g_value_init (&value, pspec->value_type); 1024s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1024s # g_value_unset (&value); 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _org_project_signaling_iface_skeleton_handle_set_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GVariant *variant, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # gboolean ret; 1024s # ret = FALSE; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # if (info->use_gvariant) 1024s # g_value_set_variant (&value, variant); 1024s # else 1024s # g_dbus_gvariant_to_gvalue (variant, &value); 1024s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # g_value_unset (&value); 1024s # ret = TRUE; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1024s # { 1024s # _org_project_signaling_iface_skeleton_handle_method_call, 1024s # _org_project_signaling_iface_skeleton_handle_get_property, 1024s # _org_project_signaling_iface_skeleton_handle_set_property, 1024s # {NULL} 1024s # }; 1024s # 1024s # static GDBusInterfaceInfo * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return org_project_signaling_iface_interface_info (); 1024s # } 1024s # 1024s # static GDBusInterfaceVTable * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1024s # } 1024s # 1024s # static GVariant * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1024s # 1024s # GVariantBuilder builder; 1024s # guint n; 1024s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1024s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1024s # goto out; 1024s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1024s # { 1024s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1024s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1024s # { 1024s # GVariant *value; 1024s # 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); 1024s # if (value != NULL) 1024s # { 1024s # g_variant_take_ref (value); 1024s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1024s # g_variant_unref (value); 1024s # } 1024s # } 1024s # } 1024s # out: 1024s # return g_variant_builder_end (&builder); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1024s # OrgProjectSignalingIface *object, 1024s # const gchar *arg_arg_g) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1024s # arg_arg_g)); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1024s # if (skeleton->priv->changed_properties_idle_source != NULL) 1024s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1024s # g_main_context_unref (skeleton->priv->context); 1024s # g_mutex_clear (&skeleton->priv->lock); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1024s # #else 1024s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1024s # #endif 1024s # 1024s # g_mutex_init (&skeleton->priv->lock); 1024s # skeleton->priv->context = g_main_context_ref_thread_default (); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusInterfaceSkeletonClass *skeleton_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1024s # 1024s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1024s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1024s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1024s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1024s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1024s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_skeleton_new: 1024s # * 1024s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_skeleton_new (void) 1024s # { 1024s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1024s # } 1024s # /tmp/tmpis8jsnsw/tmpukqs0jch.xml: 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpis8jsnsw/tmpukqs0jch.xml', '--output', '-', '--body'] 1024s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1024s # Output: /* 1024s # * This file is generated by gdbus-codegen, do not modify it. 1024s # * 1024s # * The license of this code is the same as for the D-Bus interface description 1024s # * it was derived from. Note that it links to GLib, so must comply with the 1024s # * LGPL linking clauses. 1024s # */ 1024s # 1024s # #ifdef HAVE_CONFIG_H 1024s # # include "config.h" 1024s # #endif 1024s # 1024s # #include 1024s # #ifdef G_OS_UNIX 1024s # # include 1024s # #endif 1024s # 1024s # #ifdef G_ENABLE_DEBUG 1024s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1024s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1024s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1024s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1024s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1024s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1024s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1024s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1024s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1024s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1024s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1024s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1024s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1024s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1024s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1024s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1024s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1024s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1024s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1024s # #else /* !G_ENABLE_DEBUG */ 1024s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1024s # * Do not access GValues directly in your code. Instead, use the 1024s # * g_value_get_*() functions 1024s # */ 1024s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1024s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1024s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1024s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1024s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1024s # #endif /* !G_ENABLE_DEBUG */ 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusArgInfo parent_struct; 1024s # gboolean use_gvariant; 1024s # } _ExtendedGDBusArgInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusMethodInfo parent_struct; 1024s # const gchar *signal_name; 1024s # gboolean pass_fdlist; 1024s # } _ExtendedGDBusMethodInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusSignalInfo parent_struct; 1024s # const gchar *signal_name; 1024s # } _ExtendedGDBusSignalInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusPropertyInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # guint use_gvariant : 1; 1024s # guint emits_changed_signal : 1; 1024s # } _ExtendedGDBusPropertyInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusInterfaceInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # } _ExtendedGDBusInterfaceInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # const _ExtendedGDBusPropertyInfo *info; 1024s # guint prop_id; 1024s # GValue orig_value; /* the value before the change */ 1024s # } ChangedProperty; 1024s # 1024s # static void 1024s # _changed_property_free (ChangedProperty *data) 1024s # { 1024s # g_value_unset (&data->orig_value); 1024s # g_free (data); 1024s # } 1024s # 1024s # static gboolean 1024s # _g_strv_equal0 (gchar **a, gchar **b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # guint n; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # if (g_strv_length (a) != g_strv_length (b)) 1024s # goto out; 1024s # for (n = 0; a[n] != NULL; n++) 1024s # if (g_strcmp0 (a[n], b[n]) != 0) 1024s # goto out; 1024s # ret = TRUE; 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _g_variant_equal0 (GVariant *a, GVariant *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # ret = g_variant_equal (a, b); 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # G_GNUC_UNUSED static gboolean 1024s # _g_value_equal (const GValue *a, const GValue *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1024s # switch (G_VALUE_TYPE (a)) 1024s # { 1024s # case G_TYPE_BOOLEAN: 1024s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1024s # break; 1024s # case G_TYPE_UCHAR: 1024s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1024s # break; 1024s # case G_TYPE_INT: 1024s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1024s # break; 1024s # case G_TYPE_UINT: 1024s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1024s # break; 1024s # case G_TYPE_INT64: 1024s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1024s # break; 1024s # case G_TYPE_UINT64: 1024s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1024s # break; 1024s # case G_TYPE_DOUBLE: 1024s # { 1024s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1024s # gdouble da = g_value_get_double (a); 1024s # gdouble db = g_value_get_double (b); 1024s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1024s # } 1024s # break; 1024s # case G_TYPE_STRING: 1024s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1024s # break; 1024s # case G_TYPE_VARIANT: 1024s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1024s # break; 1024s # default: 1024s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1024s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1024s # else 1024s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1024s # break; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ 1024s # * Code for interface org.project.SignalingIface 1024s # * ------------------------------------------------------------------------ 1024s # */ 1024s # 1024s # /** 1024s # * SECTION:OrgProjectSignalingIface 1024s # * @title: OrgProjectSignalingIface 1024s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1024s # * 1024s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1024s # */ 1024s # 1024s # enum 1024s # { 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1024s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1024s # }; 1024s # 1024s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1024s # 1024s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SimpleSignal", 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "simple-signal" 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "arg_h", 1024s # (gchar *) "h", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SingleArgSignalH", 1024s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1024s # NULL 1024s # }, 1024s # "single-arg-signal-h" 1024s # }; 1024s # 1024s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "org.project.SignalingIface", 1024s # NULL, 1024s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "org-project-signaling-iface", 1024s # }; 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_interface_info: 1024s # * 1024s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1024s # * 1024s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1024s # */ 1024s # GDBusInterfaceInfo * 1024s # org_project_signaling_iface_interface_info (void) 1024s # { 1024s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_override_properties: 1024s # * @klass: The class structure for a #GObject derived class. 1024s # * @property_id_begin: The property id to assign to the first overridden property. 1024s # * 1024s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1024s # * The properties are overridden in the order they are defined. 1024s # * 1024s # * Returns: The last property id. 1024s # */ 1024s # guint 1024s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1024s # { 1024s # return property_id_begin - 1; 1024s # } 1024s # 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_simple_signal ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__VOID (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__VARIANT (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface: 1024s # * 1024s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceIface: 1024s # * @parent_iface: The parent interface. 1024s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1024s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1024s # * 1024s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1024s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1024s # 1024s # static void 1024s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # /* GObject signals for received D-Bus signals: */ 1024s # /** 1024s # * OrgProjectSignalingIface::simple-signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1024s # g_signal_new ("simple-signal", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_simple_signal, 1024s # G_TYPE_NONE, 1024s # 0); 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface::single-arg-signal-h: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_h: Argument. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1024s # g_signal_new ("single-arg-signal-h", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1024s # G_TYPE_NONE, 1024s # 1, G_TYPE_VARIANT); 1024s # 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_simple_signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * Emits the "SimpleSignal" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_single_arg_signal_h: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_h: Argument to pass with the signal. 1024s # * 1024s # * Emits the "SingleArgSignalH" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_single_arg_signal_h ( 1024s # OrgProjectSignalingIface *object, 1024s # GVariant *arg_arg_h) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxy: 1024s # * 1024s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxyClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceProxy. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceProxyPrivate 1024s # { 1024s # GData *qdata; 1024s # }; 1024s # 1024s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_proxy_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1024s # g_datalist_clear (&proxy->priv->qdata); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # const GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1024s # const gchar *sender_name G_GNUC_UNUSED, 1024s # const gchar *signal_name, 1024s # GVariant *parameters) 1024s # { 1024s # _ExtendedGDBusSignalInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # gsize n; 1024s # guint signal_id; 1024s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1024s # if (info == NULL) 1024s # return; 1024s # num_params = g_variant_n_children (parameters); 1024s # paramv = g_new0 (GValue, num_params + 1); 1024s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[0], proxy); 1024s # g_variant_iter_init (&iter, parameters); 1024s # n = 1; 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_signal_emitv (paramv, signal_id, 0, NULL); 1024s # for (n = 0; n < num_params + 1; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1024s # GVariant *changed_properties, 1024s # const gchar *const *invalidated_properties) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1024s # guint n; 1024s # const gchar *key; 1024s # GVariantIter *iter; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # g_variant_get (changed_properties, "a{sv}", &iter); 1024s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1024s # g_datalist_remove_data (&proxy->priv->qdata, key); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # g_variant_iter_free (iter); 1024s # for (n = 0; invalidated_properties[n] != NULL; n++) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1024s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1024s # #else 1024s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1024s # #endif 1024s # 1024s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusProxyClass *proxy_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1024s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1024s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1024s # 1024s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1024s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1024s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_sync: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_sync ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new_for_bus ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeleton: 1024s # * 1024s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeletonClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1024s # { 1024s # GValue *properties; 1024s # GList *changed_properties; 1024s # GSource *changed_properties_idle_source; 1024s # GMainContext *context; 1024s # GMutex lock; 1024s # }; 1024s # 1024s # static void 1024s # _org_project_signaling_iface_skeleton_handle_method_call ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name, 1024s # const gchar *method_name, 1024s # GVariant *parameters, 1024s # GDBusMethodInvocation *invocation, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # _ExtendedGDBusMethodInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # guint num_extra; 1024s # gsize n; 1024s # guint signal_id; 1024s # GValue return_value = G_VALUE_INIT; 1024s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1024s # g_assert (info != NULL); 1024s # num_params = g_variant_n_children (parameters); 1024s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1024s # n = 0; 1024s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[n++], skeleton); 1024s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1024s # g_value_set_object (¶mv[n++], invocation); 1024s # if (info->pass_fdlist) 1024s # { 1024s # #ifdef G_OS_UNIX 1024s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1024s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1024s # #else 1024s # g_assert_not_reached (); 1024s # #endif 1024s # } 1024s # g_variant_iter_init (&iter, parameters); 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1024s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1024s # if (!g_value_get_boolean (&return_value)) 1024s # 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); 1024s # g_value_unset (&return_value); 1024s # for (n = 0; n < num_params + num_extra; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static GVariant * 1024s # _org_project_signaling_iface_skeleton_handle_get_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # GVariant *ret; 1024s # ret = NULL; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # g_value_init (&value, pspec->value_type); 1024s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1024s # g_value_unset (&value); 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _org_project_signaling_iface_skeleton_handle_set_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GVariant *variant, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # gboolean ret; 1024s # ret = FALSE; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # if (info->use_gvariant) 1024s # g_value_set_variant (&value, variant); 1024s # else 1024s # g_dbus_gvariant_to_gvalue (variant, &value); 1024s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # g_value_unset (&value); 1024s # ret = TRUE; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1024s # { 1024s # _org_project_signaling_iface_skeleton_handle_method_call, 1024s # _org_project_signaling_iface_skeleton_handle_get_property, 1024s # _org_project_signaling_iface_skeleton_handle_set_property, 1024s # {NULL} 1024s # }; 1024s # 1024s # static GDBusInterfaceInfo * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return org_project_signaling_iface_interface_info (); 1024s # } 1024s # 1024s # static GDBusInterfaceVTable * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1024s # } 1024s # 1024s # static GVariant * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1024s # 1024s # GVariantBuilder builder; 1024s # guint n; 1024s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1024s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1024s # goto out; 1024s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1024s # { 1024s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1024s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1024s # { 1024s # GVariant *value; 1024s # 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); 1024s # if (value != NULL) 1024s # { 1024s # g_variant_take_ref (value); 1024s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1024s # g_variant_unref (value); 1024s # } 1024s # } 1024s # } 1024s # out: 1024s # return g_variant_builder_end (&builder); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1024s # OrgProjectSignalingIface *object, 1024s # GVariant *arg_arg_h) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1024s # arg_arg_h)); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1024s # if (skeleton->priv->changed_properties_idle_source != NULL) 1024s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1024s # g_main_context_unref (skeleton->priv->context); 1024s # g_mutex_clear (&skeleton->priv->lock); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1024s # #else 1024s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1024s # #endif 1024s # 1024s # g_mutex_init (&skeleton->priv->lock); 1024s # skeleton->priv->context = g_main_context_ref_thread_default (); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusInterfaceSkeletonClass *skeleton_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1024s # 1024s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1024s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1024s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1024s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1024s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1024s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_skeleton_new: 1024s # * 1024s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_skeleton_new (void) 1024s # { 1024s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1024s # } 1024s # /tmp/tmpis8jsnsw/tmpas5hcj9e.xml: 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpis8jsnsw/tmpas5hcj9e.xml', '--output', '-', '--body'] 1024s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1024s # Output: /* 1024s # * This file is generated by gdbus-codegen, do not modify it. 1024s # * 1024s # * The license of this code is the same as for the D-Bus interface description 1024s # * it was derived from. Note that it links to GLib, so must comply with the 1024s # * LGPL linking clauses. 1024s # */ 1024s # 1024s # #ifdef HAVE_CONFIG_H 1024s # # include "config.h" 1024s # #endif 1024s # 1024s # #include 1024s # #ifdef G_OS_UNIX 1024s # # include 1024s # #endif 1024s # 1024s # #ifdef G_ENABLE_DEBUG 1024s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1024s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1024s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1024s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1024s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1024s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1024s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1024s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1024s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1024s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1024s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1024s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1024s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1024s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1024s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1024s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1024s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1024s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1024s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1024s # #else /* !G_ENABLE_DEBUG */ 1024s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1024s # * Do not access GValues directly in your code. Instead, use the 1024s # * g_value_get_*() functions 1024s # */ 1024s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1024s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1024s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1024s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1024s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1024s # #endif /* !G_ENABLE_DEBUG */ 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusArgInfo parent_struct; 1024s # gboolean use_gvariant; 1024s # } _ExtendedGDBusArgInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusMethodInfo parent_struct; 1024s # const gchar *signal_name; 1024s # gboolean pass_fdlist; 1024s # } _ExtendedGDBusMethodInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusSignalInfo parent_struct; 1024s # const gchar *signal_name; 1024s # } _ExtendedGDBusSignalInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusPropertyInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # guint use_gvariant : 1; 1024s # guint emits_changed_signal : 1; 1024s # } _ExtendedGDBusPropertyInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusInterfaceInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # } _ExtendedGDBusInterfaceInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # const _ExtendedGDBusPropertyInfo *info; 1024s # guint prop_id; 1024s # GValue orig_value; /* the value before the change */ 1024s # } ChangedProperty; 1024s # 1024s # static void 1024s # _changed_property_free (ChangedProperty *data) 1024s # { 1024s # g_value_unset (&data->orig_value); 1024s # g_free (data); 1024s # } 1024s # 1024s # static gboolean 1024s # _g_strv_equal0 (gchar **a, gchar **b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # guint n; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # if (g_strv_length (a) != g_strv_length (b)) 1024s # goto out; 1024s # for (n = 0; a[n] != NULL; n++) 1024s # if (g_strcmp0 (a[n], b[n]) != 0) 1024s # goto out; 1024s # ret = TRUE; 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _g_variant_equal0 (GVariant *a, GVariant *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # ret = g_variant_equal (a, b); 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # G_GNUC_UNUSED static gboolean 1024s # _g_value_equal (const GValue *a, const GValue *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1024s # switch (G_VALUE_TYPE (a)) 1024s # { 1024s # case G_TYPE_BOOLEAN: 1024s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1024s # break; 1024s # case G_TYPE_UCHAR: 1024s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1024s # break; 1024s # case G_TYPE_INT: 1024s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1024s # break; 1024s # case G_TYPE_UINT: 1024s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1024s # break; 1024s # case G_TYPE_INT64: 1024s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1024s # break; 1024s # case G_TYPE_UINT64: 1024s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1024s # break; 1024s # case G_TYPE_DOUBLE: 1024s # { 1024s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1024s # gdouble da = g_value_get_double (a); 1024s # gdouble db = g_value_get_double (b); 1024s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1024s # } 1024s # break; 1024s # case G_TYPE_STRING: 1024s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1024s # break; 1024s # case G_TYPE_VARIANT: 1024s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1024s # break; 1024s # default: 1024s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1024s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1024s # else 1024s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1024s # break; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ 1024s # * Code for interface org.project.SignalingIface 1024s # * ------------------------------------------------------------------------ 1024s # */ 1024s # 1024s # /** 1024s # * SECTION:OrgProjectSignalingIface 1024s # * @title: OrgProjectSignalingIface 1024s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1024s # * 1024s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1024s # */ 1024s # 1024s # enum 1024s # { 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1024s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1024s # }; 1024s # 1024s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1024s # 1024s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SimpleSignal", 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "simple-signal" 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "arg_ay", 1024s # (gchar *) "ay", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SingleArgSignalAy", 1024s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1024s # NULL 1024s # }, 1024s # "single-arg-signal-ay" 1024s # }; 1024s # 1024s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "org.project.SignalingIface", 1024s # NULL, 1024s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "org-project-signaling-iface", 1024s # }; 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_interface_info: 1024s # * 1024s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1024s # * 1024s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1024s # */ 1024s # GDBusInterfaceInfo * 1024s # org_project_signaling_iface_interface_info (void) 1024s # { 1024s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_override_properties: 1024s # * @klass: The class structure for a #GObject derived class. 1024s # * @property_id_begin: The property id to assign to the first overridden property. 1024s # * 1024s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1024s # * The properties are overridden in the order they are defined. 1024s # * 1024s # * Returns: The last property id. 1024s # */ 1024s # guint 1024s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1024s # { 1024s # return property_id_begin - 1; 1024s # } 1024s # 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_simple_signal ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__VOID (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__STRING (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface: 1024s # * 1024s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceIface: 1024s # * @parent_iface: The parent interface. 1024s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1024s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1024s # * 1024s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1024s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1024s # 1024s # static void 1024s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # /* GObject signals for received D-Bus signals: */ 1024s # /** 1024s # * OrgProjectSignalingIface::simple-signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1024s # g_signal_new ("simple-signal", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_simple_signal, 1024s # G_TYPE_NONE, 1024s # 0); 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface::single-arg-signal-ay: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_ay: Argument. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1024s # g_signal_new ("single-arg-signal-ay", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1024s # G_TYPE_NONE, 1024s # 1, G_TYPE_STRING); 1024s # 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_simple_signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * Emits the "SimpleSignal" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_ay: Argument to pass with the signal. 1024s # * 1024s # * Emits the "SingleArgSignalAy" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1024s # OrgProjectSignalingIface *object, 1024s # const gchar *arg_arg_ay) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxy: 1024s # * 1024s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxyClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceProxy. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceProxyPrivate 1024s # { 1024s # GData *qdata; 1024s # }; 1024s # 1024s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_proxy_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1024s # g_datalist_clear (&proxy->priv->qdata); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # const GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1024s # const gchar *sender_name G_GNUC_UNUSED, 1024s # const gchar *signal_name, 1024s # GVariant *parameters) 1024s # { 1024s # _ExtendedGDBusSignalInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # gsize n; 1024s # guint signal_id; 1024s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1024s # if (info == NULL) 1024s # return; 1024s # num_params = g_variant_n_children (parameters); 1024s # paramv = g_new0 (GValue, num_params + 1); 1024s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[0], proxy); 1024s # g_variant_iter_init (&iter, parameters); 1024s # n = 1; 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_signal_emitv (paramv, signal_id, 0, NULL); 1024s # for (n = 0; n < num_params + 1; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1024s # GVariant *changed_properties, 1024s # const gchar *const *invalidated_properties) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1024s # guint n; 1024s # const gchar *key; 1024s # GVariantIter *iter; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # g_variant_get (changed_properties, "a{sv}", &iter); 1024s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1024s # g_datalist_remove_data (&proxy->priv->qdata, key); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # g_variant_iter_free (iter); 1024s # for (n = 0; invalidated_properties[n] != NULL; n++) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1024s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1024s # #else 1024s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1024s # #endif 1024s # 1024s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusProxyClass *proxy_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1024s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1024s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1024s # 1024s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1024s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1024s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_sync: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_sync ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new_for_bus ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeleton: 1024s # * 1024s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeletonClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1024s # { 1024s # GValue *properties; 1024s # GList *changed_properties; 1024s # GSource *changed_properties_idle_source; 1024s # GMainContext *context; 1024s # GMutex lock; 1024s # }; 1024s # 1024s # static void 1024s # _org_project_signaling_iface_skeleton_handle_method_call ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name, 1024s # const gchar *method_name, 1024s # GVariant *parameters, 1024s # GDBusMethodInvocation *invocation, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # _ExtendedGDBusMethodInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # guint num_extra; 1024s # gsize n; 1024s # guint signal_id; 1024s # GValue return_value = G_VALUE_INIT; 1024s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1024s # g_assert (info != NULL); 1024s # num_params = g_variant_n_children (parameters); 1024s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1024s # n = 0; 1024s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[n++], skeleton); 1024s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1024s # g_value_set_object (¶mv[n++], invocation); 1024s # if (info->pass_fdlist) 1024s # { 1024s # #ifdef G_OS_UNIX 1024s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1024s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1024s # #else 1024s # g_assert_not_reached (); 1024s # #endif 1024s # } 1024s # g_variant_iter_init (&iter, parameters); 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1024s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1024s # if (!g_value_get_boolean (&return_value)) 1024s # 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); 1024s # g_value_unset (&return_value); 1024s # for (n = 0; n < num_params + num_extra; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static GVariant * 1024s # _org_project_signaling_iface_skeleton_handle_get_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # GVariant *ret; 1024s # ret = NULL; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # g_value_init (&value, pspec->value_type); 1024s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1024s # g_value_unset (&value); 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _org_project_signaling_iface_skeleton_handle_set_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GVariant *variant, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # gboolean ret; 1024s # ret = FALSE; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # if (info->use_gvariant) 1024s # g_value_set_variant (&value, variant); 1024s # else 1024s # g_dbus_gvariant_to_gvalue (variant, &value); 1024s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # g_value_unset (&value); 1024s # ret = TRUE; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1024s # { 1024s # _org_project_signaling_iface_skeleton_handle_method_call, 1024s # _org_project_signaling_iface_skeleton_handle_get_property, 1024s # _org_project_signaling_iface_skeleton_handle_set_property, 1024s # {NULL} 1024s # }; 1024s # 1024s # static GDBusInterfaceInfo * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return org_project_signaling_iface_interface_info (); 1024s # } 1024s # 1024s # static GDBusInterfaceVTable * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1024s # } 1024s # 1024s # static GVariant * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1024s # 1024s # GVariantBuilder builder; 1024s # guint n; 1024s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1024s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1024s # goto out; 1024s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1024s # { 1024s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1024s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1024s # { 1024s # GVariant *value; 1024s # 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); 1024s # if (value != NULL) 1024s # { 1024s # g_variant_take_ref (value); 1024s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1024s # g_variant_unref (value); 1024s # } 1024s # } 1024s # } 1024s # out: 1024s # return g_variant_builder_end (&builder); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1024s # OrgProjectSignalingIface *object, 1024s # const gchar *arg_arg_ay) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1024s # arg_arg_ay)); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1024s # if (skeleton->priv->changed_properties_idle_source != NULL) 1024s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1024s # g_main_context_unref (skeleton->priv->context); 1024s # g_mutex_clear (&skeleton->priv->lock); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1024s # #else 1024s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1024s # #endif 1024s # 1024s # g_mutex_init (&skeleton->priv->lock); 1024s # skeleton->priv->context = g_main_context_ref_thread_default (); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusInterfaceSkeletonClass *skeleton_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1024s # 1024s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1024s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1024s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1024s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1024s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1024s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_skeleton_new: 1024s # * 1024s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_skeleton_new (void) 1024s # { 1024s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1024s # } 1024s # /tmp/tmpis8jsnsw/tmpt5ojgp0a.xml: 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpis8jsnsw/tmpt5ojgp0a.xml', '--output', '-', '--body'] 1024s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1024s # Output: /* 1024s # * This file is generated by gdbus-codegen, do not modify it. 1024s # * 1024s # * The license of this code is the same as for the D-Bus interface description 1024s # * it was derived from. Note that it links to GLib, so must comply with the 1024s # * LGPL linking clauses. 1024s # */ 1024s # 1024s # #ifdef HAVE_CONFIG_H 1024s # # include "config.h" 1024s # #endif 1024s # 1024s # #include 1024s # #ifdef G_OS_UNIX 1024s # # include 1024s # #endif 1024s # 1024s # #ifdef G_ENABLE_DEBUG 1024s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1024s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1024s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1024s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1024s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1024s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1024s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1024s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1024s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1024s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1024s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1024s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1024s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1024s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1024s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1024s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1024s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1024s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1024s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1024s # #else /* !G_ENABLE_DEBUG */ 1024s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1024s # * Do not access GValues directly in your code. Instead, use the 1024s # * g_value_get_*() functions 1024s # */ 1024s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1024s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1024s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1024s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1024s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1024s # #endif /* !G_ENABLE_DEBUG */ 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusArgInfo parent_struct; 1024s # gboolean use_gvariant; 1024s # } _ExtendedGDBusArgInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusMethodInfo parent_struct; 1024s # const gchar *signal_name; 1024s # gboolean pass_fdlist; 1024s # } _ExtendedGDBusMethodInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusSignalInfo parent_struct; 1024s # const gchar *signal_name; 1024s # } _ExtendedGDBusSignalInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusPropertyInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # guint use_gvariant : 1; 1024s # guint emits_changed_signal : 1; 1024s # } _ExtendedGDBusPropertyInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusInterfaceInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # } _ExtendedGDBusInterfaceInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # const _ExtendedGDBusPropertyInfo *info; 1024s # guint prop_id; 1024s # GValue orig_value; /* the value before the change */ 1024s # } ChangedProperty; 1024s # 1024s # static void 1024s # _changed_property_free (ChangedProperty *data) 1024s # { 1024s # g_value_unset (&data->orig_value); 1024s # g_free (data); 1024s # } 1024s # 1024s # static gboolean 1024s # _g_strv_equal0 (gchar **a, gchar **b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # guint n; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # if (g_strv_length (a) != g_strv_length (b)) 1024s # goto out; 1024s # for (n = 0; a[n] != NULL; n++) 1024s # if (g_strcmp0 (a[n], b[n]) != 0) 1024s # goto out; 1024s # ret = TRUE; 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _g_variant_equal0 (GVariant *a, GVariant *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # ret = g_variant_equal (a, b); 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # G_GNUC_UNUSED static gboolean 1024s # _g_value_equal (const GValue *a, const GValue *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1024s # switch (G_VALUE_TYPE (a)) 1024s # { 1024s # case G_TYPE_BOOLEAN: 1024s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1024s # break; 1024s # case G_TYPE_UCHAR: 1024s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1024s # break; 1024s # case G_TYPE_INT: 1024s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1024s # break; 1024s # case G_TYPE_UINT: 1024s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1024s # break; 1024s # case G_TYPE_INT64: 1024s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1024s # break; 1024s # case G_TYPE_UINT64: 1024s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1024s # break; 1024s # case G_TYPE_DOUBLE: 1024s # { 1024s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1024s # gdouble da = g_value_get_double (a); 1024s # gdouble db = g_value_get_double (b); 1024s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1024s # } 1024s # break; 1024s # case G_TYPE_STRING: 1024s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1024s # break; 1024s # case G_TYPE_VARIANT: 1024s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1024s # break; 1024s # default: 1024s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1024s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1024s # else 1024s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1024s # break; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ 1024s # * Code for interface org.project.SignalingIface 1024s # * ------------------------------------------------------------------------ 1024s # */ 1024s # 1024s # /** 1024s # * SECTION:OrgProjectSignalingIface 1024s # * @title: OrgProjectSignalingIface 1024s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1024s # * 1024s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1024s # */ 1024s # 1024s # enum 1024s # { 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1024s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1024s # }; 1024s # 1024s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1024s # 1024s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SimpleSignal", 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "simple-signal" 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "arg_as", 1024s # (gchar *) "as", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SingleArgSignalAs", 1024s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1024s # NULL 1024s # }, 1024s # "single-arg-signal-as" 1024s # }; 1024s # 1024s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "org.project.SignalingIface", 1024s # NULL, 1024s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "org-project-signaling-iface", 1024s # }; 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_interface_info: 1024s # * 1024s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1024s # * 1024s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1024s # */ 1024s # GDBusInterfaceInfo * 1024s # org_project_signaling_iface_interface_info (void) 1024s # { 1024s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_override_properties: 1024s # * @klass: The class structure for a #GObject derived class. 1024s # * @property_id_begin: The property id to assign to the first overridden property. 1024s # * 1024s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1024s # * The properties are overridden in the order they are defined. 1024s # * 1024s # * Returns: The last property id. 1024s # */ 1024s # guint 1024s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1024s # { 1024s # return property_id_begin - 1; 1024s # } 1024s # 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_simple_signal ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__VOID (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__BOXED (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface: 1024s # * 1024s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceIface: 1024s # * @parent_iface: The parent interface. 1024s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1024s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1024s # * 1024s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1024s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1024s # 1024s # static void 1024s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # /* GObject signals for received D-Bus signals: */ 1024s # /** 1024s # * OrgProjectSignalingIface::simple-signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1024s # g_signal_new ("simple-signal", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_simple_signal, 1024s # G_TYPE_NONE, 1024s # 0); 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface::single-arg-signal-as: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_as: Argument. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1024s # g_signal_new ("single-arg-signal-as", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1024s # G_TYPE_NONE, 1024s # 1, G_TYPE_STRV); 1024s # 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_simple_signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * Emits the "SimpleSignal" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_single_arg_signal_as: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_as: Argument to pass with the signal. 1024s # * 1024s # * Emits the "SingleArgSignalAs" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_single_arg_signal_as ( 1024s # OrgProjectSignalingIface *object, 1024s # const gchar *const *arg_arg_as) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxy: 1024s # * 1024s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxyClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceProxy. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceProxyPrivate 1024s # { 1024s # GData *qdata; 1024s # }; 1024s # 1024s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_proxy_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1024s # g_datalist_clear (&proxy->priv->qdata); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # const GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1024s # const gchar *sender_name G_GNUC_UNUSED, 1024s # const gchar *signal_name, 1024s # GVariant *parameters) 1024s # { 1024s # _ExtendedGDBusSignalInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # gsize n; 1024s # guint signal_id; 1024s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1024s # if (info == NULL) 1024s # return; 1024s # num_params = g_variant_n_children (parameters); 1024s # paramv = g_new0 (GValue, num_params + 1); 1024s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[0], proxy); 1024s # g_variant_iter_init (&iter, parameters); 1024s # n = 1; 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_signal_emitv (paramv, signal_id, 0, NULL); 1024s # for (n = 0; n < num_params + 1; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1024s # GVariant *changed_properties, 1024s # const gchar *const *invalidated_properties) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1024s # guint n; 1024s # const gchar *key; 1024s # GVariantIter *iter; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # g_variant_get (changed_properties, "a{sv}", &iter); 1024s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1024s # g_datalist_remove_data (&proxy->priv->qdata, key); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # g_variant_iter_free (iter); 1024s # for (n = 0; invalidated_properties[n] != NULL; n++) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1024s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1024s # #else 1024s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1024s # #endif 1024s # 1024s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusProxyClass *proxy_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1024s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1024s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1024s # 1024s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1024s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1024s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_sync: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_sync ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new_for_bus ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeleton: 1024s # * 1024s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeletonClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1024s # { 1024s # GValue *properties; 1024s # GList *changed_properties; 1024s # GSource *changed_properties_idle_source; 1024s # GMainContext *context; 1024s # GMutex lock; 1024s # }; 1024s # 1024s # static void 1024s # _org_project_signaling_iface_skeleton_handle_method_call ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name, 1024s # const gchar *method_name, 1024s # GVariant *parameters, 1024s # GDBusMethodInvocation *invocation, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # _ExtendedGDBusMethodInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # guint num_extra; 1024s # gsize n; 1024s # guint signal_id; 1024s # GValue return_value = G_VALUE_INIT; 1024s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1024s # g_assert (info != NULL); 1024s # num_params = g_variant_n_children (parameters); 1024s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1024s # n = 0; 1024s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[n++], skeleton); 1024s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1024s # g_value_set_object (¶mv[n++], invocation); 1024s # if (info->pass_fdlist) 1024s # { 1024s # #ifdef G_OS_UNIX 1024s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1024s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1024s # #else 1024s # g_assert_not_reached (); 1024s # #endif 1024s # } 1024s # g_variant_iter_init (&iter, parameters); 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1024s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1024s # if (!g_value_get_boolean (&return_value)) 1024s # 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); 1024s # g_value_unset (&return_value); 1024s # for (n = 0; n < num_params + num_extra; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static GVariant * 1024s # _org_project_signaling_iface_skeleton_handle_get_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # GVariant *ret; 1024s # ret = NULL; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # g_value_init (&value, pspec->value_type); 1024s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1024s # g_value_unset (&value); 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _org_project_signaling_iface_skeleton_handle_set_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GVariant *variant, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # gboolean ret; 1024s # ret = FALSE; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # if (info->use_gvariant) 1024s # g_value_set_variant (&value, variant); 1024s # else 1024s # g_dbus_gvariant_to_gvalue (variant, &value); 1024s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # g_value_unset (&value); 1024s # ret = TRUE; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1024s # { 1024s # _org_project_signaling_iface_skeleton_handle_method_call, 1024s # _org_project_signaling_iface_skeleton_handle_get_property, 1024s # _org_project_signaling_iface_skeleton_handle_set_property, 1024s # {NULL} 1024s # }; 1024s # 1024s # static GDBusInterfaceInfo * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return org_project_signaling_iface_interface_info (); 1024s # } 1024s # 1024s # static GDBusInterfaceVTable * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1024s # } 1024s # 1024s # static GVariant * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1024s # 1024s # GVariantBuilder builder; 1024s # guint n; 1024s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1024s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1024s # goto out; 1024s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1024s # { 1024s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1024s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1024s # { 1024s # GVariant *value; 1024s # 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); 1024s # if (value != NULL) 1024s # { 1024s # g_variant_take_ref (value); 1024s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1024s # g_variant_unref (value); 1024s # } 1024s # } 1024s # } 1024s # out: 1024s # return g_variant_builder_end (&builder); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1024s # OrgProjectSignalingIface *object, 1024s # const gchar *const *arg_arg_as) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1024s # arg_arg_as)); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1024s # if (skeleton->priv->changed_properties_idle_source != NULL) 1024s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1024s # g_main_context_unref (skeleton->priv->context); 1024s # g_mutex_clear (&skeleton->priv->lock); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1024s # #else 1024s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1024s # #endif 1024s # 1024s # g_mutex_init (&skeleton->priv->lock); 1024s # skeleton->priv->context = g_main_context_ref_thread_default (); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusInterfaceSkeletonClass *skeleton_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1024s # 1024s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1024s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1024s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1024s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1024s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1024s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_skeleton_new: 1024s # * 1024s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_skeleton_new (void) 1024s # { 1024s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1024s # } 1024s # /tmp/tmpis8jsnsw/tmpmg0k2bxt.xml: 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpis8jsnsw/tmpmg0k2bxt.xml', '--output', '-', '--body'] 1024s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1024s # Output: /* 1024s # * This file is generated by gdbus-codegen, do not modify it. 1024s # * 1024s # * The license of this code is the same as for the D-Bus interface description 1024s # * it was derived from. Note that it links to GLib, so must comply with the 1024s # * LGPL linking clauses. 1024s # */ 1024s # 1024s # #ifdef HAVE_CONFIG_H 1024s # # include "config.h" 1024s # #endif 1024s # 1024s # #include 1024s # #ifdef G_OS_UNIX 1024s # # include 1024s # #endif 1024s # 1024s # #ifdef G_ENABLE_DEBUG 1024s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1024s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1024s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1024s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1024s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1024s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1024s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1024s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1024s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1024s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1024s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1024s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1024s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1024s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1024s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1024s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1024s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1024s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1024s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1024s # #else /* !G_ENABLE_DEBUG */ 1024s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1024s # * Do not access GValues directly in your code. Instead, use the 1024s # * g_value_get_*() functions 1024s # */ 1024s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1024s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1024s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1024s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1024s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1024s # #endif /* !G_ENABLE_DEBUG */ 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusArgInfo parent_struct; 1024s # gboolean use_gvariant; 1024s # } _ExtendedGDBusArgInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusMethodInfo parent_struct; 1024s # const gchar *signal_name; 1024s # gboolean pass_fdlist; 1024s # } _ExtendedGDBusMethodInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusSignalInfo parent_struct; 1024s # const gchar *signal_name; 1024s # } _ExtendedGDBusSignalInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusPropertyInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # guint use_gvariant : 1; 1024s # guint emits_changed_signal : 1; 1024s # } _ExtendedGDBusPropertyInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusInterfaceInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # } _ExtendedGDBusInterfaceInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # const _ExtendedGDBusPropertyInfo *info; 1024s # guint prop_id; 1024s # GValue orig_value; /* the value before the change */ 1024s # } ChangedProperty; 1024s # 1024s # static void 1024s # _changed_property_free (ChangedProperty *data) 1024s # { 1024s # g_value_unset (&data->orig_value); 1024s # g_free (data); 1024s # } 1024s # 1024s # static gboolean 1024s # _g_strv_equal0 (gchar **a, gchar **b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # guint n; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # if (g_strv_length (a) != g_strv_length (b)) 1024s # goto out; 1024s # for (n = 0; a[n] != NULL; n++) 1024s # if (g_strcmp0 (a[n], b[n]) != 0) 1024s # goto out; 1024s # ret = TRUE; 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _g_variant_equal0 (GVariant *a, GVariant *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # ret = g_variant_equal (a, b); 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # G_GNUC_UNUSED static gboolean 1024s # _g_value_equal (const GValue *a, const GValue *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1024s # switch (G_VALUE_TYPE (a)) 1024s # { 1024s # case G_TYPE_BOOLEAN: 1024s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1024s # break; 1024s # case G_TYPE_UCHAR: 1024s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1024s # break; 1024s # case G_TYPE_INT: 1024s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1024s # break; 1024s # case G_TYPE_UINT: 1024s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1024s # break; 1024s # case G_TYPE_INT64: 1024s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1024s # break; 1024s # case G_TYPE_UINT64: 1024s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1024s # break; 1024s # case G_TYPE_DOUBLE: 1024s # { 1024s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1024s # gdouble da = g_value_get_double (a); 1024s # gdouble db = g_value_get_double (b); 1024s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1024s # } 1024s # break; 1024s # case G_TYPE_STRING: 1024s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1024s # break; 1024s # case G_TYPE_VARIANT: 1024s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1024s # break; 1024s # default: 1024s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1024s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1024s # else 1024s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1024s # break; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ 1024s # * Code for interface org.project.SignalingIface 1024s # * ------------------------------------------------------------------------ 1024s # */ 1024s # 1024s # /** 1024s # * SECTION:OrgProjectSignalingIface 1024s # * @title: OrgProjectSignalingIface 1024s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1024s # * 1024s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1024s # */ 1024s # 1024s # enum 1024s # { 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1024s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1024s # }; 1024s # 1024s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1024s # 1024s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SimpleSignal", 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "simple-signal" 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "arg_ao", 1024s # (gchar *) "ao", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SingleArgSignalAo", 1024s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1024s # NULL 1024s # }, 1024s # "single-arg-signal-ao" 1024s # }; 1024s # 1024s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "org.project.SignalingIface", 1024s # NULL, 1024s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "org-project-signaling-iface", 1024s # }; 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_interface_info: 1024s # * 1024s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1024s # * 1024s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1024s # */ 1024s # GDBusInterfaceInfo * 1024s # org_project_signaling_iface_interface_info (void) 1024s # { 1024s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_override_properties: 1024s # * @klass: The class structure for a #GObject derived class. 1024s # * @property_id_begin: The property id to assign to the first overridden property. 1024s # * 1024s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1024s # * The properties are overridden in the order they are defined. 1024s # * 1024s # * Returns: The last property id. 1024s # */ 1024s # guint 1024s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1024s # { 1024s # return property_id_begin - 1; 1024s # } 1024s # 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_simple_signal ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__VOID (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__BOXED (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface: 1024s # * 1024s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceIface: 1024s # * @parent_iface: The parent interface. 1024s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1024s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1024s # * 1024s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1024s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1024s # 1024s # static void 1024s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # /* GObject signals for received D-Bus signals: */ 1024s # /** 1024s # * OrgProjectSignalingIface::simple-signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1024s # g_signal_new ("simple-signal", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_simple_signal, 1024s # G_TYPE_NONE, 1024s # 0); 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface::single-arg-signal-ao: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_ao: Argument. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1024s # g_signal_new ("single-arg-signal-ao", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1024s # G_TYPE_NONE, 1024s # 1, G_TYPE_STRV); 1024s # 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_simple_signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * Emits the "SimpleSignal" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_ao: Argument to pass with the signal. 1024s # * 1024s # * Emits the "SingleArgSignalAo" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1024s # OrgProjectSignalingIface *object, 1024s # const gchar *const *arg_arg_ao) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxy: 1024s # * 1024s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxyClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceProxy. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceProxyPrivate 1024s # { 1024s # GData *qdata; 1024s # }; 1024s # 1024s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_proxy_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1024s # g_datalist_clear (&proxy->priv->qdata); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # const GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1024s # const gchar *sender_name G_GNUC_UNUSED, 1024s # const gchar *signal_name, 1024s # GVariant *parameters) 1024s # { 1024s # _ExtendedGDBusSignalInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # gsize n; 1024s # guint signal_id; 1024s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1024s # if (info == NULL) 1024s # return; 1024s # num_params = g_variant_n_children (parameters); 1024s # paramv = g_new0 (GValue, num_params + 1); 1024s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[0], proxy); 1024s # g_variant_iter_init (&iter, parameters); 1024s # n = 1; 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_signal_emitv (paramv, signal_id, 0, NULL); 1024s # for (n = 0; n < num_params + 1; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1024s # GVariant *changed_properties, 1024s # const gchar *const *invalidated_properties) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1024s # guint n; 1024s # const gchar *key; 1024s # GVariantIter *iter; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # g_variant_get (changed_properties, "a{sv}", &iter); 1024s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1024s # g_datalist_remove_data (&proxy->priv->qdata, key); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # g_variant_iter_free (iter); 1024s # for (n = 0; invalidated_properties[n] != NULL; n++) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1024s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1024s # #else 1024s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1024s # #endif 1024s # 1024s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusProxyClass *proxy_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1024s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1024s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1024s # 1024s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1024s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1024s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_sync: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_sync ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new_for_bus ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeleton: 1024s # * 1024s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeletonClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1024s # { 1024s # GValue *properties; 1024s # GList *changed_properties; 1024s # GSource *changed_properties_idle_source; 1024s # GMainContext *context; 1024s # GMutex lock; 1024s # }; 1024s # 1024s # static void 1024s # _org_project_signaling_iface_skeleton_handle_method_call ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name, 1024s # const gchar *method_name, 1024s # GVariant *parameters, 1024s # GDBusMethodInvocation *invocation, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # _ExtendedGDBusMethodInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # guint num_extra; 1024s # gsize n; 1024s # guint signal_id; 1024s # GValue return_value = G_VALUE_INIT; 1024s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1024s # g_assert (info != NULL); 1024s # num_params = g_variant_n_children (parameters); 1024s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1024s # n = 0; 1024s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[n++], skeleton); 1024s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1024s # g_value_set_object (¶mv[n++], invocation); 1024s # if (info->pass_fdlist) 1024s # { 1024s # #ifdef G_OS_UNIX 1024s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1024s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1024s # #else 1024s # g_assert_not_reached (); 1024s # #endif 1024s # } 1024s # g_variant_iter_init (&iter, parameters); 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1024s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1024s # if (!g_value_get_boolean (&return_value)) 1024s # 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); 1024s # g_value_unset (&return_value); 1024s # for (n = 0; n < num_params + num_extra; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static GVariant * 1024s # _org_project_signaling_iface_skeleton_handle_get_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # GVariant *ret; 1024s # ret = NULL; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # g_value_init (&value, pspec->value_type); 1024s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1024s # g_value_unset (&value); 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _org_project_signaling_iface_skeleton_handle_set_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GVariant *variant, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # gboolean ret; 1024s # ret = FALSE; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # if (info->use_gvariant) 1024s # g_value_set_variant (&value, variant); 1024s # else 1024s # g_dbus_gvariant_to_gvalue (variant, &value); 1024s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # g_value_unset (&value); 1024s # ret = TRUE; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1024s # { 1024s # _org_project_signaling_iface_skeleton_handle_method_call, 1024s # _org_project_signaling_iface_skeleton_handle_get_property, 1024s # _org_project_signaling_iface_skeleton_handle_set_property, 1024s # {NULL} 1024s # }; 1024s # 1024s # static GDBusInterfaceInfo * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return org_project_signaling_iface_interface_info (); 1024s # } 1024s # 1024s # static GDBusInterfaceVTable * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1024s # } 1024s # 1024s # static GVariant * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1024s # 1024s # GVariantBuilder builder; 1024s # guint n; 1024s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1024s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1024s # goto out; 1024s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1024s # { 1024s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1024s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1024s # { 1024s # GVariant *value; 1024s # 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); 1024s # if (value != NULL) 1024s # { 1024s # g_variant_take_ref (value); 1024s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1024s # g_variant_unref (value); 1024s # } 1024s # } 1024s # } 1024s # out: 1024s # return g_variant_builder_end (&builder); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1024s # OrgProjectSignalingIface *object, 1024s # const gchar *const *arg_arg_ao) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1024s # arg_arg_ao)); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1024s # if (skeleton->priv->changed_properties_idle_source != NULL) 1024s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1024s # g_main_context_unref (skeleton->priv->context); 1024s # g_mutex_clear (&skeleton->priv->lock); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1024s # #else 1024s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1024s # #endif 1024s # 1024s # g_mutex_init (&skeleton->priv->lock); 1024s # skeleton->priv->context = g_main_context_ref_thread_default (); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusInterfaceSkeletonClass *skeleton_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1024s # 1024s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1024s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1024s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1024s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1024s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1024s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_skeleton_new: 1024s # * 1024s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_skeleton_new (void) 1024s # { 1024s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1024s # } 1024s # /tmp/tmpis8jsnsw/tmp66tdnmyh.xml: 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpis8jsnsw/tmp66tdnmyh.xml', '--output', '-', '--body'] 1024s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1024s # Output: /* 1024s # * This file is generated by gdbus-codegen, do not modify it. 1024s # * 1024s # * The license of this code is the same as for the D-Bus interface description 1024s # * it was derived from. Note that it links to GLib, so must comply with the 1024s # * LGPL linking clauses. 1024s # */ 1024s # 1024s # #ifdef HAVE_CONFIG_H 1024s # # include "config.h" 1024s # #endif 1024s # 1024s # #include 1024s # #ifdef G_OS_UNIX 1024s # # include 1024s # #endif 1024s # 1024s # #ifdef G_ENABLE_DEBUG 1024s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1024s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1024s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1024s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1024s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1024s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1024s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1024s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1024s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1024s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1024s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1024s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1024s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1024s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1024s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1024s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1024s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1024s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1024s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1024s # #else /* !G_ENABLE_DEBUG */ 1024s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1024s # * Do not access GValues directly in your code. Instead, use the 1024s # * g_value_get_*() functions 1024s # */ 1024s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1024s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1024s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1024s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1024s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1024s # #endif /* !G_ENABLE_DEBUG */ 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusArgInfo parent_struct; 1024s # gboolean use_gvariant; 1024s # } _ExtendedGDBusArgInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusMethodInfo parent_struct; 1024s # const gchar *signal_name; 1024s # gboolean pass_fdlist; 1024s # } _ExtendedGDBusMethodInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusSignalInfo parent_struct; 1024s # const gchar *signal_name; 1024s # } _ExtendedGDBusSignalInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusPropertyInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # guint use_gvariant : 1; 1024s # guint emits_changed_signal : 1; 1024s # } _ExtendedGDBusPropertyInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusInterfaceInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # } _ExtendedGDBusInterfaceInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # const _ExtendedGDBusPropertyInfo *info; 1024s # guint prop_id; 1024s # GValue orig_value; /* the value before the change */ 1024s # } ChangedProperty; 1024s # 1024s # static void 1024s # _changed_property_free (ChangedProperty *data) 1024s # { 1024s # g_value_unset (&data->orig_value); 1024s # g_free (data); 1024s # } 1024s # 1024s # static gboolean 1024s # _g_strv_equal0 (gchar **a, gchar **b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # guint n; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # if (g_strv_length (a) != g_strv_length (b)) 1024s # goto out; 1024s # for (n = 0; a[n] != NULL; n++) 1024s # if (g_strcmp0 (a[n], b[n]) != 0) 1024s # goto out; 1024s # ret = TRUE; 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _g_variant_equal0 (GVariant *a, GVariant *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # ret = g_variant_equal (a, b); 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # G_GNUC_UNUSED static gboolean 1024s # _g_value_equal (const GValue *a, const GValue *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1024s # switch (G_VALUE_TYPE (a)) 1024s # { 1024s # case G_TYPE_BOOLEAN: 1024s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1024s # break; 1024s # case G_TYPE_UCHAR: 1024s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1024s # break; 1024s # case G_TYPE_INT: 1024s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1024s # break; 1024s # case G_TYPE_UINT: 1024s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1024s # break; 1024s # case G_TYPE_INT64: 1024s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1024s # break; 1024s # case G_TYPE_UINT64: 1024s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1024s # break; 1024s # case G_TYPE_DOUBLE: 1024s # { 1024s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1024s # gdouble da = g_value_get_double (a); 1024s # gdouble db = g_value_get_double (b); 1024s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1024s # } 1024s # break; 1024s # case G_TYPE_STRING: 1024s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1024s # break; 1024s # case G_TYPE_VARIANT: 1024s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1024s # break; 1024s # default: 1024s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1024s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1024s # else 1024s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1024s # break; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ 1024s # * Code for interface org.project.SignalingIface 1024s # * ------------------------------------------------------------------------ 1024s # */ 1024s # 1024s # /** 1024s # * SECTION:OrgProjectSignalingIface 1024s # * @title: OrgProjectSignalingIface 1024s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1024s # * 1024s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1024s # */ 1024s # 1024s # enum 1024s # { 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1024s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1024s # }; 1024s # 1024s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1024s # 1024s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SimpleSignal", 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "simple-signal" 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "arg_aay", 1024s # (gchar *) "aay", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SingleArgSignalAay", 1024s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1024s # NULL 1024s # }, 1024s # "single-arg-signal-aay" 1024s # }; 1024s # 1024s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "org.project.SignalingIface", 1024s # NULL, 1024s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "org-project-signaling-iface", 1024s # }; 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_interface_info: 1024s # * 1024s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1024s # * 1024s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1024s # */ 1024s # GDBusInterfaceInfo * 1024s # org_project_signaling_iface_interface_info (void) 1024s # { 1024s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_override_properties: 1024s # * @klass: The class structure for a #GObject derived class. 1024s # * @property_id_begin: The property id to assign to the first overridden property. 1024s # * 1024s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1024s # * The properties are overridden in the order they are defined. 1024s # * 1024s # * Returns: The last property id. 1024s # */ 1024s # guint 1024s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1024s # { 1024s # return property_id_begin - 1; 1024s # } 1024s # 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_simple_signal ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__VOID (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__BOXED (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface: 1024s # * 1024s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceIface: 1024s # * @parent_iface: The parent interface. 1024s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1024s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1024s # * 1024s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1024s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1024s # 1024s # static void 1024s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # /* GObject signals for received D-Bus signals: */ 1024s # /** 1024s # * OrgProjectSignalingIface::simple-signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1024s # g_signal_new ("simple-signal", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_simple_signal, 1024s # G_TYPE_NONE, 1024s # 0); 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface::single-arg-signal-aay: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_aay: Argument. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1024s # g_signal_new ("single-arg-signal-aay", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1024s # G_TYPE_NONE, 1024s # 1, G_TYPE_STRV); 1024s # 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_simple_signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * Emits the "SimpleSignal" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_aay: Argument to pass with the signal. 1024s # * 1024s # * Emits the "SingleArgSignalAay" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1024s # OrgProjectSignalingIface *object, 1024s # const gchar *const *arg_arg_aay) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxy: 1024s # * 1024s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxyClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceProxy. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceProxyPrivate 1024s # { 1024s # GData *qdata; 1024s # }; 1024s # 1024s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_proxy_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1024s # g_datalist_clear (&proxy->priv->qdata); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # const GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1024s # const gchar *sender_name G_GNUC_UNUSED, 1024s # const gchar *signal_name, 1024s # GVariant *parameters) 1024s # { 1024s # _ExtendedGDBusSignalInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # gsize n; 1024s # guint signal_id; 1024s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1024s # if (info == NULL) 1024s # return; 1024s # num_params = g_variant_n_children (parameters); 1024s # paramv = g_new0 (GValue, num_params + 1); 1024s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[0], proxy); 1024s # g_variant_iter_init (&iter, parameters); 1024s # n = 1; 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_signal_emitv (paramv, signal_id, 0, NULL); 1024s # for (n = 0; n < num_params + 1; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1024s # GVariant *changed_properties, 1024s # const gchar *const *invalidated_properties) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1024s # guint n; 1024s # const gchar *key; 1024s # GVariantIter *iter; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # g_variant_get (changed_properties, "a{sv}", &iter); 1024s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1024s # g_datalist_remove_data (&proxy->priv->qdata, key); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # g_variant_iter_free (iter); 1024s # for (n = 0; invalidated_properties[n] != NULL; n++) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1024s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1024s # #else 1024s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1024s # #endif 1024s # 1024s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusProxyClass *proxy_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1024s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1024s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1024s # 1024s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1024s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1024s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_sync: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_sync ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new_for_bus ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeleton: 1024s # * 1024s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeletonClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1024s # { 1024s # GValue *properties; 1024s # GList *changed_properties; 1024s # GSource *changed_properties_idle_source; 1024s # GMainContext *context; 1024s # GMutex lock; 1024s # }; 1024s # 1024s # static void 1024s # _org_project_signaling_iface_skeleton_handle_method_call ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name, 1024s # const gchar *method_name, 1024s # GVariant *parameters, 1024s # GDBusMethodInvocation *invocation, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # _ExtendedGDBusMethodInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # guint num_extra; 1024s # gsize n; 1024s # guint signal_id; 1024s # GValue return_value = G_VALUE_INIT; 1024s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1024s # g_assert (info != NULL); 1024s # num_params = g_variant_n_children (parameters); 1024s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1024s # n = 0; 1024s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[n++], skeleton); 1024s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1024s # g_value_set_object (¶mv[n++], invocation); 1024s # if (info->pass_fdlist) 1024s # { 1024s # #ifdef G_OS_UNIX 1024s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1024s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1024s # #else 1024s # g_assert_not_reached (); 1024s # #endif 1024s # } 1024s # g_variant_iter_init (&iter, parameters); 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1024s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1024s # if (!g_value_get_boolean (&return_value)) 1024s # 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); 1024s # g_value_unset (&return_value); 1024s # for (n = 0; n < num_params + num_extra; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static GVariant * 1024s # _org_project_signaling_iface_skeleton_handle_get_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # GVariant *ret; 1024s # ret = NULL; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # g_value_init (&value, pspec->value_type); 1024s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1024s # g_value_unset (&value); 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _org_project_signaling_iface_skeleton_handle_set_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GVariant *variant, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # gboolean ret; 1024s # ret = FALSE; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # if (info->use_gvariant) 1024s # g_value_set_variant (&value, variant); 1024s # else 1024s # g_dbus_gvariant_to_gvalue (variant, &value); 1024s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # g_value_unset (&value); 1024s # ret = TRUE; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1024s # { 1024s # _org_project_signaling_iface_skeleton_handle_method_call, 1024s # _org_project_signaling_iface_skeleton_handle_get_property, 1024s # _org_project_signaling_iface_skeleton_handle_set_property, 1024s # {NULL} 1024s # }; 1024s # 1024s # static GDBusInterfaceInfo * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return org_project_signaling_iface_interface_info (); 1024s # } 1024s # 1024s # static GDBusInterfaceVTable * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1024s # } 1024s # 1024s # static GVariant * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1024s # 1024s # GVariantBuilder builder; 1024s # guint n; 1024s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1024s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1024s # goto out; 1024s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1024s # { 1024s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1024s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1024s # { 1024s # GVariant *value; 1024s # 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); 1024s # if (value != NULL) 1024s # { 1024s # g_variant_take_ref (value); 1024s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1024s # g_variant_unref (value); 1024s # } 1024s # } 1024s # } 1024s # out: 1024s # return g_variant_builder_end (&builder); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1024s # OrgProjectSignalingIface *object, 1024s # const gchar *const *arg_arg_aay) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1024s # arg_arg_aay)); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1024s # if (skeleton->priv->changed_properties_idle_source != NULL) 1024s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1024s # g_main_context_unref (skeleton->priv->context); 1024s # g_mutex_clear (&skeleton->priv->lock); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1024s # #else 1024s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1024s # #endif 1024s # 1024s # g_mutex_init (&skeleton->priv->lock); 1024s # skeleton->priv->context = g_main_context_ref_thread_default (); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusInterfaceSkeletonClass *skeleton_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1024s # 1024s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1024s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1024s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1024s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1024s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1024s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_skeleton_new: 1024s # * 1024s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_skeleton_new (void) 1024s # { 1024s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1024s # } 1024s # /tmp/tmpis8jsnsw/tmpe4aup0jg.xml: 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpis8jsnsw/tmpe4aup0jg.xml', '--output', '-', '--body'] 1024s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1024s # Output: /* 1024s # * This file is generated by gdbus-codegen, do not modify it. 1024s # * 1024s # * The license of this code is the same as for the D-Bus interface description 1024s # * it was derived from. Note that it links to GLib, so must comply with the 1024s # * LGPL linking clauses. 1024s # */ 1024s # 1024s # #ifdef HAVE_CONFIG_H 1024s # # include "config.h" 1024s # #endif 1024s # 1024s # #include 1024s # #ifdef G_OS_UNIX 1024s # # include 1024s # #endif 1024s # 1024s # #ifdef G_ENABLE_DEBUG 1024s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1024s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1024s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1024s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1024s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1024s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1024s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1024s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1024s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1024s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1024s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1024s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1024s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1024s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1024s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1024s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1024s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1024s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1024s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1024s # #else /* !G_ENABLE_DEBUG */ 1024s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1024s # * Do not access GValues directly in your code. Instead, use the 1024s # * g_value_get_*() functions 1024s # */ 1024s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1024s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1024s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1024s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1024s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1024s # #endif /* !G_ENABLE_DEBUG */ 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusArgInfo parent_struct; 1024s # gboolean use_gvariant; 1024s # } _ExtendedGDBusArgInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusMethodInfo parent_struct; 1024s # const gchar *signal_name; 1024s # gboolean pass_fdlist; 1024s # } _ExtendedGDBusMethodInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusSignalInfo parent_struct; 1024s # const gchar *signal_name; 1024s # } _ExtendedGDBusSignalInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusPropertyInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # guint use_gvariant : 1; 1024s # guint emits_changed_signal : 1; 1024s # } _ExtendedGDBusPropertyInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusInterfaceInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # } _ExtendedGDBusInterfaceInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # const _ExtendedGDBusPropertyInfo *info; 1024s # guint prop_id; 1024s # GValue orig_value; /* the value before the change */ 1024s # } ChangedProperty; 1024s # 1024s # static void 1024s # _changed_property_free (ChangedProperty *data) 1024s # { 1024s # g_value_unset (&data->orig_value); 1024s # g_free (data); 1024s # } 1024s # 1024s # static gboolean 1024s # _g_strv_equal0 (gchar **a, gchar **b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # guint n; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # if (g_strv_length (a) != g_strv_length (b)) 1024s # goto out; 1024s # for (n = 0; a[n] != NULL; n++) 1024s # if (g_strcmp0 (a[n], b[n]) != 0) 1024s # goto out; 1024s # ret = TRUE; 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _g_variant_equal0 (GVariant *a, GVariant *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # ret = g_variant_equal (a, b); 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # G_GNUC_UNUSED static gboolean 1024s # _g_value_equal (const GValue *a, const GValue *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1024s # switch (G_VALUE_TYPE (a)) 1024s # { 1024s # case G_TYPE_BOOLEAN: 1024s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1024s # break; 1024s # case G_TYPE_UCHAR: 1024s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1024s # break; 1024s # case G_TYPE_INT: 1024s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1024s # break; 1024s # case G_TYPE_UINT: 1024s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1024s # break; 1024s # case G_TYPE_INT64: 1024s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1024s # break; 1024s # case G_TYPE_UINT64: 1024s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1024s # break; 1024s # case G_TYPE_DOUBLE: 1024s # { 1024s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1024s # gdouble da = g_value_get_double (a); 1024s # gdouble db = g_value_get_double (b); 1024s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1024s # } 1024s # break; 1024s # case G_TYPE_STRING: 1024s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1024s # break; 1024s # case G_TYPE_VARIANT: 1024s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1024s # break; 1024s # default: 1024s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1024s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1024s # else 1024s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1024s # break; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ 1024s # * Code for interface org.project.SignalingIface 1024s # * ------------------------------------------------------------------------ 1024s # */ 1024s # 1024s # /** 1024s # * SECTION:OrgProjectSignalingIface 1024s # * @title: OrgProjectSignalingIface 1024s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1024s # * 1024s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1024s # */ 1024s # 1024s # enum 1024s # { 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1024s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1024s # }; 1024s # 1024s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1024s # 1024s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SimpleSignal", 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "simple-signal" 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "arg_asv", 1024s # (gchar *) "a{sv}", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SingleArgSignalAsv", 1024s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1024s # NULL 1024s # }, 1024s # "single-arg-signal-asv" 1024s # }; 1024s # 1024s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "org.project.SignalingIface", 1024s # NULL, 1024s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "org-project-signaling-iface", 1024s # }; 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_interface_info: 1024s # * 1024s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1024s # * 1024s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1024s # */ 1024s # GDBusInterfaceInfo * 1024s # org_project_signaling_iface_interface_info (void) 1024s # { 1024s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_override_properties: 1024s # * @klass: The class structure for a #GObject derived class. 1024s # * @property_id_begin: The property id to assign to the first overridden property. 1024s # * 1024s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1024s # * The properties are overridden in the order they are defined. 1024s # * 1024s # * Returns: The last property id. 1024s # */ 1024s # guint 1024s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1024s # { 1024s # return property_id_begin - 1; 1024s # } 1024s # 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_simple_signal ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__VOID (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__VARIANT (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface: 1024s # * 1024s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceIface: 1024s # * @parent_iface: The parent interface. 1024s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1024s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1024s # * 1024s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1024s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1024s # 1024s # static void 1024s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # /* GObject signals for received D-Bus signals: */ 1024s # /** 1024s # * OrgProjectSignalingIface::simple-signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1024s # g_signal_new ("simple-signal", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_simple_signal, 1024s # G_TYPE_NONE, 1024s # 0); 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface::single-arg-signal-asv: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_asv: Argument. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1024s # g_signal_new ("single-arg-signal-asv", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1024s # G_TYPE_NONE, 1024s # 1, G_TYPE_VARIANT); 1024s # 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_simple_signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * Emits the "SimpleSignal" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_arg_asv: Argument to pass with the signal. 1024s # * 1024s # * Emits the "SingleArgSignalAsv" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1024s # OrgProjectSignalingIface *object, 1024s # GVariant *arg_arg_asv) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxy: 1024s # * 1024s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxyClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceProxy. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceProxyPrivate 1024s # { 1024s # GData *qdata; 1024s # }; 1024s # 1024s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_proxy_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1024s # g_datalist_clear (&proxy->priv->qdata); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # const GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1024s # const gchar *sender_name G_GNUC_UNUSED, 1024s # const gchar *signal_name, 1024s # GVariant *parameters) 1024s # { 1024s # _ExtendedGDBusSignalInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # gsize n; 1024s # guint signal_id; 1024s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1024s # if (info == NULL) 1024s # return; 1024s # num_params = g_variant_n_children (parameters); 1024s # paramv = g_new0 (GValue, num_params + 1); 1024s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[0], proxy); 1024s # g_variant_iter_init (&iter, parameters); 1024s # n = 1; 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_signal_emitv (paramv, signal_id, 0, NULL); 1024s # for (n = 0; n < num_params + 1; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1024s # GVariant *changed_properties, 1024s # const gchar *const *invalidated_properties) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1024s # guint n; 1024s # const gchar *key; 1024s # GVariantIter *iter; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # g_variant_get (changed_properties, "a{sv}", &iter); 1024s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1024s # g_datalist_remove_data (&proxy->priv->qdata, key); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # g_variant_iter_free (iter); 1024s # for (n = 0; invalidated_properties[n] != NULL; n++) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1024s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1024s # #else 1024s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1024s # #endif 1024s # 1024s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusProxyClass *proxy_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1024s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1024s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1024s # 1024s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1024s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1024s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_sync: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_sync ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new_for_bus ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeleton: 1024s # * 1024s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeletonClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1024s # { 1024s # GValue *properties; 1024s # GList *changed_properties; 1024s # GSource *changed_properties_idle_source; 1024s # GMainContext *context; 1024s # GMutex lock; 1024s # }; 1024s # 1024s # static void 1024s # _org_project_signaling_iface_skeleton_handle_method_call ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name, 1024s # const gchar *method_name, 1024s # GVariant *parameters, 1024s # GDBusMethodInvocation *invocation, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # _ExtendedGDBusMethodInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # guint num_extra; 1024s # gsize n; 1024s # guint signal_id; 1024s # GValue return_value = G_VALUE_INIT; 1024s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1024s # g_assert (info != NULL); 1024s # num_params = g_variant_n_children (parameters); 1024s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1024s # n = 0; 1024s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[n++], skeleton); 1024s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1024s # g_value_set_object (¶mv[n++], invocation); 1024s # if (info->pass_fdlist) 1024s # { 1024s # #ifdef G_OS_UNIX 1024s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1024s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1024s # #else 1024s # g_assert_not_reached (); 1024s # #endif 1024s # } 1024s # g_variant_iter_init (&iter, parameters); 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1024s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1024s # if (!g_value_get_boolean (&return_value)) 1024s # 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); 1024s # g_value_unset (&return_value); 1024s # for (n = 0; n < num_params + num_extra; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static GVariant * 1024s # _org_project_signaling_iface_skeleton_handle_get_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # GVariant *ret; 1024s # ret = NULL; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # g_value_init (&value, pspec->value_type); 1024s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1024s # g_value_unset (&value); 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _org_project_signaling_iface_skeleton_handle_set_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GVariant *variant, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # gboolean ret; 1024s # ret = FALSE; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # if (info->use_gvariant) 1024s # g_value_set_variant (&value, variant); 1024s # else 1024s # g_dbus_gvariant_to_gvalue (variant, &value); 1024s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # g_value_unset (&value); 1024s # ret = TRUE; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1024s # { 1024s # _org_project_signaling_iface_skeleton_handle_method_call, 1024s # _org_project_signaling_iface_skeleton_handle_get_property, 1024s # _org_project_signaling_iface_skeleton_handle_set_property, 1024s # {NULL} 1024s # }; 1024s # 1024s # static GDBusInterfaceInfo * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return org_project_signaling_iface_interface_info (); 1024s # } 1024s # 1024s # static GDBusInterfaceVTable * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1024s # } 1024s # 1024s # static GVariant * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1024s # 1024s # GVariantBuilder builder; 1024s # guint n; 1024s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1024s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1024s # goto out; 1024s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1024s # { 1024s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1024s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1024s # { 1024s # GVariant *value; 1024s # 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); 1024s # if (value != NULL) 1024s # { 1024s # g_variant_take_ref (value); 1024s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1024s # g_variant_unref (value); 1024s # } 1024s # } 1024s # } 1024s # out: 1024s # return g_variant_builder_end (&builder); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1024s # OrgProjectSignalingIface *object, 1024s # GVariant *arg_arg_asv) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1024s # arg_arg_asv)); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1024s # if (skeleton->priv->changed_properties_idle_source != NULL) 1024s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1024s # g_main_context_unref (skeleton->priv->context); 1024s # g_mutex_clear (&skeleton->priv->lock); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1024s # #else 1024s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1024s # #endif 1024s # 1024s # g_mutex_init (&skeleton->priv->lock); 1024s # skeleton->priv->context = g_main_context_ref_thread_default (); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusInterfaceSkeletonClass *skeleton_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1024s # 1024s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1024s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1024s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1024s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1024s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1024s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_skeleton_new: 1024s # * 1024s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_skeleton_new (void) 1024s # { 1024s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1024s # } 1024s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 1024s # tmpdir: /tmp/tmpioytxbtm 1024s # codegen: /usr/bin/gdbus-codegen 1024s # /tmp/tmpioytxbtm/tmpnfhw_xiw.xml: 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpioytxbtm/tmpnfhw_xiw.xml', '--output', '-', '--body'] 1024s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1024s # Output: /* 1024s # * This file is generated by gdbus-codegen, do not modify it. 1024s # * 1024s # * The license of this code is the same as for the D-Bus interface description 1024s # * it was derived from. Note that it links to GLib, so must comply with the 1024s # * LGPL linking clauses. 1024s # */ 1024s # 1024s # #ifdef HAVE_CONFIG_H 1024s # # include "config.h" 1024s # #endif 1024s # 1024s # #include 1024s # #ifdef G_OS_UNIX 1024s # # include 1024s # #endif 1024s # 1024s # #ifdef G_ENABLE_DEBUG 1024s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1024s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1024s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1024s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1024s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1024s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1024s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1024s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1024s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1024s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1024s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1024s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1024s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1024s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1024s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1024s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1024s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1024s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1024s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1024s # #else /* !G_ENABLE_DEBUG */ 1024s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1024s # * Do not access GValues directly in your code. Instead, use the 1024s # * g_value_get_*() functions 1024s # */ 1024s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1024s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1024s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1024s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1024s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1024s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1024s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1024s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1024s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1024s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1024s # #endif /* !G_ENABLE_DEBUG */ 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusArgInfo parent_struct; 1024s # gboolean use_gvariant; 1024s # } _ExtendedGDBusArgInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusMethodInfo parent_struct; 1024s # const gchar *signal_name; 1024s # gboolean pass_fdlist; 1024s # } _ExtendedGDBusMethodInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusSignalInfo parent_struct; 1024s # const gchar *signal_name; 1024s # } _ExtendedGDBusSignalInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusPropertyInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # guint use_gvariant : 1; 1024s # guint emits_changed_signal : 1; 1024s # } _ExtendedGDBusPropertyInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # GDBusInterfaceInfo parent_struct; 1024s # const gchar *hyphen_name; 1024s # } _ExtendedGDBusInterfaceInfo; 1024s # 1024s # typedef struct 1024s # { 1024s # const _ExtendedGDBusPropertyInfo *info; 1024s # guint prop_id; 1024s # GValue orig_value; /* the value before the change */ 1024s # } ChangedProperty; 1024s # 1024s # static void 1024s # _changed_property_free (ChangedProperty *data) 1024s # { 1024s # g_value_unset (&data->orig_value); 1024s # g_free (data); 1024s # } 1024s # 1024s # static gboolean 1024s # _g_strv_equal0 (gchar **a, gchar **b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # guint n; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # if (g_strv_length (a) != g_strv_length (b)) 1024s # goto out; 1024s # for (n = 0; a[n] != NULL; n++) 1024s # if (g_strcmp0 (a[n], b[n]) != 0) 1024s # goto out; 1024s # ret = TRUE; 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _g_variant_equal0 (GVariant *a, GVariant *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # if (a == NULL && b == NULL) 1024s # { 1024s # ret = TRUE; 1024s # goto out; 1024s # } 1024s # if (a == NULL || b == NULL) 1024s # goto out; 1024s # ret = g_variant_equal (a, b); 1024s # out: 1024s # return ret; 1024s # } 1024s # 1024s # G_GNUC_UNUSED static gboolean 1024s # _g_value_equal (const GValue *a, const GValue *b) 1024s # { 1024s # gboolean ret = FALSE; 1024s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1024s # switch (G_VALUE_TYPE (a)) 1024s # { 1024s # case G_TYPE_BOOLEAN: 1024s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1024s # break; 1024s # case G_TYPE_UCHAR: 1024s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1024s # break; 1024s # case G_TYPE_INT: 1024s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1024s # break; 1024s # case G_TYPE_UINT: 1024s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1024s # break; 1024s # case G_TYPE_INT64: 1024s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1024s # break; 1024s # case G_TYPE_UINT64: 1024s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1024s # break; 1024s # case G_TYPE_DOUBLE: 1024s # { 1024s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1024s # gdouble da = g_value_get_double (a); 1024s # gdouble db = g_value_get_double (b); 1024s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1024s # } 1024s # break; 1024s # case G_TYPE_STRING: 1024s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1024s # break; 1024s # case G_TYPE_VARIANT: 1024s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1024s # break; 1024s # default: 1024s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1024s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1024s # else 1024s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1024s # break; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static void 1024s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1024s # GClosure *closure, 1024s # GValue *return_value G_GNUC_UNUSED, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint G_GNUC_UNUSED, 1024s # void *marshal_data) 1024s # { 1024s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1024s # (void *data1, 1024s # gboolean arg_an_b, 1024s # guchar arg_an_y, 1024s # gint16 arg_an_n, 1024s # guint16 arg_an_q, 1024s # gint arg_an_i, 1024s # guint arg_an_u, 1024s # gint64 arg_an_x, 1024s # guint64 arg_an_t, 1024s # gdouble arg_an_d, 1024s # const gchar *arg_an_s, 1024s # const gchar *arg_an_o, 1024s # const gchar *arg_an_g, 1024s # GVariant *arg_an_h, 1024s # const gchar *arg_an_ay, 1024s # const gchar *const *arg_an_as, 1024s # const gchar *const *arg_an_ao, 1024s # const gchar *const *arg_an_aay, 1024s # GVariant *arg_an_asv, 1024s # void *data2); 1024s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1024s # GCClosure *cc = (GCClosure*) closure; 1024s # void *data1, *data2; 1024s # 1024s # g_return_if_fail (n_param_values == 19); 1024s # 1024s # if (G_CCLOSURE_SWAP_DATA (closure)) 1024s # { 1024s # data1 = closure->data; 1024s # data2 = g_value_peek_pointer (param_values + 0); 1024s # } 1024s # else 1024s # { 1024s # data1 = g_value_peek_pointer (param_values + 0); 1024s # data2 = closure->data; 1024s # } 1024s # 1024s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1024s # (marshal_data ? marshal_data : cc->callback); 1024s # 1024s # callback (data1, 1024s # g_marshal_value_peek_boolean (param_values + 1), 1024s # g_marshal_value_peek_uchar (param_values + 2), 1024s # g_marshal_value_peek_int (param_values + 3), 1024s # g_marshal_value_peek_uint (param_values + 4), 1024s # g_marshal_value_peek_int (param_values + 5), 1024s # g_marshal_value_peek_uint (param_values + 6), 1024s # g_marshal_value_peek_int64 (param_values + 7), 1024s # g_marshal_value_peek_uint64 (param_values + 8), 1024s # g_marshal_value_peek_double (param_values + 9), 1024s # g_marshal_value_peek_string (param_values + 10), 1024s # g_marshal_value_peek_string (param_values + 11), 1024s # g_marshal_value_peek_string (param_values + 12), 1024s # g_marshal_value_peek_variant (param_values + 13), 1024s # g_marshal_value_peek_string (param_values + 14), 1024s # g_marshal_value_peek_boxed (param_values + 15), 1024s # g_marshal_value_peek_boxed (param_values + 16), 1024s # g_marshal_value_peek_boxed (param_values + 17), 1024s # g_marshal_value_peek_variant (param_values + 18), 1024s # data2); 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ 1024s # * Code for interface org.project.SignalingIface 1024s # * ------------------------------------------------------------------------ 1024s # */ 1024s # 1024s # /** 1024s # * SECTION:OrgProjectSignalingIface 1024s # * @title: OrgProjectSignalingIface 1024s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1024s # * 1024s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1024s # */ 1024s # 1024s # enum 1024s # { 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1024s # }; 1024s # 1024s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1024s # 1024s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SimpleSignal", 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "simple-signal" 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "an_b", 1024s # (gchar *) "b", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "an_y", 1024s # (gchar *) "y", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "an_n", 1024s # (gchar *) "n", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "an_q", 1024s # (gchar *) "q", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "an_i", 1024s # (gchar *) "i", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "an_u", 1024s # (gchar *) "u", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "an_x", 1024s # (gchar *) "x", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "an_t", 1024s # (gchar *) "t", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "an_d", 1024s # (gchar *) "d", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "an_s", 1024s # (gchar *) "s", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "an_o", 1024s # (gchar *) "o", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "an_g", 1024s # (gchar *) "g", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "an_h", 1024s # (gchar *) "h", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "an_ay", 1024s # (gchar *) "ay", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "an_as", 1024s # (gchar *) "as", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "an_ao", 1024s # (gchar *) "ao", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "an_aay", 1024s # (gchar *) "aay", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "an_asv", 1024s # (gchar *) "a{sv}", 1024s # NULL 1024s # }, 1024s # FALSE 1024s # }; 1024s # 1024s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "SignalWithManyArgs", 1024s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1024s # NULL 1024s # }, 1024s # "signal-with-many-args" 1024s # }; 1024s # 1024s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1024s # { 1024s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1024s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1024s # NULL 1024s # }; 1024s # 1024s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1024s # { 1024s # { 1024s # -1, 1024s # (gchar *) "org.project.SignalingIface", 1024s # NULL, 1024s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1024s # NULL, 1024s # NULL 1024s # }, 1024s # "org-project-signaling-iface", 1024s # }; 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_interface_info: 1024s # * 1024s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1024s # * 1024s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1024s # */ 1024s # GDBusInterfaceInfo * 1024s # org_project_signaling_iface_interface_info (void) 1024s # { 1024s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_override_properties: 1024s # * @klass: The class structure for a #GObject derived class. 1024s # * @property_id_begin: The property id to assign to the first overridden property. 1024s # * 1024s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1024s # * The properties are overridden in the order they are defined. 1024s # * 1024s # * Returns: The last property id. 1024s # */ 1024s # guint 1024s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1024s # { 1024s # return property_id_begin - 1; 1024s # } 1024s # 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_simple_signal ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # g_cclosure_marshal_VOID__VOID (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # inline static void 1024s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1024s # GClosure *closure, 1024s # GValue *return_value, 1024s # unsigned int n_param_values, 1024s # const GValue *param_values, 1024s # void *invocation_hint, 1024s # void *marshal_data) 1024s # { 1024s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1024s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1024s # } 1024s # 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface: 1024s # * 1024s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceIface: 1024s # * @parent_iface: The parent interface. 1024s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1024s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1024s # * 1024s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1024s # */ 1024s # 1024s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1024s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1024s # 1024s # static void 1024s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # /* GObject signals for received D-Bus signals: */ 1024s # /** 1024s # * OrgProjectSignalingIface::simple-signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1024s # g_signal_new ("simple-signal", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_simple_signal, 1024s # G_TYPE_NONE, 1024s # 0); 1024s # 1024s # /** 1024s # * OrgProjectSignalingIface::signal-with-many-args: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_an_b: Argument. 1024s # * @arg_an_y: Argument. 1024s # * @arg_an_n: Argument. 1024s # * @arg_an_q: Argument. 1024s # * @arg_an_i: Argument. 1024s # * @arg_an_u: Argument. 1024s # * @arg_an_x: Argument. 1024s # * @arg_an_t: Argument. 1024s # * @arg_an_d: Argument. 1024s # * @arg_an_s: Argument. 1024s # * @arg_an_o: Argument. 1024s # * @arg_an_g: Argument. 1024s # * @arg_an_h: Argument. 1024s # * @arg_an_ay: Argument. 1024s # * @arg_an_as: Argument. 1024s # * @arg_an_ao: Argument. 1024s # * @arg_an_aay: Argument. 1024s # * @arg_an_asv: Argument. 1024s # * 1024s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1024s # * 1024s # * 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. 1024s # */ 1024s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1024s # g_signal_new ("signal-with-many-args", 1024s # G_TYPE_FROM_INTERFACE (iface), 1024s # G_SIGNAL_RUN_LAST, 1024s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1024s # NULL, 1024s # NULL, 1024s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1024s # G_TYPE_NONE, 1024s # 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); 1024s # 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_simple_signal: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * 1024s # * Emits the "SimpleSignal" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_emit_signal_with_many_args: 1024s # * @object: A #OrgProjectSignalingIface. 1024s # * @arg_an_b: Argument to pass with the signal. 1024s # * @arg_an_y: Argument to pass with the signal. 1024s # * @arg_an_n: Argument to pass with the signal. 1024s # * @arg_an_q: Argument to pass with the signal. 1024s # * @arg_an_i: Argument to pass with the signal. 1024s # * @arg_an_u: Argument to pass with the signal. 1024s # * @arg_an_x: Argument to pass with the signal. 1024s # * @arg_an_t: Argument to pass with the signal. 1024s # * @arg_an_d: Argument to pass with the signal. 1024s # * @arg_an_s: Argument to pass with the signal. 1024s # * @arg_an_o: Argument to pass with the signal. 1024s # * @arg_an_g: Argument to pass with the signal. 1024s # * @arg_an_h: Argument to pass with the signal. 1024s # * @arg_an_ay: Argument to pass with the signal. 1024s # * @arg_an_as: Argument to pass with the signal. 1024s # * @arg_an_ao: Argument to pass with the signal. 1024s # * @arg_an_aay: Argument to pass with the signal. 1024s # * @arg_an_asv: Argument to pass with the signal. 1024s # * 1024s # * Emits the "SignalWithManyArgs" D-Bus signal. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_emit_signal_with_many_args ( 1024s # OrgProjectSignalingIface *object, 1024s # gboolean arg_an_b, 1024s # guchar arg_an_y, 1024s # gint16 arg_an_n, 1024s # guint16 arg_an_q, 1024s # gint arg_an_i, 1024s # guint arg_an_u, 1024s # gint64 arg_an_x, 1024s # guint64 arg_an_t, 1024s # gdouble arg_an_d, 1024s # const gchar *arg_an_s, 1024s # const gchar *arg_an_o, 1024s # const gchar *arg_an_g, 1024s # GVariant *arg_an_h, 1024s # const gchar *arg_an_ay, 1024s # const gchar *const *arg_an_as, 1024s # const gchar *const *arg_an_ao, 1024s # const gchar *const *arg_an_aay, 1024s # GVariant *arg_an_asv) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxy: 1024s # * 1024s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceProxyClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceProxy. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceProxyPrivate 1024s # { 1024s # GData *qdata; 1024s # }; 1024s # 1024s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_proxy_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1024s # g_datalist_clear (&proxy->priv->qdata); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1024s # guint prop_id G_GNUC_UNUSED, 1024s # const GValue *value G_GNUC_UNUSED, 1024s # GParamSpec *pspec G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1024s # const gchar *sender_name G_GNUC_UNUSED, 1024s # const gchar *signal_name, 1024s # GVariant *parameters) 1024s # { 1024s # _ExtendedGDBusSignalInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # gsize n; 1024s # guint signal_id; 1024s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1024s # if (info == NULL) 1024s # return; 1024s # num_params = g_variant_n_children (parameters); 1024s # paramv = g_new0 (GValue, num_params + 1); 1024s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[0], proxy); 1024s # g_variant_iter_init (&iter, parameters); 1024s # n = 1; 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_signal_emitv (paramv, signal_id, 0, NULL); 1024s # for (n = 0; n < num_params + 1; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1024s # GVariant *changed_properties, 1024s # const gchar *const *invalidated_properties) 1024s # { 1024s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1024s # guint n; 1024s # const gchar *key; 1024s # GVariantIter *iter; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # g_variant_get (changed_properties, "a{sv}", &iter); 1024s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1024s # g_datalist_remove_data (&proxy->priv->qdata, key); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # g_variant_iter_free (iter); 1024s # for (n = 0; invalidated_properties[n] != NULL; n++) 1024s # { 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1024s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1024s # if (info != NULL) 1024s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1024s # } 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1024s # #else 1024s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1024s # #endif 1024s # 1024s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusProxyClass *proxy_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1024s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1024s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1024s # 1024s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1024s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1024s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_sync: 1024s # * @connection: A #GDBusConnection. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_sync ( 1024s # GDBusConnection *connection, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1024s # * @user_data: User data to pass to @callback. 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1024s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1024s # */ 1024s # void 1024s # org_project_signaling_iface_proxy_new_for_bus ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GAsyncReadyCallback callback, 1024s # gpointer user_data) 1024s # { 1024s # 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); 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1024s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1024s # GAsyncResult *res, 1024s # GError **error) 1024s # { 1024s # GObject *ret; 1024s # GObject *source_object; 1024s # source_object = g_async_result_get_source_object (res); 1024s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1024s # g_object_unref (source_object); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1024s # * @bus_type: A #GBusType. 1024s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1024s # * @name: A bus name (well-known or unique). 1024s # * @object_path: An object path. 1024s # * @cancellable: (nullable): A #GCancellable or %NULL. 1024s # * @error: Return location for error or %NULL 1024s # * 1024s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1024s # * 1024s # * The calling thread is blocked until a reply is received. 1024s # * 1024s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1024s # GBusType bus_type, 1024s # GDBusProxyFlags flags, 1024s # const gchar *name, 1024s # const gchar *object_path, 1024s # GCancellable *cancellable, 1024s # GError **error) 1024s # { 1024s # GInitable *ret; 1024s # 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); 1024s # if (ret != NULL) 1024s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1024s # else 1024s # return NULL; 1024s # } 1024s # 1024s # 1024s # /* ------------------------------------------------------------------------ */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeleton: 1024s # * 1024s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1024s # */ 1024s # 1024s # /** 1024s # * OrgProjectSignalingIfaceSkeletonClass: 1024s # * @parent_class: The parent class. 1024s # * 1024s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1024s # */ 1024s # 1024s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1024s # { 1024s # GValue *properties; 1024s # GList *changed_properties; 1024s # GSource *changed_properties_idle_source; 1024s # GMainContext *context; 1024s # GMutex lock; 1024s # }; 1024s # 1024s # static void 1024s # _org_project_signaling_iface_skeleton_handle_method_call ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name, 1024s # const gchar *method_name, 1024s # GVariant *parameters, 1024s # GDBusMethodInvocation *invocation, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # _ExtendedGDBusMethodInfo *info; 1024s # GVariantIter iter; 1024s # GVariant *child; 1024s # GValue *paramv; 1024s # gsize num_params; 1024s # guint num_extra; 1024s # gsize n; 1024s # guint signal_id; 1024s # GValue return_value = G_VALUE_INIT; 1024s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1024s # g_assert (info != NULL); 1024s # num_params = g_variant_n_children (parameters); 1024s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1024s # n = 0; 1024s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_set_object (¶mv[n++], skeleton); 1024s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1024s # g_value_set_object (¶mv[n++], invocation); 1024s # if (info->pass_fdlist) 1024s # { 1024s # #ifdef G_OS_UNIX 1024s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1024s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1024s # #else 1024s # g_assert_not_reached (); 1024s # #endif 1024s # } 1024s # g_variant_iter_init (&iter, parameters); 1024s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1024s # { 1024s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1024s # if (arg_info->use_gvariant) 1024s # { 1024s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1024s # g_value_set_variant (¶mv[n], child); 1024s # n++; 1024s # } 1024s # else 1024s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1024s # g_variant_unref (child); 1024s # } 1024s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1024s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1024s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1024s # if (!g_value_get_boolean (&return_value)) 1024s # 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); 1024s # g_value_unset (&return_value); 1024s # for (n = 0; n < num_params + num_extra; n++) 1024s # g_value_unset (¶mv[n]); 1024s # g_free (paramv); 1024s # } 1024s # 1024s # static GVariant * 1024s # _org_project_signaling_iface_skeleton_handle_get_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # GVariant *ret; 1024s # ret = NULL; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # g_value_init (&value, pspec->value_type); 1024s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1024s # g_value_unset (&value); 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static gboolean 1024s # _org_project_signaling_iface_skeleton_handle_set_property ( 1024s # GDBusConnection *connection G_GNUC_UNUSED, 1024s # const gchar *sender G_GNUC_UNUSED, 1024s # const gchar *object_path G_GNUC_UNUSED, 1024s # const gchar *interface_name G_GNUC_UNUSED, 1024s # const gchar *property_name, 1024s # GVariant *variant, 1024s # GError **error, 1024s # gpointer user_data) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1024s # GValue value = G_VALUE_INIT; 1024s # GParamSpec *pspec; 1024s # _ExtendedGDBusPropertyInfo *info; 1024s # gboolean ret; 1024s # ret = FALSE; 1024s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1024s # g_assert (info != NULL); 1024s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1024s # if (pspec == NULL) 1024s # { 1024s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1024s # } 1024s # else 1024s # { 1024s # if (info->use_gvariant) 1024s # g_value_set_variant (&value, variant); 1024s # else 1024s # g_dbus_gvariant_to_gvalue (variant, &value); 1024s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1024s # g_value_unset (&value); 1024s # ret = TRUE; 1024s # } 1024s # return ret; 1024s # } 1024s # 1024s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1024s # { 1024s # _org_project_signaling_iface_skeleton_handle_method_call, 1024s # _org_project_signaling_iface_skeleton_handle_get_property, 1024s # _org_project_signaling_iface_skeleton_handle_set_property, 1024s # {NULL} 1024s # }; 1024s # 1024s # static GDBusInterfaceInfo * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return org_project_signaling_iface_interface_info (); 1024s # } 1024s # 1024s # static GDBusInterfaceVTable * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1024s # { 1024s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1024s # } 1024s # 1024s # static GVariant * 1024s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1024s # 1024s # GVariantBuilder builder; 1024s # guint n; 1024s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1024s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1024s # goto out; 1024s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1024s # { 1024s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1024s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1024s # { 1024s # GVariant *value; 1024s # 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); 1024s # if (value != NULL) 1024s # { 1024s # g_variant_take_ref (value); 1024s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1024s # g_variant_unref (value); 1024s # } 1024s # } 1024s # } 1024s # out: 1024s # return g_variant_builder_end (&builder); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1024s # { 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_simple_signal ( 1024s # OrgProjectSignalingIface *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void 1024s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1024s # OrgProjectSignalingIface *object, 1024s # gboolean arg_an_b, 1024s # guchar arg_an_y, 1024s # gint16 arg_an_n, 1024s # guint16 arg_an_q, 1024s # gint arg_an_i, 1024s # guint arg_an_u, 1024s # gint64 arg_an_x, 1024s # guint64 arg_an_t, 1024s # gdouble arg_an_d, 1024s # const gchar *arg_an_s, 1024s # const gchar *arg_an_o, 1024s # const gchar *arg_an_g, 1024s # GVariant *arg_an_h, 1024s # const gchar *arg_an_ay, 1024s # const gchar *const *arg_an_as, 1024s # const gchar *const *arg_an_ao, 1024s # const gchar *const *arg_an_aay, 1024s # GVariant *arg_an_asv) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # 1024s # GList *connections, *l; 1024s # GVariant *signal_variant; 1024s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1024s # 1024s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1024s # arg_an_b, 1024s # arg_an_y, 1024s # arg_an_n, 1024s # arg_an_q, 1024s # arg_an_i, 1024s # arg_an_u, 1024s # arg_an_x, 1024s # arg_an_t, 1024s # arg_an_d, 1024s # arg_an_s, 1024s # arg_an_o, 1024s # arg_an_g, 1024s # arg_an_h, 1024s # arg_an_ay, 1024s # arg_an_as, 1024s # arg_an_ao, 1024s # arg_an_aay, 1024s # arg_an_asv)); 1024s # for (l = connections; l != NULL; l = l->next) 1024s # { 1024s # GDBusConnection *connection = l->data; 1024s # g_dbus_connection_emit_signal (connection, 1024s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1024s # signal_variant, NULL); 1024s # } 1024s # g_variant_unref (signal_variant); 1024s # g_list_free_full (connections, g_object_unref); 1024s # } 1024s # 1024s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #else 1024s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1024s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1024s # 1024s # #endif 1024s # static void 1024s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1024s # { 1024s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1024s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1024s # if (skeleton->priv->changed_properties_idle_source != NULL) 1024s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1024s # g_main_context_unref (skeleton->priv->context); 1024s # g_mutex_clear (&skeleton->priv->lock); 1024s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1024s # { 1024s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1024s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1024s # #else 1024s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1024s # #endif 1024s # 1024s # g_mutex_init (&skeleton->priv->lock); 1024s # skeleton->priv->context = g_main_context_ref_thread_default (); 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1024s # { 1024s # GObjectClass *gobject_class; 1024s # GDBusInterfaceSkeletonClass *skeleton_class; 1024s # 1024s # gobject_class = G_OBJECT_CLASS (klass); 1024s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1024s # 1024s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1024s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1024s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1024s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1024s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1024s # 1024s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1024s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1024s # #endif 1024s # } 1024s # 1024s # static void 1024s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1024s # { 1024s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1024s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1024s # } 1024s # 1024s # /** 1024s # * org_project_signaling_iface_skeleton_new: 1024s # * 1024s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1024s # * 1024s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1024s # */ 1024s # OrgProjectSignalingIface * 1024s # org_project_signaling_iface_skeleton_new (void) 1024s # { 1024s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1024s # } 1024s ok 25 __main__.TestCodegen.test_generate_valid_docbook 1024s # tmpdir: /tmp/tmp3qqadni8 1024s # codegen: /usr/bin/gdbus-codegen 1024s # /tmp/tmp3qqadni8/tmpci8n16w0.xml: 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # 1024s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3qqadni8/tmpci8n16w0.xml', '--generate-docbook', 'test'] 1024s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1024s # Output: 1024s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 1024s # tmpdir: /tmp/tmpcwtcr5ox 1024s # codegen: /usr/bin/gdbus-codegen 1024s # /tmp/tmpcwtcr5ox/tmpcu670gan.xml: 1024s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcwtcr5ox/tmpcu670gan.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 1024s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1024s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 1024s # tmpdir: /tmp/tmp6cd9k4qs 1024s # codegen: /usr/bin/gdbus-codegen 1024s # /tmp/tmp6cd9k4qs/tmpy5qz6hm7.xml: 1024s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6cd9k4qs/tmpy5qz6hm7.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 1024s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1024s # Output: /* 1024s # * This file is generated by gdbus-codegen, do not modify it. 1024s # * 1024s # * The license of this code is the same as for the D-Bus interface description 1024s # * it was derived from. Note that it links to GLib, so must comply with the 1024s # * LGPL linking clauses. 1024s # */ 1024s # 1024s # #ifndef __STDOUT__ 1024s # #define __STDOUT__ 1024s # 1024s # #include 1024s # 1024s # G_BEGIN_DECLS 1024s # 1024s # 1024s # G_END_DECLS 1024s # 1024s # #endif /* __STDOUT__ */ 1024s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 1024s # tmpdir: /tmp/tmpggzpfwy4 1024s # codegen: /usr/bin/gdbus-codegen 1024s # /tmp/tmpggzpfwy4/tmpc5vzz17e.xml: 1024s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpggzpfwy4/tmpc5vzz17e.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 1024s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1024s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 1024s # tmpdir: /tmp/tmp652wy1im 1024s # codegen: /usr/bin/gdbus-codegen 1024s # /tmp/tmp652wy1im/tmpfv39vdh6.xml: 1024s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp652wy1im/tmpfv39vdh6.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 1024s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1024s # Output: /* 1024s # * This file is generated by gdbus-codegen, do not modify it. 1024s # * 1024s # * The license of this code is the same as for the D-Bus interface description 1024s # * it was derived from. Note that it links to GLib, so must comply with the 1024s # * LGPL linking clauses. 1024s # */ 1024s # 1024s # #ifndef __STDOUT__ 1024s # #define __STDOUT__ 1024s # 1024s # #include 1024s # 1024s # G_BEGIN_DECLS 1024s # 1024s # 1024s # G_END_DECLS 1024s # 1024s # #endif /* __STDOUT__ */ 1024s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 1024s # tmpdir: /tmp/tmpkdu5wmv9 1024s # codegen: /usr/bin/gdbus-codegen 1024s # /tmp/tmpkdu5wmv9/tmpwl7ndqvq.xml: 1024s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkdu5wmv9/tmpwl7ndqvq.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 1024s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1024s # Output: /* 1024s # * This file is generated by gdbus-codegen, do not modify it. 1024s # * 1024s # * The license of this code is the same as for the D-Bus interface description 1024s # * it was derived from. Note that it links to GLib, so must comply with the 1024s # * LGPL linking clauses. 1024s # */ 1024s # 1024s # #ifndef __STDOUT__ 1024s # #define __STDOUT__ 1024s # 1024s # #include 1024s # 1024s # G_BEGIN_DECLS 1024s # 1024s # 1024s # G_END_DECLS 1024s # 1024s # #endif /* __STDOUT__ */ 1024s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 1024s # tmpdir: /tmp/tmprwyi79k0 1024s # codegen: /usr/bin/gdbus-codegen 1024s # /tmp/tmprwyi79k0/tmppyzjhsz5.xml: 1024s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprwyi79k0/tmppyzjhsz5.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 1024s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1024s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 1024s # tmpdir: /tmp/tmp2jwrf4d3 1024s # codegen: /usr/bin/gdbus-codegen 1024s # /tmp/tmp2jwrf4d3/tmp3e2p9381.xml: 1024s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2jwrf4d3/tmp3e2p9381.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 1024s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1024s # Output: /* 1024s # * This file is generated by gdbus-codegen, do not modify it. 1024s # * 1024s # * The license of this code is the same as for the D-Bus interface description 1024s # * it was derived from. Note that it links to GLib, so must comply with the 1024s # * LGPL linking clauses. 1024s # */ 1024s # 1024s # #ifndef __STDOUT__ 1024s # #define __STDOUT__ 1024s # 1024s # #include 1024s # 1024s # G_BEGIN_DECLS 1024s # 1024s # 1024s # G_END_DECLS 1024s # 1024s # #endif /* __STDOUT__ */ 1024s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 1024s # tmpdir: /tmp/tmpl_mopkem 1024s # codegen: /usr/bin/gdbus-codegen 1024s # /tmp/tmpl_mopkem/tmpc847tn55.xml: 1024s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl_mopkem/tmpc847tn55.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 1024s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1025s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 1025s # tmpdir: /tmp/tmpyrfx5k5l 1025s # codegen: /usr/bin/gdbus-codegen 1025s # /tmp/tmpyrfx5k5l/tmp9q6vabn_.xml: 1025s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyrfx5k5l/tmp9q6vabn_.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 1025s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1025s # Output: /* 1025s # * This file is generated by gdbus-codegen, do not modify it. 1025s # * 1025s # * The license of this code is the same as for the D-Bus interface description 1025s # * it was derived from. Note that it links to GLib, so must comply with the 1025s # * LGPL linking clauses. 1025s # */ 1025s # 1025s # #ifndef __STDOUT__ 1025s # #define __STDOUT__ 1025s # 1025s # #include 1025s # 1025s # G_BEGIN_DECLS 1025s # 1025s # 1025s # G_END_DECLS 1025s # 1025s # #endif /* __STDOUT__ */ 1025s ok 35 __main__.TestCodegen.test_help 1025s # tmpdir: /tmp/tmpph6cpzhi 1025s # codegen: /usr/bin/gdbus-codegen 1025s # Running: ['/usr/bin/gdbus-codegen', '--help'] 1025s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1025s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1025s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1025s # [--c-generate-autocleanup {none,objects,all}] 1025s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1025s # [--generate-rst OUTFILES] [--pragma-once] 1025s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1025s # [--glib-min-required VERSION] 1025s # [--glib-max-allowed VERSION] 1025s # [--symbol-decorator SYMBOL_DECORATOR] 1025s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1025s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1025s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 1025s # [--output FILE | --output-directory OUTDIR] 1025s # FILE [FILE ...] 1025s # 1025s # D-Bus code and documentation generator 1025s # 1025s # positional arguments: 1025s # FILE D-Bus introspection XML file 1025s # 1025s # options: 1025s # -h, --help show this help message and exit 1025s # --interface-prefix PREFIX 1025s # String to strip from D-Bus interface names for code 1025s # and docs 1025s # --c-namespace NAMESPACE 1025s # The namespace to use for generated C code 1025s # --c-generate-object-manager 1025s # Generate a GDBusObjectManagerClient subclass when 1025s # generating C code 1025s # --c-generate-autocleanup {none,objects,all} 1025s # Generate autocleanup support 1025s # --generate-docbook OUTFILES 1025s # Generate Docbook in OUTFILES-org.Project.IFace.xml 1025s # --generate-md OUTFILES 1025s # Generate Markdown in OUTFILES-org.Project.IFace.md 1025s # --generate-rst OUTFILES 1025s # Generate reStructuredText in OUTFILES- 1025s # org.Project.IFace.rst 1025s # --pragma-once Use "pragma once" as the inclusion guard 1025s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1025s # Add annotation (may be used several times) 1025s # --glib-min-required VERSION 1025s # Minimum version of GLib to be supported by the 1025s # outputted code (default: 2.30) 1025s # --glib-max-allowed VERSION 1025s # Maximum version of GLib to be used by the outputted 1025s # code (default: current GLib version) 1025s # --symbol-decorator SYMBOL_DECORATOR 1025s # Macro used to decorate a symbol in the outputted 1025s # header, possibly to export symbols 1025s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1025s # Additional header required for decorator specified by 1025s # --symbol-decorator 1025s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1025s # Additional define required for decorator specified by 1025s # --symbol-decorator 1025s # --generate-c-code OUTFILES 1025s # Generate C code in OUTFILES.[ch] 1025s # --header Generate C headers 1025s # --body Generate C code 1025s # --interface-info-header 1025s # Generate GDBusInterfaceInfo C header 1025s # --interface-info-body 1025s # Generate GDBusInterfaceInfo C code 1025s # --output FILE Write output into the specified file 1025s # --output-directory OUTDIR 1025s # Location to output generated files 1025s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 1025s # tmpdir: /tmp/tmp91p3mmhm 1025s # codegen: /usr/bin/gdbus-codegen 1025s # /tmp/tmp91p3mmhm/tmpz27pvv3w.xml: 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp91p3mmhm/tmpz27pvv3w.xml', '--generate-rst', 'test'] 1025s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1025s # Output: 1025s # /tmp/tmp91p3mmhm/tmpoo57op3_.xml: 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp91p3mmhm/tmpoo57op3_.xml', '--generate-md', 'test'] 1025s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1025s # Output: 1025s # /tmp/tmp91p3mmhm/tmp9ju9vqja.xml: 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp91p3mmhm/tmp9ju9vqja.xml', '--generate-docbook', 'test'] 1025s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1025s # Output: 1025s ok 37 __main__.TestCodegen.test_no_args 1025s # tmpdir: /tmp/tmpdpbm0yp2 1025s # codegen: /usr/bin/gdbus-codegen 1025s # Running: ['/usr/bin/gdbus-codegen'] 1025s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1025s ok 38 __main__.TestCodegen.test_reproducible 1025s # tmpdir: /tmp/tmp_e98krem 1025s # codegen: /usr/bin/gdbus-codegen 1025s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_e98krem/tmpeb2bijdb1.xml', '/tmp/tmp_e98krem/tmphriful252.xml', '--output', '-', '--header'] 1025s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1025s # Output: /* 1025s # * This file is generated by gdbus-codegen, do not modify it. 1025s # * 1025s # * The license of this code is the same as for the D-Bus interface description 1025s # * it was derived from. Note that it links to GLib, so must comply with the 1025s # * LGPL linking clauses. 1025s # */ 1025s # 1025s # #ifndef __STDOUT__ 1025s # #define __STDOUT__ 1025s # 1025s # #include 1025s # 1025s # G_BEGIN_DECLS 1025s # 1025s # 1025s # /* ------------------------------------------------------------------------ */ 1025s # /* Declarations for com.acme.Coyote */ 1025s # 1025s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1025s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1025s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1025s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1025s # 1025s # struct _ComAcmeCoyote; 1025s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1025s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1025s # 1025s # struct _ComAcmeCoyoteIface 1025s # { 1025s # GTypeInterface parent_iface; 1025s # 1025s # 1025s # 1025s # gboolean (*handle_attack) ( 1025s # ComAcmeCoyote *object, 1025s # GDBusMethodInvocation *invocation); 1025s # 1025s # gboolean (*handle_run) ( 1025s # ComAcmeCoyote *object, 1025s # GDBusMethodInvocation *invocation); 1025s # 1025s # gboolean (*handle_sleep) ( 1025s # ComAcmeCoyote *object, 1025s # GDBusMethodInvocation *invocation); 1025s # 1025s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1025s # 1025s # void (*surprised) ( 1025s # ComAcmeCoyote *object); 1025s # 1025s # }; 1025s # 1025s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1025s # 1025s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1025s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1025s # 1025s # 1025s # /* D-Bus method call completion functions: */ 1025s # void com_acme_coyote_complete_run ( 1025s # ComAcmeCoyote *object, 1025s # GDBusMethodInvocation *invocation); 1025s # 1025s # void com_acme_coyote_complete_sleep ( 1025s # ComAcmeCoyote *object, 1025s # GDBusMethodInvocation *invocation); 1025s # 1025s # void com_acme_coyote_complete_attack ( 1025s # ComAcmeCoyote *object, 1025s # GDBusMethodInvocation *invocation); 1025s # 1025s # 1025s # 1025s # /* D-Bus signal emissions functions: */ 1025s # void com_acme_coyote_emit_surprised ( 1025s # ComAcmeCoyote *object); 1025s # 1025s # 1025s # 1025s # /* D-Bus method calls: */ 1025s # void com_acme_coyote_call_run ( 1025s # ComAcmeCoyote *proxy, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data); 1025s # 1025s # gboolean com_acme_coyote_call_run_finish ( 1025s # ComAcmeCoyote *proxy, 1025s # GAsyncResult *res, 1025s # GError **error); 1025s # 1025s # gboolean com_acme_coyote_call_run_sync ( 1025s # ComAcmeCoyote *proxy, 1025s # GCancellable *cancellable, 1025s # GError **error); 1025s # 1025s # void com_acme_coyote_call_sleep ( 1025s # ComAcmeCoyote *proxy, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data); 1025s # 1025s # gboolean com_acme_coyote_call_sleep_finish ( 1025s # ComAcmeCoyote *proxy, 1025s # GAsyncResult *res, 1025s # GError **error); 1025s # 1025s # gboolean com_acme_coyote_call_sleep_sync ( 1025s # ComAcmeCoyote *proxy, 1025s # GCancellable *cancellable, 1025s # GError **error); 1025s # 1025s # void com_acme_coyote_call_attack ( 1025s # ComAcmeCoyote *proxy, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data); 1025s # 1025s # gboolean com_acme_coyote_call_attack_finish ( 1025s # ComAcmeCoyote *proxy, 1025s # GAsyncResult *res, 1025s # GError **error); 1025s # 1025s # gboolean com_acme_coyote_call_attack_sync ( 1025s # ComAcmeCoyote *proxy, 1025s # GCancellable *cancellable, 1025s # GError **error); 1025s # 1025s # 1025s # 1025s # /* D-Bus property accessors: */ 1025s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1025s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1025s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1025s # 1025s # 1025s # /* ---- */ 1025s # 1025s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1025s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1025s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1025s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1025s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1025s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1025s # 1025s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1025s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1025s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1025s # 1025s # struct _ComAcmeCoyoteProxy 1025s # { 1025s # /*< private >*/ 1025s # GDBusProxy parent_instance; 1025s # ComAcmeCoyoteProxyPrivate *priv; 1025s # }; 1025s # 1025s # struct _ComAcmeCoyoteProxyClass 1025s # { 1025s # GDBusProxyClass parent_class; 1025s # }; 1025s # 1025s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1025s # 1025s # #if GLIB_CHECK_VERSION(2, 44, 0) 1025s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1025s # #endif 1025s # 1025s # void com_acme_coyote_proxy_new ( 1025s # GDBusConnection *connection, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data); 1025s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1025s # GAsyncResult *res, 1025s # GError **error); 1025s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1025s # GDBusConnection *connection, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GError **error); 1025s # 1025s # void com_acme_coyote_proxy_new_for_bus ( 1025s # GBusType bus_type, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data); 1025s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1025s # GAsyncResult *res, 1025s # GError **error); 1025s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1025s # GBusType bus_type, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GError **error); 1025s # 1025s # 1025s # /* ---- */ 1025s # 1025s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1025s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1025s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1025s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1025s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1025s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1025s # 1025s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1025s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1025s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1025s # 1025s # struct _ComAcmeCoyoteSkeleton 1025s # { 1025s # /*< private >*/ 1025s # GDBusInterfaceSkeleton parent_instance; 1025s # ComAcmeCoyoteSkeletonPrivate *priv; 1025s # }; 1025s # 1025s # struct _ComAcmeCoyoteSkeletonClass 1025s # { 1025s # GDBusInterfaceSkeletonClass parent_class; 1025s # }; 1025s # 1025s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1025s # 1025s # #if GLIB_CHECK_VERSION(2, 44, 0) 1025s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1025s # #endif 1025s # 1025s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1025s # 1025s # 1025s # /* ------------------------------------------------------------------------ */ 1025s # /* Declarations for org.project.Bar.Frobnicator */ 1025s # 1025s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1025s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1025s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1025s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1025s # 1025s # struct _OrgProjectBarFrobnicator; 1025s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1025s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1025s # 1025s # struct _OrgProjectBarFrobnicatorIface 1025s # { 1025s # GTypeInterface parent_iface; 1025s # 1025s # gboolean (*handle_random_method) ( 1025s # OrgProjectBarFrobnicator *object, 1025s # GDBusMethodInvocation *invocation); 1025s # 1025s # }; 1025s # 1025s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1025s # 1025s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1025s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1025s # 1025s # 1025s # /* D-Bus method call completion functions: */ 1025s # void org_project_bar_frobnicator_complete_random_method ( 1025s # OrgProjectBarFrobnicator *object, 1025s # GDBusMethodInvocation *invocation); 1025s # 1025s # 1025s # 1025s # /* D-Bus method calls: */ 1025s # void org_project_bar_frobnicator_call_random_method ( 1025s # OrgProjectBarFrobnicator *proxy, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data); 1025s # 1025s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1025s # OrgProjectBarFrobnicator *proxy, 1025s # GAsyncResult *res, 1025s # GError **error); 1025s # 1025s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1025s # OrgProjectBarFrobnicator *proxy, 1025s # GCancellable *cancellable, 1025s # GError **error); 1025s # 1025s # 1025s # 1025s # /* ---- */ 1025s # 1025s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1025s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1025s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1025s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1025s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1025s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1025s # 1025s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1025s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1025s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1025s # 1025s # struct _OrgProjectBarFrobnicatorProxy 1025s # { 1025s # /*< private >*/ 1025s # GDBusProxy parent_instance; 1025s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1025s # }; 1025s # 1025s # struct _OrgProjectBarFrobnicatorProxyClass 1025s # { 1025s # GDBusProxyClass parent_class; 1025s # }; 1025s # 1025s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1025s # 1025s # #if GLIB_CHECK_VERSION(2, 44, 0) 1025s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1025s # #endif 1025s # 1025s # void org_project_bar_frobnicator_proxy_new ( 1025s # GDBusConnection *connection, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data); 1025s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1025s # GAsyncResult *res, 1025s # GError **error); 1025s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1025s # GDBusConnection *connection, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GError **error); 1025s # 1025s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1025s # GBusType bus_type, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data); 1025s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1025s # GAsyncResult *res, 1025s # GError **error); 1025s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1025s # GBusType bus_type, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GError **error); 1025s # 1025s # 1025s # /* ---- */ 1025s # 1025s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1025s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1025s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1025s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1025s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1025s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1025s # 1025s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1025s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1025s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1025s # 1025s # struct _OrgProjectBarFrobnicatorSkeleton 1025s # { 1025s # /*< private >*/ 1025s # GDBusInterfaceSkeleton parent_instance; 1025s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1025s # }; 1025s # 1025s # struct _OrgProjectBarFrobnicatorSkeletonClass 1025s # { 1025s # GDBusInterfaceSkeletonClass parent_class; 1025s # }; 1025s # 1025s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1025s # 1025s # #if GLIB_CHECK_VERSION(2, 44, 0) 1025s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1025s # #endif 1025s # 1025s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1025s # 1025s # 1025s # G_END_DECLS 1025s # 1025s # #endif /* __STDOUT__ */ 1025s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_e98krem/tmphriful252.xml', '/tmp/tmp_e98krem/tmpeb2bijdb1.xml', '--output', '-', '--header'] 1025s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1025s # Output: /* 1025s # * This file is generated by gdbus-codegen, do not modify it. 1025s # * 1025s # * The license of this code is the same as for the D-Bus interface description 1025s # * it was derived from. Note that it links to GLib, so must comply with the 1025s # * LGPL linking clauses. 1025s # */ 1025s # 1025s # #ifndef __STDOUT__ 1025s # #define __STDOUT__ 1025s # 1025s # #include 1025s # 1025s # G_BEGIN_DECLS 1025s # 1025s # 1025s # /* ------------------------------------------------------------------------ */ 1025s # /* Declarations for com.acme.Coyote */ 1025s # 1025s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1025s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1025s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1025s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1025s # 1025s # struct _ComAcmeCoyote; 1025s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1025s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1025s # 1025s # struct _ComAcmeCoyoteIface 1025s # { 1025s # GTypeInterface parent_iface; 1025s # 1025s # 1025s # 1025s # gboolean (*handle_attack) ( 1025s # ComAcmeCoyote *object, 1025s # GDBusMethodInvocation *invocation); 1025s # 1025s # gboolean (*handle_run) ( 1025s # ComAcmeCoyote *object, 1025s # GDBusMethodInvocation *invocation); 1025s # 1025s # gboolean (*handle_sleep) ( 1025s # ComAcmeCoyote *object, 1025s # GDBusMethodInvocation *invocation); 1025s # 1025s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1025s # 1025s # void (*surprised) ( 1025s # ComAcmeCoyote *object); 1025s # 1025s # }; 1025s # 1025s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1025s # 1025s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1025s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1025s # 1025s # 1025s # /* D-Bus method call completion functions: */ 1025s # void com_acme_coyote_complete_run ( 1025s # ComAcmeCoyote *object, 1025s # GDBusMethodInvocation *invocation); 1025s # 1025s # void com_acme_coyote_complete_sleep ( 1025s # ComAcmeCoyote *object, 1025s # GDBusMethodInvocation *invocation); 1025s # 1025s # void com_acme_coyote_complete_attack ( 1025s # ComAcmeCoyote *object, 1025s # GDBusMethodInvocation *invocation); 1025s # 1025s # 1025s # 1025s # /* D-Bus signal emissions functions: */ 1025s # void com_acme_coyote_emit_surprised ( 1025s # ComAcmeCoyote *object); 1025s # 1025s # 1025s # 1025s # /* D-Bus method calls: */ 1025s # void com_acme_coyote_call_run ( 1025s # ComAcmeCoyote *proxy, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data); 1025s # 1025s # gboolean com_acme_coyote_call_run_finish ( 1025s # ComAcmeCoyote *proxy, 1025s # GAsyncResult *res, 1025s # GError **error); 1025s # 1025s # gboolean com_acme_coyote_call_run_sync ( 1025s # ComAcmeCoyote *proxy, 1025s # GCancellable *cancellable, 1025s # GError **error); 1025s # 1025s # void com_acme_coyote_call_sleep ( 1025s # ComAcmeCoyote *proxy, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data); 1025s # 1025s # gboolean com_acme_coyote_call_sleep_finish ( 1025s # ComAcmeCoyote *proxy, 1025s # GAsyncResult *res, 1025s # GError **error); 1025s # 1025s # gboolean com_acme_coyote_call_sleep_sync ( 1025s # ComAcmeCoyote *proxy, 1025s # GCancellable *cancellable, 1025s # GError **error); 1025s # 1025s # void com_acme_coyote_call_attack ( 1025s # ComAcmeCoyote *proxy, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data); 1025s # 1025s # gboolean com_acme_coyote_call_attack_finish ( 1025s # ComAcmeCoyote *proxy, 1025s # GAsyncResult *res, 1025s # GError **error); 1025s # 1025s # gboolean com_acme_coyote_call_attack_sync ( 1025s # ComAcmeCoyote *proxy, 1025s # GCancellable *cancellable, 1025s # GError **error); 1025s # 1025s # 1025s # 1025s # /* D-Bus property accessors: */ 1025s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1025s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1025s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1025s # 1025s # 1025s # /* ---- */ 1025s # 1025s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1025s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1025s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1025s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1025s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1025s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1025s # 1025s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1025s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1025s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1025s # 1025s # struct _ComAcmeCoyoteProxy 1025s # { 1025s # /*< private >*/ 1025s # GDBusProxy parent_instance; 1025s # ComAcmeCoyoteProxyPrivate *priv; 1025s # }; 1025s # 1025s # struct _ComAcmeCoyoteProxyClass 1025s # { 1025s # GDBusProxyClass parent_class; 1025s # }; 1025s # 1025s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1025s # 1025s # #if GLIB_CHECK_VERSION(2, 44, 0) 1025s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1025s # #endif 1025s # 1025s # void com_acme_coyote_proxy_new ( 1025s # GDBusConnection *connection, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data); 1025s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1025s # GAsyncResult *res, 1025s # GError **error); 1025s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1025s # GDBusConnection *connection, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GError **error); 1025s # 1025s # void com_acme_coyote_proxy_new_for_bus ( 1025s # GBusType bus_type, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data); 1025s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1025s # GAsyncResult *res, 1025s # GError **error); 1025s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1025s # GBusType bus_type, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GError **error); 1025s # 1025s # 1025s # /* ---- */ 1025s # 1025s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1025s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1025s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1025s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1025s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1025s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1025s # 1025s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1025s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1025s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1025s # 1025s # struct _ComAcmeCoyoteSkeleton 1025s # { 1025s # /*< private >*/ 1025s # GDBusInterfaceSkeleton parent_instance; 1025s # ComAcmeCoyoteSkeletonPrivate *priv; 1025s # }; 1025s # 1025s # struct _ComAcmeCoyoteSkeletonClass 1025s # { 1025s # GDBusInterfaceSkeletonClass parent_class; 1025s # }; 1025s # 1025s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1025s # 1025s # #if GLIB_CHECK_VERSION(2, 44, 0) 1025s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1025s # #endif 1025s # 1025s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1025s # 1025s # 1025s # /* ------------------------------------------------------------------------ */ 1025s # /* Declarations for org.project.Bar.Frobnicator */ 1025s # 1025s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1025s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1025s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1025s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1025s # 1025s # struct _OrgProjectBarFrobnicator; 1025s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1025s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1025s # 1025s # struct _OrgProjectBarFrobnicatorIface 1025s # { 1025s # GTypeInterface parent_iface; 1025s # 1025s # gboolean (*handle_random_method) ( 1025s # OrgProjectBarFrobnicator *object, 1025s # GDBusMethodInvocation *invocation); 1025s # 1025s # }; 1025s # 1025s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1025s # 1025s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1025s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1025s # 1025s # 1025s # /* D-Bus method call completion functions: */ 1025s # void org_project_bar_frobnicator_complete_random_method ( 1025s # OrgProjectBarFrobnicator *object, 1025s # GDBusMethodInvocation *invocation); 1025s # 1025s # 1025s # 1025s # /* D-Bus method calls: */ 1025s # void org_project_bar_frobnicator_call_random_method ( 1025s # OrgProjectBarFrobnicator *proxy, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data); 1025s # 1025s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1025s # OrgProjectBarFrobnicator *proxy, 1025s # GAsyncResult *res, 1025s # GError **error); 1025s # 1025s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1025s # OrgProjectBarFrobnicator *proxy, 1025s # GCancellable *cancellable, 1025s # GError **error); 1025s # 1025s # 1025s # 1025s # /* ---- */ 1025s # 1025s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1025s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1025s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1025s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1025s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1025s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1025s # 1025s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1025s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1025s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1025s # 1025s # struct _OrgProjectBarFrobnicatorProxy 1025s # { 1025s # /*< private >*/ 1025s # GDBusProxy parent_instance; 1025s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1025s # }; 1025s # 1025s # struct _OrgProjectBarFrobnicatorProxyClass 1025s # { 1025s # GDBusProxyClass parent_class; 1025s # }; 1025s # 1025s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1025s # 1025s # #if GLIB_CHECK_VERSION(2, 44, 0) 1025s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1025s # #endif 1025s # 1025s # void org_project_bar_frobnicator_proxy_new ( 1025s # GDBusConnection *connection, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data); 1025s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1025s # GAsyncResult *res, 1025s # GError **error); 1025s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1025s # GDBusConnection *connection, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GError **error); 1025s # 1025s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1025s # GBusType bus_type, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data); 1025s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1025s # GAsyncResult *res, 1025s # GError **error); 1025s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1025s # GBusType bus_type, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GError **error); 1025s # 1025s # 1025s # /* ---- */ 1025s # 1025s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1025s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1025s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1025s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1025s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1025s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1025s # 1025s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1025s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1025s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1025s # 1025s # struct _OrgProjectBarFrobnicatorSkeleton 1025s # { 1025s # /*< private >*/ 1025s # GDBusInterfaceSkeleton parent_instance; 1025s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1025s # }; 1025s # 1025s # struct _OrgProjectBarFrobnicatorSkeletonClass 1025s # { 1025s # GDBusInterfaceSkeletonClass parent_class; 1025s # }; 1025s # 1025s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1025s # 1025s # #if GLIB_CHECK_VERSION(2, 44, 0) 1025s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1025s # #endif 1025s # 1025s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1025s # 1025s # 1025s # G_END_DECLS 1025s # 1025s # #endif /* __STDOUT__ */ 1025s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_e98krem/tmpeb2bijdb1.xml', '/tmp/tmp_e98krem/tmphriful252.xml', '--output', '-', '--body'] 1025s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1025s # Output: /* 1025s # * This file is generated by gdbus-codegen, do not modify it. 1025s # * 1025s # * The license of this code is the same as for the D-Bus interface description 1025s # * it was derived from. Note that it links to GLib, so must comply with the 1025s # * LGPL linking clauses. 1025s # */ 1025s # 1025s # #ifdef HAVE_CONFIG_H 1025s # # include "config.h" 1025s # #endif 1025s # 1025s # #include 1025s # #ifdef G_OS_UNIX 1025s # # include 1025s # #endif 1025s # 1025s # #ifdef G_ENABLE_DEBUG 1025s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1025s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1025s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1025s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1025s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1025s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1025s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1025s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1025s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1025s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1025s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1025s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1025s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1025s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1025s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1025s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1025s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1025s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1025s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1025s # #else /* !G_ENABLE_DEBUG */ 1025s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1025s # * Do not access GValues directly in your code. Instead, use the 1025s # * g_value_get_*() functions 1025s # */ 1025s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1025s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1025s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1025s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1025s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1025s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1025s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1025s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1025s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1025s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1025s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1025s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1025s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1025s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1025s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1025s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1025s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1025s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1025s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1025s # #endif /* !G_ENABLE_DEBUG */ 1025s # 1025s # typedef struct 1025s # { 1025s # GDBusArgInfo parent_struct; 1025s # gboolean use_gvariant; 1025s # } _ExtendedGDBusArgInfo; 1025s # 1025s # typedef struct 1025s # { 1025s # GDBusMethodInfo parent_struct; 1025s # const gchar *signal_name; 1025s # gboolean pass_fdlist; 1025s # } _ExtendedGDBusMethodInfo; 1025s # 1025s # typedef struct 1025s # { 1025s # GDBusSignalInfo parent_struct; 1025s # const gchar *signal_name; 1025s # } _ExtendedGDBusSignalInfo; 1025s # 1025s # typedef struct 1025s # { 1025s # GDBusPropertyInfo parent_struct; 1025s # const gchar *hyphen_name; 1025s # guint use_gvariant : 1; 1025s # guint emits_changed_signal : 1; 1025s # } _ExtendedGDBusPropertyInfo; 1025s # 1025s # typedef struct 1025s # { 1025s # GDBusInterfaceInfo parent_struct; 1025s # const gchar *hyphen_name; 1025s # } _ExtendedGDBusInterfaceInfo; 1025s # 1025s # typedef struct 1025s # { 1025s # const _ExtendedGDBusPropertyInfo *info; 1025s # guint prop_id; 1025s # GValue orig_value; /* the value before the change */ 1025s # } ChangedProperty; 1025s # 1025s # static void 1025s # _changed_property_free (ChangedProperty *data) 1025s # { 1025s # g_value_unset (&data->orig_value); 1025s # g_free (data); 1025s # } 1025s # 1025s # static gboolean 1025s # _g_strv_equal0 (gchar **a, gchar **b) 1025s # { 1025s # gboolean ret = FALSE; 1025s # guint n; 1025s # if (a == NULL && b == NULL) 1025s # { 1025s # ret = TRUE; 1025s # goto out; 1025s # } 1025s # if (a == NULL || b == NULL) 1025s # goto out; 1025s # if (g_strv_length (a) != g_strv_length (b)) 1025s # goto out; 1025s # for (n = 0; a[n] != NULL; n++) 1025s # if (g_strcmp0 (a[n], b[n]) != 0) 1025s # goto out; 1025s # ret = TRUE; 1025s # out: 1025s # return ret; 1025s # } 1025s # 1025s # static gboolean 1025s # _g_variant_equal0 (GVariant *a, GVariant *b) 1025s # { 1025s # gboolean ret = FALSE; 1025s # if (a == NULL && b == NULL) 1025s # { 1025s # ret = TRUE; 1025s # goto out; 1025s # } 1025s # if (a == NULL || b == NULL) 1025s # goto out; 1025s # ret = g_variant_equal (a, b); 1025s # out: 1025s # return ret; 1025s # } 1025s # 1025s # G_GNUC_UNUSED static gboolean 1025s # _g_value_equal (const GValue *a, const GValue *b) 1025s # { 1025s # gboolean ret = FALSE; 1025s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1025s # switch (G_VALUE_TYPE (a)) 1025s # { 1025s # case G_TYPE_BOOLEAN: 1025s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1025s # break; 1025s # case G_TYPE_UCHAR: 1025s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1025s # break; 1025s # case G_TYPE_INT: 1025s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1025s # break; 1025s # case G_TYPE_UINT: 1025s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1025s # break; 1025s # case G_TYPE_INT64: 1025s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1025s # break; 1025s # case G_TYPE_UINT64: 1025s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1025s # break; 1025s # case G_TYPE_DOUBLE: 1025s # { 1025s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1025s # gdouble da = g_value_get_double (a); 1025s # gdouble db = g_value_get_double (b); 1025s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1025s # } 1025s # break; 1025s # case G_TYPE_STRING: 1025s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1025s # break; 1025s # case G_TYPE_VARIANT: 1025s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1025s # break; 1025s # default: 1025s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1025s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1025s # else 1025s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1025s # break; 1025s # } 1025s # return ret; 1025s # } 1025s # 1025s # static void 1025s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1025s # GClosure *closure, 1025s # GValue *return_value, 1025s # unsigned int n_param_values, 1025s # const GValue *param_values, 1025s # void *invocation_hint G_GNUC_UNUSED, 1025s # void *marshal_data) 1025s # { 1025s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1025s # (void *data1, 1025s # GDBusMethodInvocation *arg_method_invocation, 1025s # void *data2); 1025s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1025s # GCClosure *cc = (GCClosure*) closure; 1025s # void *data1, *data2; 1025s # gboolean v_return; 1025s # 1025s # g_return_if_fail (return_value != NULL); 1025s # g_return_if_fail (n_param_values == 2); 1025s # 1025s # if (G_CCLOSURE_SWAP_DATA (closure)) 1025s # { 1025s # data1 = closure->data; 1025s # data2 = g_value_peek_pointer (param_values + 0); 1025s # } 1025s # else 1025s # { 1025s # data1 = g_value_peek_pointer (param_values + 0); 1025s # data2 = closure->data; 1025s # } 1025s # 1025s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1025s # (marshal_data ? marshal_data : cc->callback); 1025s # 1025s # v_return = 1025s # callback (data1, 1025s # g_marshal_value_peek_object (param_values + 1), 1025s # data2); 1025s # 1025s # g_value_set_boolean (return_value, v_return); 1025s # } 1025s # 1025s # /* ------------------------------------------------------------------------ 1025s # * Code for interface com.acme.Coyote 1025s # * ------------------------------------------------------------------------ 1025s # */ 1025s # 1025s # /** 1025s # * SECTION:ComAcmeCoyote 1025s # * @title: ComAcmeCoyote 1025s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1025s # * 1025s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1025s # */ 1025s # 1025s # enum 1025s # { 1025s # _COM_ACME_COYOTE_SURPRISED, 1025s # }; 1025s # 1025s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1025s # 1025s # /* ---- Introspection data for com.acme.Coyote ---- */ 1025s # 1025s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1025s # { 1025s # { 1025s # -1, 1025s # (gchar *) "Run", 1025s # NULL, 1025s # NULL, 1025s # NULL 1025s # }, 1025s # "handle-run", 1025s # FALSE 1025s # }; 1025s # 1025s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1025s # { 1025s # { 1025s # -1, 1025s # (gchar *) "Sleep", 1025s # NULL, 1025s # NULL, 1025s # NULL 1025s # }, 1025s # "handle-sleep", 1025s # FALSE 1025s # }; 1025s # 1025s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1025s # { 1025s # { 1025s # -1, 1025s # (gchar *) "Attack", 1025s # NULL, 1025s # NULL, 1025s # NULL 1025s # }, 1025s # "handle-attack", 1025s # FALSE 1025s # }; 1025s # 1025s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1025s # { 1025s # &_com_acme_coyote_method_info_run.parent_struct, 1025s # &_com_acme_coyote_method_info_sleep.parent_struct, 1025s # &_com_acme_coyote_method_info_attack.parent_struct, 1025s # NULL 1025s # }; 1025s # 1025s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1025s # { 1025s # { 1025s # -1, 1025s # (gchar *) "Surprised", 1025s # NULL, 1025s # NULL 1025s # }, 1025s # "surprised" 1025s # }; 1025s # 1025s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1025s # { 1025s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1025s # NULL 1025s # }; 1025s # 1025s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1025s # { 1025s # { 1025s # -1, 1025s # (gchar *) "Mood", 1025s # (gchar *) "s", 1025s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1025s # NULL 1025s # }, 1025s # "mood", 1025s # FALSE, 1025s # TRUE 1025s # }; 1025s # 1025s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1025s # { 1025s # &_com_acme_coyote_property_info_mood.parent_struct, 1025s # NULL 1025s # }; 1025s # 1025s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1025s # { 1025s # { 1025s # -1, 1025s # (gchar *) "com.acme.Coyote", 1025s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1025s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1025s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1025s # NULL 1025s # }, 1025s # "com-acme-coyote", 1025s # }; 1025s # 1025s # 1025s # /** 1025s # * com_acme_coyote_interface_info: 1025s # * 1025s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1025s # * 1025s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1025s # */ 1025s # GDBusInterfaceInfo * 1025s # com_acme_coyote_interface_info (void) 1025s # { 1025s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_override_properties: 1025s # * @klass: The class structure for a #GObject derived class. 1025s # * @property_id_begin: The property id to assign to the first overridden property. 1025s # * 1025s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1025s # * The properties are overridden in the order they are defined. 1025s # * 1025s # * Returns: The last property id. 1025s # */ 1025s # guint 1025s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1025s # { 1025s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1025s # return property_id_begin - 1; 1025s # } 1025s # 1025s # 1025s # inline static void 1025s # com_acme_coyote_signal_marshal_surprised ( 1025s # GClosure *closure, 1025s # GValue *return_value, 1025s # unsigned int n_param_values, 1025s # const GValue *param_values, 1025s # void *invocation_hint, 1025s # void *marshal_data) 1025s # { 1025s # g_cclosure_marshal_VOID__VOID (closure, 1025s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1025s # } 1025s # 1025s # inline static void 1025s # com_acme_coyote_method_marshal_run ( 1025s # GClosure *closure, 1025s # GValue *return_value, 1025s # unsigned int n_param_values, 1025s # const GValue *param_values, 1025s # void *invocation_hint, 1025s # void *marshal_data) 1025s # { 1025s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1025s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1025s # } 1025s # 1025s # inline static void 1025s # com_acme_coyote_method_marshal_sleep ( 1025s # GClosure *closure, 1025s # GValue *return_value, 1025s # unsigned int n_param_values, 1025s # const GValue *param_values, 1025s # void *invocation_hint, 1025s # void *marshal_data) 1025s # { 1025s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1025s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1025s # } 1025s # 1025s # inline static void 1025s # com_acme_coyote_method_marshal_attack ( 1025s # GClosure *closure, 1025s # GValue *return_value, 1025s # unsigned int n_param_values, 1025s # const GValue *param_values, 1025s # void *invocation_hint, 1025s # void *marshal_data) 1025s # { 1025s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1025s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1025s # } 1025s # 1025s # 1025s # /** 1025s # * ComAcmeCoyote: 1025s # * 1025s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1025s # */ 1025s # 1025s # /** 1025s # * ComAcmeCoyoteIface: 1025s # * @parent_iface: The parent interface. 1025s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1025s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1025s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1025s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1025s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1025s # * 1025s # * Virtual table for the D-Bus interface com.acme.Coyote. 1025s # */ 1025s # 1025s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1025s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1025s # 1025s # static void 1025s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1025s # { 1025s # /* GObject signals for incoming D-Bus method calls: */ 1025s # /** 1025s # * ComAcmeCoyote::handle-run: 1025s # * @object: A #ComAcmeCoyote. 1025s # * @invocation: A #GDBusMethodInvocation. 1025s # * 1025s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1025s # * 1025s # * 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. 1025s # * 1025s # * 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. 1025s # */ 1025s # g_signal_new ("handle-run", 1025s # G_TYPE_FROM_INTERFACE (iface), 1025s # G_SIGNAL_RUN_LAST, 1025s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1025s # g_signal_accumulator_true_handled, 1025s # NULL, 1025s # com_acme_coyote_method_marshal_run, 1025s # G_TYPE_BOOLEAN, 1025s # 1, 1025s # G_TYPE_DBUS_METHOD_INVOCATION); 1025s # 1025s # /** 1025s # * ComAcmeCoyote::handle-sleep: 1025s # * @object: A #ComAcmeCoyote. 1025s # * @invocation: A #GDBusMethodInvocation. 1025s # * 1025s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1025s # * 1025s # * 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. 1025s # * 1025s # * 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. 1025s # */ 1025s # g_signal_new ("handle-sleep", 1025s # G_TYPE_FROM_INTERFACE (iface), 1025s # G_SIGNAL_RUN_LAST, 1025s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1025s # g_signal_accumulator_true_handled, 1025s # NULL, 1025s # com_acme_coyote_method_marshal_sleep, 1025s # G_TYPE_BOOLEAN, 1025s # 1, 1025s # G_TYPE_DBUS_METHOD_INVOCATION); 1025s # 1025s # /** 1025s # * ComAcmeCoyote::handle-attack: 1025s # * @object: A #ComAcmeCoyote. 1025s # * @invocation: A #GDBusMethodInvocation. 1025s # * 1025s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1025s # * 1025s # * 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. 1025s # * 1025s # * 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. 1025s # */ 1025s # g_signal_new ("handle-attack", 1025s # G_TYPE_FROM_INTERFACE (iface), 1025s # G_SIGNAL_RUN_LAST, 1025s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1025s # g_signal_accumulator_true_handled, 1025s # NULL, 1025s # com_acme_coyote_method_marshal_attack, 1025s # G_TYPE_BOOLEAN, 1025s # 1, 1025s # G_TYPE_DBUS_METHOD_INVOCATION); 1025s # 1025s # /* GObject signals for received D-Bus signals: */ 1025s # /** 1025s # * ComAcmeCoyote::surprised: 1025s # * @object: A #ComAcmeCoyote. 1025s # * 1025s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1025s # * 1025s # * 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. 1025s # */ 1025s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1025s # g_signal_new ("surprised", 1025s # G_TYPE_FROM_INTERFACE (iface), 1025s # G_SIGNAL_RUN_LAST, 1025s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1025s # NULL, 1025s # NULL, 1025s # com_acme_coyote_signal_marshal_surprised, 1025s # G_TYPE_NONE, 1025s # 0); 1025s # 1025s # /* GObject properties for D-Bus properties: */ 1025s # /** 1025s # * ComAcmeCoyote:mood: 1025s # * 1025s # * Represents the D-Bus property "Mood". 1025s # * 1025s # * 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. 1025s # */ 1025s # g_object_interface_install_property (iface, 1025s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_get_mood: (skip) 1025s # * @object: A #ComAcmeCoyote. 1025s # * 1025s # * Gets the value of the "Mood" D-Bus property. 1025s # * 1025s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1025s # * 1025s # * 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. 1025s # * 1025s # * 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. 1025s # */ 1025s # const gchar * 1025s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1025s # { 1025s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1025s # 1025s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_dup_mood: (skip) 1025s # * @object: A #ComAcmeCoyote. 1025s # * 1025s # * Gets a copy of the "Mood" D-Bus property. 1025s # * 1025s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1025s # * 1025s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1025s # */ 1025s # gchar * 1025s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1025s # { 1025s # gchar *value; 1025s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1025s # return value; 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_set_mood: (skip) 1025s # * @object: A #ComAcmeCoyote. 1025s # * @value: The value to set. 1025s # * 1025s # * Sets the "Mood" D-Bus property to @value. 1025s # * 1025s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1025s # */ 1025s # void 1025s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1025s # { 1025s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_emit_surprised: 1025s # * @object: A #ComAcmeCoyote. 1025s # * 1025s # * Emits the "Surprised" D-Bus signal. 1025s # */ 1025s # void 1025s # com_acme_coyote_emit_surprised ( 1025s # ComAcmeCoyote *object) 1025s # { 1025s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_call_run: 1025s # * @proxy: A #ComAcmeCoyoteProxy. 1025s # * @cancellable: (nullable): A #GCancellable or %NULL. 1025s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1025s # * @user_data: User data to pass to @callback. 1025s # * 1025s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1025s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1025s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1025s # * 1025s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1025s # */ 1025s # void 1025s # com_acme_coyote_call_run ( 1025s # ComAcmeCoyote *proxy, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data) 1025s # { 1025s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1025s # "Run", 1025s # g_variant_new ("()"), 1025s # G_DBUS_CALL_FLAGS_NONE, 1025s # -1, 1025s # cancellable, 1025s # callback, 1025s # user_data); 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_call_run_finish: 1025s # * @proxy: A #ComAcmeCoyoteProxy. 1025s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1025s # * @error: Return location for error or %NULL. 1025s # * 1025s # * Finishes an operation started with com_acme_coyote_call_run(). 1025s # * 1025s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1025s # */ 1025s # gboolean 1025s # com_acme_coyote_call_run_finish ( 1025s # ComAcmeCoyote *proxy, 1025s # GAsyncResult *res, 1025s # GError **error) 1025s # { 1025s # GVariant *_ret; 1025s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1025s # if (_ret == NULL) 1025s # goto _out; 1025s # g_variant_get (_ret, 1025s # "()"); 1025s # g_variant_unref (_ret); 1025s # _out: 1025s # return _ret != NULL; 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_call_run_sync: 1025s # * @proxy: A #ComAcmeCoyoteProxy. 1025s # * @cancellable: (nullable): A #GCancellable or %NULL. 1025s # * @error: Return location for error or %NULL. 1025s # * 1025s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1025s # * 1025s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1025s # * 1025s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1025s # */ 1025s # gboolean 1025s # com_acme_coyote_call_run_sync ( 1025s # ComAcmeCoyote *proxy, 1025s # GCancellable *cancellable, 1025s # GError **error) 1025s # { 1025s # GVariant *_ret; 1025s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1025s # "Run", 1025s # g_variant_new ("()"), 1025s # G_DBUS_CALL_FLAGS_NONE, 1025s # -1, 1025s # cancellable, 1025s # error); 1025s # if (_ret == NULL) 1025s # goto _out; 1025s # g_variant_get (_ret, 1025s # "()"); 1025s # g_variant_unref (_ret); 1025s # _out: 1025s # return _ret != NULL; 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_call_sleep: 1025s # * @proxy: A #ComAcmeCoyoteProxy. 1025s # * @cancellable: (nullable): A #GCancellable or %NULL. 1025s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1025s # * @user_data: User data to pass to @callback. 1025s # * 1025s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1025s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1025s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1025s # * 1025s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1025s # */ 1025s # void 1025s # com_acme_coyote_call_sleep ( 1025s # ComAcmeCoyote *proxy, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data) 1025s # { 1025s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1025s # "Sleep", 1025s # g_variant_new ("()"), 1025s # G_DBUS_CALL_FLAGS_NONE, 1025s # -1, 1025s # cancellable, 1025s # callback, 1025s # user_data); 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_call_sleep_finish: 1025s # * @proxy: A #ComAcmeCoyoteProxy. 1025s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1025s # * @error: Return location for error or %NULL. 1025s # * 1025s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1025s # * 1025s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1025s # */ 1025s # gboolean 1025s # com_acme_coyote_call_sleep_finish ( 1025s # ComAcmeCoyote *proxy, 1025s # GAsyncResult *res, 1025s # GError **error) 1025s # { 1025s # GVariant *_ret; 1025s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1025s # if (_ret == NULL) 1025s # goto _out; 1025s # g_variant_get (_ret, 1025s # "()"); 1025s # g_variant_unref (_ret); 1025s # _out: 1025s # return _ret != NULL; 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_call_sleep_sync: 1025s # * @proxy: A #ComAcmeCoyoteProxy. 1025s # * @cancellable: (nullable): A #GCancellable or %NULL. 1025s # * @error: Return location for error or %NULL. 1025s # * 1025s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1025s # * 1025s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1025s # * 1025s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1025s # */ 1025s # gboolean 1025s # com_acme_coyote_call_sleep_sync ( 1025s # ComAcmeCoyote *proxy, 1025s # GCancellable *cancellable, 1025s # GError **error) 1025s # { 1025s # GVariant *_ret; 1025s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1025s # "Sleep", 1025s # g_variant_new ("()"), 1025s # G_DBUS_CALL_FLAGS_NONE, 1025s # -1, 1025s # cancellable, 1025s # error); 1025s # if (_ret == NULL) 1025s # goto _out; 1025s # g_variant_get (_ret, 1025s # "()"); 1025s # g_variant_unref (_ret); 1025s # _out: 1025s # return _ret != NULL; 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_call_attack: 1025s # * @proxy: A #ComAcmeCoyoteProxy. 1025s # * @cancellable: (nullable): A #GCancellable or %NULL. 1025s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1025s # * @user_data: User data to pass to @callback. 1025s # * 1025s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1025s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1025s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1025s # * 1025s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1025s # */ 1025s # void 1025s # com_acme_coyote_call_attack ( 1025s # ComAcmeCoyote *proxy, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data) 1025s # { 1025s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1025s # "Attack", 1025s # g_variant_new ("()"), 1025s # G_DBUS_CALL_FLAGS_NONE, 1025s # -1, 1025s # cancellable, 1025s # callback, 1025s # user_data); 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_call_attack_finish: 1025s # * @proxy: A #ComAcmeCoyoteProxy. 1025s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1025s # * @error: Return location for error or %NULL. 1025s # * 1025s # * Finishes an operation started with com_acme_coyote_call_attack(). 1025s # * 1025s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1025s # */ 1025s # gboolean 1025s # com_acme_coyote_call_attack_finish ( 1025s # ComAcmeCoyote *proxy, 1025s # GAsyncResult *res, 1025s # GError **error) 1025s # { 1025s # GVariant *_ret; 1025s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1025s # if (_ret == NULL) 1025s # goto _out; 1025s # g_variant_get (_ret, 1025s # "()"); 1025s # g_variant_unref (_ret); 1025s # _out: 1025s # return _ret != NULL; 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_call_attack_sync: 1025s # * @proxy: A #ComAcmeCoyoteProxy. 1025s # * @cancellable: (nullable): A #GCancellable or %NULL. 1025s # * @error: Return location for error or %NULL. 1025s # * 1025s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1025s # * 1025s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1025s # * 1025s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1025s # */ 1025s # gboolean 1025s # com_acme_coyote_call_attack_sync ( 1025s # ComAcmeCoyote *proxy, 1025s # GCancellable *cancellable, 1025s # GError **error) 1025s # { 1025s # GVariant *_ret; 1025s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1025s # "Attack", 1025s # g_variant_new ("()"), 1025s # G_DBUS_CALL_FLAGS_NONE, 1025s # -1, 1025s # cancellable, 1025s # error); 1025s # if (_ret == NULL) 1025s # goto _out; 1025s # g_variant_get (_ret, 1025s # "()"); 1025s # g_variant_unref (_ret); 1025s # _out: 1025s # return _ret != NULL; 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_complete_run: 1025s # * @object: A #ComAcmeCoyote. 1025s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1025s # * 1025s # * 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. 1025s # * 1025s # * This method will free @invocation, you cannot use it afterwards. 1025s # */ 1025s # void 1025s # com_acme_coyote_complete_run ( 1025s # ComAcmeCoyote *object G_GNUC_UNUSED, 1025s # GDBusMethodInvocation *invocation) 1025s # { 1025s # g_dbus_method_invocation_return_value (invocation, 1025s # g_variant_new ("()")); 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_complete_sleep: 1025s # * @object: A #ComAcmeCoyote. 1025s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1025s # * 1025s # * 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. 1025s # * 1025s # * This method will free @invocation, you cannot use it afterwards. 1025s # */ 1025s # void 1025s # com_acme_coyote_complete_sleep ( 1025s # ComAcmeCoyote *object G_GNUC_UNUSED, 1025s # GDBusMethodInvocation *invocation) 1025s # { 1025s # g_dbus_method_invocation_return_value (invocation, 1025s # g_variant_new ("()")); 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_complete_attack: 1025s # * @object: A #ComAcmeCoyote. 1025s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1025s # * 1025s # * 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. 1025s # * 1025s # * This method will free @invocation, you cannot use it afterwards. 1025s # */ 1025s # void 1025s # com_acme_coyote_complete_attack ( 1025s # ComAcmeCoyote *object G_GNUC_UNUSED, 1025s # GDBusMethodInvocation *invocation) 1025s # { 1025s # g_dbus_method_invocation_return_value (invocation, 1025s # g_variant_new ("()")); 1025s # } 1025s # 1025s # /* ------------------------------------------------------------------------ */ 1025s # 1025s # /** 1025s # * ComAcmeCoyoteProxy: 1025s # * 1025s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1025s # */ 1025s # 1025s # /** 1025s # * ComAcmeCoyoteProxyClass: 1025s # * @parent_class: The parent class. 1025s # * 1025s # * Class structure for #ComAcmeCoyoteProxy. 1025s # */ 1025s # 1025s # struct _ComAcmeCoyoteProxyPrivate 1025s # { 1025s # GData *qdata; 1025s # }; 1025s # 1025s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1025s # 1025s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1025s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1025s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1025s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1025s # 1025s # #else 1025s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1025s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1025s # 1025s # #endif 1025s # static void 1025s # com_acme_coyote_proxy_finalize (GObject *object) 1025s # { 1025s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1025s # g_datalist_clear (&proxy->priv->qdata); 1025s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1025s # } 1025s # 1025s # static void 1025s # com_acme_coyote_proxy_get_property (GObject *object, 1025s # guint prop_id, 1025s # GValue *value, 1025s # GParamSpec *pspec G_GNUC_UNUSED) 1025s # { 1025s # const _ExtendedGDBusPropertyInfo *info; 1025s # GVariant *variant; 1025s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1025s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1025s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1025s # if (info->use_gvariant) 1025s # { 1025s # g_value_set_variant (value, variant); 1025s # } 1025s # else 1025s # { 1025s # if (variant != NULL) 1025s # g_dbus_gvariant_to_gvalue (variant, value); 1025s # } 1025s # if (variant != NULL) 1025s # g_variant_unref (variant); 1025s # } 1025s # 1025s # static void 1025s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1025s # GAsyncResult *res, 1025s # gpointer user_data) 1025s # { 1025s # const _ExtendedGDBusPropertyInfo *info = user_data; 1025s # GError *error; 1025s # GVariant *_ret; 1025s # error = NULL; 1025s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1025s # if (!_ret) 1025s # { 1025s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1025s # info->parent_struct.name, 1025s # error->message, g_quark_to_string (error->domain), error->code); 1025s # g_error_free (error); 1025s # } 1025s # else 1025s # { 1025s # g_variant_unref (_ret); 1025s # } 1025s # } 1025s # 1025s # static void 1025s # com_acme_coyote_proxy_set_property (GObject *object, 1025s # guint prop_id, 1025s # const GValue *value, 1025s # GParamSpec *pspec G_GNUC_UNUSED) 1025s # { 1025s # const _ExtendedGDBusPropertyInfo *info; 1025s # GVariant *variant; 1025s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1025s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1025s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1025s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1025s # "org.freedesktop.DBus.Properties.Set", 1025s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1025s # G_DBUS_CALL_FLAGS_NONE, 1025s # -1, 1025s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1025s # g_variant_unref (variant); 1025s # } 1025s # 1025s # static void 1025s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1025s # const gchar *sender_name G_GNUC_UNUSED, 1025s # const gchar *signal_name, 1025s # GVariant *parameters) 1025s # { 1025s # _ExtendedGDBusSignalInfo *info; 1025s # GVariantIter iter; 1025s # GVariant *child; 1025s # GValue *paramv; 1025s # gsize num_params; 1025s # gsize n; 1025s # guint signal_id; 1025s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1025s # if (info == NULL) 1025s # return; 1025s # num_params = g_variant_n_children (parameters); 1025s # paramv = g_new0 (GValue, num_params + 1); 1025s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1025s # g_value_set_object (¶mv[0], proxy); 1025s # g_variant_iter_init (&iter, parameters); 1025s # n = 1; 1025s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1025s # { 1025s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1025s # if (arg_info->use_gvariant) 1025s # { 1025s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1025s # g_value_set_variant (¶mv[n], child); 1025s # n++; 1025s # } 1025s # else 1025s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1025s # g_variant_unref (child); 1025s # } 1025s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1025s # g_signal_emitv (paramv, signal_id, 0, NULL); 1025s # for (n = 0; n < num_params + 1; n++) 1025s # g_value_unset (¶mv[n]); 1025s # g_free (paramv); 1025s # } 1025s # 1025s # static void 1025s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1025s # GVariant *changed_properties, 1025s # const gchar *const *invalidated_properties) 1025s # { 1025s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1025s # guint n; 1025s # const gchar *key; 1025s # GVariantIter *iter; 1025s # _ExtendedGDBusPropertyInfo *info; 1025s # g_variant_get (changed_properties, "a{sv}", &iter); 1025s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1025s # { 1025s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1025s # g_datalist_remove_data (&proxy->priv->qdata, key); 1025s # if (info != NULL) 1025s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1025s # } 1025s # g_variant_iter_free (iter); 1025s # for (n = 0; invalidated_properties[n] != NULL; n++) 1025s # { 1025s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1025s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1025s # if (info != NULL) 1025s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1025s # } 1025s # } 1025s # 1025s # static const gchar * 1025s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1025s # { 1025s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1025s # GVariant *variant; 1025s # const gchar *value = NULL; 1025s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1025s # if (variant != NULL) 1025s # { 1025s # value = g_variant_get_string (variant, NULL); 1025s # g_variant_unref (variant); 1025s # } 1025s # return value; 1025s # } 1025s # 1025s # static void 1025s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1025s # { 1025s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1025s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1025s # #else 1025s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1025s # #endif 1025s # 1025s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1025s # } 1025s # 1025s # static void 1025s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1025s # { 1025s # GObjectClass *gobject_class; 1025s # GDBusProxyClass *proxy_class; 1025s # 1025s # gobject_class = G_OBJECT_CLASS (klass); 1025s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1025s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1025s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1025s # 1025s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1025s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1025s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1025s # 1025s # com_acme_coyote_override_properties (gobject_class, 1); 1025s # 1025s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1025s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1025s # #endif 1025s # } 1025s # 1025s # static void 1025s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1025s # { 1025s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_proxy_new: 1025s # * @connection: A #GDBusConnection. 1025s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1025s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1025s # * @object_path: An object path. 1025s # * @cancellable: (nullable): A #GCancellable or %NULL. 1025s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1025s # * @user_data: User data to pass to @callback. 1025s # * 1025s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1025s # * 1025s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1025s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1025s # * 1025s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1025s # */ 1025s # void 1025s # com_acme_coyote_proxy_new ( 1025s # GDBusConnection *connection, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data) 1025s # { 1025s # 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); 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_proxy_new_finish: 1025s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1025s # * @error: Return location for error or %NULL 1025s # * 1025s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1025s # * 1025s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1025s # */ 1025s # ComAcmeCoyote * 1025s # com_acme_coyote_proxy_new_finish ( 1025s # GAsyncResult *res, 1025s # GError **error) 1025s # { 1025s # GObject *ret; 1025s # GObject *source_object; 1025s # source_object = g_async_result_get_source_object (res); 1025s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1025s # g_object_unref (source_object); 1025s # if (ret != NULL) 1025s # return COM_ACME_COYOTE (ret); 1025s # else 1025s # return NULL; 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_proxy_new_sync: 1025s # * @connection: A #GDBusConnection. 1025s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1025s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1025s # * @object_path: An object path. 1025s # * @cancellable: (nullable): A #GCancellable or %NULL. 1025s # * @error: Return location for error or %NULL 1025s # * 1025s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1025s # * 1025s # * The calling thread is blocked until a reply is received. 1025s # * 1025s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1025s # * 1025s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1025s # */ 1025s # ComAcmeCoyote * 1025s # com_acme_coyote_proxy_new_sync ( 1025s # GDBusConnection *connection, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GError **error) 1025s # { 1025s # GInitable *ret; 1025s # 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); 1025s # if (ret != NULL) 1025s # return COM_ACME_COYOTE (ret); 1025s # else 1025s # return NULL; 1025s # } 1025s # 1025s # 1025s # /** 1025s # * com_acme_coyote_proxy_new_for_bus: 1025s # * @bus_type: A #GBusType. 1025s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1025s # * @name: A bus name (well-known or unique). 1025s # * @object_path: An object path. 1025s # * @cancellable: (nullable): A #GCancellable or %NULL. 1025s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1025s # * @user_data: User data to pass to @callback. 1025s # * 1025s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1025s # * 1025s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1025s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1025s # * 1025s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1025s # */ 1025s # void 1025s # com_acme_coyote_proxy_new_for_bus ( 1025s # GBusType bus_type, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data) 1025s # { 1025s # 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); 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_proxy_new_for_bus_finish: 1025s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1025s # * @error: Return location for error or %NULL 1025s # * 1025s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1025s # * 1025s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1025s # */ 1025s # ComAcmeCoyote * 1025s # com_acme_coyote_proxy_new_for_bus_finish ( 1025s # GAsyncResult *res, 1025s # GError **error) 1025s # { 1025s # GObject *ret; 1025s # GObject *source_object; 1025s # source_object = g_async_result_get_source_object (res); 1025s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1025s # g_object_unref (source_object); 1025s # if (ret != NULL) 1025s # return COM_ACME_COYOTE (ret); 1025s # else 1025s # return NULL; 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_proxy_new_for_bus_sync: 1025s # * @bus_type: A #GBusType. 1025s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1025s # * @name: A bus name (well-known or unique). 1025s # * @object_path: An object path. 1025s # * @cancellable: (nullable): A #GCancellable or %NULL. 1025s # * @error: Return location for error or %NULL 1025s # * 1025s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1025s # * 1025s # * The calling thread is blocked until a reply is received. 1025s # * 1025s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1025s # * 1025s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1025s # */ 1025s # ComAcmeCoyote * 1025s # com_acme_coyote_proxy_new_for_bus_sync ( 1025s # GBusType bus_type, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GError **error) 1025s # { 1025s # GInitable *ret; 1025s # 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); 1025s # if (ret != NULL) 1025s # return COM_ACME_COYOTE (ret); 1025s # else 1025s # return NULL; 1025s # } 1025s # 1025s # 1025s # /* ------------------------------------------------------------------------ */ 1025s # 1025s # /** 1025s # * ComAcmeCoyoteSkeleton: 1025s # * 1025s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1025s # */ 1025s # 1025s # /** 1025s # * ComAcmeCoyoteSkeletonClass: 1025s # * @parent_class: The parent class. 1025s # * 1025s # * Class structure for #ComAcmeCoyoteSkeleton. 1025s # */ 1025s # 1025s # struct _ComAcmeCoyoteSkeletonPrivate 1025s # { 1025s # GValue *properties; 1025s # GList *changed_properties; 1025s # GSource *changed_properties_idle_source; 1025s # GMainContext *context; 1025s # GMutex lock; 1025s # }; 1025s # 1025s # static void 1025s # _com_acme_coyote_skeleton_handle_method_call ( 1025s # GDBusConnection *connection G_GNUC_UNUSED, 1025s # const gchar *sender G_GNUC_UNUSED, 1025s # const gchar *object_path G_GNUC_UNUSED, 1025s # const gchar *interface_name, 1025s # const gchar *method_name, 1025s # GVariant *parameters, 1025s # GDBusMethodInvocation *invocation, 1025s # gpointer user_data) 1025s # { 1025s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1025s # _ExtendedGDBusMethodInfo *info; 1025s # GVariantIter iter; 1025s # GVariant *child; 1025s # GValue *paramv; 1025s # gsize num_params; 1025s # guint num_extra; 1025s # gsize n; 1025s # guint signal_id; 1025s # GValue return_value = G_VALUE_INIT; 1025s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1025s # g_assert (info != NULL); 1025s # num_params = g_variant_n_children (parameters); 1025s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1025s # n = 0; 1025s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1025s # g_value_set_object (¶mv[n++], skeleton); 1025s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1025s # g_value_set_object (¶mv[n++], invocation); 1025s # if (info->pass_fdlist) 1025s # { 1025s # #ifdef G_OS_UNIX 1025s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1025s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1025s # #else 1025s # g_assert_not_reached (); 1025s # #endif 1025s # } 1025s # g_variant_iter_init (&iter, parameters); 1025s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1025s # { 1025s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1025s # if (arg_info->use_gvariant) 1025s # { 1025s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1025s # g_value_set_variant (¶mv[n], child); 1025s # n++; 1025s # } 1025s # else 1025s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1025s # g_variant_unref (child); 1025s # } 1025s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1025s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1025s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1025s # if (!g_value_get_boolean (&return_value)) 1025s # 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); 1025s # g_value_unset (&return_value); 1025s # for (n = 0; n < num_params + num_extra; n++) 1025s # g_value_unset (¶mv[n]); 1025s # g_free (paramv); 1025s # } 1025s # 1025s # static GVariant * 1025s # _com_acme_coyote_skeleton_handle_get_property ( 1025s # GDBusConnection *connection G_GNUC_UNUSED, 1025s # const gchar *sender G_GNUC_UNUSED, 1025s # const gchar *object_path G_GNUC_UNUSED, 1025s # const gchar *interface_name G_GNUC_UNUSED, 1025s # const gchar *property_name, 1025s # GError **error, 1025s # gpointer user_data) 1025s # { 1025s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1025s # GValue value = G_VALUE_INIT; 1025s # GParamSpec *pspec; 1025s # _ExtendedGDBusPropertyInfo *info; 1025s # GVariant *ret; 1025s # ret = NULL; 1025s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1025s # g_assert (info != NULL); 1025s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1025s # if (pspec == NULL) 1025s # { 1025s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1025s # } 1025s # else 1025s # { 1025s # g_value_init (&value, pspec->value_type); 1025s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1025s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1025s # g_value_unset (&value); 1025s # } 1025s # return ret; 1025s # } 1025s # 1025s # static gboolean 1025s # _com_acme_coyote_skeleton_handle_set_property ( 1025s # GDBusConnection *connection G_GNUC_UNUSED, 1025s # const gchar *sender G_GNUC_UNUSED, 1025s # const gchar *object_path G_GNUC_UNUSED, 1025s # const gchar *interface_name G_GNUC_UNUSED, 1025s # const gchar *property_name, 1025s # GVariant *variant, 1025s # GError **error, 1025s # gpointer user_data) 1025s # { 1025s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1025s # GValue value = G_VALUE_INIT; 1025s # GParamSpec *pspec; 1025s # _ExtendedGDBusPropertyInfo *info; 1025s # gboolean ret; 1025s # ret = FALSE; 1025s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1025s # g_assert (info != NULL); 1025s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1025s # if (pspec == NULL) 1025s # { 1025s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1025s # } 1025s # else 1025s # { 1025s # if (info->use_gvariant) 1025s # g_value_set_variant (&value, variant); 1025s # else 1025s # g_dbus_gvariant_to_gvalue (variant, &value); 1025s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1025s # g_value_unset (&value); 1025s # ret = TRUE; 1025s # } 1025s # return ret; 1025s # } 1025s # 1025s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1025s # { 1025s # _com_acme_coyote_skeleton_handle_method_call, 1025s # _com_acme_coyote_skeleton_handle_get_property, 1025s # _com_acme_coyote_skeleton_handle_set_property, 1025s # {NULL} 1025s # }; 1025s # 1025s # static GDBusInterfaceInfo * 1025s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1025s # { 1025s # return com_acme_coyote_interface_info (); 1025s # } 1025s # 1025s # static GDBusInterfaceVTable * 1025s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1025s # { 1025s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1025s # } 1025s # 1025s # static GVariant * 1025s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1025s # { 1025s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1025s # 1025s # GVariantBuilder builder; 1025s # guint n; 1025s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1025s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1025s # goto out; 1025s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1025s # { 1025s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1025s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1025s # { 1025s # GVariant *value; 1025s # 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); 1025s # if (value != NULL) 1025s # { 1025s # g_variant_take_ref (value); 1025s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1025s # g_variant_unref (value); 1025s # } 1025s # } 1025s # } 1025s # out: 1025s # return g_variant_builder_end (&builder); 1025s # } 1025s # 1025s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1025s # 1025s # static void 1025s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1025s # { 1025s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1025s # gboolean emit_changed = FALSE; 1025s # 1025s # g_mutex_lock (&skeleton->priv->lock); 1025s # if (skeleton->priv->changed_properties_idle_source != NULL) 1025s # { 1025s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1025s # skeleton->priv->changed_properties_idle_source = NULL; 1025s # emit_changed = TRUE; 1025s # } 1025s # g_mutex_unlock (&skeleton->priv->lock); 1025s # 1025s # if (emit_changed) 1025s # _com_acme_coyote_emit_changed (skeleton); 1025s # } 1025s # 1025s # static void 1025s # _com_acme_coyote_on_signal_surprised ( 1025s # ComAcmeCoyote *object) 1025s # { 1025s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1025s # 1025s # GList *connections, *l; 1025s # GVariant *signal_variant; 1025s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1025s # 1025s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1025s # for (l = connections; l != NULL; l = l->next) 1025s # { 1025s # GDBusConnection *connection = l->data; 1025s # g_dbus_connection_emit_signal (connection, 1025s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1025s # signal_variant, NULL); 1025s # } 1025s # g_variant_unref (signal_variant); 1025s # g_list_free_full (connections, g_object_unref); 1025s # } 1025s # 1025s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1025s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1025s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1025s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1025s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1025s # 1025s # #else 1025s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1025s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1025s # 1025s # #endif 1025s # static void 1025s # com_acme_coyote_skeleton_finalize (GObject *object) 1025s # { 1025s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1025s # guint n; 1025s # for (n = 0; n < 1; n++) 1025s # g_value_unset (&skeleton->priv->properties[n]); 1025s # g_free (skeleton->priv->properties); 1025s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1025s # if (skeleton->priv->changed_properties_idle_source != NULL) 1025s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1025s # g_main_context_unref (skeleton->priv->context); 1025s # g_mutex_clear (&skeleton->priv->lock); 1025s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1025s # } 1025s # 1025s # static void 1025s # com_acme_coyote_skeleton_get_property (GObject *object, 1025s # guint prop_id, 1025s # GValue *value, 1025s # GParamSpec *pspec G_GNUC_UNUSED) 1025s # { 1025s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1025s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1025s # g_mutex_lock (&skeleton->priv->lock); 1025s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1025s # g_mutex_unlock (&skeleton->priv->lock); 1025s # } 1025s # 1025s # static gboolean 1025s # _com_acme_coyote_emit_changed (gpointer user_data) 1025s # { 1025s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1025s # GList *l; 1025s # GVariantBuilder builder; 1025s # GVariantBuilder invalidated_builder; 1025s # guint num_changes; 1025s # 1025s # g_mutex_lock (&skeleton->priv->lock); 1025s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1025s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1025s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1025s # { 1025s # ChangedProperty *cp = l->data; 1025s # GVariant *variant; 1025s # const GValue *cur_value; 1025s # 1025s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1025s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1025s # { 1025s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1025s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1025s # g_variant_unref (variant); 1025s # num_changes++; 1025s # } 1025s # } 1025s # if (num_changes > 0) 1025s # { 1025s # GList *connections, *ll; 1025s # GVariant *signal_variant; 1025s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1025s # &builder, &invalidated_builder)); 1025s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1025s # for (ll = connections; ll != NULL; ll = ll->next) 1025s # { 1025s # GDBusConnection *connection = ll->data; 1025s # 1025s # g_dbus_connection_emit_signal (connection, 1025s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1025s # "org.freedesktop.DBus.Properties", 1025s # "PropertiesChanged", 1025s # signal_variant, 1025s # NULL); 1025s # } 1025s # g_variant_unref (signal_variant); 1025s # g_list_free_full (connections, g_object_unref); 1025s # } 1025s # else 1025s # { 1025s # g_variant_builder_clear (&builder); 1025s # g_variant_builder_clear (&invalidated_builder); 1025s # } 1025s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1025s # skeleton->priv->changed_properties = NULL; 1025s # skeleton->priv->changed_properties_idle_source = NULL; 1025s # g_mutex_unlock (&skeleton->priv->lock); 1025s # return FALSE; 1025s # } 1025s # 1025s # static void 1025s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1025s # { 1025s # ChangedProperty *cp; 1025s # GList *l; 1025s # cp = NULL; 1025s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1025s # { 1025s # ChangedProperty *i_cp = l->data; 1025s # if (i_cp->info == info) 1025s # { 1025s # cp = i_cp; 1025s # break; 1025s # } 1025s # } 1025s # if (cp == NULL) 1025s # { 1025s # cp = g_new0 (ChangedProperty, 1); 1025s # cp->prop_id = prop_id; 1025s # cp->info = info; 1025s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1025s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1025s # g_value_copy (orig_value, &cp->orig_value); 1025s # } 1025s # } 1025s # 1025s # static void 1025s # com_acme_coyote_skeleton_notify (GObject *object, 1025s # GParamSpec *pspec G_GNUC_UNUSED) 1025s # { 1025s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1025s # g_mutex_lock (&skeleton->priv->lock); 1025s # if (skeleton->priv->changed_properties != NULL && 1025s # skeleton->priv->changed_properties_idle_source == NULL) 1025s # { 1025s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1025s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1025s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1025s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1025s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1025s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1025s # } 1025s # g_mutex_unlock (&skeleton->priv->lock); 1025s # } 1025s # 1025s # static void 1025s # com_acme_coyote_skeleton_set_property (GObject *object, 1025s # guint prop_id, 1025s # const GValue *value, 1025s # GParamSpec *pspec) 1025s # { 1025s # const _ExtendedGDBusPropertyInfo *info; 1025s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1025s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1025s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1025s # g_mutex_lock (&skeleton->priv->lock); 1025s # g_object_freeze_notify (object); 1025s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1025s # { 1025s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1025s # info->emits_changed_signal) 1025s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1025s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1025s # g_object_notify_by_pspec (object, pspec); 1025s # } 1025s # g_mutex_unlock (&skeleton->priv->lock); 1025s # g_object_thaw_notify (object); 1025s # } 1025s # 1025s # static void 1025s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1025s # { 1025s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1025s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1025s # #else 1025s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1025s # #endif 1025s # 1025s # g_mutex_init (&skeleton->priv->lock); 1025s # skeleton->priv->context = g_main_context_ref_thread_default (); 1025s # skeleton->priv->properties = g_new0 (GValue, 1); 1025s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1025s # } 1025s # 1025s # static const gchar * 1025s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1025s # { 1025s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1025s # const gchar *value; 1025s # g_mutex_lock (&skeleton->priv->lock); 1025s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1025s # g_mutex_unlock (&skeleton->priv->lock); 1025s # return value; 1025s # } 1025s # 1025s # static void 1025s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1025s # { 1025s # GObjectClass *gobject_class; 1025s # GDBusInterfaceSkeletonClass *skeleton_class; 1025s # 1025s # gobject_class = G_OBJECT_CLASS (klass); 1025s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1025s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1025s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1025s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1025s # 1025s # 1025s # com_acme_coyote_override_properties (gobject_class, 1); 1025s # 1025s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1025s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1025s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1025s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1025s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1025s # 1025s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1025s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1025s # #endif 1025s # } 1025s # 1025s # static void 1025s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1025s # { 1025s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1025s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_skeleton_new: 1025s # * 1025s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1025s # * 1025s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1025s # */ 1025s # ComAcmeCoyote * 1025s # com_acme_coyote_skeleton_new (void) 1025s # { 1025s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1025s # } 1025s # 1025s # /* ------------------------------------------------------------------------ 1025s # * Code for interface org.project.Bar.Frobnicator 1025s # * ------------------------------------------------------------------------ 1025s # */ 1025s # 1025s # /** 1025s # * SECTION:OrgProjectBarFrobnicator 1025s # * @title: OrgProjectBarFrobnicator 1025s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1025s # * 1025s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1025s # */ 1025s # 1025s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1025s # 1025s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1025s # { 1025s # { 1025s # -1, 1025s # (gchar *) "RandomMethod", 1025s # NULL, 1025s # NULL, 1025s # NULL 1025s # }, 1025s # "handle-random-method", 1025s # FALSE 1025s # }; 1025s # 1025s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1025s # { 1025s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1025s # NULL 1025s # }; 1025s # 1025s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1025s # { 1025s # { 1025s # -1, 1025s # (gchar *) "org.project.Bar.Frobnicator", 1025s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1025s # NULL, 1025s # NULL, 1025s # NULL 1025s # }, 1025s # "org-project-bar-frobnicator", 1025s # }; 1025s # 1025s # 1025s # /** 1025s # * org_project_bar_frobnicator_interface_info: 1025s # * 1025s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1025s # * 1025s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1025s # */ 1025s # GDBusInterfaceInfo * 1025s # org_project_bar_frobnicator_interface_info (void) 1025s # { 1025s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1025s # } 1025s # 1025s # /** 1025s # * org_project_bar_frobnicator_override_properties: 1025s # * @klass: The class structure for a #GObject derived class. 1025s # * @property_id_begin: The property id to assign to the first overridden property. 1025s # * 1025s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1025s # * The properties are overridden in the order they are defined. 1025s # * 1025s # * Returns: The last property id. 1025s # */ 1025s # guint 1025s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1025s # { 1025s # return property_id_begin - 1; 1025s # } 1025s # 1025s # 1025s # inline static void 1025s # org_project_bar_frobnicator_method_marshal_random_method ( 1025s # GClosure *closure, 1025s # GValue *return_value, 1025s # unsigned int n_param_values, 1025s # const GValue *param_values, 1025s # void *invocation_hint, 1025s # void *marshal_data) 1025s # { 1025s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1025s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1025s # } 1025s # 1025s # 1025s # /** 1025s # * OrgProjectBarFrobnicator: 1025s # * 1025s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1025s # */ 1025s # 1025s # /** 1025s # * OrgProjectBarFrobnicatorIface: 1025s # * @parent_iface: The parent interface. 1025s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1025s # * 1025s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1025s # */ 1025s # 1025s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1025s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1025s # 1025s # static void 1025s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1025s # { 1025s # /* GObject signals for incoming D-Bus method calls: */ 1025s # /** 1025s # * OrgProjectBarFrobnicator::handle-random-method: 1025s # * @object: A #OrgProjectBarFrobnicator. 1025s # * @invocation: A #GDBusMethodInvocation. 1025s # * 1025s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1025s # * 1025s # * 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. 1025s # * 1025s # * 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. 1025s # */ 1025s # g_signal_new ("handle-random-method", 1025s # G_TYPE_FROM_INTERFACE (iface), 1025s # G_SIGNAL_RUN_LAST, 1025s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1025s # g_signal_accumulator_true_handled, 1025s # NULL, 1025s # org_project_bar_frobnicator_method_marshal_random_method, 1025s # G_TYPE_BOOLEAN, 1025s # 1, 1025s # G_TYPE_DBUS_METHOD_INVOCATION); 1025s # 1025s # } 1025s # 1025s # /** 1025s # * org_project_bar_frobnicator_call_random_method: 1025s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1025s # * @cancellable: (nullable): A #GCancellable or %NULL. 1025s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1025s # * @user_data: User data to pass to @callback. 1025s # * 1025s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1025s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1025s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1025s # * 1025s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1025s # */ 1025s # void 1025s # org_project_bar_frobnicator_call_random_method ( 1025s # OrgProjectBarFrobnicator *proxy, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data) 1025s # { 1025s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1025s # "RandomMethod", 1025s # g_variant_new ("()"), 1025s # G_DBUS_CALL_FLAGS_NONE, 1025s # -1, 1025s # cancellable, 1025s # callback, 1025s # user_data); 1025s # } 1025s # 1025s # /** 1025s # * org_project_bar_frobnicator_call_random_method_finish: 1025s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1025s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1025s # * @error: Return location for error or %NULL. 1025s # * 1025s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1025s # * 1025s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1025s # */ 1025s # gboolean 1025s # org_project_bar_frobnicator_call_random_method_finish ( 1025s # OrgProjectBarFrobnicator *proxy, 1025s # GAsyncResult *res, 1025s # GError **error) 1025s # { 1025s # GVariant *_ret; 1025s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1025s # if (_ret == NULL) 1025s # goto _out; 1025s # g_variant_get (_ret, 1025s # "()"); 1025s # g_variant_unref (_ret); 1025s # _out: 1025s # return _ret != NULL; 1025s # } 1025s # 1025s # /** 1025s # * org_project_bar_frobnicator_call_random_method_sync: 1025s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1025s # * @cancellable: (nullable): A #GCancellable or %NULL. 1025s # * @error: Return location for error or %NULL. 1025s # * 1025s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1025s # * 1025s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1025s # * 1025s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1025s # */ 1025s # gboolean 1025s # org_project_bar_frobnicator_call_random_method_sync ( 1025s # OrgProjectBarFrobnicator *proxy, 1025s # GCancellable *cancellable, 1025s # GError **error) 1025s # { 1025s # GVariant *_ret; 1025s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1025s # "RandomMethod", 1025s # g_variant_new ("()"), 1025s # G_DBUS_CALL_FLAGS_NONE, 1025s # -1, 1025s # cancellable, 1025s # error); 1025s # if (_ret == NULL) 1025s # goto _out; 1025s # g_variant_get (_ret, 1025s # "()"); 1025s # g_variant_unref (_ret); 1025s # _out: 1025s # return _ret != NULL; 1025s # } 1025s # 1025s # /** 1025s # * org_project_bar_frobnicator_complete_random_method: 1025s # * @object: A #OrgProjectBarFrobnicator. 1025s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1025s # * 1025s # * 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. 1025s # * 1025s # * This method will free @invocation, you cannot use it afterwards. 1025s # */ 1025s # void 1025s # org_project_bar_frobnicator_complete_random_method ( 1025s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1025s # GDBusMethodInvocation *invocation) 1025s # { 1025s # g_dbus_method_invocation_return_value (invocation, 1025s # g_variant_new ("()")); 1025s # } 1025s # 1025s # /* ------------------------------------------------------------------------ */ 1025s # 1025s # /** 1025s # * OrgProjectBarFrobnicatorProxy: 1025s # * 1025s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1025s # */ 1025s # 1025s # /** 1025s # * OrgProjectBarFrobnicatorProxyClass: 1025s # * @parent_class: The parent class. 1025s # * 1025s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1025s # */ 1025s # 1025s # struct _OrgProjectBarFrobnicatorProxyPrivate 1025s # { 1025s # GData *qdata; 1025s # }; 1025s # 1025s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1025s # 1025s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1025s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1025s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1025s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1025s # 1025s # #else 1025s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1025s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1025s # 1025s # #endif 1025s # static void 1025s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1025s # { 1025s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1025s # g_datalist_clear (&proxy->priv->qdata); 1025s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1025s # } 1025s # 1025s # static void 1025s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1025s # guint prop_id G_GNUC_UNUSED, 1025s # GValue *value G_GNUC_UNUSED, 1025s # GParamSpec *pspec G_GNUC_UNUSED) 1025s # { 1025s # } 1025s # 1025s # static void 1025s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1025s # guint prop_id G_GNUC_UNUSED, 1025s # const GValue *value G_GNUC_UNUSED, 1025s # GParamSpec *pspec G_GNUC_UNUSED) 1025s # { 1025s # } 1025s # 1025s # static void 1025s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1025s # const gchar *sender_name G_GNUC_UNUSED, 1025s # const gchar *signal_name, 1025s # GVariant *parameters) 1025s # { 1025s # _ExtendedGDBusSignalInfo *info; 1025s # GVariantIter iter; 1025s # GVariant *child; 1025s # GValue *paramv; 1025s # gsize num_params; 1025s # gsize n; 1025s # guint signal_id; 1025s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1025s # if (info == NULL) 1025s # return; 1025s # num_params = g_variant_n_children (parameters); 1025s # paramv = g_new0 (GValue, num_params + 1); 1025s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1025s # g_value_set_object (¶mv[0], proxy); 1025s # g_variant_iter_init (&iter, parameters); 1025s # n = 1; 1025s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1025s # { 1025s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1025s # if (arg_info->use_gvariant) 1025s # { 1025s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1025s # g_value_set_variant (¶mv[n], child); 1025s # n++; 1025s # } 1025s # else 1025s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1025s # g_variant_unref (child); 1025s # } 1025s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1025s # g_signal_emitv (paramv, signal_id, 0, NULL); 1025s # for (n = 0; n < num_params + 1; n++) 1025s # g_value_unset (¶mv[n]); 1025s # g_free (paramv); 1025s # } 1025s # 1025s # static void 1025s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1025s # GVariant *changed_properties, 1025s # const gchar *const *invalidated_properties) 1025s # { 1025s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1025s # guint n; 1025s # const gchar *key; 1025s # GVariantIter *iter; 1025s # _ExtendedGDBusPropertyInfo *info; 1025s # g_variant_get (changed_properties, "a{sv}", &iter); 1025s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1025s # { 1025s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1025s # g_datalist_remove_data (&proxy->priv->qdata, key); 1025s # if (info != NULL) 1025s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1025s # } 1025s # g_variant_iter_free (iter); 1025s # for (n = 0; invalidated_properties[n] != NULL; n++) 1025s # { 1025s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1025s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1025s # if (info != NULL) 1025s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1025s # } 1025s # } 1025s # 1025s # static void 1025s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1025s # { 1025s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1025s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1025s # #else 1025s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1025s # #endif 1025s # 1025s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1025s # } 1025s # 1025s # static void 1025s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1025s # { 1025s # GObjectClass *gobject_class; 1025s # GDBusProxyClass *proxy_class; 1025s # 1025s # gobject_class = G_OBJECT_CLASS (klass); 1025s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1025s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1025s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1025s # 1025s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1025s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1025s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1025s # 1025s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1025s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1025s # #endif 1025s # } 1025s # 1025s # static void 1025s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1025s # { 1025s # } 1025s # 1025s # /** 1025s # * org_project_bar_frobnicator_proxy_new: 1025s # * @connection: A #GDBusConnection. 1025s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1025s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1025s # * @object_path: An object path. 1025s # * @cancellable: (nullable): A #GCancellable or %NULL. 1025s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1025s # * @user_data: User data to pass to @callback. 1025s # * 1025s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1025s # * 1025s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1025s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1025s # * 1025s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1025s # */ 1025s # void 1025s # org_project_bar_frobnicator_proxy_new ( 1025s # GDBusConnection *connection, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data) 1025s # { 1025s # 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); 1025s # } 1025s # 1025s # /** 1025s # * org_project_bar_frobnicator_proxy_new_finish: 1025s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1025s # * @error: Return location for error or %NULL 1025s # * 1025s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1025s # * 1025s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1025s # */ 1025s # OrgProjectBarFrobnicator * 1025s # org_project_bar_frobnicator_proxy_new_finish ( 1025s # GAsyncResult *res, 1025s # GError **error) 1025s # { 1025s # GObject *ret; 1025s # GObject *source_object; 1025s # source_object = g_async_result_get_source_object (res); 1025s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1025s # g_object_unref (source_object); 1025s # if (ret != NULL) 1025s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1025s # else 1025s # return NULL; 1025s # } 1025s # 1025s # /** 1025s # * org_project_bar_frobnicator_proxy_new_sync: 1025s # * @connection: A #GDBusConnection. 1025s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1025s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1025s # * @object_path: An object path. 1025s # * @cancellable: (nullable): A #GCancellable or %NULL. 1025s # * @error: Return location for error or %NULL 1025s # * 1025s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1025s # * 1025s # * The calling thread is blocked until a reply is received. 1025s # * 1025s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1025s # * 1025s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1025s # */ 1025s # OrgProjectBarFrobnicator * 1025s # org_project_bar_frobnicator_proxy_new_sync ( 1025s # GDBusConnection *connection, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GError **error) 1025s # { 1025s # GInitable *ret; 1025s # 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); 1025s # if (ret != NULL) 1025s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1025s # else 1025s # return NULL; 1025s # } 1025s # 1025s # 1025s # /** 1025s # * org_project_bar_frobnicator_proxy_new_for_bus: 1025s # * @bus_type: A #GBusType. 1025s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1025s # * @name: A bus name (well-known or unique). 1025s # * @object_path: An object path. 1025s # * @cancellable: (nullable): A #GCancellable or %NULL. 1025s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1025s # * @user_data: User data to pass to @callback. 1025s # * 1025s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1025s # * 1025s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1025s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1025s # * 1025s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1025s # */ 1025s # void 1025s # org_project_bar_frobnicator_proxy_new_for_bus ( 1025s # GBusType bus_type, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data) 1025s # { 1025s # 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); 1025s # } 1025s # 1025s # /** 1025s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1025s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1025s # * @error: Return location for error or %NULL 1025s # * 1025s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1025s # * 1025s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1025s # */ 1025s # OrgProjectBarFrobnicator * 1025s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1025s # GAsyncResult *res, 1025s # GError **error) 1025s # { 1025s # GObject *ret; 1025s # GObject *source_object; 1025s # source_object = g_async_result_get_source_object (res); 1025s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1025s # g_object_unref (source_object); 1025s # if (ret != NULL) 1025s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1025s # else 1025s # return NULL; 1025s # } 1025s # 1025s # /** 1025s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1025s # * @bus_type: A #GBusType. 1025s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1025s # * @name: A bus name (well-known or unique). 1025s # * @object_path: An object path. 1025s # * @cancellable: (nullable): A #GCancellable or %NULL. 1025s # * @error: Return location for error or %NULL 1025s # * 1025s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1025s # * 1025s # * The calling thread is blocked until a reply is received. 1025s # * 1025s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1025s # * 1025s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1025s # */ 1025s # OrgProjectBarFrobnicator * 1025s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1025s # GBusType bus_type, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GError **error) 1025s # { 1025s # GInitable *ret; 1025s # 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); 1025s # if (ret != NULL) 1025s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1025s # else 1025s # return NULL; 1025s # } 1025s # 1025s # 1025s # /* ------------------------------------------------------------------------ */ 1025s # 1025s # /** 1025s # * OrgProjectBarFrobnicatorSkeleton: 1025s # * 1025s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1025s # */ 1025s # 1025s # /** 1025s # * OrgProjectBarFrobnicatorSkeletonClass: 1025s # * @parent_class: The parent class. 1025s # * 1025s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1025s # */ 1025s # 1025s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1025s # { 1025s # GValue *properties; 1025s # GList *changed_properties; 1025s # GSource *changed_properties_idle_source; 1025s # GMainContext *context; 1025s # GMutex lock; 1025s # }; 1025s # 1025s # static void 1025s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1025s # GDBusConnection *connection G_GNUC_UNUSED, 1025s # const gchar *sender G_GNUC_UNUSED, 1025s # const gchar *object_path G_GNUC_UNUSED, 1025s # const gchar *interface_name, 1025s # const gchar *method_name, 1025s # GVariant *parameters, 1025s # GDBusMethodInvocation *invocation, 1025s # gpointer user_data) 1025s # { 1025s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1025s # _ExtendedGDBusMethodInfo *info; 1025s # GVariantIter iter; 1025s # GVariant *child; 1025s # GValue *paramv; 1025s # gsize num_params; 1025s # guint num_extra; 1025s # gsize n; 1025s # guint signal_id; 1025s # GValue return_value = G_VALUE_INIT; 1025s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1025s # g_assert (info != NULL); 1025s # num_params = g_variant_n_children (parameters); 1025s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1025s # n = 0; 1025s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1025s # g_value_set_object (¶mv[n++], skeleton); 1025s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1025s # g_value_set_object (¶mv[n++], invocation); 1025s # if (info->pass_fdlist) 1025s # { 1025s # #ifdef G_OS_UNIX 1025s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1025s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1025s # #else 1025s # g_assert_not_reached (); 1025s # #endif 1025s # } 1025s # g_variant_iter_init (&iter, parameters); 1025s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1025s # { 1025s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1025s # if (arg_info->use_gvariant) 1025s # { 1025s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1025s # g_value_set_variant (¶mv[n], child); 1025s # n++; 1025s # } 1025s # else 1025s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1025s # g_variant_unref (child); 1025s # } 1025s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1025s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1025s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1025s # if (!g_value_get_boolean (&return_value)) 1025s # 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); 1025s # g_value_unset (&return_value); 1025s # for (n = 0; n < num_params + num_extra; n++) 1025s # g_value_unset (¶mv[n]); 1025s # g_free (paramv); 1025s # } 1025s # 1025s # static GVariant * 1025s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1025s # GDBusConnection *connection G_GNUC_UNUSED, 1025s # const gchar *sender G_GNUC_UNUSED, 1025s # const gchar *object_path G_GNUC_UNUSED, 1025s # const gchar *interface_name G_GNUC_UNUSED, 1025s # const gchar *property_name, 1025s # GError **error, 1025s # gpointer user_data) 1025s # { 1025s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1025s # GValue value = G_VALUE_INIT; 1025s # GParamSpec *pspec; 1025s # _ExtendedGDBusPropertyInfo *info; 1025s # GVariant *ret; 1025s # ret = NULL; 1025s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1025s # g_assert (info != NULL); 1025s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1025s # if (pspec == NULL) 1025s # { 1025s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1025s # } 1025s # else 1025s # { 1025s # g_value_init (&value, pspec->value_type); 1025s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1025s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1025s # g_value_unset (&value); 1025s # } 1025s # return ret; 1025s # } 1025s # 1025s # static gboolean 1025s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1025s # GDBusConnection *connection G_GNUC_UNUSED, 1025s # const gchar *sender G_GNUC_UNUSED, 1025s # const gchar *object_path G_GNUC_UNUSED, 1025s # const gchar *interface_name G_GNUC_UNUSED, 1025s # const gchar *property_name, 1025s # GVariant *variant, 1025s # GError **error, 1025s # gpointer user_data) 1025s # { 1025s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1025s # GValue value = G_VALUE_INIT; 1025s # GParamSpec *pspec; 1025s # _ExtendedGDBusPropertyInfo *info; 1025s # gboolean ret; 1025s # ret = FALSE; 1025s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1025s # g_assert (info != NULL); 1025s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1025s # if (pspec == NULL) 1025s # { 1025s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1025s # } 1025s # else 1025s # { 1025s # if (info->use_gvariant) 1025s # g_value_set_variant (&value, variant); 1025s # else 1025s # g_dbus_gvariant_to_gvalue (variant, &value); 1025s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1025s # g_value_unset (&value); 1025s # ret = TRUE; 1025s # } 1025s # return ret; 1025s # } 1025s # 1025s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1025s # { 1025s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1025s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1025s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1025s # {NULL} 1025s # }; 1025s # 1025s # static GDBusInterfaceInfo * 1025s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1025s # { 1025s # return org_project_bar_frobnicator_interface_info (); 1025s # } 1025s # 1025s # static GDBusInterfaceVTable * 1025s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1025s # { 1025s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1025s # } 1025s # 1025s # static GVariant * 1025s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1025s # { 1025s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1025s # 1025s # GVariantBuilder builder; 1025s # guint n; 1025s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1025s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1025s # goto out; 1025s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1025s # { 1025s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1025s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1025s # { 1025s # GVariant *value; 1025s # 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); 1025s # if (value != NULL) 1025s # { 1025s # g_variant_take_ref (value); 1025s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1025s # g_variant_unref (value); 1025s # } 1025s # } 1025s # } 1025s # out: 1025s # return g_variant_builder_end (&builder); 1025s # } 1025s # 1025s # static void 1025s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1025s # { 1025s # } 1025s # 1025s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1025s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1025s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1025s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1025s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1025s # 1025s # #else 1025s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1025s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1025s # 1025s # #endif 1025s # static void 1025s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1025s # { 1025s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1025s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1025s # if (skeleton->priv->changed_properties_idle_source != NULL) 1025s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1025s # g_main_context_unref (skeleton->priv->context); 1025s # g_mutex_clear (&skeleton->priv->lock); 1025s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1025s # } 1025s # 1025s # static void 1025s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1025s # { 1025s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1025s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1025s # #else 1025s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1025s # #endif 1025s # 1025s # g_mutex_init (&skeleton->priv->lock); 1025s # skeleton->priv->context = g_main_context_ref_thread_default (); 1025s # } 1025s # 1025s # static void 1025s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1025s # { 1025s # GObjectClass *gobject_class; 1025s # GDBusInterfaceSkeletonClass *skeleton_class; 1025s # 1025s # gobject_class = G_OBJECT_CLASS (klass); 1025s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1025s # 1025s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1025s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1025s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1025s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1025s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1025s # 1025s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1025s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1025s # #endif 1025s # } 1025s # 1025s # static void 1025s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1025s # { 1025s # } 1025s # 1025s # /** 1025s # * org_project_bar_frobnicator_skeleton_new: 1025s # * 1025s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1025s # * 1025s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1025s # */ 1025s # OrgProjectBarFrobnicator * 1025s # org_project_bar_frobnicator_skeleton_new (void) 1025s # { 1025s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1025s # } 1025s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_e98krem/tmphriful252.xml', '/tmp/tmp_e98krem/tmpeb2bijdb1.xml', '--output', '-', '--body'] 1025s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1025s # Output: /* 1025s # * This file is generated by gdbus-codegen, do not modify it. 1025s # * 1025s # * The license of this code is the same as for the D-Bus interface description 1025s # * it was derived from. Note that it links to GLib, so must comply with the 1025s # * LGPL linking clauses. 1025s # */ 1025s # 1025s # #ifdef HAVE_CONFIG_H 1025s # # include "config.h" 1025s # #endif 1025s # 1025s # #include 1025s # #ifdef G_OS_UNIX 1025s # # include 1025s # #endif 1025s # 1025s # #ifdef G_ENABLE_DEBUG 1025s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1025s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1025s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1025s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1025s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1025s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1025s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1025s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1025s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1025s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1025s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1025s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1025s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1025s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1025s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1025s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1025s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1025s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1025s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1025s # #else /* !G_ENABLE_DEBUG */ 1025s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1025s # * Do not access GValues directly in your code. Instead, use the 1025s # * g_value_get_*() functions 1025s # */ 1025s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1025s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1025s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1025s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1025s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1025s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1025s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1025s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1025s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1025s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1025s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1025s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1025s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1025s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1025s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1025s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1025s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1025s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1025s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1025s # #endif /* !G_ENABLE_DEBUG */ 1025s # 1025s # typedef struct 1025s # { 1025s # GDBusArgInfo parent_struct; 1025s # gboolean use_gvariant; 1025s # } _ExtendedGDBusArgInfo; 1025s # 1025s # typedef struct 1025s # { 1025s # GDBusMethodInfo parent_struct; 1025s # const gchar *signal_name; 1025s # gboolean pass_fdlist; 1025s # } _ExtendedGDBusMethodInfo; 1025s # 1025s # typedef struct 1025s # { 1025s # GDBusSignalInfo parent_struct; 1025s # const gchar *signal_name; 1025s # } _ExtendedGDBusSignalInfo; 1025s # 1025s # typedef struct 1025s # { 1025s # GDBusPropertyInfo parent_struct; 1025s # const gchar *hyphen_name; 1025s # guint use_gvariant : 1; 1025s # guint emits_changed_signal : 1; 1025s # } _ExtendedGDBusPropertyInfo; 1025s # 1025s # typedef struct 1025s # { 1025s # GDBusInterfaceInfo parent_struct; 1025s # const gchar *hyphen_name; 1025s # } _ExtendedGDBusInterfaceInfo; 1025s # 1025s # typedef struct 1025s # { 1025s # const _ExtendedGDBusPropertyInfo *info; 1025s # guint prop_id; 1025s # GValue orig_value; /* the value before the change */ 1025s # } ChangedProperty; 1025s # 1025s # static void 1025s # _changed_property_free (ChangedProperty *data) 1025s # { 1025s # g_value_unset (&data->orig_value); 1025s # g_free (data); 1025s # } 1025s # 1025s # static gboolean 1025s # _g_strv_equal0 (gchar **a, gchar **b) 1025s # { 1025s # gboolean ret = FALSE; 1025s # guint n; 1025s # if (a == NULL && b == NULL) 1025s # { 1025s # ret = TRUE; 1025s # goto out; 1025s # } 1025s # if (a == NULL || b == NULL) 1025s # goto out; 1025s # if (g_strv_length (a) != g_strv_length (b)) 1025s # goto out; 1025s # for (n = 0; a[n] != NULL; n++) 1025s # if (g_strcmp0 (a[n], b[n]) != 0) 1025s # goto out; 1025s # ret = TRUE; 1025s # out: 1025s # return ret; 1025s # } 1025s # 1025s # static gboolean 1025s # _g_variant_equal0 (GVariant *a, GVariant *b) 1025s # { 1025s # gboolean ret = FALSE; 1025s # if (a == NULL && b == NULL) 1025s # { 1025s # ret = TRUE; 1025s # goto out; 1025s # } 1025s # if (a == NULL || b == NULL) 1025s # goto out; 1025s # ret = g_variant_equal (a, b); 1025s # out: 1025s # return ret; 1025s # } 1025s # 1025s # G_GNUC_UNUSED static gboolean 1025s # _g_value_equal (const GValue *a, const GValue *b) 1025s # { 1025s # gboolean ret = FALSE; 1025s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1025s # switch (G_VALUE_TYPE (a)) 1025s # { 1025s # case G_TYPE_BOOLEAN: 1025s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1025s # break; 1025s # case G_TYPE_UCHAR: 1025s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1025s # break; 1025s # case G_TYPE_INT: 1025s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1025s # break; 1025s # case G_TYPE_UINT: 1025s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1025s # break; 1025s # case G_TYPE_INT64: 1025s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1025s # break; 1025s # case G_TYPE_UINT64: 1025s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1025s # break; 1025s # case G_TYPE_DOUBLE: 1025s # { 1025s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1025s # gdouble da = g_value_get_double (a); 1025s # gdouble db = g_value_get_double (b); 1025s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1025s # } 1025s # break; 1025s # case G_TYPE_STRING: 1025s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1025s # break; 1025s # case G_TYPE_VARIANT: 1025s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1025s # break; 1025s # default: 1025s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1025s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1025s # else 1025s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1025s # break; 1025s # } 1025s # return ret; 1025s # } 1025s # 1025s # static void 1025s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1025s # GClosure *closure, 1025s # GValue *return_value, 1025s # unsigned int n_param_values, 1025s # const GValue *param_values, 1025s # void *invocation_hint G_GNUC_UNUSED, 1025s # void *marshal_data) 1025s # { 1025s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1025s # (void *data1, 1025s # GDBusMethodInvocation *arg_method_invocation, 1025s # void *data2); 1025s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1025s # GCClosure *cc = (GCClosure*) closure; 1025s # void *data1, *data2; 1025s # gboolean v_return; 1025s # 1025s # g_return_if_fail (return_value != NULL); 1025s # g_return_if_fail (n_param_values == 2); 1025s # 1025s # if (G_CCLOSURE_SWAP_DATA (closure)) 1025s # { 1025s # data1 = closure->data; 1025s # data2 = g_value_peek_pointer (param_values + 0); 1025s # } 1025s # else 1025s # { 1025s # data1 = g_value_peek_pointer (param_values + 0); 1025s # data2 = closure->data; 1025s # } 1025s # 1025s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1025s # (marshal_data ? marshal_data : cc->callback); 1025s # 1025s # v_return = 1025s # callback (data1, 1025s # g_marshal_value_peek_object (param_values + 1), 1025s # data2); 1025s # 1025s # g_value_set_boolean (return_value, v_return); 1025s # } 1025s # 1025s # /* ------------------------------------------------------------------------ 1025s # * Code for interface com.acme.Coyote 1025s # * ------------------------------------------------------------------------ 1025s # */ 1025s # 1025s # /** 1025s # * SECTION:ComAcmeCoyote 1025s # * @title: ComAcmeCoyote 1025s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1025s # * 1025s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1025s # */ 1025s # 1025s # enum 1025s # { 1025s # _COM_ACME_COYOTE_SURPRISED, 1025s # }; 1025s # 1025s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1025s # 1025s # /* ---- Introspection data for com.acme.Coyote ---- */ 1025s # 1025s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1025s # { 1025s # { 1025s # -1, 1025s # (gchar *) "Run", 1025s # NULL, 1025s # NULL, 1025s # NULL 1025s # }, 1025s # "handle-run", 1025s # FALSE 1025s # }; 1025s # 1025s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1025s # { 1025s # { 1025s # -1, 1025s # (gchar *) "Sleep", 1025s # NULL, 1025s # NULL, 1025s # NULL 1025s # }, 1025s # "handle-sleep", 1025s # FALSE 1025s # }; 1025s # 1025s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1025s # { 1025s # { 1025s # -1, 1025s # (gchar *) "Attack", 1025s # NULL, 1025s # NULL, 1025s # NULL 1025s # }, 1025s # "handle-attack", 1025s # FALSE 1025s # }; 1025s # 1025s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1025s # { 1025s # &_com_acme_coyote_method_info_run.parent_struct, 1025s # &_com_acme_coyote_method_info_sleep.parent_struct, 1025s # &_com_acme_coyote_method_info_attack.parent_struct, 1025s # NULL 1025s # }; 1025s # 1025s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1025s # { 1025s # { 1025s # -1, 1025s # (gchar *) "Surprised", 1025s # NULL, 1025s # NULL 1025s # }, 1025s # "surprised" 1025s # }; 1025s # 1025s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1025s # { 1025s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1025s # NULL 1025s # }; 1025s # 1025s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1025s # { 1025s # { 1025s # -1, 1025s # (gchar *) "Mood", 1025s # (gchar *) "s", 1025s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1025s # NULL 1025s # }, 1025s # "mood", 1025s # FALSE, 1025s # TRUE 1025s # }; 1025s # 1025s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1025s # { 1025s # &_com_acme_coyote_property_info_mood.parent_struct, 1025s # NULL 1025s # }; 1025s # 1025s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1025s # { 1025s # { 1025s # -1, 1025s # (gchar *) "com.acme.Coyote", 1025s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1025s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1025s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1025s # NULL 1025s # }, 1025s # "com-acme-coyote", 1025s # }; 1025s # 1025s # 1025s # /** 1025s # * com_acme_coyote_interface_info: 1025s # * 1025s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1025s # * 1025s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1025s # */ 1025s # GDBusInterfaceInfo * 1025s # com_acme_coyote_interface_info (void) 1025s # { 1025s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_override_properties: 1025s # * @klass: The class structure for a #GObject derived class. 1025s # * @property_id_begin: The property id to assign to the first overridden property. 1025s # * 1025s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1025s # * The properties are overridden in the order they are defined. 1025s # * 1025s # * Returns: The last property id. 1025s # */ 1025s # guint 1025s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1025s # { 1025s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1025s # return property_id_begin - 1; 1025s # } 1025s # 1025s # 1025s # inline static void 1025s # com_acme_coyote_signal_marshal_surprised ( 1025s # GClosure *closure, 1025s # GValue *return_value, 1025s # unsigned int n_param_values, 1025s # const GValue *param_values, 1025s # void *invocation_hint, 1025s # void *marshal_data) 1025s # { 1025s # g_cclosure_marshal_VOID__VOID (closure, 1025s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1025s # } 1025s # 1025s # inline static void 1025s # com_acme_coyote_method_marshal_run ( 1025s # GClosure *closure, 1025s # GValue *return_value, 1025s # unsigned int n_param_values, 1025s # const GValue *param_values, 1025s # void *invocation_hint, 1025s # void *marshal_data) 1025s # { 1025s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1025s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1025s # } 1025s # 1025s # inline static void 1025s # com_acme_coyote_method_marshal_sleep ( 1025s # GClosure *closure, 1025s # GValue *return_value, 1025s # unsigned int n_param_values, 1025s # const GValue *param_values, 1025s # void *invocation_hint, 1025s # void *marshal_data) 1025s # { 1025s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1025s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1025s # } 1025s # 1025s # inline static void 1025s # com_acme_coyote_method_marshal_attack ( 1025s # GClosure *closure, 1025s # GValue *return_value, 1025s # unsigned int n_param_values, 1025s # const GValue *param_values, 1025s # void *invocation_hint, 1025s # void *marshal_data) 1025s # { 1025s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1025s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1025s # } 1025s # 1025s # 1025s # /** 1025s # * ComAcmeCoyote: 1025s # * 1025s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1025s # */ 1025s # 1025s # /** 1025s # * ComAcmeCoyoteIface: 1025s # * @parent_iface: The parent interface. 1025s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1025s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1025s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1025s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1025s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1025s # * 1025s # * Virtual table for the D-Bus interface com.acme.Coyote. 1025s # */ 1025s # 1025s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1025s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1025s # 1025s # static void 1025s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1025s # { 1025s # /* GObject signals for incoming D-Bus method calls: */ 1025s # /** 1025s # * ComAcmeCoyote::handle-run: 1025s # * @object: A #ComAcmeCoyote. 1025s # * @invocation: A #GDBusMethodInvocation. 1025s # * 1025s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1025s # * 1025s # * 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. 1025s # * 1025s # * 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. 1025s # */ 1025s # g_signal_new ("handle-run", 1025s # G_TYPE_FROM_INTERFACE (iface), 1025s # G_SIGNAL_RUN_LAST, 1025s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1025s # g_signal_accumulator_true_handled, 1025s # NULL, 1025s # com_acme_coyote_method_marshal_run, 1025s # G_TYPE_BOOLEAN, 1025s # 1, 1025s # G_TYPE_DBUS_METHOD_INVOCATION); 1025s # 1025s # /** 1025s # * ComAcmeCoyote::handle-sleep: 1025s # * @object: A #ComAcmeCoyote. 1025s # * @invocation: A #GDBusMethodInvocation. 1025s # * 1025s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1025s # * 1025s # * 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. 1025s # * 1025s # * 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. 1025s # */ 1025s # g_signal_new ("handle-sleep", 1025s # G_TYPE_FROM_INTERFACE (iface), 1025s # G_SIGNAL_RUN_LAST, 1025s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1025s # g_signal_accumulator_true_handled, 1025s # NULL, 1025s # com_acme_coyote_method_marshal_sleep, 1025s # G_TYPE_BOOLEAN, 1025s # 1, 1025s # G_TYPE_DBUS_METHOD_INVOCATION); 1025s # 1025s # /** 1025s # * ComAcmeCoyote::handle-attack: 1025s # * @object: A #ComAcmeCoyote. 1025s # * @invocation: A #GDBusMethodInvocation. 1025s # * 1025s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1025s # * 1025s # * 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. 1025s # * 1025s # * 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. 1025s # */ 1025s # g_signal_new ("handle-attack", 1025s # G_TYPE_FROM_INTERFACE (iface), 1025s # G_SIGNAL_RUN_LAST, 1025s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1025s # g_signal_accumulator_true_handled, 1025s # NULL, 1025s # com_acme_coyote_method_marshal_attack, 1025s # G_TYPE_BOOLEAN, 1025s # 1, 1025s # G_TYPE_DBUS_METHOD_INVOCATION); 1025s # 1025s # /* GObject signals for received D-Bus signals: */ 1025s # /** 1025s # * ComAcmeCoyote::surprised: 1025s # * @object: A #ComAcmeCoyote. 1025s # * 1025s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1025s # * 1025s # * 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. 1025s # */ 1025s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1025s # g_signal_new ("surprised", 1025s # G_TYPE_FROM_INTERFACE (iface), 1025s # G_SIGNAL_RUN_LAST, 1025s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1025s # NULL, 1025s # NULL, 1025s # com_acme_coyote_signal_marshal_surprised, 1025s # G_TYPE_NONE, 1025s # 0); 1025s # 1025s # /* GObject properties for D-Bus properties: */ 1025s # /** 1025s # * ComAcmeCoyote:mood: 1025s # * 1025s # * Represents the D-Bus property "Mood". 1025s # * 1025s # * 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. 1025s # */ 1025s # g_object_interface_install_property (iface, 1025s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_get_mood: (skip) 1025s # * @object: A #ComAcmeCoyote. 1025s # * 1025s # * Gets the value of the "Mood" D-Bus property. 1025s # * 1025s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1025s # * 1025s # * 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. 1025s # * 1025s # * 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. 1025s # */ 1025s # const gchar * 1025s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1025s # { 1025s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1025s # 1025s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_dup_mood: (skip) 1025s # * @object: A #ComAcmeCoyote. 1025s # * 1025s # * Gets a copy of the "Mood" D-Bus property. 1025s # * 1025s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1025s # * 1025s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1025s # */ 1025s # gchar * 1025s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1025s # { 1025s # gchar *value; 1025s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1025s # return value; 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_set_mood: (skip) 1025s # * @object: A #ComAcmeCoyote. 1025s # * @value: The value to set. 1025s # * 1025s # * Sets the "Mood" D-Bus property to @value. 1025s # * 1025s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1025s # */ 1025s # void 1025s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1025s # { 1025s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_emit_surprised: 1025s # * @object: A #ComAcmeCoyote. 1025s # * 1025s # * Emits the "Surprised" D-Bus signal. 1025s # */ 1025s # void 1025s # com_acme_coyote_emit_surprised ( 1025s # ComAcmeCoyote *object) 1025s # { 1025s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_call_run: 1025s # * @proxy: A #ComAcmeCoyoteProxy. 1025s # * @cancellable: (nullable): A #GCancellable or %NULL. 1025s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1025s # * @user_data: User data to pass to @callback. 1025s # * 1025s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1025s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1025s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1025s # * 1025s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1025s # */ 1025s # void 1025s # com_acme_coyote_call_run ( 1025s # ComAcmeCoyote *proxy, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data) 1025s # { 1025s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1025s # "Run", 1025s # g_variant_new ("()"), 1025s # G_DBUS_CALL_FLAGS_NONE, 1025s # -1, 1025s # cancellable, 1025s # callback, 1025s # user_data); 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_call_run_finish: 1025s # * @proxy: A #ComAcmeCoyoteProxy. 1025s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1025s # * @error: Return location for error or %NULL. 1025s # * 1025s # * Finishes an operation started with com_acme_coyote_call_run(). 1025s # * 1025s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1025s # */ 1025s # gboolean 1025s # com_acme_coyote_call_run_finish ( 1025s # ComAcmeCoyote *proxy, 1025s # GAsyncResult *res, 1025s # GError **error) 1025s # { 1025s # GVariant *_ret; 1025s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1025s # if (_ret == NULL) 1025s # goto _out; 1025s # g_variant_get (_ret, 1025s # "()"); 1025s # g_variant_unref (_ret); 1025s # _out: 1025s # return _ret != NULL; 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_call_run_sync: 1025s # * @proxy: A #ComAcmeCoyoteProxy. 1025s # * @cancellable: (nullable): A #GCancellable or %NULL. 1025s # * @error: Return location for error or %NULL. 1025s # * 1025s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1025s # * 1025s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1025s # * 1025s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1025s # */ 1025s # gboolean 1025s # com_acme_coyote_call_run_sync ( 1025s # ComAcmeCoyote *proxy, 1025s # GCancellable *cancellable, 1025s # GError **error) 1025s # { 1025s # GVariant *_ret; 1025s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1025s # "Run", 1025s # g_variant_new ("()"), 1025s # G_DBUS_CALL_FLAGS_NONE, 1025s # -1, 1025s # cancellable, 1025s # error); 1025s # if (_ret == NULL) 1025s # goto _out; 1025s # g_variant_get (_ret, 1025s # "()"); 1025s # g_variant_unref (_ret); 1025s # _out: 1025s # return _ret != NULL; 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_call_sleep: 1025s # * @proxy: A #ComAcmeCoyoteProxy. 1025s # * @cancellable: (nullable): A #GCancellable or %NULL. 1025s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1025s # * @user_data: User data to pass to @callback. 1025s # * 1025s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1025s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1025s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1025s # * 1025s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1025s # */ 1025s # void 1025s # com_acme_coyote_call_sleep ( 1025s # ComAcmeCoyote *proxy, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data) 1025s # { 1025s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1025s # "Sleep", 1025s # g_variant_new ("()"), 1025s # G_DBUS_CALL_FLAGS_NONE, 1025s # -1, 1025s # cancellable, 1025s # callback, 1025s # user_data); 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_call_sleep_finish: 1025s # * @proxy: A #ComAcmeCoyoteProxy. 1025s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1025s # * @error: Return location for error or %NULL. 1025s # * 1025s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1025s # * 1025s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1025s # */ 1025s # gboolean 1025s # com_acme_coyote_call_sleep_finish ( 1025s # ComAcmeCoyote *proxy, 1025s # GAsyncResult *res, 1025s # GError **error) 1025s # { 1025s # GVariant *_ret; 1025s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1025s # if (_ret == NULL) 1025s # goto _out; 1025s # g_variant_get (_ret, 1025s # "()"); 1025s # g_variant_unref (_ret); 1025s # _out: 1025s # return _ret != NULL; 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_call_sleep_sync: 1025s # * @proxy: A #ComAcmeCoyoteProxy. 1025s # * @cancellable: (nullable): A #GCancellable or %NULL. 1025s # * @error: Return location for error or %NULL. 1025s # * 1025s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1025s # * 1025s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1025s # * 1025s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1025s # */ 1025s # gboolean 1025s # com_acme_coyote_call_sleep_sync ( 1025s # ComAcmeCoyote *proxy, 1025s # GCancellable *cancellable, 1025s # GError **error) 1025s # { 1025s # GVariant *_ret; 1025s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1025s # "Sleep", 1025s # g_variant_new ("()"), 1025s # G_DBUS_CALL_FLAGS_NONE, 1025s # -1, 1025s # cancellable, 1025s # error); 1025s # if (_ret == NULL) 1025s # goto _out; 1025s # g_variant_get (_ret, 1025s # "()"); 1025s # g_variant_unref (_ret); 1025s # _out: 1025s # return _ret != NULL; 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_call_attack: 1025s # * @proxy: A #ComAcmeCoyoteProxy. 1025s # * @cancellable: (nullable): A #GCancellable or %NULL. 1025s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1025s # * @user_data: User data to pass to @callback. 1025s # * 1025s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1025s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1025s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1025s # * 1025s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1025s # */ 1025s # void 1025s # com_acme_coyote_call_attack ( 1025s # ComAcmeCoyote *proxy, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data) 1025s # { 1025s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1025s # "Attack", 1025s # g_variant_new ("()"), 1025s # G_DBUS_CALL_FLAGS_NONE, 1025s # -1, 1025s # cancellable, 1025s # callback, 1025s # user_data); 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_call_attack_finish: 1025s # * @proxy: A #ComAcmeCoyoteProxy. 1025s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1025s # * @error: Return location for error or %NULL. 1025s # * 1025s # * Finishes an operation started with com_acme_coyote_call_attack(). 1025s # * 1025s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1025s # */ 1025s # gboolean 1025s # com_acme_coyote_call_attack_finish ( 1025s # ComAcmeCoyote *proxy, 1025s # GAsyncResult *res, 1025s # GError **error) 1025s # { 1025s # GVariant *_ret; 1025s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1025s # if (_ret == NULL) 1025s # goto _out; 1025s # g_variant_get (_ret, 1025s # "()"); 1025s # g_variant_unref (_ret); 1025s # _out: 1025s # return _ret != NULL; 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_call_attack_sync: 1025s # * @proxy: A #ComAcmeCoyoteProxy. 1025s # * @cancellable: (nullable): A #GCancellable or %NULL. 1025s # * @error: Return location for error or %NULL. 1025s # * 1025s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1025s # * 1025s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1025s # * 1025s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1025s # */ 1025s # gboolean 1025s # com_acme_coyote_call_attack_sync ( 1025s # ComAcmeCoyote *proxy, 1025s # GCancellable *cancellable, 1025s # GError **error) 1025s # { 1025s # GVariant *_ret; 1025s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1025s # "Attack", 1025s # g_variant_new ("()"), 1025s # G_DBUS_CALL_FLAGS_NONE, 1025s # -1, 1025s # cancellable, 1025s # error); 1025s # if (_ret == NULL) 1025s # goto _out; 1025s # g_variant_get (_ret, 1025s # "()"); 1025s # g_variant_unref (_ret); 1025s # _out: 1025s # return _ret != NULL; 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_complete_run: 1025s # * @object: A #ComAcmeCoyote. 1025s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1025s # * 1025s # * 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. 1025s # * 1025s # * This method will free @invocation, you cannot use it afterwards. 1025s # */ 1025s # void 1025s # com_acme_coyote_complete_run ( 1025s # ComAcmeCoyote *object G_GNUC_UNUSED, 1025s # GDBusMethodInvocation *invocation) 1025s # { 1025s # g_dbus_method_invocation_return_value (invocation, 1025s # g_variant_new ("()")); 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_complete_sleep: 1025s # * @object: A #ComAcmeCoyote. 1025s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1025s # * 1025s # * 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. 1025s # * 1025s # * This method will free @invocation, you cannot use it afterwards. 1025s # */ 1025s # void 1025s # com_acme_coyote_complete_sleep ( 1025s # ComAcmeCoyote *object G_GNUC_UNUSED, 1025s # GDBusMethodInvocation *invocation) 1025s # { 1025s # g_dbus_method_invocation_return_value (invocation, 1025s # g_variant_new ("()")); 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_complete_attack: 1025s # * @object: A #ComAcmeCoyote. 1025s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1025s # * 1025s # * 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. 1025s # * 1025s # * This method will free @invocation, you cannot use it afterwards. 1025s # */ 1025s # void 1025s # com_acme_coyote_complete_attack ( 1025s # ComAcmeCoyote *object G_GNUC_UNUSED, 1025s # GDBusMethodInvocation *invocation) 1025s # { 1025s # g_dbus_method_invocation_return_value (invocation, 1025s # g_variant_new ("()")); 1025s # } 1025s # 1025s # /* ------------------------------------------------------------------------ */ 1025s # 1025s # /** 1025s # * ComAcmeCoyoteProxy: 1025s # * 1025s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1025s # */ 1025s # 1025s # /** 1025s # * ComAcmeCoyoteProxyClass: 1025s # * @parent_class: The parent class. 1025s # * 1025s # * Class structure for #ComAcmeCoyoteProxy. 1025s # */ 1025s # 1025s # struct _ComAcmeCoyoteProxyPrivate 1025s # { 1025s # GData *qdata; 1025s # }; 1025s # 1025s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1025s # 1025s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1025s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1025s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1025s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1025s # 1025s # #else 1025s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1025s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1025s # 1025s # #endif 1025s # static void 1025s # com_acme_coyote_proxy_finalize (GObject *object) 1025s # { 1025s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1025s # g_datalist_clear (&proxy->priv->qdata); 1025s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1025s # } 1025s # 1025s # static void 1025s # com_acme_coyote_proxy_get_property (GObject *object, 1025s # guint prop_id, 1025s # GValue *value, 1025s # GParamSpec *pspec G_GNUC_UNUSED) 1025s # { 1025s # const _ExtendedGDBusPropertyInfo *info; 1025s # GVariant *variant; 1025s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1025s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1025s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1025s # if (info->use_gvariant) 1025s # { 1025s # g_value_set_variant (value, variant); 1025s # } 1025s # else 1025s # { 1025s # if (variant != NULL) 1025s # g_dbus_gvariant_to_gvalue (variant, value); 1025s # } 1025s # if (variant != NULL) 1025s # g_variant_unref (variant); 1025s # } 1025s # 1025s # static void 1025s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1025s # GAsyncResult *res, 1025s # gpointer user_data) 1025s # { 1025s # const _ExtendedGDBusPropertyInfo *info = user_data; 1025s # GError *error; 1025s # GVariant *_ret; 1025s # error = NULL; 1025s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1025s # if (!_ret) 1025s # { 1025s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1025s # info->parent_struct.name, 1025s # error->message, g_quark_to_string (error->domain), error->code); 1025s # g_error_free (error); 1025s # } 1025s # else 1025s # { 1025s # g_variant_unref (_ret); 1025s # } 1025s # } 1025s # 1025s # static void 1025s # com_acme_coyote_proxy_set_property (GObject *object, 1025s # guint prop_id, 1025s # const GValue *value, 1025s # GParamSpec *pspec G_GNUC_UNUSED) 1025s # { 1025s # const _ExtendedGDBusPropertyInfo *info; 1025s # GVariant *variant; 1025s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1025s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1025s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1025s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1025s # "org.freedesktop.DBus.Properties.Set", 1025s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1025s # G_DBUS_CALL_FLAGS_NONE, 1025s # -1, 1025s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1025s # g_variant_unref (variant); 1025s # } 1025s # 1025s # static void 1025s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1025s # const gchar *sender_name G_GNUC_UNUSED, 1025s # const gchar *signal_name, 1025s # GVariant *parameters) 1025s # { 1025s # _ExtendedGDBusSignalInfo *info; 1025s # GVariantIter iter; 1025s # GVariant *child; 1025s # GValue *paramv; 1025s # gsize num_params; 1025s # gsize n; 1025s # guint signal_id; 1025s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1025s # if (info == NULL) 1025s # return; 1025s # num_params = g_variant_n_children (parameters); 1025s # paramv = g_new0 (GValue, num_params + 1); 1025s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1025s # g_value_set_object (¶mv[0], proxy); 1025s # g_variant_iter_init (&iter, parameters); 1025s # n = 1; 1025s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1025s # { 1025s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1025s # if (arg_info->use_gvariant) 1025s # { 1025s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1025s # g_value_set_variant (¶mv[n], child); 1025s # n++; 1025s # } 1025s # else 1025s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1025s # g_variant_unref (child); 1025s # } 1025s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1025s # g_signal_emitv (paramv, signal_id, 0, NULL); 1025s # for (n = 0; n < num_params + 1; n++) 1025s # g_value_unset (¶mv[n]); 1025s # g_free (paramv); 1025s # } 1025s # 1025s # static void 1025s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1025s # GVariant *changed_properties, 1025s # const gchar *const *invalidated_properties) 1025s # { 1025s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1025s # guint n; 1025s # const gchar *key; 1025s # GVariantIter *iter; 1025s # _ExtendedGDBusPropertyInfo *info; 1025s # g_variant_get (changed_properties, "a{sv}", &iter); 1025s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1025s # { 1025s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1025s # g_datalist_remove_data (&proxy->priv->qdata, key); 1025s # if (info != NULL) 1025s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1025s # } 1025s # g_variant_iter_free (iter); 1025s # for (n = 0; invalidated_properties[n] != NULL; n++) 1025s # { 1025s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1025s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1025s # if (info != NULL) 1025s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1025s # } 1025s # } 1025s # 1025s # static const gchar * 1025s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1025s # { 1025s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1025s # GVariant *variant; 1025s # const gchar *value = NULL; 1025s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1025s # if (variant != NULL) 1025s # { 1025s # value = g_variant_get_string (variant, NULL); 1025s # g_variant_unref (variant); 1025s # } 1025s # return value; 1025s # } 1025s # 1025s # static void 1025s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1025s # { 1025s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1025s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1025s # #else 1025s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1025s # #endif 1025s # 1025s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1025s # } 1025s # 1025s # static void 1025s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1025s # { 1025s # GObjectClass *gobject_class; 1025s # GDBusProxyClass *proxy_class; 1025s # 1025s # gobject_class = G_OBJECT_CLASS (klass); 1025s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1025s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1025s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1025s # 1025s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1025s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1025s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1025s # 1025s # com_acme_coyote_override_properties (gobject_class, 1); 1025s # 1025s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1025s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1025s # #endif 1025s # } 1025s # 1025s # static void 1025s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1025s # { 1025s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_proxy_new: 1025s # * @connection: A #GDBusConnection. 1025s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1025s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1025s # * @object_path: An object path. 1025s # * @cancellable: (nullable): A #GCancellable or %NULL. 1025s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1025s # * @user_data: User data to pass to @callback. 1025s # * 1025s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1025s # * 1025s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1025s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1025s # * 1025s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1025s # */ 1025s # void 1025s # com_acme_coyote_proxy_new ( 1025s # GDBusConnection *connection, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data) 1025s # { 1025s # 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); 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_proxy_new_finish: 1025s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1025s # * @error: Return location for error or %NULL 1025s # * 1025s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1025s # * 1025s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1025s # */ 1025s # ComAcmeCoyote * 1025s # com_acme_coyote_proxy_new_finish ( 1025s # GAsyncResult *res, 1025s # GError **error) 1025s # { 1025s # GObject *ret; 1025s # GObject *source_object; 1025s # source_object = g_async_result_get_source_object (res); 1025s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1025s # g_object_unref (source_object); 1025s # if (ret != NULL) 1025s # return COM_ACME_COYOTE (ret); 1025s # else 1025s # return NULL; 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_proxy_new_sync: 1025s # * @connection: A #GDBusConnection. 1025s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1025s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1025s # * @object_path: An object path. 1025s # * @cancellable: (nullable): A #GCancellable or %NULL. 1025s # * @error: Return location for error or %NULL 1025s # * 1025s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1025s # * 1025s # * The calling thread is blocked until a reply is received. 1025s # * 1025s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1025s # * 1025s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1025s # */ 1025s # ComAcmeCoyote * 1025s # com_acme_coyote_proxy_new_sync ( 1025s # GDBusConnection *connection, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GError **error) 1025s # { 1025s # GInitable *ret; 1025s # 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); 1025s # if (ret != NULL) 1025s # return COM_ACME_COYOTE (ret); 1025s # else 1025s # return NULL; 1025s # } 1025s # 1025s # 1025s # /** 1025s # * com_acme_coyote_proxy_new_for_bus: 1025s # * @bus_type: A #GBusType. 1025s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1025s # * @name: A bus name (well-known or unique). 1025s # * @object_path: An object path. 1025s # * @cancellable: (nullable): A #GCancellable or %NULL. 1025s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1025s # * @user_data: User data to pass to @callback. 1025s # * 1025s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1025s # * 1025s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1025s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1025s # * 1025s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1025s # */ 1025s # void 1025s # com_acme_coyote_proxy_new_for_bus ( 1025s # GBusType bus_type, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data) 1025s # { 1025s # 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); 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_proxy_new_for_bus_finish: 1025s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1025s # * @error: Return location for error or %NULL 1025s # * 1025s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1025s # * 1025s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1025s # */ 1025s # ComAcmeCoyote * 1025s # com_acme_coyote_proxy_new_for_bus_finish ( 1025s # GAsyncResult *res, 1025s # GError **error) 1025s # { 1025s # GObject *ret; 1025s # GObject *source_object; 1025s # source_object = g_async_result_get_source_object (res); 1025s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1025s # g_object_unref (source_object); 1025s # if (ret != NULL) 1025s # return COM_ACME_COYOTE (ret); 1025s # else 1025s # return NULL; 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_proxy_new_for_bus_sync: 1025s # * @bus_type: A #GBusType. 1025s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1025s # * @name: A bus name (well-known or unique). 1025s # * @object_path: An object path. 1025s # * @cancellable: (nullable): A #GCancellable or %NULL. 1025s # * @error: Return location for error or %NULL 1025s # * 1025s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1025s # * 1025s # * The calling thread is blocked until a reply is received. 1025s # * 1025s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1025s # * 1025s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1025s # */ 1025s # ComAcmeCoyote * 1025s # com_acme_coyote_proxy_new_for_bus_sync ( 1025s # GBusType bus_type, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GError **error) 1025s # { 1025s # GInitable *ret; 1025s # 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); 1025s # if (ret != NULL) 1025s # return COM_ACME_COYOTE (ret); 1025s # else 1025s # return NULL; 1025s # } 1025s # 1025s # 1025s # /* ------------------------------------------------------------------------ */ 1025s # 1025s # /** 1025s # * ComAcmeCoyoteSkeleton: 1025s # * 1025s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1025s # */ 1025s # 1025s # /** 1025s # * ComAcmeCoyoteSkeletonClass: 1025s # * @parent_class: The parent class. 1025s # * 1025s # * Class structure for #ComAcmeCoyoteSkeleton. 1025s # */ 1025s # 1025s # struct _ComAcmeCoyoteSkeletonPrivate 1025s # { 1025s # GValue *properties; 1025s # GList *changed_properties; 1025s # GSource *changed_properties_idle_source; 1025s # GMainContext *context; 1025s # GMutex lock; 1025s # }; 1025s # 1025s # static void 1025s # _com_acme_coyote_skeleton_handle_method_call ( 1025s # GDBusConnection *connection G_GNUC_UNUSED, 1025s # const gchar *sender G_GNUC_UNUSED, 1025s # const gchar *object_path G_GNUC_UNUSED, 1025s # const gchar *interface_name, 1025s # const gchar *method_name, 1025s # GVariant *parameters, 1025s # GDBusMethodInvocation *invocation, 1025s # gpointer user_data) 1025s # { 1025s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1025s # _ExtendedGDBusMethodInfo *info; 1025s # GVariantIter iter; 1025s # GVariant *child; 1025s # GValue *paramv; 1025s # gsize num_params; 1025s # guint num_extra; 1025s # gsize n; 1025s # guint signal_id; 1025s # GValue return_value = G_VALUE_INIT; 1025s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1025s # g_assert (info != NULL); 1025s # num_params = g_variant_n_children (parameters); 1025s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1025s # n = 0; 1025s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1025s # g_value_set_object (¶mv[n++], skeleton); 1025s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1025s # g_value_set_object (¶mv[n++], invocation); 1025s # if (info->pass_fdlist) 1025s # { 1025s # #ifdef G_OS_UNIX 1025s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1025s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1025s # #else 1025s # g_assert_not_reached (); 1025s # #endif 1025s # } 1025s # g_variant_iter_init (&iter, parameters); 1025s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1025s # { 1025s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1025s # if (arg_info->use_gvariant) 1025s # { 1025s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1025s # g_value_set_variant (¶mv[n], child); 1025s # n++; 1025s # } 1025s # else 1025s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1025s # g_variant_unref (child); 1025s # } 1025s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1025s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1025s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1025s # if (!g_value_get_boolean (&return_value)) 1025s # 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); 1025s # g_value_unset (&return_value); 1025s # for (n = 0; n < num_params + num_extra; n++) 1025s # g_value_unset (¶mv[n]); 1025s # g_free (paramv); 1025s # } 1025s # 1025s # static GVariant * 1025s # _com_acme_coyote_skeleton_handle_get_property ( 1025s # GDBusConnection *connection G_GNUC_UNUSED, 1025s # const gchar *sender G_GNUC_UNUSED, 1025s # const gchar *object_path G_GNUC_UNUSED, 1025s # const gchar *interface_name G_GNUC_UNUSED, 1025s # const gchar *property_name, 1025s # GError **error, 1025s # gpointer user_data) 1025s # { 1025s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1025s # GValue value = G_VALUE_INIT; 1025s # GParamSpec *pspec; 1025s # _ExtendedGDBusPropertyInfo *info; 1025s # GVariant *ret; 1025s # ret = NULL; 1025s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1025s # g_assert (info != NULL); 1025s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1025s # if (pspec == NULL) 1025s # { 1025s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1025s # } 1025s # else 1025s # { 1025s # g_value_init (&value, pspec->value_type); 1025s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1025s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1025s # g_value_unset (&value); 1025s # } 1025s # return ret; 1025s # } 1025s # 1025s # static gboolean 1025s # _com_acme_coyote_skeleton_handle_set_property ( 1025s # GDBusConnection *connection G_GNUC_UNUSED, 1025s # const gchar *sender G_GNUC_UNUSED, 1025s # const gchar *object_path G_GNUC_UNUSED, 1025s # const gchar *interface_name G_GNUC_UNUSED, 1025s # const gchar *property_name, 1025s # GVariant *variant, 1025s # GError **error, 1025s # gpointer user_data) 1025s # { 1025s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1025s # GValue value = G_VALUE_INIT; 1025s # GParamSpec *pspec; 1025s # _ExtendedGDBusPropertyInfo *info; 1025s # gboolean ret; 1025s # ret = FALSE; 1025s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1025s # g_assert (info != NULL); 1025s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1025s # if (pspec == NULL) 1025s # { 1025s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1025s # } 1025s # else 1025s # { 1025s # if (info->use_gvariant) 1025s # g_value_set_variant (&value, variant); 1025s # else 1025s # g_dbus_gvariant_to_gvalue (variant, &value); 1025s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1025s # g_value_unset (&value); 1025s # ret = TRUE; 1025s # } 1025s # return ret; 1025s # } 1025s # 1025s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1025s # { 1025s # _com_acme_coyote_skeleton_handle_method_call, 1025s # _com_acme_coyote_skeleton_handle_get_property, 1025s # _com_acme_coyote_skeleton_handle_set_property, 1025s # {NULL} 1025s # }; 1025s # 1025s # static GDBusInterfaceInfo * 1025s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1025s # { 1025s # return com_acme_coyote_interface_info (); 1025s # } 1025s # 1025s # static GDBusInterfaceVTable * 1025s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1025s # { 1025s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1025s # } 1025s # 1025s # static GVariant * 1025s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1025s # { 1025s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1025s # 1025s # GVariantBuilder builder; 1025s # guint n; 1025s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1025s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1025s # goto out; 1025s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1025s # { 1025s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1025s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1025s # { 1025s # GVariant *value; 1025s # 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); 1025s # if (value != NULL) 1025s # { 1025s # g_variant_take_ref (value); 1025s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1025s # g_variant_unref (value); 1025s # } 1025s # } 1025s # } 1025s # out: 1025s # return g_variant_builder_end (&builder); 1025s # } 1025s # 1025s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1025s # 1025s # static void 1025s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1025s # { 1025s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1025s # gboolean emit_changed = FALSE; 1025s # 1025s # g_mutex_lock (&skeleton->priv->lock); 1025s # if (skeleton->priv->changed_properties_idle_source != NULL) 1025s # { 1025s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1025s # skeleton->priv->changed_properties_idle_source = NULL; 1025s # emit_changed = TRUE; 1025s # } 1025s # g_mutex_unlock (&skeleton->priv->lock); 1025s # 1025s # if (emit_changed) 1025s # _com_acme_coyote_emit_changed (skeleton); 1025s # } 1025s # 1025s # static void 1025s # _com_acme_coyote_on_signal_surprised ( 1025s # ComAcmeCoyote *object) 1025s # { 1025s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1025s # 1025s # GList *connections, *l; 1025s # GVariant *signal_variant; 1025s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1025s # 1025s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1025s # for (l = connections; l != NULL; l = l->next) 1025s # { 1025s # GDBusConnection *connection = l->data; 1025s # g_dbus_connection_emit_signal (connection, 1025s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1025s # signal_variant, NULL); 1025s # } 1025s # g_variant_unref (signal_variant); 1025s # g_list_free_full (connections, g_object_unref); 1025s # } 1025s # 1025s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1025s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1025s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1025s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1025s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1025s # 1025s # #else 1025s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1025s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1025s # 1025s # #endif 1025s # static void 1025s # com_acme_coyote_skeleton_finalize (GObject *object) 1025s # { 1025s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1025s # guint n; 1025s # for (n = 0; n < 1; n++) 1025s # g_value_unset (&skeleton->priv->properties[n]); 1025s # g_free (skeleton->priv->properties); 1025s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1025s # if (skeleton->priv->changed_properties_idle_source != NULL) 1025s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1025s # g_main_context_unref (skeleton->priv->context); 1025s # g_mutex_clear (&skeleton->priv->lock); 1025s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1025s # } 1025s # 1025s # static void 1025s # com_acme_coyote_skeleton_get_property (GObject *object, 1025s # guint prop_id, 1025s # GValue *value, 1025s # GParamSpec *pspec G_GNUC_UNUSED) 1025s # { 1025s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1025s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1025s # g_mutex_lock (&skeleton->priv->lock); 1025s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1025s # g_mutex_unlock (&skeleton->priv->lock); 1025s # } 1025s # 1025s # static gboolean 1025s # _com_acme_coyote_emit_changed (gpointer user_data) 1025s # { 1025s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1025s # GList *l; 1025s # GVariantBuilder builder; 1025s # GVariantBuilder invalidated_builder; 1025s # guint num_changes; 1025s # 1025s # g_mutex_lock (&skeleton->priv->lock); 1025s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1025s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1025s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1025s # { 1025s # ChangedProperty *cp = l->data; 1025s # GVariant *variant; 1025s # const GValue *cur_value; 1025s # 1025s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1025s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1025s # { 1025s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1025s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1025s # g_variant_unref (variant); 1025s # num_changes++; 1025s # } 1025s # } 1025s # if (num_changes > 0) 1025s # { 1025s # GList *connections, *ll; 1025s # GVariant *signal_variant; 1025s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1025s # &builder, &invalidated_builder)); 1025s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1025s # for (ll = connections; ll != NULL; ll = ll->next) 1025s # { 1025s # GDBusConnection *connection = ll->data; 1025s # 1025s # g_dbus_connection_emit_signal (connection, 1025s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1025s # "org.freedesktop.DBus.Properties", 1025s # "PropertiesChanged", 1025s # signal_variant, 1025s # NULL); 1025s # } 1025s # g_variant_unref (signal_variant); 1025s # g_list_free_full (connections, g_object_unref); 1025s # } 1025s # else 1025s # { 1025s # g_variant_builder_clear (&builder); 1025s # g_variant_builder_clear (&invalidated_builder); 1025s # } 1025s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1025s # skeleton->priv->changed_properties = NULL; 1025s # skeleton->priv->changed_properties_idle_source = NULL; 1025s # g_mutex_unlock (&skeleton->priv->lock); 1025s # return FALSE; 1025s # } 1025s # 1025s # static void 1025s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1025s # { 1025s # ChangedProperty *cp; 1025s # GList *l; 1025s # cp = NULL; 1025s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1025s # { 1025s # ChangedProperty *i_cp = l->data; 1025s # if (i_cp->info == info) 1025s # { 1025s # cp = i_cp; 1025s # break; 1025s # } 1025s # } 1025s # if (cp == NULL) 1025s # { 1025s # cp = g_new0 (ChangedProperty, 1); 1025s # cp->prop_id = prop_id; 1025s # cp->info = info; 1025s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1025s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1025s # g_value_copy (orig_value, &cp->orig_value); 1025s # } 1025s # } 1025s # 1025s # static void 1025s # com_acme_coyote_skeleton_notify (GObject *object, 1025s # GParamSpec *pspec G_GNUC_UNUSED) 1025s # { 1025s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1025s # g_mutex_lock (&skeleton->priv->lock); 1025s # if (skeleton->priv->changed_properties != NULL && 1025s # skeleton->priv->changed_properties_idle_source == NULL) 1025s # { 1025s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1025s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1025s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1025s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1025s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1025s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1025s # } 1025s # g_mutex_unlock (&skeleton->priv->lock); 1025s # } 1025s # 1025s # static void 1025s # com_acme_coyote_skeleton_set_property (GObject *object, 1025s # guint prop_id, 1025s # const GValue *value, 1025s # GParamSpec *pspec) 1025s # { 1025s # const _ExtendedGDBusPropertyInfo *info; 1025s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1025s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1025s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1025s # g_mutex_lock (&skeleton->priv->lock); 1025s # g_object_freeze_notify (object); 1025s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1025s # { 1025s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1025s # info->emits_changed_signal) 1025s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1025s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1025s # g_object_notify_by_pspec (object, pspec); 1025s # } 1025s # g_mutex_unlock (&skeleton->priv->lock); 1025s # g_object_thaw_notify (object); 1025s # } 1025s # 1025s # static void 1025s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1025s # { 1025s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1025s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1025s # #else 1025s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1025s # #endif 1025s # 1025s # g_mutex_init (&skeleton->priv->lock); 1025s # skeleton->priv->context = g_main_context_ref_thread_default (); 1025s # skeleton->priv->properties = g_new0 (GValue, 1); 1025s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1025s # } 1025s # 1025s # static const gchar * 1025s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1025s # { 1025s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1025s # const gchar *value; 1025s # g_mutex_lock (&skeleton->priv->lock); 1025s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1025s # g_mutex_unlock (&skeleton->priv->lock); 1025s # return value; 1025s # } 1025s # 1025s # static void 1025s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1025s # { 1025s # GObjectClass *gobject_class; 1025s # GDBusInterfaceSkeletonClass *skeleton_class; 1025s # 1025s # gobject_class = G_OBJECT_CLASS (klass); 1025s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1025s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1025s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1025s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1025s # 1025s # 1025s # com_acme_coyote_override_properties (gobject_class, 1); 1025s # 1025s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1025s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1025s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1025s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1025s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1025s # 1025s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1025s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1025s # #endif 1025s # } 1025s # 1025s # static void 1025s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1025s # { 1025s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1025s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1025s # } 1025s # 1025s # /** 1025s # * com_acme_coyote_skeleton_new: 1025s # * 1025s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1025s # * 1025s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1025s # */ 1025s # ComAcmeCoyote * 1025s # com_acme_coyote_skeleton_new (void) 1025s # { 1025s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1025s # } 1025s # 1025s # /* ------------------------------------------------------------------------ 1025s # * Code for interface org.project.Bar.Frobnicator 1025s # * ------------------------------------------------------------------------ 1025s # */ 1025s # 1025s # /** 1025s # * SECTION:OrgProjectBarFrobnicator 1025s # * @title: OrgProjectBarFrobnicator 1025s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1025s # * 1025s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1025s # */ 1025s # 1025s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1025s # 1025s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1025s # { 1025s # { 1025s # -1, 1025s # (gchar *) "RandomMethod", 1025s # NULL, 1025s # NULL, 1025s # NULL 1025s # }, 1025s # "handle-random-method", 1025s # FALSE 1025s # }; 1025s # 1025s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1025s # { 1025s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1025s # NULL 1025s # }; 1025s # 1025s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1025s # { 1025s # { 1025s # -1, 1025s # (gchar *) "org.project.Bar.Frobnicator", 1025s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1025s # NULL, 1025s # NULL, 1025s # NULL 1025s # }, 1025s # "org-project-bar-frobnicator", 1025s # }; 1025s # 1025s # 1025s # /** 1025s # * org_project_bar_frobnicator_interface_info: 1025s # * 1025s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1025s # * 1025s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1025s # */ 1025s # GDBusInterfaceInfo * 1025s # org_project_bar_frobnicator_interface_info (void) 1025s # { 1025s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1025s # } 1025s # 1025s # /** 1025s # * org_project_bar_frobnicator_override_properties: 1025s # * @klass: The class structure for a #GObject derived class. 1025s # * @property_id_begin: The property id to assign to the first overridden property. 1025s # * 1025s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1025s # * The properties are overridden in the order they are defined. 1025s # * 1025s # * Returns: The last property id. 1025s # */ 1025s # guint 1025s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1025s # { 1025s # return property_id_begin - 1; 1025s # } 1025s # 1025s # 1025s # inline static void 1025s # org_project_bar_frobnicator_method_marshal_random_method ( 1025s # GClosure *closure, 1025s # GValue *return_value, 1025s # unsigned int n_param_values, 1025s # const GValue *param_values, 1025s # void *invocation_hint, 1025s # void *marshal_data) 1025s # { 1025s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1025s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1025s # } 1025s # 1025s # 1025s # /** 1025s # * OrgProjectBarFrobnicator: 1025s # * 1025s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1025s # */ 1025s # 1025s # /** 1025s # * OrgProjectBarFrobnicatorIface: 1025s # * @parent_iface: The parent interface. 1025s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1025s # * 1025s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1025s # */ 1025s # 1025s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1025s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1025s # 1025s # static void 1025s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1025s # { 1025s # /* GObject signals for incoming D-Bus method calls: */ 1025s # /** 1025s # * OrgProjectBarFrobnicator::handle-random-method: 1025s # * @object: A #OrgProjectBarFrobnicator. 1025s # * @invocation: A #GDBusMethodInvocation. 1025s # * 1025s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1025s # * 1025s # * 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. 1025s # * 1025s # * 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. 1025s # */ 1025s # g_signal_new ("handle-random-method", 1025s # G_TYPE_FROM_INTERFACE (iface), 1025s # G_SIGNAL_RUN_LAST, 1025s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1025s # g_signal_accumulator_true_handled, 1025s # NULL, 1025s # org_project_bar_frobnicator_method_marshal_random_method, 1025s # G_TYPE_BOOLEAN, 1025s # 1, 1025s # G_TYPE_DBUS_METHOD_INVOCATION); 1025s # 1025s # } 1025s # 1025s # /** 1025s # * org_project_bar_frobnicator_call_random_method: 1025s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1025s # * @cancellable: (nullable): A #GCancellable or %NULL. 1025s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1025s # * @user_data: User data to pass to @callback. 1025s # * 1025s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1025s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1025s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1025s # * 1025s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1025s # */ 1025s # void 1025s # org_project_bar_frobnicator_call_random_method ( 1025s # OrgProjectBarFrobnicator *proxy, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data) 1025s # { 1025s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1025s # "RandomMethod", 1025s # g_variant_new ("()"), 1025s # G_DBUS_CALL_FLAGS_NONE, 1025s # -1, 1025s # cancellable, 1025s # callback, 1025s # user_data); 1025s # } 1025s # 1025s # /** 1025s # * org_project_bar_frobnicator_call_random_method_finish: 1025s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1025s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1025s # * @error: Return location for error or %NULL. 1025s # * 1025s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1025s # * 1025s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1025s # */ 1025s # gboolean 1025s # org_project_bar_frobnicator_call_random_method_finish ( 1025s # OrgProjectBarFrobnicator *proxy, 1025s # GAsyncResult *res, 1025s # GError **error) 1025s # { 1025s # GVariant *_ret; 1025s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1025s # if (_ret == NULL) 1025s # goto _out; 1025s # g_variant_get (_ret, 1025s # "()"); 1025s # g_variant_unref (_ret); 1025s # _out: 1025s # return _ret != NULL; 1025s # } 1025s # 1025s # /** 1025s # * org_project_bar_frobnicator_call_random_method_sync: 1025s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1025s # * @cancellable: (nullable): A #GCancellable or %NULL. 1025s # * @error: Return location for error or %NULL. 1025s # * 1025s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1025s # * 1025s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1025s # * 1025s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1025s # */ 1025s # gboolean 1025s # org_project_bar_frobnicator_call_random_method_sync ( 1025s # OrgProjectBarFrobnicator *proxy, 1025s # GCancellable *cancellable, 1025s # GError **error) 1025s # { 1025s # GVariant *_ret; 1025s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1025s # "RandomMethod", 1025s # g_variant_new ("()"), 1025s # G_DBUS_CALL_FLAGS_NONE, 1025s # -1, 1025s # cancellable, 1025s # error); 1025s # if (_ret == NULL) 1025s # goto _out; 1025s # g_variant_get (_ret, 1025s # "()"); 1025s # g_variant_unref (_ret); 1025s # _out: 1025s # return _ret != NULL; 1025s # } 1025s # 1025s # /** 1025s # * org_project_bar_frobnicator_complete_random_method: 1025s # * @object: A #OrgProjectBarFrobnicator. 1025s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1025s # * 1025s # * 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. 1025s # * 1025s # * This method will free @invocation, you cannot use it afterwards. 1025s # */ 1025s # void 1025s # org_project_bar_frobnicator_complete_random_method ( 1025s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1025s # GDBusMethodInvocation *invocation) 1025s # { 1025s # g_dbus_method_invocation_return_value (invocation, 1025s # g_variant_new ("()")); 1025s # } 1025s # 1025s # /* ------------------------------------------------------------------------ */ 1025s # 1025s # /** 1025s # * OrgProjectBarFrobnicatorProxy: 1025s # * 1025s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1025s # */ 1025s # 1025s # /** 1025s # * OrgProjectBarFrobnicatorProxyClass: 1025s # * @parent_class: The parent class. 1025s # * 1025s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1025s # */ 1025s # 1025s # struct _OrgProjectBarFrobnicatorProxyPrivate 1025s # { 1025s # GData *qdata; 1025s # }; 1025s # 1025s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1025s # 1025s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1025s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1025s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1025s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1025s # 1025s # #else 1025s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1025s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1025s # 1025s # #endif 1025s # static void 1025s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1025s # { 1025s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1025s # g_datalist_clear (&proxy->priv->qdata); 1025s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1025s # } 1025s # 1025s # static void 1025s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1025s # guint prop_id G_GNUC_UNUSED, 1025s # GValue *value G_GNUC_UNUSED, 1025s # GParamSpec *pspec G_GNUC_UNUSED) 1025s # { 1025s # } 1025s # 1025s # static void 1025s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1025s # guint prop_id G_GNUC_UNUSED, 1025s # const GValue *value G_GNUC_UNUSED, 1025s # GParamSpec *pspec G_GNUC_UNUSED) 1025s # { 1025s # } 1025s # 1025s # static void 1025s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1025s # const gchar *sender_name G_GNUC_UNUSED, 1025s # const gchar *signal_name, 1025s # GVariant *parameters) 1025s # { 1025s # _ExtendedGDBusSignalInfo *info; 1025s # GVariantIter iter; 1025s # GVariant *child; 1025s # GValue *paramv; 1025s # gsize num_params; 1025s # gsize n; 1025s # guint signal_id; 1025s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1025s # if (info == NULL) 1025s # return; 1025s # num_params = g_variant_n_children (parameters); 1025s # paramv = g_new0 (GValue, num_params + 1); 1025s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1025s # g_value_set_object (¶mv[0], proxy); 1025s # g_variant_iter_init (&iter, parameters); 1025s # n = 1; 1025s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1025s # { 1025s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1025s # if (arg_info->use_gvariant) 1025s # { 1025s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1025s # g_value_set_variant (¶mv[n], child); 1025s # n++; 1025s # } 1025s # else 1025s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1025s # g_variant_unref (child); 1025s # } 1025s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1025s # g_signal_emitv (paramv, signal_id, 0, NULL); 1025s # for (n = 0; n < num_params + 1; n++) 1025s # g_value_unset (¶mv[n]); 1025s # g_free (paramv); 1025s # } 1025s # 1025s # static void 1025s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1025s # GVariant *changed_properties, 1025s # const gchar *const *invalidated_properties) 1025s # { 1025s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1025s # guint n; 1025s # const gchar *key; 1025s # GVariantIter *iter; 1025s # _ExtendedGDBusPropertyInfo *info; 1025s # g_variant_get (changed_properties, "a{sv}", &iter); 1025s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1025s # { 1025s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1025s # g_datalist_remove_data (&proxy->priv->qdata, key); 1025s # if (info != NULL) 1025s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1025s # } 1025s # g_variant_iter_free (iter); 1025s # for (n = 0; invalidated_properties[n] != NULL; n++) 1025s # { 1025s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1025s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1025s # if (info != NULL) 1025s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1025s # } 1025s # } 1025s # 1025s # static void 1025s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1025s # { 1025s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1025s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1025s # #else 1025s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1025s # #endif 1025s # 1025s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1025s # } 1025s # 1025s # static void 1025s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1025s # { 1025s # GObjectClass *gobject_class; 1025s # GDBusProxyClass *proxy_class; 1025s # 1025s # gobject_class = G_OBJECT_CLASS (klass); 1025s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1025s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1025s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1025s # 1025s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1025s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1025s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1025s # 1025s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1025s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1025s # #endif 1025s # } 1025s # 1025s # static void 1025s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1025s # { 1025s # } 1025s # 1025s # /** 1025s # * org_project_bar_frobnicator_proxy_new: 1025s # * @connection: A #GDBusConnection. 1025s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1025s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1025s # * @object_path: An object path. 1025s # * @cancellable: (nullable): A #GCancellable or %NULL. 1025s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1025s # * @user_data: User data to pass to @callback. 1025s # * 1025s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1025s # * 1025s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1025s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1025s # * 1025s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1025s # */ 1025s # void 1025s # org_project_bar_frobnicator_proxy_new ( 1025s # GDBusConnection *connection, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data) 1025s # { 1025s # 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); 1025s # } 1025s # 1025s # /** 1025s # * org_project_bar_frobnicator_proxy_new_finish: 1025s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1025s # * @error: Return location for error or %NULL 1025s # * 1025s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1025s # * 1025s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1025s # */ 1025s # OrgProjectBarFrobnicator * 1025s # org_project_bar_frobnicator_proxy_new_finish ( 1025s # GAsyncResult *res, 1025s # GError **error) 1025s # { 1025s # GObject *ret; 1025s # GObject *source_object; 1025s # source_object = g_async_result_get_source_object (res); 1025s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1025s # g_object_unref (source_object); 1025s # if (ret != NULL) 1025s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1025s # else 1025s # return NULL; 1025s # } 1025s # 1025s # /** 1025s # * org_project_bar_frobnicator_proxy_new_sync: 1025s # * @connection: A #GDBusConnection. 1025s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1025s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1025s # * @object_path: An object path. 1025s # * @cancellable: (nullable): A #GCancellable or %NULL. 1025s # * @error: Return location for error or %NULL 1025s # * 1025s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1025s # * 1025s # * The calling thread is blocked until a reply is received. 1025s # * 1025s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1025s # * 1025s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1025s # */ 1025s # OrgProjectBarFrobnicator * 1025s # org_project_bar_frobnicator_proxy_new_sync ( 1025s # GDBusConnection *connection, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GError **error) 1025s # { 1025s # GInitable *ret; 1025s # 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); 1025s # if (ret != NULL) 1025s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1025s # else 1025s # return NULL; 1025s # } 1025s # 1025s # 1025s # /** 1025s # * org_project_bar_frobnicator_proxy_new_for_bus: 1025s # * @bus_type: A #GBusType. 1025s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1025s # * @name: A bus name (well-known or unique). 1025s # * @object_path: An object path. 1025s # * @cancellable: (nullable): A #GCancellable or %NULL. 1025s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1025s # * @user_data: User data to pass to @callback. 1025s # * 1025s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1025s # * 1025s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1025s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1025s # * 1025s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1025s # */ 1025s # void 1025s # org_project_bar_frobnicator_proxy_new_for_bus ( 1025s # GBusType bus_type, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data) 1025s # { 1025s # 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); 1025s # } 1025s # 1025s # /** 1025s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1025s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1025s # * @error: Return location for error or %NULL 1025s # * 1025s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1025s # * 1025s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1025s # */ 1025s # OrgProjectBarFrobnicator * 1025s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1025s # GAsyncResult *res, 1025s # GError **error) 1025s # { 1025s # GObject *ret; 1025s # GObject *source_object; 1025s # source_object = g_async_result_get_source_object (res); 1025s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1025s # g_object_unref (source_object); 1025s # if (ret != NULL) 1025s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1025s # else 1025s # return NULL; 1025s # } 1025s # 1025s # /** 1025s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1025s # * @bus_type: A #GBusType. 1025s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1025s # * @name: A bus name (well-known or unique). 1025s # * @object_path: An object path. 1025s # * @cancellable: (nullable): A #GCancellable or %NULL. 1025s # * @error: Return location for error or %NULL 1025s # * 1025s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1025s # * 1025s # * The calling thread is blocked until a reply is received. 1025s # * 1025s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1025s # * 1025s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1025s # */ 1025s # OrgProjectBarFrobnicator * 1025s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1025s # GBusType bus_type, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GError **error) 1025s # { 1025s # GInitable *ret; 1025s # 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); 1025s # if (ret != NULL) 1025s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1025s # else 1025s # return NULL; 1025s # } 1025s # 1025s # 1025s # /* ------------------------------------------------------------------------ */ 1025s # 1025s # /** 1025s # * OrgProjectBarFrobnicatorSkeleton: 1025s # * 1025s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1025s # */ 1025s # 1025s # /** 1025s # * OrgProjectBarFrobnicatorSkeletonClass: 1025s # * @parent_class: The parent class. 1025s # * 1025s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1025s # */ 1025s # 1025s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1025s # { 1025s # GValue *properties; 1025s # GList *changed_properties; 1025s # GSource *changed_properties_idle_source; 1025s # GMainContext *context; 1025s # GMutex lock; 1025s # }; 1025s # 1025s # static void 1025s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1025s # GDBusConnection *connection G_GNUC_UNUSED, 1025s # const gchar *sender G_GNUC_UNUSED, 1025s # const gchar *object_path G_GNUC_UNUSED, 1025s # const gchar *interface_name, 1025s # const gchar *method_name, 1025s # GVariant *parameters, 1025s # GDBusMethodInvocation *invocation, 1025s # gpointer user_data) 1025s # { 1025s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1025s # _ExtendedGDBusMethodInfo *info; 1025s # GVariantIter iter; 1025s # GVariant *child; 1025s # GValue *paramv; 1025s # gsize num_params; 1025s # guint num_extra; 1025s # gsize n; 1025s # guint signal_id; 1025s # GValue return_value = G_VALUE_INIT; 1025s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1025s # g_assert (info != NULL); 1025s # num_params = g_variant_n_children (parameters); 1025s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1025s # n = 0; 1025s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1025s # g_value_set_object (¶mv[n++], skeleton); 1025s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1025s # g_value_set_object (¶mv[n++], invocation); 1025s # if (info->pass_fdlist) 1025s # { 1025s # #ifdef G_OS_UNIX 1025s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1025s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1025s # #else 1025s # g_assert_not_reached (); 1025s # #endif 1025s # } 1025s # g_variant_iter_init (&iter, parameters); 1025s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1025s # { 1025s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1025s # if (arg_info->use_gvariant) 1025s # { 1025s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1025s # g_value_set_variant (¶mv[n], child); 1025s # n++; 1025s # } 1025s # else 1025s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1025s # g_variant_unref (child); 1025s # } 1025s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1025s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1025s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1025s # if (!g_value_get_boolean (&return_value)) 1025s # 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); 1025s # g_value_unset (&return_value); 1025s # for (n = 0; n < num_params + num_extra; n++) 1025s # g_value_unset (¶mv[n]); 1025s # g_free (paramv); 1025s # } 1025s # 1025s # static GVariant * 1025s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1025s # GDBusConnection *connection G_GNUC_UNUSED, 1025s # const gchar *sender G_GNUC_UNUSED, 1025s # const gchar *object_path G_GNUC_UNUSED, 1025s # const gchar *interface_name G_GNUC_UNUSED, 1025s # const gchar *property_name, 1025s # GError **error, 1025s # gpointer user_data) 1025s # { 1025s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1025s # GValue value = G_VALUE_INIT; 1025s # GParamSpec *pspec; 1025s # _ExtendedGDBusPropertyInfo *info; 1025s # GVariant *ret; 1025s # ret = NULL; 1025s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1025s # g_assert (info != NULL); 1025s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1025s # if (pspec == NULL) 1025s # { 1025s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1025s # } 1025s # else 1025s # { 1025s # g_value_init (&value, pspec->value_type); 1025s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1025s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1025s # g_value_unset (&value); 1025s # } 1025s # return ret; 1025s # } 1025s # 1025s # static gboolean 1025s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1025s # GDBusConnection *connection G_GNUC_UNUSED, 1025s # const gchar *sender G_GNUC_UNUSED, 1025s # const gchar *object_path G_GNUC_UNUSED, 1025s # const gchar *interface_name G_GNUC_UNUSED, 1025s # const gchar *property_name, 1025s # GVariant *variant, 1025s # GError **error, 1025s # gpointer user_data) 1025s # { 1025s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1025s # GValue value = G_VALUE_INIT; 1025s # GParamSpec *pspec; 1025s # _ExtendedGDBusPropertyInfo *info; 1025s # gboolean ret; 1025s # ret = FALSE; 1025s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1025s # g_assert (info != NULL); 1025s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1025s # if (pspec == NULL) 1025s # { 1025s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1025s # } 1025s # else 1025s # { 1025s # if (info->use_gvariant) 1025s # g_value_set_variant (&value, variant); 1025s # else 1025s # g_dbus_gvariant_to_gvalue (variant, &value); 1025s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1025s # g_value_unset (&value); 1025s # ret = TRUE; 1025s # } 1025s # return ret; 1025s # } 1025s # 1025s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1025s # { 1025s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1025s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1025s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1025s # {NULL} 1025s # }; 1025s # 1025s # static GDBusInterfaceInfo * 1025s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1025s # { 1025s # return org_project_bar_frobnicator_interface_info (); 1025s # } 1025s # 1025s # static GDBusInterfaceVTable * 1025s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1025s # { 1025s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1025s # } 1025s # 1025s # static GVariant * 1025s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1025s # { 1025s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1025s # 1025s # GVariantBuilder builder; 1025s # guint n; 1025s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1025s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1025s # goto out; 1025s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1025s # { 1025s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1025s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1025s # { 1025s # GVariant *value; 1025s # 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); 1025s # if (value != NULL) 1025s # { 1025s # g_variant_take_ref (value); 1025s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1025s # g_variant_unref (value); 1025s # } 1025s # } 1025s # } 1025s # out: 1025s # return g_variant_builder_end (&builder); 1025s # } 1025s # 1025s # static void 1025s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1025s # { 1025s # } 1025s # 1025s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1025s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1025s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1025s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1025s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1025s # 1025s # #else 1025s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1025s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1025s # 1025s # #endif 1025s # static void 1025s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1025s # { 1025s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1025s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1025s # if (skeleton->priv->changed_properties_idle_source != NULL) 1025s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1025s # g_main_context_unref (skeleton->priv->context); 1025s # g_mutex_clear (&skeleton->priv->lock); 1025s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1025s # } 1025s # 1025s # static void 1025s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1025s # { 1025s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1025s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1025s # #else 1025s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1025s # #endif 1025s # 1025s # g_mutex_init (&skeleton->priv->lock); 1025s # skeleton->priv->context = g_main_context_ref_thread_default (); 1025s # } 1025s # 1025s # static void 1025s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1025s # { 1025s # GObjectClass *gobject_class; 1025s # GDBusInterfaceSkeletonClass *skeleton_class; 1025s # 1025s # gobject_class = G_OBJECT_CLASS (klass); 1025s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1025s # 1025s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1025s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1025s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1025s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1025s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1025s # 1025s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1025s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1025s # #endif 1025s # } 1025s # 1025s # static void 1025s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1025s # { 1025s # } 1025s # 1025s # /** 1025s # * org_project_bar_frobnicator_skeleton_new: 1025s # * 1025s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1025s # * 1025s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1025s # */ 1025s # OrgProjectBarFrobnicator * 1025s # org_project_bar_frobnicator_skeleton_new (void) 1025s # { 1025s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1025s # } 1025s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 1025s # tmpdir: /tmp/tmpha5qhxis 1025s # codegen: /usr/bin/gdbus-codegen 1025s # /tmp/tmpha5qhxis/tmptlv3v5vg.xml: 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpha5qhxis/tmptlv3v5vg.xml', '--output', '-', '--header'] 1025s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1025s # Output: /* 1025s # * This file is generated by gdbus-codegen, do not modify it. 1025s # * 1025s # * The license of this code is the same as for the D-Bus interface description 1025s # * it was derived from. Note that it links to GLib, so must comply with the 1025s # * LGPL linking clauses. 1025s # */ 1025s # 1025s # #ifndef __STDOUT__ 1025s # #define __STDOUT__ 1025s # 1025s # #include 1025s # 1025s # G_BEGIN_DECLS 1025s # 1025s # 1025s # /* ------------------------------------------------------------------------ */ 1025s # /* Declarations for FDPassing */ 1025s # 1025s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1025s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1025s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1025s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1025s # 1025s # struct _FDPassing; 1025s # typedef struct _FDPassing FDPassing; 1025s # typedef struct _FDPassingIface FDPassingIface; 1025s # 1025s # struct _FDPassingIface 1025s # { 1025s # GTypeInterface parent_iface; 1025s # 1025s # gboolean (*handle_hello_fd) ( 1025s # FDPassing *object, 1025s # GDBusMethodInvocation *invocation, 1025s # GUnixFDList *fd_list, 1025s # const gchar *arg_greeting); 1025s # 1025s # gboolean (*handle_no_annotation) ( 1025s # FDPassing *object, 1025s # GDBusMethodInvocation *invocation, 1025s # GVariant *arg_greeting, 1025s # const gchar *arg_greeting_locale); 1025s # 1025s # gboolean (*handle_no_annotation_nested) ( 1025s # FDPassing *object, 1025s # GDBusMethodInvocation *invocation, 1025s # GVariant *arg_files); 1025s # 1025s # }; 1025s # 1025s # GType fdpassing_get_type (void) G_GNUC_CONST; 1025s # 1025s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1025s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1025s # 1025s # 1025s # /* D-Bus method call completion functions: */ 1025s # void fdpassing_complete_hello_fd ( 1025s # FDPassing *object, 1025s # GDBusMethodInvocation *invocation, 1025s # GUnixFDList *fd_list, 1025s # const gchar *response); 1025s # 1025s # void fdpassing_complete_no_annotation ( 1025s # FDPassing *object, 1025s # GDBusMethodInvocation *invocation, 1025s # GVariant *response, 1025s # const gchar *response_locale); 1025s # 1025s # void fdpassing_complete_no_annotation_nested ( 1025s # FDPassing *object, 1025s # GDBusMethodInvocation *invocation); 1025s # 1025s # 1025s # 1025s # /* D-Bus method calls: */ 1025s # void fdpassing_call_hello_fd ( 1025s # FDPassing *proxy, 1025s # const gchar *arg_greeting, 1025s # GUnixFDList *fd_list, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data); 1025s # 1025s # gboolean fdpassing_call_hello_fd_finish ( 1025s # FDPassing *proxy, 1025s # gchar **out_response, 1025s # GUnixFDList **out_fd_list, 1025s # GAsyncResult *res, 1025s # GError **error); 1025s # 1025s # gboolean fdpassing_call_hello_fd_sync ( 1025s # FDPassing *proxy, 1025s # const gchar *arg_greeting, 1025s # GUnixFDList *fd_list, 1025s # gchar **out_response, 1025s # GUnixFDList **out_fd_list, 1025s # GCancellable *cancellable, 1025s # GError **error); 1025s # 1025s # void fdpassing_call_no_annotation ( 1025s # FDPassing *proxy, 1025s # GVariant *arg_greeting, 1025s # const gchar *arg_greeting_locale, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data); 1025s # 1025s # gboolean fdpassing_call_no_annotation_finish ( 1025s # FDPassing *proxy, 1025s # GVariant **out_response, 1025s # gchar **out_response_locale, 1025s # GAsyncResult *res, 1025s # GError **error); 1025s # 1025s # gboolean fdpassing_call_no_annotation_sync ( 1025s # FDPassing *proxy, 1025s # GVariant *arg_greeting, 1025s # const gchar *arg_greeting_locale, 1025s # GVariant **out_response, 1025s # gchar **out_response_locale, 1025s # GCancellable *cancellable, 1025s # GError **error); 1025s # 1025s # void fdpassing_call_no_annotation_nested ( 1025s # FDPassing *proxy, 1025s # GVariant *arg_files, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data); 1025s # 1025s # gboolean fdpassing_call_no_annotation_nested_finish ( 1025s # FDPassing *proxy, 1025s # GAsyncResult *res, 1025s # GError **error); 1025s # 1025s # gboolean fdpassing_call_no_annotation_nested_sync ( 1025s # FDPassing *proxy, 1025s # GVariant *arg_files, 1025s # GCancellable *cancellable, 1025s # GError **error); 1025s # 1025s # 1025s # 1025s # /* ---- */ 1025s # 1025s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1025s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1025s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1025s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1025s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1025s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1025s # 1025s # typedef struct _FDPassingProxy FDPassingProxy; 1025s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1025s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1025s # 1025s # struct _FDPassingProxy 1025s # { 1025s # /*< private >*/ 1025s # GDBusProxy parent_instance; 1025s # FDPassingProxyPrivate *priv; 1025s # }; 1025s # 1025s # struct _FDPassingProxyClass 1025s # { 1025s # GDBusProxyClass parent_class; 1025s # }; 1025s # 1025s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1025s # 1025s # #if GLIB_CHECK_VERSION(2, 44, 0) 1025s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1025s # #endif 1025s # 1025s # void fdpassing_proxy_new ( 1025s # GDBusConnection *connection, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data); 1025s # FDPassing *fdpassing_proxy_new_finish ( 1025s # GAsyncResult *res, 1025s # GError **error); 1025s # FDPassing *fdpassing_proxy_new_sync ( 1025s # GDBusConnection *connection, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GError **error); 1025s # 1025s # void fdpassing_proxy_new_for_bus ( 1025s # GBusType bus_type, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data); 1025s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1025s # GAsyncResult *res, 1025s # GError **error); 1025s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1025s # GBusType bus_type, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GError **error); 1025s # 1025s # 1025s # /* ---- */ 1025s # 1025s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1025s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1025s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1025s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1025s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1025s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1025s # 1025s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1025s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1025s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1025s # 1025s # struct _FDPassingSkeleton 1025s # { 1025s # /*< private >*/ 1025s # GDBusInterfaceSkeleton parent_instance; 1025s # FDPassingSkeletonPrivate *priv; 1025s # }; 1025s # 1025s # struct _FDPassingSkeletonClass 1025s # { 1025s # GDBusInterfaceSkeletonClass parent_class; 1025s # }; 1025s # 1025s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1025s # 1025s # #if GLIB_CHECK_VERSION(2, 44, 0) 1025s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1025s # #endif 1025s # 1025s # FDPassing *fdpassing_skeleton_new (void); 1025s # 1025s # 1025s # G_END_DECLS 1025s # 1025s # #endif /* __STDOUT__ */ 1025s # /tmp/tmpha5qhxis/tmpa90ia6l7.xml: 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpha5qhxis/tmpa90ia6l7.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1025s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1025s # Output: /* 1025s # * This file is generated by gdbus-codegen, do not modify it. 1025s # * 1025s # * The license of this code is the same as for the D-Bus interface description 1025s # * it was derived from. Note that it links to GLib, so must comply with the 1025s # * LGPL linking clauses. 1025s # */ 1025s # 1025s # #ifndef __STDOUT__ 1025s # #define __STDOUT__ 1025s # 1025s # #include 1025s # 1025s # G_BEGIN_DECLS 1025s # 1025s # 1025s # /* ------------------------------------------------------------------------ */ 1025s # /* Declarations for FDPassing */ 1025s # 1025s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1025s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1025s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1025s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1025s # 1025s # struct _FDPassing; 1025s # typedef struct _FDPassing FDPassing; 1025s # typedef struct _FDPassingIface FDPassingIface; 1025s # 1025s # struct _FDPassingIface 1025s # { 1025s # GTypeInterface parent_iface; 1025s # 1025s # gboolean (*handle_hello_fd) ( 1025s # FDPassing *object, 1025s # GDBusMethodInvocation *invocation, 1025s # GUnixFDList *fd_list, 1025s # const gchar *arg_greeting); 1025s # 1025s # gboolean (*handle_no_annotation) ( 1025s # FDPassing *object, 1025s # GDBusMethodInvocation *invocation, 1025s # GVariant *arg_greeting, 1025s # const gchar *arg_greeting_locale); 1025s # 1025s # gboolean (*handle_no_annotation_nested) ( 1025s # FDPassing *object, 1025s # GDBusMethodInvocation *invocation, 1025s # GVariant *arg_files); 1025s # 1025s # }; 1025s # 1025s # GType fdpassing_get_type (void) G_GNUC_CONST; 1025s # 1025s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1025s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1025s # 1025s # 1025s # /* D-Bus method call completion functions: */ 1025s # void fdpassing_complete_hello_fd ( 1025s # FDPassing *object, 1025s # GDBusMethodInvocation *invocation, 1025s # GUnixFDList *fd_list, 1025s # const gchar *response); 1025s # 1025s # void fdpassing_complete_no_annotation ( 1025s # FDPassing *object, 1025s # GDBusMethodInvocation *invocation, 1025s # GVariant *response, 1025s # const gchar *response_locale); 1025s # 1025s # void fdpassing_complete_no_annotation_nested ( 1025s # FDPassing *object, 1025s # GDBusMethodInvocation *invocation); 1025s # 1025s # 1025s # 1025s # /* D-Bus method calls: */ 1025s # void fdpassing_call_hello_fd ( 1025s # FDPassing *proxy, 1025s # const gchar *arg_greeting, 1025s # GUnixFDList *fd_list, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data); 1025s # 1025s # gboolean fdpassing_call_hello_fd_finish ( 1025s # FDPassing *proxy, 1025s # gchar **out_response, 1025s # GUnixFDList **out_fd_list, 1025s # GAsyncResult *res, 1025s # GError **error); 1025s # 1025s # gboolean fdpassing_call_hello_fd_sync ( 1025s # FDPassing *proxy, 1025s # const gchar *arg_greeting, 1025s # GUnixFDList *fd_list, 1025s # gchar **out_response, 1025s # GUnixFDList **out_fd_list, 1025s # GCancellable *cancellable, 1025s # GError **error); 1025s # 1025s # void fdpassing_call_no_annotation ( 1025s # FDPassing *proxy, 1025s # GVariant *arg_greeting, 1025s # const gchar *arg_greeting_locale, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data); 1025s # 1025s # gboolean fdpassing_call_no_annotation_finish ( 1025s # FDPassing *proxy, 1025s # GVariant **out_response, 1025s # gchar **out_response_locale, 1025s # GAsyncResult *res, 1025s # GError **error); 1025s # 1025s # gboolean fdpassing_call_no_annotation_sync ( 1025s # FDPassing *proxy, 1025s # GVariant *arg_greeting, 1025s # const gchar *arg_greeting_locale, 1025s # GVariant **out_response, 1025s # gchar **out_response_locale, 1025s # GCancellable *cancellable, 1025s # GError **error); 1025s # 1025s # void fdpassing_call_no_annotation_nested ( 1025s # FDPassing *proxy, 1025s # GVariant *arg_files, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data); 1025s # 1025s # gboolean fdpassing_call_no_annotation_nested_finish ( 1025s # FDPassing *proxy, 1025s # GAsyncResult *res, 1025s # GError **error); 1025s # 1025s # gboolean fdpassing_call_no_annotation_nested_sync ( 1025s # FDPassing *proxy, 1025s # GVariant *arg_files, 1025s # GCancellable *cancellable, 1025s # GError **error); 1025s # 1025s # 1025s # 1025s # /* ---- */ 1025s # 1025s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1025s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1025s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1025s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1025s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1025s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1025s # 1025s # typedef struct _FDPassingProxy FDPassingProxy; 1025s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1025s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1025s # 1025s # struct _FDPassingProxy 1025s # { 1025s # /*< private >*/ 1025s # GDBusProxy parent_instance; 1025s # FDPassingProxyPrivate *priv; 1025s # }; 1025s # 1025s # struct _FDPassingProxyClass 1025s # { 1025s # GDBusProxyClass parent_class; 1025s # }; 1025s # 1025s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1025s # 1025s # #if GLIB_CHECK_VERSION(2, 44, 0) 1025s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1025s # #endif 1025s # 1025s # void fdpassing_proxy_new ( 1025s # GDBusConnection *connection, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data); 1025s # FDPassing *fdpassing_proxy_new_finish ( 1025s # GAsyncResult *res, 1025s # GError **error); 1025s # FDPassing *fdpassing_proxy_new_sync ( 1025s # GDBusConnection *connection, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GError **error); 1025s # 1025s # void fdpassing_proxy_new_for_bus ( 1025s # GBusType bus_type, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data); 1025s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1025s # GAsyncResult *res, 1025s # GError **error); 1025s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1025s # GBusType bus_type, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GError **error); 1025s # 1025s # 1025s # /* ---- */ 1025s # 1025s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1025s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1025s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1025s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1025s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1025s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1025s # 1025s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1025s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1025s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1025s # 1025s # struct _FDPassingSkeleton 1025s # { 1025s # /*< private >*/ 1025s # GDBusInterfaceSkeleton parent_instance; 1025s # FDPassingSkeletonPrivate *priv; 1025s # }; 1025s # 1025s # struct _FDPassingSkeletonClass 1025s # { 1025s # GDBusInterfaceSkeletonClass parent_class; 1025s # }; 1025s # 1025s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1025s # 1025s # #if GLIB_CHECK_VERSION(2, 44, 0) 1025s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1025s # #endif 1025s # 1025s # FDPassing *fdpassing_skeleton_new (void); 1025s # 1025s # 1025s # G_END_DECLS 1025s # 1025s # #endif /* __STDOUT__ */ 1025s # /tmp/tmpha5qhxis/tmp5n0fctp9.xml: 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # 1025s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpha5qhxis/tmp5n0fctp9.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1025s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1025s # Output: /* 1025s # * This file is generated by gdbus-codegen, do not modify it. 1025s # * 1025s # * The license of this code is the same as for the D-Bus interface description 1025s # * it was derived from. Note that it links to GLib, so must comply with the 1025s # * LGPL linking clauses. 1025s # */ 1025s # 1025s # #ifndef __STDOUT__ 1025s # #define __STDOUT__ 1025s # 1025s # #include 1025s # 1025s # G_BEGIN_DECLS 1025s # 1025s # 1025s # /* ------------------------------------------------------------------------ */ 1025s # /* Declarations for FDPassing */ 1025s # 1025s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1025s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1025s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1025s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1025s # 1025s # struct _FDPassing; 1025s # typedef struct _FDPassing FDPassing; 1025s # typedef struct _FDPassingIface FDPassingIface; 1025s # 1025s # struct _FDPassingIface 1025s # { 1025s # GTypeInterface parent_iface; 1025s # 1025s # gboolean (*handle_hello_fd) ( 1025s # FDPassing *object, 1025s # GDBusMethodInvocation *invocation, 1025s # GUnixFDList *fd_list, 1025s # const gchar *arg_greeting); 1025s # 1025s # gboolean (*handle_no_annotation) ( 1025s # FDPassing *object, 1025s # GDBusMethodInvocation *invocation, 1025s # GUnixFDList *fd_list, 1025s # GVariant *arg_greeting, 1025s # const gchar *arg_greeting_locale); 1025s # 1025s # gboolean (*handle_no_annotation_nested) ( 1025s # FDPassing *object, 1025s # GDBusMethodInvocation *invocation, 1025s # GUnixFDList *fd_list, 1025s # GVariant *arg_files); 1025s # 1025s # }; 1025s # 1025s # GType fdpassing_get_type (void) G_GNUC_CONST; 1025s # 1025s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1025s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1025s # 1025s # 1025s # /* D-Bus method call completion functions: */ 1025s # void fdpassing_complete_hello_fd ( 1025s # FDPassing *object, 1025s # GDBusMethodInvocation *invocation, 1025s # GUnixFDList *fd_list, 1025s # const gchar *response); 1025s # 1025s # void fdpassing_complete_no_annotation ( 1025s # FDPassing *object, 1025s # GDBusMethodInvocation *invocation, 1025s # GUnixFDList *fd_list, 1025s # GVariant *response, 1025s # const gchar *response_locale); 1025s # 1025s # void fdpassing_complete_no_annotation_nested ( 1025s # FDPassing *object, 1025s # GDBusMethodInvocation *invocation, 1025s # GUnixFDList *fd_list); 1025s # 1025s # 1025s # 1025s # /* D-Bus method calls: */ 1025s # void fdpassing_call_hello_fd ( 1025s # FDPassing *proxy, 1025s # const gchar *arg_greeting, 1025s # GDBusCallFlags call_flags, 1025s # gint timeout_msec, 1025s # GUnixFDList *fd_list, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data); 1025s # 1025s # gboolean fdpassing_call_hello_fd_finish ( 1025s # FDPassing *proxy, 1025s # gchar **out_response, 1025s # GUnixFDList **out_fd_list, 1025s # GAsyncResult *res, 1025s # GError **error); 1025s # 1025s # gboolean fdpassing_call_hello_fd_sync ( 1025s # FDPassing *proxy, 1025s # const gchar *arg_greeting, 1025s # GDBusCallFlags call_flags, 1025s # gint timeout_msec, 1025s # GUnixFDList *fd_list, 1025s # gchar **out_response, 1025s # GUnixFDList **out_fd_list, 1025s # GCancellable *cancellable, 1025s # GError **error); 1025s # 1025s # void fdpassing_call_no_annotation ( 1025s # FDPassing *proxy, 1025s # GVariant *arg_greeting, 1025s # const gchar *arg_greeting_locale, 1025s # GDBusCallFlags call_flags, 1025s # gint timeout_msec, 1025s # GUnixFDList *fd_list, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data); 1025s # 1025s # gboolean fdpassing_call_no_annotation_finish ( 1025s # FDPassing *proxy, 1025s # GVariant **out_response, 1025s # gchar **out_response_locale, 1025s # GUnixFDList **out_fd_list, 1025s # GAsyncResult *res, 1025s # GError **error); 1025s # 1025s # gboolean fdpassing_call_no_annotation_sync ( 1025s # FDPassing *proxy, 1025s # GVariant *arg_greeting, 1025s # const gchar *arg_greeting_locale, 1025s # GDBusCallFlags call_flags, 1025s # gint timeout_msec, 1025s # GUnixFDList *fd_list, 1025s # GVariant **out_response, 1025s # gchar **out_response_locale, 1025s # GUnixFDList **out_fd_list, 1025s # GCancellable *cancellable, 1025s # GError **error); 1025s # 1025s # void fdpassing_call_no_annotation_nested ( 1025s # FDPassing *proxy, 1025s # GVariant *arg_files, 1025s # GDBusCallFlags call_flags, 1025s # gint timeout_msec, 1025s # GUnixFDList *fd_list, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data); 1025s # 1025s # gboolean fdpassing_call_no_annotation_nested_finish ( 1025s # FDPassing *proxy, 1025s # GUnixFDList **out_fd_list, 1025s # GAsyncResult *res, 1025s # GError **error); 1025s # 1025s # gboolean fdpassing_call_no_annotation_nested_sync ( 1025s # FDPassing *proxy, 1025s # GVariant *arg_files, 1025s # GDBusCallFlags call_flags, 1025s # gint timeout_msec, 1025s # GUnixFDList *fd_list, 1025s # GUnixFDList **out_fd_list, 1025s # GCancellable *cancellable, 1025s # GError **error); 1025s # 1025s # 1025s # 1025s # /* ---- */ 1025s # 1025s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1025s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1025s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1025s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1025s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1025s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1025s # 1025s # typedef struct _FDPassingProxy FDPassingProxy; 1025s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1025s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1025s # 1025s # struct _FDPassingProxy 1025s # { 1025s # /*< private >*/ 1025s # GDBusProxy parent_instance; 1025s # FDPassingProxyPrivate *priv; 1025s # }; 1025s # 1025s # struct _FDPassingProxyClass 1025s # { 1025s # GDBusProxyClass parent_class; 1025s # }; 1025s # 1025s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1025s # 1025s # #if GLIB_CHECK_VERSION(2, 44, 0) 1025s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1025s # #endif 1025s # 1025s # void fdpassing_proxy_new ( 1025s # GDBusConnection *connection, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data); 1025s # FDPassing *fdpassing_proxy_new_finish ( 1025s # GAsyncResult *res, 1025s # GError **error); 1025s # FDPassing *fdpassing_proxy_new_sync ( 1025s # GDBusConnection *connection, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GError **error); 1025s # 1025s # void fdpassing_proxy_new_for_bus ( 1025s # GBusType bus_type, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GAsyncReadyCallback callback, 1025s # gpointer user_data); 1025s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1025s # GAsyncResult *res, 1025s # GError **error); 1025s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1025s # GBusType bus_type, 1025s # GDBusProxyFlags flags, 1025s # const gchar *name, 1025s # const gchar *object_path, 1025s # GCancellable *cancellable, 1025s # GError **error); 1025s # 1025s # 1025s # /* ---- */ 1025s # 1025s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1025s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1025s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1025s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1025s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1025s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1025s # 1025s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1025s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1025s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1025s # 1025s # struct _FDPassingSkeleton 1025s # { 1025s # /*< private >*/ 1025s # GDBusInterfaceSkeleton parent_instance; 1025s # FDPassingSkeletonPrivate *priv; 1025s # }; 1025s # 1025s # struct _FDPassingSkeletonClass 1025s # { 1025s # GDBusInterfaceSkeletonClass parent_class; 1025s # }; 1025s # 1025s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1025s # 1025s # #if GLIB_CHECK_VERSION(2, 44, 0) 1025s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1025s # #endif 1025s # 1025s # FDPassing *fdpassing_skeleton_new (void); 1025s # 1025s # 1025s # G_END_DECLS 1025s # 1025s # #endif /* __STDOUT__ */ 1025s 1..39 1025s ok - glib/codegen.py.test 1025s # Running test: glib/mimeapps.test 1025s TAP version 14 1025s # random seed: R02S77bc933406d42a9bfce49f0209e498ca 1025s 1..7 1025s # Start of appinfo tests 1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/all/.dirs/home 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/all/.dirs/cache 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_ISYKZ2/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_ISYKZ2/appinfo/all/.dirs/system-config2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/all/.dirs/config 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_ISYKZ2/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_ISYKZ2/appinfo/all/.dirs/system-data2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/all/.dirs/data 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/all/.dirs/state 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_ISYKZ2/appinfo/all/.dirs/runtime 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/all/.dirs/system-data1/applications' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/all/.dirs/data/applications' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/all/.dirs/data/applications/myapp.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/all/.dirs/data/applications/myapp2.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/all/.dirs/data/applications/myapp3.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/all/.dirs/data/applications/myapp4.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/all/.dirs/data/applications/myapp5.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 1025s # removing '/tmp/test_mimeapps_ISYKZ2/appinfo/all/.dirs/data/applications/mimeapps.list' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/all/.dirs/data/applications/mimeinfo.cache' 1025s ok 1 /appinfo/all 1025s # Start of mime tests 1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/api/.dirs/home 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/api/.dirs/cache 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_ISYKZ2/appinfo/mime/api/.dirs/system-config2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/api/.dirs/config 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_ISYKZ2/appinfo/mime/api/.dirs/system-data2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/api/.dirs/data 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/api/.dirs/state 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/api/.dirs/runtime 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/api/.dirs/system-data1/applications' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/api/.dirs/data/applications' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 1025s # removing '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 1025s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ISYKZ2/appinfo/mime/api/.dirs/config 1025s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_ISYKZ2/appinfo/all/.dirs/config to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/api/.dirs/config 1025s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ISYKZ2/appinfo/mime/api/.dirs/config 1025s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ISYKZ2/appinfo/mime/api/.dirs/config 1025s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ISYKZ2/appinfo/mime/api/.dirs/config 1025s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ISYKZ2/appinfo/mime/api/.dirs/config 1025s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ISYKZ2/appinfo/mime/api/.dirs/config 1025s ok 2 /appinfo/mime/api 1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/default/.dirs/home 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/default/.dirs/cache 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_ISYKZ2/appinfo/mime/default/.dirs/system-config2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/default/.dirs/config 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_ISYKZ2/appinfo/mime/default/.dirs/system-data2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/default/.dirs/data 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/default/.dirs/state 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/default/.dirs/runtime 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/default/.dirs/system-data1/applications' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/default/.dirs/data/applications' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 1025s # removing '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 1025s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ISYKZ2/appinfo/mime/default/.dirs/config 1025s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_ISYKZ2/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/default/.dirs/config 1025s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ISYKZ2/appinfo/mime/default/.dirs/config 1025s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ISYKZ2/appinfo/mime/default/.dirs/config 1025s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ISYKZ2/appinfo/mime/default/.dirs/config 1025s ok 3 /appinfo/mime/default 1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/file/.dirs/home 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/file/.dirs/cache 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_ISYKZ2/appinfo/mime/file/.dirs/system-config2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/file/.dirs/config 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_ISYKZ2/appinfo/mime/file/.dirs/system-data2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/file/.dirs/data 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/file/.dirs/state 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/file/.dirs/runtime 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/file/.dirs/system-data1/applications' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/file/.dirs/data/applications' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 1025s # removing '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 1025s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ISYKZ2/appinfo/mime/file/.dirs/config 1025s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_ISYKZ2/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/file/.dirs/config 1025s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ISYKZ2/appinfo/mime/file/.dirs/config 1025s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ISYKZ2/appinfo/mime/file/.dirs/config 1025s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ISYKZ2/appinfo/mime/file/.dirs/config 1025s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ISYKZ2/appinfo/mime/file/.dirs/config 1025s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ISYKZ2/appinfo/mime/file/.dirs/config 1025s ok 4 /appinfo/mime/file 1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/scheme-handler/.dirs/home 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/scheme-handler/.dirs/cache 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_ISYKZ2/appinfo/mime/scheme-handler/.dirs/system-config2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/scheme-handler/.dirs/config 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_ISYKZ2/appinfo/mime/scheme-handler/.dirs/system-data2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/scheme-handler/.dirs/data 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/scheme-handler/.dirs/state 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/scheme-handler/.dirs/runtime 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/scheme-handler/.dirs/data/applications' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1025s # removing '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1025s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_ISYKZ2/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/scheme-handler/.dirs/config 1025s ok 5 /appinfo/mime/scheme-handler 1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/default-last-used/.dirs/home 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/default-last-used/.dirs/cache 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_ISYKZ2/appinfo/mime/default-last-used/.dirs/system-config2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/default-last-used/.dirs/config 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_ISYKZ2/appinfo/mime/default-last-used/.dirs/system-data2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/default-last-used/.dirs/data 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/default-last-used/.dirs/state 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/default-last-used/.dirs/runtime 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/default-last-used/.dirs/system-data1/applications' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/default-last-used/.dirs/data/applications' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1025s # removing '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 1025s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ISYKZ2/appinfo/mime/default-last-used/.dirs/config 1025s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_ISYKZ2/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/default-last-used/.dirs/config 1025s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ISYKZ2/appinfo/mime/default-last-used/.dirs/config 1025s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ISYKZ2/appinfo/mime/default-last-used/.dirs/config 1025s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ISYKZ2/appinfo/mime/default-last-used/.dirs/config 1025s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ISYKZ2/appinfo/mime/default-last-used/.dirs/config 1025s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_ISYKZ2/appinfo/mime/default-last-used/.dirs/config 1025s ok 6 /appinfo/mime/default-last-used 1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/ignore-nonexisting/.dirs/home 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/ignore-nonexisting/.dirs/cache 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_ISYKZ2/appinfo/mime/ignore-nonexisting/.dirs/system-config2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/ignore-nonexisting/.dirs/config 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_ISYKZ2/appinfo/mime/ignore-nonexisting/.dirs/system-data2 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/ignore-nonexisting/.dirs/data 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/ignore-nonexisting/.dirs/state 1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/ignore-nonexisting/.dirs/runtime 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1025s # removing '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1025s # creating '/tmp/test_mimeapps_ISYKZ2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1025s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_ISYKZ2/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_ISYKZ2/appinfo/mime/ignore-nonexisting/.dirs/config 1025s ok 7 /appinfo/mime/ignore-nonexisting 1025s # End of mime tests 1025s # End of appinfo tests 1025s ok - glib/mimeapps.test 1025s # Running test: glib/tree.test 1025s TAP version 14 1025s # random seed: R02S25b9425b6f1d4cb8dc4f4fde0f6ddcf5 1025s 1..7 1025s # Start of tree tests 1025s ok 1 /tree/search 1025s ok 2 /tree/remove 1025s ok 3 /tree/destroy 1025s ok 4 /tree/traverse 1025s ok 5 /tree/insert 1025s ok 6 /tree/bounds 1025s ok 7 /tree/remove-all 1025s # End of tree tests 1025s ok - glib/tree.test 1025s # Running test: glib/closure.test 1025s TAP version 14 1025s # random seed: R02Sf10e5d2a8cd17e95d6b1552ef6a006fd 1025s 1..6 1025s # Start of closure tests 1025s ok 1 /closure/idle 1025s ok 2 /closure/timeout 1025s ok 3 /closure/iochannel 1025s ok 4 /closure/child 1025s ok 5 /closure/fd 1025s ok 6 /closure/signal 1025s # End of closure tests 1025s ok - glib/closure.test 1025s # Running test: glib/completion.test 1025s TAP version 14 1025s # random seed: R02S0c8f148a5a15da74219a012fa4ba4369 1025s 1..1 1025s # Start of completion tests 1025s ok 1 /completion/test-completion 1025s # End of completion tests 1025s ok - glib/completion.test 1025s # Running test: glib/1bit-mutex.test 1025s TAP version 14 1025s # random seed: R02S842ca4e08ad88f6e2aa2ad9f5452f10a 1025s 1..2 1025s # Start of glib tests 1025s # Start of 1bit-mutex tests 1028s # Executing: glib/1bit-mutex.test 1029s ok 1 /glib/1bit-mutex/int 1029s # slow test /glib/1bit-mutex/int executed in 4.11 secs 1033s # Executing: glib/1bit-mutex.test 1034s ok 2 /glib/1bit-mutex/pointer 1034s # slow test /glib/1bit-mutex/pointer executed in 4.19 secs 1034s # End of 1bit-mutex tests 1034s # End of glib tests 1034s ok - glib/1bit-mutex.test 1034s # Running test: glib/refcount.test 1034s TAP version 14 1034s # random seed: R02Sbc8fec5cd7af41ab823ae6add15966ac 1034s 1..4 1034s # Start of refcount tests 1034s ok 1 /refcount/grefcount 1034s ok 2 /refcount/gatomicrefcount 1034s # Start of grefcount tests 1034s ok 3 /refcount/grefcount/saturation 1034s # End of grefcount tests 1034s # Start of gatomicrefcount tests 1034s ok 4 /refcount/gatomicrefcount/saturation 1034s # End of gatomicrefcount tests 1034s # End of refcount tests 1034s ok - glib/refcount.test 1034s # Running test: glib/reference.test 1034s TAP version 14 1034s # random seed: R02S62aae55c371a51d0b2784e3b290eb1fa 1034s 1..29 1034s # Start of type tests 1034s ok 1 /type/fundamentals 1034s ok 2 /type/qdata 1034s ok 3 /type/query 1034s ok 4 /type/class-private 1034s # End of type tests 1034s # Start of object tests 1034s ok 5 /object/clear 1034s ok 6 /object/clear-function 1034s ok 7 /object/set 1034s ok 8 /object/set-function 1034s ok 9 /object/value 1034s ok 10 /object/initially-unowned 1034s ok 11 /object/weak-pointer 1034s ok 12 /object/weak-ref 1034s ok 13 /object/toggle-ref 1034s ok 14 /object/qdata 1034s ok 15 /object/qdata2 1034s # Start of set tests 1034s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 1034s ok 16 /object/set/derived-type 1034s # End of set tests 1034s # Start of weak-pointer tests 1034s ok 17 /object/weak-pointer/clear 1034s ok 18 /object/weak-pointer/clear-function 1034s ok 19 /object/weak-pointer/set 1034s ok 20 /object/weak-pointer/set-function 1034s # End of weak-pointer tests 1034s # Start of weak-ref tests 1034s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1034s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 1034s ok 21 /object/weak-ref/on-dispose 1034s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 1034s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 1034s ok 22 /object/weak-ref/on-run-dispose 1034s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1034s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 1034s ok 23 /object/weak-ref/on-toggle-notify 1034s ok 24 /object/weak-ref/in-toggle-notify 1034s ok 25 /object/weak-ref/many 1034s # Start of concurrent tests 1034s ok 26 /object/weak-ref/concurrent/0 1034s ok 27 /object/weak-ref/concurrent/1 1034s # End of concurrent tests 1034s # End of weak-ref tests 1034s # Start of toggle-ref tests 1034s ok 28 /object/toggle-ref/ref-on-dispose 1034s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 1034s # End of toggle-ref tests 1034s # End of object tests 1034s ok - glib/reference.test 1034s # Running test: glib/utf8-misc.test 1034s TAP version 14 1034s # random seed: R02S13f4a8ea976e620632eff140a93774cd 1034s 1..7 1034s # Start of utf8 tests 1034s ok 1 /utf8/strlen 1034s ok 2 /utf8/strncpy 1034s ok 3 /utf8/strrchr 1034s ok 4 /utf8/reverse 1034s ok 5 /utf8/substring 1034s ok 6 /utf8/make-valid 1034s ok 7 /utf8/truncate-middle 1034s # End of utf8 tests 1034s ok - glib/utf8-misc.test 1034s # Running test: glib/private.test 1034s TAP version 14 1034s # random seed: R02Sc2f724de4528e31bd2c3d7592d92a9e3 1034s 1..8 1034s # Start of thread tests 1034s ok 1 /thread/private1 1035s ok 2 /thread/private2 1035s # slow test /thread/private2 executed in 1.08 secs 1035s ok 3 /thread/private3 1035s ok 4 /thread/staticprivate1 1035s ok 5 /thread/staticprivate2 1035s ok 6 /thread/staticprivate3 1036s ok 7 /thread/staticprivate4 1036s # slow test /thread/staticprivate4 executed in 1.08 secs 1036s ok 8 /thread/staticprivate5 1036s # End of thread tests 1036s ok - glib/private.test 1036s # Running test: glib/gdbus-proxy-threads.test 1036s TAP version 14 1036s # random seed: R02S042b1fb28b601d9be144cfcd54187947 1036s 1..1 1036s # Start of gdbus tests 1036s # Start of proxy tests 1036s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_AHH3Z2/gdbus/proxy/vs-threads/.dirs/home 1036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_AHH3Z2/gdbus/proxy/vs-threads/.dirs/cache 1036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_AHH3Z2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_AHH3Z2/gdbus/proxy/vs-threads/.dirs/system-config2 1036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_AHH3Z2/gdbus/proxy/vs-threads/.dirs/config 1036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_AHH3Z2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_AHH3Z2/gdbus/proxy/vs-threads/.dirs/system-data2 1036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_AHH3Z2/gdbus/proxy/vs-threads/.dirs/data 1036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_AHH3Z2/gdbus/proxy/vs-threads/.dirs/state 1036s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_AHH3Z2/gdbus/proxy/vs-threads/.dirs/runtime 1036s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1037s ok 1 /gdbus/proxy/vs-threads 1037s # slow test /gdbus/proxy/vs-threads executed in 1.24 secs 1037s # End of proxy tests 1037s # End of gdbus tests 1037s cleaning up pid 4455 1037s ok - glib/gdbus-proxy-threads.test 1037s # Running test: glib/autoptr.test 1037s TAP version 14 1037s # random seed: R02S0b2c9592c75c972dc03d253ad690fc30 1037s 1..6 1037s # Start of autoptr tests 1037s ok 1 /autoptr/autoptr 1037s ok 2 /autoptr/autoptr_steal 1037s ok 3 /autoptr/autolist 1037s ok 4 /autoptr/autoslist 1037s ok 5 /autoptr/autoqueue 1037s ok 6 /autoptr/autoclass 1037s # End of autoptr tests 1037s ok - glib/autoptr.test 1037s # Running test: glib/dynamictype.test 1037s TAP version 14 1037s # random seed: R02S7feab955a9f555c7b46f77929ea02b47 1037s 1..2 1037s # Start of gobject tests 1037s ok 1 /gobject/dynamic-type 1037s # Start of dynamic-type tests 1037s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 1037s ok 2 /gobject/dynamic-type/query 1037s # End of dynamic-type tests 1037s # End of gobject tests 1037s ok - glib/dynamictype.test 1037s # Running test: glib/utils-c-89.test 1037s TAP version 14 1037s # random seed: R02S3fbdecc0c497b056c655f822d545166d 1037s 1..40 1037s # Start of utils tests 1037s ok 1 /utils/language-names 1037s ok 2 /utils/locale-variants 1037s ok 3 /utils/version 1037s ok 4 /utils/appname 1037s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1037s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1037s ok 5 /utils/prgname-thread-safety 1037s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1037s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1037s ok 6 /utils/tmpdir 1037s ok 7 /utils/basic_bits 1037s ok 8 /utils/bits 1037s ok 9 /utils/swap 1037s ok 10 /utils/find-program 1037s ok 11 /utils/find-program-for-path 1037s ok 12 /utils/debug 1037s ok 13 /utils/codeset 1037s ok 14 /utils/codeset2 1037s ok 15 /utils/console-charset 1037s ok 16 /utils/gettext 1037s ok 17 /utils/username 1037s ok 18 /utils/realname 1037s ok 19 /utils/hostname 1037s ok 20 /utils/xdgdirs 1037s ok 21 /utils/specialdir 1037s # NAME: Ubuntu 1037s ok 22 /utils/os-info 1037s ok 23 /utils/clear-pointer 1037s ok 24 /utils/clear-pointer-cast 1037s ok 25 /utils/take-pointer 1037s ok 26 /utils/clear-source 1037s ok 27 /utils/misc-mem 1037s # /utils/aligned-mem summary: Aligned memory allocator 1037s # Alignment must not be zero 1037s # Alignment must be a power of two 1037s # Alignment must be a multiple of sizeof(void*) 1037s ok 28 /utils/aligned-mem 1037s # /utils/free-sized summary: Check that g_free_sized() works 1037s ok 29 /utils/free-sized 1037s ok 30 /utils/nullify 1037s ok 31 /utils/atexit 1037s ok 32 /utils/check-setuid 1037s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1037s ok 33 /utils/int-limits 1037s ok 34 /utils/clear-list 1037s ok 35 /utils/clear-slist 1037s # Start of specialdir tests 1037s ok 36 /utils/specialdir/desktop 1037s # End of specialdir tests 1037s # Start of clear-pointer tests 1037s ok 37 /utils/clear-pointer/side-effects 1037s # End of clear-pointer tests 1037s # Start of aligned-mem tests 1037s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1037s ok 38 /utils/aligned-mem/alignment 1037s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1037s ok 39 /utils/aligned-mem/zeroed 1037s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1037s ok 40 /utils/aligned-mem/free-sized 1037s # Start of subprocess tests 1037s # End of subprocess tests 1037s # End of aligned-mem tests 1037s # End of utils tests 1037s ok - glib/utils-c-89.test 1037s # Running test: glib/signals.test 1037s TAP version 14 1037s # random seed: R02S78fd0bfda85db63ca2b7c2978112014d 1037s 1..31 1037s # Start of gobject tests 1037s # Start of signals tests 1037s ok 1 /gobject/signals/all-types 1037s ok 2 /gobject/signals/variant 1037s ok 3 /gobject/signals/destroy-target-object 1037s ok 4 /gobject/signals/generic-marshaller-1 1037s ok 5 /gobject/signals/generic-marshaller-2 1037s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 1037s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 1037s ok 8 /gobject/signals/generic-marshaller-int-return 1037s ok 9 /gobject/signals/generic-marshaller-uint-return 1037s ok 10 /gobject/signals/generic-marshaller-interface-return 1037s ok 11 /gobject/signals/custom-marshaller 1037s ok 12 /gobject/signals/connect 1037s ok 13 /gobject/signals/emission-hook 1037s ok 14 /gobject/signals/emitv 1037s ok 15 /gobject/signals/accumulator 1037s # Signal: accumulator-class-first 1037s # Signal: accumulator-class-last 1037s # Signal: accumulator-class-cleanup 1037s # Signal: accumulator-class-first-last 1037s # Signal: accumulator-class-first-last-cleanup 1037s # Signal: accumulator-class-last-cleanup 1037s ok 16 /gobject/signals/accumulator-class 1037s ok 17 /gobject/signals/introspection 1037s ok 18 /gobject/signals/block-handler 1037s ok 19 /gobject/signals/stop-emission 1037s ok 20 /gobject/signals/invocation-hint 1037s ok 21 /gobject/signals/test-disconnection-wrong-object 1037s ok 22 /gobject/signals/clear-signal-handler 1037s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 1037s ok 23 /gobject/signals/lookup 1037s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 1037s ok 24 /gobject/signals/parse-name 1037s ok 25 /gobject/signals/is-valid-name 1037s ok 26 /gobject/signals/weak-ref-disconnect 1037s # Start of lookup tests 1037s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 1037s ok 27 /gobject/signals/lookup/invalid 1037s # End of lookup tests 1037s # Start of parse-name tests 1037s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 1037s # Parser input: 1037s # Parser input: 7zip 1037s # Parser input: invalid:signal 1037s # Parser input: simple-detailed:: 1037s # Parser input: simple-detailed: 1037s # Parser input: : 1037s # Parser input: :: 1037s # Parser input: :valid-detail 1037s # Parser input: ::valid-detail 1037s ok 28 /gobject/signals/parse-name/invalid 1037s # End of parse-name tests 1037s # Start of invalid-name tests 1037s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 1037s ok 29 /gobject/signals/invalid-name/colon 1037s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 1037s ok 30 /gobject/signals/invalid-name/first-char 1037s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 1037s ok 31 /gobject/signals/invalid-name/empty 1037s # End of invalid-name tests 1037s # End of signals tests 1037s # End of gobject tests 1037s ok - glib/signals.test 1037s # Running test: glib/gdbus-error.test 1037s TAP version 14 1037s # random seed: R02S2b626a20f5fb8e0db29aa660f9b23f85 1037s 1..4 1037s # Start of gdbus tests 1037s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_VRPMZ2/gdbus/registered-errors/.dirs/home 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_VRPMZ2/gdbus/registered-errors/.dirs/cache 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_VRPMZ2/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_VRPMZ2/gdbus/registered-errors/.dirs/system-config2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_VRPMZ2/gdbus/registered-errors/.dirs/config 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_VRPMZ2/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_VRPMZ2/gdbus/registered-errors/.dirs/system-data2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_VRPMZ2/gdbus/registered-errors/.dirs/data 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_VRPMZ2/gdbus/registered-errors/.dirs/state 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_VRPMZ2/gdbus/registered-errors/.dirs/runtime 1037s ok 1 /gdbus/registered-errors 1037s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_VRPMZ2/gdbus/unregistered-errors/.dirs/home 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_VRPMZ2/gdbus/unregistered-errors/.dirs/cache 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_VRPMZ2/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_VRPMZ2/gdbus/unregistered-errors/.dirs/system-config2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_VRPMZ2/gdbus/unregistered-errors/.dirs/config 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_VRPMZ2/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_VRPMZ2/gdbus/unregistered-errors/.dirs/system-data2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_VRPMZ2/gdbus/unregistered-errors/.dirs/data 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_VRPMZ2/gdbus/unregistered-errors/.dirs/state 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_VRPMZ2/gdbus/unregistered-errors/.dirs/runtime 1037s ok 2 /gdbus/unregistered-errors 1037s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_VRPMZ2/gdbus/transparent-gerror/.dirs/home 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_VRPMZ2/gdbus/transparent-gerror/.dirs/cache 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_VRPMZ2/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_VRPMZ2/gdbus/transparent-gerror/.dirs/system-config2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_VRPMZ2/gdbus/transparent-gerror/.dirs/config 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_VRPMZ2/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_VRPMZ2/gdbus/transparent-gerror/.dirs/system-data2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_VRPMZ2/gdbus/transparent-gerror/.dirs/data 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_VRPMZ2/gdbus/transparent-gerror/.dirs/state 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_VRPMZ2/gdbus/transparent-gerror/.dirs/runtime 1037s ok 3 /gdbus/transparent-gerror 1037s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_VRPMZ2/gdbus/register-error/.dirs/home 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_VRPMZ2/gdbus/register-error/.dirs/cache 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_VRPMZ2/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_VRPMZ2/gdbus/register-error/.dirs/system-config2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_VRPMZ2/gdbus/register-error/.dirs/config 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_VRPMZ2/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_VRPMZ2/gdbus/register-error/.dirs/system-data2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_VRPMZ2/gdbus/register-error/.dirs/data 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_VRPMZ2/gdbus/register-error/.dirs/state 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_VRPMZ2/gdbus/register-error/.dirs/runtime 1037s ok 4 /gdbus/register-error 1037s # End of gdbus tests 1037s ok - glib/gdbus-error.test 1037s # Running test: glib/binding.test 1037s TAP version 14 1037s # random seed: R02S37753276039861a7d25487b7d3213e27 1037s 1..19 1037s # Start of binding tests 1037s ok 1 /binding/default 1037s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 1037s ok 2 /binding/canonicalisation 1037s ok 3 /binding/bidirectional 1037s ok 4 /binding/transform 1037s ok 5 /binding/transform-default 1037s ok 6 /binding/transform-closure 1037s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 1037s ok 7 /binding/chain 1037s ok 8 /binding/sync-create 1037s ok 9 /binding/invert-boolean 1037s ok 10 /binding/same-object 1037s ok 11 /binding/unbind 1037s ok 12 /binding/unbind-weak 1037s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 1037s ok 13 /binding/unbind-multiple 1037s ok 14 /binding/fail 1037s ok 15 /binding/interface 1037s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 1037s ok 16 /binding/concurrent-unbind 1037s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 1037s ok 17 /binding/concurrent-finalizing 1037s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1037s ok 18 /binding/dispose-source 1037s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1037s ok 19 /binding/dispose-target 1037s # End of binding tests 1037s ok - glib/binding.test 1037s # Running test: glib/repository-search-paths.test 1037s TAP version 14 1037s # random seed: R02S6bfd677fa9c984d86ddea34a8c2af687 1037s 1..4 1037s # Start of repository tests 1037s # Start of search-paths tests 1037s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_MTSLZ2/repository/search-paths/default/.dirs/home 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_MTSLZ2/repository/search-paths/default/.dirs/cache 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_MTSLZ2/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_MTSLZ2/repository/search-paths/default/.dirs/system-config2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_MTSLZ2/repository/search-paths/default/.dirs/config 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_MTSLZ2/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_MTSLZ2/repository/search-paths/default/.dirs/system-data2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_MTSLZ2/repository/search-paths/default/.dirs/data 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_MTSLZ2/repository/search-paths/default/.dirs/state 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_MTSLZ2/repository/search-paths/default/.dirs/runtime 1037s ok 1 /repository/search-paths/default 1037s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_MTSLZ2/repository/search-paths/prepend/.dirs/home 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_MTSLZ2/repository/search-paths/prepend/.dirs/cache 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_MTSLZ2/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_MTSLZ2/repository/search-paths/prepend/.dirs/system-config2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_MTSLZ2/repository/search-paths/prepend/.dirs/config 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_MTSLZ2/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_MTSLZ2/repository/search-paths/prepend/.dirs/system-data2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_MTSLZ2/repository/search-paths/prepend/.dirs/data 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_MTSLZ2/repository/search-paths/prepend/.dirs/state 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_MTSLZ2/repository/search-paths/prepend/.dirs/runtime 1037s ok 2 /repository/search-paths/prepend 1037s # End of search-paths tests 1037s # Start of library-paths tests 1037s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_MTSLZ2/repository/library-paths/default/.dirs/home 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_MTSLZ2/repository/library-paths/default/.dirs/cache 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_MTSLZ2/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_MTSLZ2/repository/library-paths/default/.dirs/system-config2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_MTSLZ2/repository/library-paths/default/.dirs/config 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_MTSLZ2/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_MTSLZ2/repository/library-paths/default/.dirs/system-data2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_MTSLZ2/repository/library-paths/default/.dirs/data 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_MTSLZ2/repository/library-paths/default/.dirs/state 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_MTSLZ2/repository/library-paths/default/.dirs/runtime 1037s ok 3 /repository/library-paths/default 1037s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_MTSLZ2/repository/library-paths/prepend/.dirs/home 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_MTSLZ2/repository/library-paths/prepend/.dirs/cache 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_MTSLZ2/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_MTSLZ2/repository/library-paths/prepend/.dirs/system-config2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_MTSLZ2/repository/library-paths/prepend/.dirs/config 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_MTSLZ2/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_MTSLZ2/repository/library-paths/prepend/.dirs/system-data2 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_MTSLZ2/repository/library-paths/prepend/.dirs/data 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_MTSLZ2/repository/library-paths/prepend/.dirs/state 1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_MTSLZ2/repository/library-paths/prepend/.dirs/runtime 1037s ok 4 /repository/library-paths/prepend 1037s # End of library-paths tests 1037s # End of repository tests 1037s ok - glib/repository-search-paths.test 1037s # Running test: glib/mainloop.test 1037s TAP version 14 1037s # random seed: R02Sc9d1f5beef0ee171d6eb3d15f2f892da 1037s 1..45 1037s # Start of maincontext tests 1037s ok 1 /maincontext/basic 1037s # Add same-priority sources: 16 1037s # Find each source: 2 1037s # Remove in random order: 36 1037s ok 2 /maincontext/nsources_same_priority 1037s # Add different-priority sources: 18 1037s # Find each source: 2 1037s # Remove in random order: 41 1037s ok 3 /maincontext/nsources_different_priority 1038s # Add sources from threads: 174 1038s # Remove sources from threads: 27 1038s ok 4 /maincontext/nsources_threadpool 1038s ok 5 /maincontext/source_finalization 1038s # /maincontext/idle-once summary: Test g_idle_add_once() works 1038s ok 6 /maincontext/idle-once 1038s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1038s ok 7 /maincontext/timeout-once 1038s # Start of source_finalization_from_source tests 1038s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1038s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1038s ok 8 /maincontext/source_finalization_from_source/0 1038s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1038s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1038s ok 9 /maincontext/source_finalization_from_source/1 1038s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1038s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1038s ok 10 /maincontext/source_finalization_from_source/2 1038s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1038s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1038s ok 11 /maincontext/source_finalization_from_source/3 1038s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1038s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1038s ok 12 /maincontext/source_finalization_from_source/4 1038s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1038s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1038s ok 13 /maincontext/source_finalization_from_source/5 1038s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1038s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1038s ok 14 /maincontext/source_finalization_from_source/6 1038s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1038s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1038s ok 15 /maincontext/source_finalization_from_source/7 1038s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1038s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1038s ok 16 /maincontext/source_finalization_from_source/8 1038s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1038s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1038s ok 17 /maincontext/source_finalization_from_source/9 1038s # End of source_finalization_from_source tests 1038s # Start of source_finalization_from_dispatch tests 1038s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1038s ok 18 /maincontext/source_finalization_from_dispatch/0 1038s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1038s ok 19 /maincontext/source_finalization_from_dispatch/1 1038s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1038s ok 20 /maincontext/source_finalization_from_dispatch/2 1038s # End of source_finalization_from_dispatch tests 1038s # End of maincontext tests 1038s # Start of mainloop tests 1038s ok 21 /mainloop/basic 1038s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1038s ok 23 /mainloop/priorities 1038s # Executing: glib/mainloop.test 1038s ok 24 /mainloop/invoke 1038s # slow test /mainloop/invoke executed in 0.50 secs 1039s ok 25 /mainloop/child_sources 1039s # slow test /mainloop/child_sources executed in 1.18 secs 1041s ok 26 /mainloop/recursive_child_sources 1041s # slow test /mainloop/recursive_child_sources executed in 2.16 secs 1041s ok 27 /mainloop/recursive_loop_child_sources 1042s ok 28 /mainloop/swapping_child_sources 1042s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1042s ok 29 /mainloop/blocked_child_sources 1043s ok 30 /mainloop/source_time 1043s # slow test /mainloop/source_time executed in 1.00 secs 1043s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1043s ok 31 /mainloop/overflow 1043s # Executing: glib/mainloop.test 1043s ok 32 /mainloop/ready-time 1043s # slow test /mainloop/ready-time executed in 0.50 secs 1043s ok 33 /mainloop/wakeup 1043s ok 34 /mainloop/remove-invalid 1043s ok 35 /mainloop/unref-while-pending 1044s ok 36 /mainloop/unix-fd 1044s # slow test /mainloop/unix-fd executed in 0.58 secs 1044s ok 37 /mainloop/unix-fd-source 1044s ok 38 /mainloop/source-unix-fd-api 1044s ok 39 /mainloop/wait 1044s ok 40 /mainloop/unix-file-poll 1044s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1044s ok 41 /mainloop/unix-fd-priority 1044s ok 42 /mainloop/nfds 1044s ok 43 /mainloop/steal-fd 1044s # Start of ownerless-polling tests 1044s ok 44 /mainloop/ownerless-polling/attach-first 1044s ok 45 /mainloop/ownerless-polling/pop-first 1044s # End of ownerless-polling tests 1044s # End of mainloop tests 1044s ok - glib/mainloop.test 1044s # Running test: glib/converter-stream.test 1044s TAP version 14 1044s # random seed: R02S2775212bdf75b65f70f440384fa632e8 1044s 1..17 1044s # Start of converter tests 1044s ok 1 /converter/basics 1044s # End of converter tests 1044s # Start of converter-input-stream tests 1044s ok 2 /converter-input-stream/expander 1044s ok 3 /converter-input-stream/compressor 1044s # Start of truncation tests 1044s ok 4 /converter-input-stream/truncation/zlib 1044s ok 5 /converter-input-stream/truncation/gzip 1044s ok 6 /converter-input-stream/truncation/raw 1044s # End of truncation tests 1044s # Start of charset tests 1044s ok 7 /converter-input-stream/charset/utf8->latin1 1044s ok 8 /converter-input-stream/charset/latin1->utf8 1044s ok 9 /converter-input-stream/charset/fallbacks 1044s # End of charset tests 1044s # End of converter-input-stream tests 1044s # Start of converter-output-stream tests 1044s # Start of roundtrip tests 1044s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1044s ok 10 /converter-output-stream/roundtrip/zlib-0 1044s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1044s ok 11 /converter-output-stream/roundtrip/zlib-9 1044s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1044s ok 12 /converter-output-stream/roundtrip/gzip-0 1044s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1045s ok 13 /converter-output-stream/roundtrip/gzip-9 1045s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1045s ok 14 /converter-output-stream/roundtrip/raw-0 1045s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1045s ok 15 /converter-output-stream/roundtrip/raw-9 1045s # End of roundtrip tests 1045s # End of converter-output-stream tests 1045s # Start of converter-stream tests 1045s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1045s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xca7bad23bea0 and GSocketClientAsyncConnectData 0xca7bad631330 1045s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1045s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1045s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xca7bad24c620 for GSocketClientAsyncConnectData 0xca7bad631330 1045s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1045s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1045s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1045s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1045s ok 16 /converter-stream/pollable 1045s ok 17 /converter-stream/leftover 1045s # End of converter-stream tests 1045s ok - glib/converter-stream.test 1045s # Running test: glib/memory-settings-backend.test 1045s TAP version 14 1045s # random seed: R02Sc1ee635cb66aa579ed1ecdc0719d968a 1045s 1..1 1045s # Start of memory-settings-backend tests 1045s ok 1 /memory-settings-backend/extension-point-registered 1045s # End of memory-settings-backend tests 1045s ok - glib/memory-settings-backend.test 1045s # Running test: glib/gdbus-peer-object-manager.test 1045s TAP version 14 1045s # random seed: R02S362d56e33e0d9b93f433113cc3e2a884 1045s 1..2 1045s # Start of gdbus tests 1045s # Start of peer-object-manager tests 1045s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_AMLVZ2/gdbus/peer-object-manager/normal/.dirs/home 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_AMLVZ2/gdbus/peer-object-manager/normal/.dirs/cache 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_AMLVZ2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_AMLVZ2/gdbus/peer-object-manager/normal/.dirs/system-config2 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_AMLVZ2/gdbus/peer-object-manager/normal/.dirs/config 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_AMLVZ2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_AMLVZ2/gdbus/peer-object-manager/normal/.dirs/system-data2 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_AMLVZ2/gdbus/peer-object-manager/normal/.dirs/data 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_AMLVZ2/gdbus/peer-object-manager/normal/.dirs/state 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_AMLVZ2/gdbus/peer-object-manager/normal/.dirs/runtime 1045s ok 1 /gdbus/peer-object-manager/normal 1045s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_AMLVZ2/gdbus/peer-object-manager/root/.dirs/home 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_AMLVZ2/gdbus/peer-object-manager/root/.dirs/cache 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_AMLVZ2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_AMLVZ2/gdbus/peer-object-manager/root/.dirs/system-config2 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_AMLVZ2/gdbus/peer-object-manager/root/.dirs/config 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_AMLVZ2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_AMLVZ2/gdbus/peer-object-manager/root/.dirs/system-data2 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_AMLVZ2/gdbus/peer-object-manager/root/.dirs/data 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_AMLVZ2/gdbus/peer-object-manager/root/.dirs/state 1045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_AMLVZ2/gdbus/peer-object-manager/root/.dirs/runtime 1045s ok 2 /gdbus/peer-object-manager/root 1045s # End of peer-object-manager tests 1045s # End of gdbus tests 1045s ok - glib/gdbus-peer-object-manager.test 1045s # Running test: glib/thread-pool.test 1045s TAP version 14 1045s # random seed: R02Sdb302e93beefa067ee231dfe474a9aa7 1045s 1..5 1045s # Start of thread_pool tests 1045s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 1045s ok 1 /thread_pool/shared 1045s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 1045s ok 2 /thread_pool/exclusive 1045s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1045s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 1045s ok 3 /thread_pool/create_shared_after_exclusive 1045s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 1045s ok 4 /thread_pool/create_full 1045s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1045s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 1045s ok 5 /thread_pool/create_exclusive_after_shared 1045s # End of thread_pool tests 1045s ok - glib/thread-pool.test 1045s # Running test: glib/messages-low-memory.py.test 1045s TAP version 13 1045s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 1045s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 1045s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 1045s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1045s # Return code: -6 1045s # Output: 1045s # Error: GLib-Message: 05:47:26.257: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 1045s # GLib-Message: 05:47:26.257: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 1045s # ../../../glib/gprintf.c:350: failed to allocate memory 1045s 1..1 1045s ok - glib/messages-low-memory.py.test 1045s # Running test: glib/socket.test 1045s TAP version 14 1045s # random seed: R02Sec03185f973b18a83422a38d66105bbb 1045s 1..28 1045s # Start of socket tests 1046s ok 1 /socket/ipv4_sync 1046s # slow test /socket/ipv4_sync executed in 1.00 secs 1047s ok 2 /socket/ipv4_async 1047s # slow test /socket/ipv4_async executed in 1.00 secs 1047s ok 3 /socket/ipv6_sync 1047s ok 4 /socket/ipv6_async 1047s ok 5 /socket/ipv6_v4mapped 1048s ok 6 /socket/close_graceful 1048s # slow test /socket/close_graceful executed in 1.00 secs 1048s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1048s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1048s ok 8 /socket/fd_reuse 1048s ok 9 /socket/address 1048s ok 10 /socket/unix-from-fd 1048s ok 11 /socket/unix-connection 1048s ok 12 /socket/unix-connection-ancillary-data 1048s ok 13 /socket/source-postmortem 1048s ok 14 /socket/read_write 1048s ok 15 /socket/read_writev 1048s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1048s ok 16 /socket/receive_bytes 1048s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1048s ok 17 /socket/receive_bytes_from 1048s # Start of ipv4_sync tests 1048s ok 18 /socket/ipv4_sync/datagram 1048s # Start of datagram tests 1048s # Executing: glib/socket.test 1049s ok 19 /socket/ipv4_sync/datagram/timeouts 1049s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1049s # End of datagram tests 1049s # End of ipv4_sync tests 1049s # Start of ipv6_sync tests 1049s ok 20 /socket/ipv6_sync/datagram 1049s # Start of datagram tests 1050s ok 21 /socket/ipv6_sync/datagram/timeouts 1050s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1050s # End of datagram tests 1050s # End of ipv6_sync tests 1050s # Start of reuse tests 1050s ok 22 /socket/reuse/tcp 1050s ok 23 /socket/reuse/udp 1050s # End of reuse tests 1050s # Start of get_available tests 1050s ok 24 /socket/get_available/datagram 1050s ok 25 /socket/get_available/stream 1050s # End of get_available tests 1050s # Start of credentials tests 1050s # Supported on this OS: GCredentials:linux-ucred:pid=0 1050s ok 26 /socket/credentials/tcp_client 1050s # Supported on this OS: GCredentials:linux-ucred:pid=0 1050s ok 27 /socket/credentials/tcp_server 1050s # Supported on this OS: GCredentials:linux-ucred:pid=5172,uid=1000,gid=1000 1050s ok 28 /socket/credentials/unix_socketpair 1050s # End of credentials tests 1050s # End of socket tests 1050s ok - glib/socket.test 1050s # Running test: glib/accumulator.test 1050s TAP version 14 1050s # random seed: R02S29c1a85d4403ed0d95cf51d5807a2c5b 1050s 1..1 1050s # Start of gobject tests 1050s ok 1 /gobject/accumulator 1050s # End of gobject tests 1050s ok - glib/accumulator.test 1050s # Running test: glib/buffered-output-stream.test 1050s TAP version 14 1050s # random seed: R02S23bdb83300ea02e9e050fc84a2cee281 1050s 1..5 1050s # Start of buffered-output-stream tests 1050s ok 1 /buffered-output-stream/write 1050s ok 2 /buffered-output-stream/grow 1050s ok 3 /buffered-output-stream/seek 1050s ok 4 /buffered-output-stream/truncate 1050s # End of buffered-output-stream tests 1050s # Start of filter-output-stream tests 1050s ok 5 /filter-output-stream/close 1050s # End of filter-output-stream tests 1050s ok - glib/buffered-output-stream.test 1050s # Running test: glib/converter.test 1050s TAP version 14 1050s # random seed: R02S3718d817e3a49ec620f430200783dbc6 1050s 1..1 1050s # Start of converter tests 1050s ok 1 /converter/bytes 1050s # End of converter tests 1050s ok - glib/converter.test 1050s # Running test: glib/refstring.test 1050s TAP version 14 1050s # random seed: R02Sb91ec46c347580b7839873e07e362905 1050s 1..6 1050s # Start of refstring tests 1050s # s = 'hello, world' (0xaaea336293b0) 1050s ok 1 /refstring/base 1050s ok 2 /refstring/length 1050s ok 3 /refstring/length-auto 1050s ok 4 /refstring/length-nuls 1050s # s = 'hello, world' (0xaaea33629300) 1050s # p = s = 'hello, world' (0xaaea33629300) 1050s # releasing p[0xaaea33629300] ('hello, world') 1050s # p = 'goodbye, world' (0xaaea336293b0) 1050s # releasing p[0xaaea336293b0] ('goodbye, world') 1050s # releasing s[0xaaea33629300] ('hello, world') 1050s ok 5 /refstring/intern 1051s ok 6 /refstring/intern-thread-safety 1051s # slow test /refstring/intern-thread-safety executed in 0.86 secs 1051s # End of refstring tests 1051s ok - glib/refstring.test 1051s # Running test: glib/memory-monitor-portal.test 1052s TAP version 13 1052s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1052s 1..1 1052s ok - glib/memory-monitor-portal.test 1052s # Running test: glib/notify-init.test 1052s TAP version 14 1052s # random seed: R02Scf2718c937782dbaefbf80897313dd7b 1052s 1..1 1052s # Start of properties tests 1052s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 1052s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1052s ok 1 /properties/notify-in-init 1052s # End of properties tests 1052s ok - glib/notify-init.test 1052s # Running test: glib/data-input-stream.test 1052s TAP version 14 1052s # random seed: R02Sc80ef2fdc68f905490c39f21c7b8d318 1052s 1..10 1052s # Start of data-input-stream tests 1052s ok 1 /data-input-stream/basic 1052s ok 2 /data-input-stream/read-lines-LF 1052s ok 3 /data-input-stream/read-lines-LF-valid-utf8 1052s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 1052s ok 5 /data-input-stream/read-lines-CR 1052s ok 6 /data-input-stream/read-lines-CR-LF 1052s ok 7 /data-input-stream/read-lines-any 1052s ok 8 /data-input-stream/read-until 1052s ok 9 /data-input-stream/read-upto 1052s ok 10 /data-input-stream/read-int 1052s # End of data-input-stream tests 1052s ok - glib/data-input-stream.test 1052s # Running test: glib/scannerapi.test 1052s TAP version 14 1052s # random seed: R02S0423a144d4145c604e5eabee331e849b 1052s 1..4 1052s # Start of scanner tests 1052s ok 1 /scanner/warn 1052s ok 2 /scanner/error 1052s ok 3 /scanner/symbols 1052s ok 4 /scanner/tokens 1052s # End of scanner tests 1052s ok - glib/scannerapi.test 1052s # Running test: glib/node.test 1052s TAP version 14 1052s # random seed: R02S3bc36137827ce3324e08f17192fcde31 1052s 1..6 1052s # Start of node tests 1052s ok 1 /node/allocation 1052s ok 2 /node/construction 1052s ok 3 /node/traversal 1052s ok 4 /node/misc 1052s ok 5 /node/unlink 1052s ok 6 /node/copy 1052s # End of node tests 1052s ok - glib/node.test 1052s # Running test: glib/file.test 1052s TAP version 14 1052s # random seed: R02S5db687bf9091f0a80f3ab1224fb909ef 1052s 1..55 1052s # Start of file tests 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/basic/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/basic/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/basic/.dirs/system-config1:/tmp/test_file_WG32Z2/file/basic/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/basic/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/basic/.dirs/system-data1:/tmp/test_file_WG32Z2/file/basic/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/basic/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/basic/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/basic/.dirs/runtime 1052s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1052s ok 1 /file/basic 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/build-filename/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/build-filename/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/build-filename/.dirs/system-config1:/tmp/test_file_WG32Z2/file/build-filename/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/build-filename/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/build-filename/.dirs/system-data1:/tmp/test_file_WG32Z2/file/build-filename/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/build-filename/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/build-filename/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/build-filename/.dirs/runtime 1052s ok 2 /file/build-filename 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/build-filenamev/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/build-filenamev/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_WG32Z2/file/build-filenamev/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/build-filenamev/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_WG32Z2/file/build-filenamev/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/build-filenamev/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/build-filenamev/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/build-filenamev/.dirs/runtime 1052s ok 3 /file/build-filenamev 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/parent/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/parent/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/parent/.dirs/system-config1:/tmp/test_file_WG32Z2/file/parent/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/parent/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/parent/.dirs/system-data1:/tmp/test_file_WG32Z2/file/parent/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/parent/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/parent/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/parent/.dirs/runtime 1052s ok 4 /file/parent 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/child/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/child/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/child/.dirs/system-config1:/tmp/test_file_WG32Z2/file/child/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/child/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/child/.dirs/system-data1:/tmp/test_file_WG32Z2/file/child/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/child/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/child/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/child/.dirs/runtime 1052s ok 5 /file/child 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/empty-path/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/empty-path/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/empty-path/.dirs/system-config1:/tmp/test_file_WG32Z2/file/empty-path/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/empty-path/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/empty-path/.dirs/system-data1:/tmp/test_file_WG32Z2/file/empty-path/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/empty-path/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/empty-path/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/empty-path/.dirs/runtime 1052s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 1052s # /file/empty-path summary: Check that creating a file with an empty path results in errors 1052s ok 6 /file/empty-path 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/type/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/type/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/type/.dirs/system-config1:/tmp/test_file_WG32Z2/file/type/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/type/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/type/.dirs/system-data1:/tmp/test_file_WG32Z2/file/type/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/type/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/type/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/type/.dirs/runtime 1052s ok 7 /file/type 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/parse-name/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/parse-name/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/parse-name/.dirs/system-config1:/tmp/test_file_WG32Z2/file/parse-name/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/parse-name/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/parse-name/.dirs/system-data1:/tmp/test_file_WG32Z2/file/parse-name/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/parse-name/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/parse-name/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/parse-name/.dirs/runtime 1052s ok 8 /file/parse-name 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/replace-load/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/replace-load/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/replace-load/.dirs/system-config1:/tmp/test_file_WG32Z2/file/replace-load/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/replace-load/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/replace-load/.dirs/system-data1:/tmp/test_file_WG32Z2/file/replace-load/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/replace-load/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/replace-load/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/replace-load/.dirs/runtime 1052s ok 9 /file/replace-load 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/replace-cancel/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/replace-cancel/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_WG32Z2/file/replace-cancel/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/replace-cancel/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_WG32Z2/file/replace-cancel/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/replace-cancel/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/replace-cancel/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/replace-cancel/.dirs/runtime 1052s # Bug Reference: https://bugzilla.gnome.org/629301 1052s ok 10 /file/replace-cancel 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/replace-symlink/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/replace-symlink/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_WG32Z2/file/replace-symlink/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/replace-symlink/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_WG32Z2/file/replace-symlink/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/replace-symlink/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/replace-symlink/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/replace-symlink/.dirs/runtime 1052s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 1052s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 1052s # Using temporary directory /tmp/test_file_WG32Z2/g_file_replace_symlink_SRY2Z2 1052s ok 11 /file/replace-symlink 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/async-new-tmp/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/async-new-tmp/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_WG32Z2/file/async-new-tmp/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/async-new-tmp/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_WG32Z2/file/async-new-tmp/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/async-new-tmp/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/async-new-tmp/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/async-new-tmp/.dirs/runtime 1052s ok 12 /file/async-new-tmp 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/async-new-tmp-dir/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/async-new-tmp-dir/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_WG32Z2/file/async-new-tmp-dir/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/async-new-tmp-dir/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_WG32Z2/file/async-new-tmp-dir/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/async-new-tmp-dir/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/async-new-tmp-dir/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/async-new-tmp-dir/.dirs/runtime 1052s ok 13 /file/async-new-tmp-dir 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/async-delete/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/async-delete/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/async-delete/.dirs/system-config1:/tmp/test_file_WG32Z2/file/async-delete/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/async-delete/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/async-delete/.dirs/system-data1:/tmp/test_file_WG32Z2/file/async-delete/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/async-delete/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/async-delete/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/async-delete/.dirs/runtime 1052s ok 14 /file/async-delete 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/async-make-symlink/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/async-make-symlink/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_WG32Z2/file/async-make-symlink/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/async-make-symlink/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_WG32Z2/file/async-make-symlink/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/async-make-symlink/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/async-make-symlink/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/async-make-symlink/.dirs/runtime 1052s ok 15 /file/async-make-symlink 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/copy-preserve-mode/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/copy-preserve-mode/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_WG32Z2/file/copy-preserve-mode/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/copy-preserve-mode/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_WG32Z2/file/copy-preserve-mode/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/copy-preserve-mode/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/copy-preserve-mode/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/copy-preserve-mode/.dirs/runtime 1052s # Current umask: 2 1052s # Vector 0 1052s # Vector 1 1052s # Vector 2 1052s # Vector 3 1052s # Vector 4 1052s # Vector 5 1052s # Vector 6 1052s # Vector 7 1052s # Vector 8 1052s # Vector 9 1052s # Vector 10 1052s ok 16 /file/copy-preserve-mode 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/copy-async-with-closures/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/copy-async-with-closures/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_WG32Z2/file/copy-async-with-closures/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/copy-async-with-closures/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_WG32Z2/file/copy-async-with-closures/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/copy-async-with-closures/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/copy-async-with-closures/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/copy-async-with-closures/.dirs/runtime 1052s ok 17 /file/copy-async-with-closures 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/measure/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/measure/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/measure/.dirs/system-config1:/tmp/test_file_WG32Z2/file/measure/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/measure/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/measure/.dirs/system-data1:/tmp/test_file_WG32Z2/file/measure/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/measure/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/measure/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/measure/.dirs/runtime 1052s ok 18 /file/measure 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/measure-async/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/measure-async/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/measure-async/.dirs/system-config1:/tmp/test_file_WG32Z2/file/measure-async/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/measure-async/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/measure-async/.dirs/system-data1:/tmp/test_file_WG32Z2/file/measure-async/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/measure-async/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/measure-async/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/measure-async/.dirs/runtime 1052s ok 19 /file/measure-async 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/load-bytes/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/load-bytes/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/load-bytes/.dirs/system-config1:/tmp/test_file_WG32Z2/file/load-bytes/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/load-bytes/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/load-bytes/.dirs/system-data1:/tmp/test_file_WG32Z2/file/load-bytes/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/load-bytes/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/load-bytes/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/load-bytes/.dirs/runtime 1052s ok 20 /file/load-bytes 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/load-bytes-async/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/load-bytes-async/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_WG32Z2/file/load-bytes-async/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/load-bytes-async/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_WG32Z2/file/load-bytes-async/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/load-bytes-async/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/load-bytes-async/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/load-bytes-async/.dirs/runtime 1052s ok 21 /file/load-bytes-async 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/load-bytes-4gb/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/load-bytes-4gb/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_WG32Z2/file/load-bytes-4gb/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/load-bytes-4gb/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_WG32Z2/file/load-bytes-4gb/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/load-bytes-4gb/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/load-bytes-4gb/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/load-bytes-4gb/.dirs/runtime 1052s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/load-contents-4gb/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/load-contents-4gb/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_WG32Z2/file/load-contents-4gb/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/load-contents-4gb/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_WG32Z2/file/load-contents-4gb/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/load-contents-4gb/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/load-contents-4gb/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/load-contents-4gb/.dirs/runtime 1052s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/load-contents-4gb-async/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/load-contents-4gb-async/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_WG32Z2/file/load-contents-4gb-async/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/load-contents-4gb-async/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_WG32Z2/file/load-contents-4gb-async/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/load-contents-4gb-async/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/load-contents-4gb-async/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/load-contents-4gb-async/.dirs/runtime 1052s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/writev/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/writev/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/writev/.dirs/system-config1:/tmp/test_file_WG32Z2/file/writev/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/writev/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/writev/.dirs/system-data1:/tmp/test_file_WG32Z2/file/writev/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/writev/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/writev/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/writev/.dirs/runtime 1052s ok 25 /file/writev 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/build-attribute-list-for-copy/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/build-attribute-list-for-copy/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_WG32Z2/file/build-attribute-list-for-copy/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/build-attribute-list-for-copy/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_WG32Z2/file/build-attribute-list-for-copy/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/build-attribute-list-for-copy/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/build-attribute-list-for-copy/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/build-attribute-list-for-copy/.dirs/runtime 1052s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 1052s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 1052s # 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::* 1052s # 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::* 1052s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1052s # Attributes for copy: standard::size,xattr::* 1052s # Attributes for copy: standard::size,unix::mode,xattr::* 1052s ok 26 /file/build-attribute-list-for-copy 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/move_async/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/move_async/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/move_async/.dirs/system-config1:/tmp/test_file_WG32Z2/file/move_async/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/move_async/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/move_async/.dirs/system-data1:/tmp/test_file_WG32Z2/file/move_async/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/move_async/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/move_async/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/move_async/.dirs/runtime 1052s ok 27 /file/move_async 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/move-async-with-closures/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/move-async-with-closures/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_WG32Z2/file/move-async-with-closures/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/move-async-with-closures/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_WG32Z2/file/move-async-with-closures/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/move-async-with-closures/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/move-async-with-closures/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/move-async-with-closures/.dirs/runtime 1052s ok 28 /file/move-async-with-closures 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/query-zero-length-content-type/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/query-zero-length-content-type/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_WG32Z2/file/query-zero-length-content-type/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/query-zero-length-content-type/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_WG32Z2/file/query-zero-length-content-type/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/query-zero-length-content-type/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/query-zero-length-content-type/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/query-zero-length-content-type/.dirs/runtime 1052s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 1052s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 1052s ok 29 /file/query-zero-length-content-type 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/query-default-handler-file/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/query-default-handler-file/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_WG32Z2/file/query-default-handler-file/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/query-default-handler-file/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_WG32Z2/file/query-default-handler-file/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/query-default-handler-file/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/query-default-handler-file/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/query-default-handler-file/.dirs/runtime 1052s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WG32Z2/file/query-default-handler-file/.dirs/data/applications 1052s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WG32Z2/file/query-default-handler-file/.dirs/config 1052s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WG32Z2/file/query-default-handler-file/.dirs/config 1052s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WG32Z2/file/query-default-handler-file/.dirs/config 1052s ok 30 /file/query-default-handler-file 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/query-default-handler-file-async/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/query-default-handler-file-async/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_WG32Z2/file/query-default-handler-file-async/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/query-default-handler-file-async/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_WG32Z2/file/query-default-handler-file-async/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/query-default-handler-file-async/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/query-default-handler-file-async/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/query-default-handler-file-async/.dirs/runtime 1052s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WG32Z2/file/query-default-handler-file-async/.dirs/data/applications 1052s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WG32Z2/file/query-default-handler-file-async/.dirs/config 1052s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_WG32Z2/file/query-default-handler-file/.dirs/config to /tmp/test_file_WG32Z2/file/query-default-handler-file-async/.dirs/config 1052s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WG32Z2/file/query-default-handler-file-async/.dirs/config 1052s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WG32Z2/file/query-default-handler-file-async/.dirs/config 1052s ok 31 /file/query-default-handler-file-async 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/query-default-handler-uri/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/query-default-handler-uri/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_WG32Z2/file/query-default-handler-uri/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/query-default-handler-uri/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_WG32Z2/file/query-default-handler-uri/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/query-default-handler-uri/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/query-default-handler-uri/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/query-default-handler-uri/.dirs/runtime 1052s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WG32Z2/file/query-default-handler-uri/.dirs/data/applications 1052s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WG32Z2/file/query-default-handler-uri/.dirs/config 1052s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_WG32Z2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_WG32Z2/file/query-default-handler-uri/.dirs/config 1052s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WG32Z2/file/query-default-handler-uri/.dirs/config 1052s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WG32Z2/file/query-default-handler-uri/.dirs/config 1052s ok 32 /file/query-default-handler-uri 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/query-default-handler-uri-async/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/query-default-handler-uri-async/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_WG32Z2/file/query-default-handler-uri-async/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/query-default-handler-uri-async/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_WG32Z2/file/query-default-handler-uri-async/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/query-default-handler-uri-async/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/query-default-handler-uri-async/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/query-default-handler-uri-async/.dirs/runtime 1052s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WG32Z2/file/query-default-handler-uri-async/.dirs/data/applications 1052s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WG32Z2/file/query-default-handler-uri-async/.dirs/config 1052s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_WG32Z2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_WG32Z2/file/query-default-handler-uri-async/.dirs/config 1052s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WG32Z2/file/query-default-handler-uri-async/.dirs/config 1052s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_WG32Z2/file/query-default-handler-uri-async/.dirs/config 1052s ok 33 /file/query-default-handler-uri-async 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/enumerator-cancellation/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/enumerator-cancellation/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_WG32Z2/file/enumerator-cancellation/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/enumerator-cancellation/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_WG32Z2/file/enumerator-cancellation/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/enumerator-cancellation/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/enumerator-cancellation/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/enumerator-cancellation/.dirs/runtime 1052s ok 34 /file/enumerator-cancellation 1052s # Start of async-create-delete tests 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/async-create-delete/0/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/async-create-delete/0/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_WG32Z2/file/async-create-delete/0/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/async-create-delete/0/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_WG32Z2/file/async-create-delete/0/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/async-create-delete/0/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/async-create-delete/0/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/async-create-delete/0/.dirs/runtime 1052s ok 35 /file/async-create-delete/0 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/async-create-delete/1/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/async-create-delete/1/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_WG32Z2/file/async-create-delete/1/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/async-create-delete/1/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_WG32Z2/file/async-create-delete/1/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/async-create-delete/1/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/async-create-delete/1/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/async-create-delete/1/.dirs/runtime 1052s ok 36 /file/async-create-delete/1 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/async-create-delete/10/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/async-create-delete/10/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_WG32Z2/file/async-create-delete/10/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/async-create-delete/10/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_WG32Z2/file/async-create-delete/10/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/async-create-delete/10/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/async-create-delete/10/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/async-create-delete/10/.dirs/runtime 1052s ok 37 /file/async-create-delete/10 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/async-create-delete/25/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/async-create-delete/25/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_WG32Z2/file/async-create-delete/25/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/async-create-delete/25/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_WG32Z2/file/async-create-delete/25/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/async-create-delete/25/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/async-create-delete/25/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/async-create-delete/25/.dirs/runtime 1052s ok 38 /file/async-create-delete/25 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/async-create-delete/4096/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/async-create-delete/4096/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_WG32Z2/file/async-create-delete/4096/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/async-create-delete/4096/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_WG32Z2/file/async-create-delete/4096/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/async-create-delete/4096/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/async-create-delete/4096/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/async-create-delete/4096/.dirs/runtime 1052s ok 39 /file/async-create-delete/4096 1052s # End of async-create-delete tests 1052s # Start of replace-symlink tests 1052s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/replace-symlink/using-etag/.dirs/home 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/replace-symlink/using-etag/.dirs/cache 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_WG32Z2/file/replace-symlink/using-etag/.dirs/system-config2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/replace-symlink/using-etag/.dirs/config 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_WG32Z2/file/replace-symlink/using-etag/.dirs/system-data2 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/replace-symlink/using-etag/.dirs/data 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/replace-symlink/using-etag/.dirs/state 1052s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/replace-symlink/using-etag/.dirs/runtime 1052s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 1052s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 1052s # Using temporary directory /tmp/test_file_WG32Z2/g_file_replace_symlink_using_etag_SWFJZ2 1053s # Executing: glib/file.test 1054s ok 40 /file/replace-symlink/using-etag 1054s # slow test /file/replace-symlink/using-etag executed in 2.01 secs 1054s # End of replace-symlink tests 1054s # Start of replace tests 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/replace/write-only/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/replace/write-only/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_WG32Z2/file/replace/write-only/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/replace/write-only/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_WG32Z2/file/replace/write-only/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/replace/write-only/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/replace/write-only/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/replace/write-only/.dirs/runtime 1054s # /file/replace/write-only summary: Test various situations for g_file_replace() 1054s # Current umask: 2 1054s # Test 0, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_MLGJZ2 1054s # Test 1, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_INGJZ2 1054s # Test 2, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_9XCJZ2 1054s # Test 3, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_Q9AJZ2 1054s # Test 4, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_3MAJZ2 1054s # Test 5, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_YUAJZ2 1054s # Test 6, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_DUHKZ2 1054s # Test 7, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_H4KKZ2 1054s # Test 8, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_TGLKZ2 1054s # Test 9, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_FQKKZ2 1054s # Test 10, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_IJIKZ2 1054s # Test 11, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_2E9JZ2 1054s # Test 12, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_VM9JZ2 1054s # Test 13, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_B28JZ2 1054s # Test 14, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_AG5JZ2 1054s # Test 15, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_C13JZ2 1054s # Test 16, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_ZB7JZ2 1054s # Test 17, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_1PYJZ2 1054s # Test 18, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_9U1JZ2 1054s # Test 19, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_INZJZ2 1054s # Test 20, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_50BIZ2 1054s # Test 21, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_KLGIZ2 1054s # Test 22, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_G77HZ2 1054s # Test 23, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_4G7HZ2 1054s # Test 24, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_Q64HZ2 1054s # Test 25, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_EM8HZ2 1054s # Test 26, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_VZ8HZ2 1054s # Test 27, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_G97HZ2 1054s # Test 28, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_DNZHZ2 1054s # Test 29, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_TT4HZ2 1054s # Test 30, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_V14HZ2 1054s # Test 31, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_FC4HZ2 1054s # Test 32, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_0M2HZ2 1054s # Test 33, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_8CTHZ2 1054s # Test 34, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_GJTHZ2 1054s # Test 35, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_UYSHZ2 1054s # Test 36, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_M4WHZ2 1054s # Test 37, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_UB2IZ2 1054s # Test 38, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_CK6IZ2 1054s # Test 39, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_584IZ2 1054s # Test 40, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_BOVIZ2 1054s # Test 41, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_X6ZIZ2 1054s # Test 42, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_63QIZ2 1054s # Test 43, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_X0TIZ2 1054s # Test 44, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_6USIZ2 1054s # Test 45, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_7WSIZ2 1054s # Test 46, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_0PKIZ2 1054s # Test 47, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_E6JIZ2 1054s # Test 48, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_GTHIZ2 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s ok 41 /file/replace/write-only 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/replace/read-write/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/replace/read-write/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_WG32Z2/file/replace/read-write/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/replace/read-write/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_WG32Z2/file/replace/read-write/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/replace/read-write/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/replace/read-write/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/replace/read-write/.dirs/runtime 1054s # /file/replace/read-write summary: Test various situations for g_file_replace() 1054s # Current umask: 2 1054s # Test 0, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_DRNIZ2 1054s # Test 1, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_QSNIZ2 1054s # Test 2, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_QJLIZ2 1054s # Test 3, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_9S6RZ2 1054s # Test 4, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_RE6RZ2 1054s # Test 5, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_JG6RZ2 1054s # Test 6, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_IQ9RZ2 1054s # Test 7, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_A00RZ2 1054s # Test 8, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_WE0RZ2 1054s # Test 9, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_LN0RZ2 1054s # Test 10, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_Q24RZ2 1054s # Test 11, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_ME3RZ2 1054s # Test 12, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_BU2RZ2 1054s # Test 13, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_T12RZ2 1054s # Test 14, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_84TRZ2 1054s # Test 15, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_69WRZ2 1054s # Test 16, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_K7NRZ2 1054s # Test 17, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_41RRZ2 1054s # Test 18, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_JXQRZ2 1054s # Test 19, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_V8WSZ2 1054s # Test 20, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_UTUSZ2 1054s # Test 21, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_TAZSZ2 1054s # Test 22, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_DEQSZ2 1054s # Test 23, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_GSPSZ2 1054s # Test 24, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_J4OSZ2 1054s # Test 25, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_4RSSZ2 1054s # Test 26, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_WZSSZ2 1054s # Test 27, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_9ESSZ2 1054s # Test 28, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_1WJSZ2 1054s # Test 29, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_YFNSZ2 1054s # Test 30, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_ELNSZ2 1054s # Test 31, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_GVMSZ2 1054s # Test 32, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_M2DSZ2 1054s # Test 33, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_1JHSZ2 1054s # Test 34, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_Z4GSZ2 1054s # Test 35, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_R5GSZ2 1054s # Test 36, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_X4FSZ2 1054s # Test 37, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_HUSQZ2 1054s # Test 38, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_NRVQZ2 1054s # Test 39, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_EDNQZ2 1054s # Test 40, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_AAQQZ2 1054s # Test 41, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_F6OQZ2 1054s # Test 42, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_POGQZ2 1054s # Test 43, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_5JJQZ2 1054s # Test 44, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_E79PZ2 1054s # Test 45, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_SL9PZ2 1054s # Test 46, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_HQCQZ2 1054s # Test 47, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_0XCQZ2 1054s # Test 48, using temporary directory /tmp/test_file_WG32Z2/g_file_replace_XBHRZ2 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s ok 42 /file/replace/read-write 1054s # End of replace tests 1054s # Start of copy tests 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/copy/progress/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/copy/progress/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/copy/progress/.dirs/system-config1:/tmp/test_file_WG32Z2/file/copy/progress/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/copy/progress/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/copy/progress/.dirs/system-data1:/tmp/test_file_WG32Z2/file/copy/progress/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/copy/progress/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/copy/progress/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/copy/progress/.dirs/runtime 1054s ok 43 /file/copy/progress 1054s # End of copy tests 1054s # Start of writev tests 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/writev/no-bytes-written/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/writev/no-bytes-written/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_WG32Z2/file/writev/no-bytes-written/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/writev/no-bytes-written/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_WG32Z2/file/writev/no-bytes-written/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/writev/no-bytes-written/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/writev/no-bytes-written/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/writev/no-bytes-written/.dirs/runtime 1054s ok 44 /file/writev/no-bytes-written 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/writev/no-vectors/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/writev/no-vectors/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_WG32Z2/file/writev/no-vectors/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/writev/no-vectors/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_WG32Z2/file/writev/no-vectors/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/writev/no-vectors/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/writev/no-vectors/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/writev/no-vectors/.dirs/runtime 1054s ok 45 /file/writev/no-vectors 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/writev/empty-vectors/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/writev/empty-vectors/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_WG32Z2/file/writev/empty-vectors/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/writev/empty-vectors/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_WG32Z2/file/writev/empty-vectors/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/writev/empty-vectors/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/writev/empty-vectors/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/writev/empty-vectors/.dirs/runtime 1054s ok 46 /file/writev/empty-vectors 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/writev/too-big-vectors/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/writev/too-big-vectors/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_WG32Z2/file/writev/too-big-vectors/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/writev/too-big-vectors/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_WG32Z2/file/writev/too-big-vectors/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/writev/too-big-vectors/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/writev/too-big-vectors/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/writev/too-big-vectors/.dirs/runtime 1054s ok 47 /file/writev/too-big-vectors 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/writev/async/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/writev/async/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/writev/async/.dirs/system-config1:/tmp/test_file_WG32Z2/file/writev/async/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/writev/async/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/writev/async/.dirs/system-data1:/tmp/test_file_WG32Z2/file/writev/async/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/writev/async/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/writev/async/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/writev/async/.dirs/runtime 1054s ok 48 /file/writev/async 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/writev/async_all/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/writev/async_all/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_WG32Z2/file/writev/async_all/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/writev/async_all/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_WG32Z2/file/writev/async_all/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/writev/async_all/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/writev/async_all/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/writev/async_all/.dirs/runtime 1054s ok 49 /file/writev/async_all 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/writev/async_all-empty-vectors/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/writev/async_all-empty-vectors/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_WG32Z2/file/writev/async_all-empty-vectors/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/writev/async_all-empty-vectors/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_WG32Z2/file/writev/async_all-empty-vectors/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/writev/async_all-empty-vectors/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/writev/async_all-empty-vectors/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/writev/async_all-empty-vectors/.dirs/runtime 1054s ok 50 /file/writev/async_all-empty-vectors 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/writev/async_all-no-vectors/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/writev/async_all-no-vectors/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_WG32Z2/file/writev/async_all-no-vectors/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/writev/async_all-no-vectors/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_WG32Z2/file/writev/async_all-no-vectors/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/writev/async_all-no-vectors/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/writev/async_all-no-vectors/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/writev/async_all-no-vectors/.dirs/runtime 1054s ok 51 /file/writev/async_all-no-vectors 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/writev/async_all-to-big-vectors/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/writev/async_all-to-big-vectors/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_WG32Z2/file/writev/async_all-to-big-vectors/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/writev/async_all-to-big-vectors/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_WG32Z2/file/writev/async_all-to-big-vectors/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/writev/async_all-to-big-vectors/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/writev/async_all-to-big-vectors/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/writev/async_all-to-big-vectors/.dirs/runtime 1054s ok 52 /file/writev/async_all-to-big-vectors 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/writev/async_all-cancellation/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/writev/async_all-cancellation/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_WG32Z2/file/writev/async_all-cancellation/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/writev/async_all-cancellation/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_WG32Z2/file/writev/async_all-cancellation/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/writev/async_all-cancellation/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/writev/async_all-cancellation/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/writev/async_all-cancellation/.dirs/runtime 1054s ok 53 /file/writev/async_all-cancellation 1054s # End of writev tests 1054s # Start of from-uri tests 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/from-uri/ignores-query-string/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/from-uri/ignores-query-string/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_WG32Z2/file/from-uri/ignores-query-string/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/from-uri/ignores-query-string/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_WG32Z2/file/from-uri/ignores-query-string/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/from-uri/ignores-query-string/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/from-uri/ignores-query-string/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/from-uri/ignores-query-string/.dirs/runtime 1054s ok 54 /file/from-uri/ignores-query-string 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_WG32Z2/file/from-uri/ignores-fragment/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_WG32Z2/file/from-uri/ignores-fragment/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_WG32Z2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_WG32Z2/file/from-uri/ignores-fragment/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_WG32Z2/file/from-uri/ignores-fragment/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_WG32Z2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_WG32Z2/file/from-uri/ignores-fragment/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_WG32Z2/file/from-uri/ignores-fragment/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_WG32Z2/file/from-uri/ignores-fragment/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_WG32Z2/file/from-uri/ignores-fragment/.dirs/runtime 1054s ok 55 /file/from-uri/ignores-fragment 1054s # End of from-uri tests 1054s # End of file tests 1054s ok - glib/file.test 1054s # Running test: glib/rwlock.test 1054s TAP version 14 1054s # random seed: R02S78f92cf9eba2d32591bef9940e1bc87c 1054s 1..8 1054s # Start of thread tests 1054s ok 1 /thread/rwlock1 1054s ok 2 /thread/rwlock2 1054s ok 3 /thread/rwlock3 1054s ok 4 /thread/rwlock4 1054s ok 5 /thread/rwlock5 1054s ok 6 /thread/rwlock6 1058s # Executing: glib/rwlock.test 1063s # Executing: glib/rwlock.test 1064s ok 7 /thread/rwlock7 1064s # slow test /thread/rwlock7 executed in 9.36 secs 1064s ok 8 /thread/rwlock8 1064s # End of thread tests 1064s ok - glib/rwlock.test 1064s # Running test: glib/cxx-2b.test 1064s TAP version 14 1064s # random seed: R02Sa489363f79998f934314ec001fca6070 1064s 1..2 1064s # Start of gtask tests 1064s # 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. 1064s ok 1 /gtask/name 1064s # Start of name tests 1064s # 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. 1064s ok 2 /gtask/name/macro-wrapper 1064s # End of name tests 1064s # End of gtask tests 1064s ok - glib/cxx-2b.test 1064s # Running test: glib/portal-support-snap-classic.test 1064s TAP version 14 1064s # random seed: R02S1fbab37726111244b812e7f2679ceba1 1064s 1..3 1064s # Start of portal-support tests 1064s # Start of snap-classic tests 1064s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/no-snapctl/.dirs/home 1064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/no-snapctl/.dirs/cache 1064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/no-snapctl/.dirs/system-config2 1064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/no-snapctl/.dirs/config 1064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/no-snapctl/.dirs/system-data2 1064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/no-snapctl/.dirs/data 1064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/no-snapctl/.dirs/state 1064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/no-snapctl/.dirs/runtime 1064s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/no-snapctl: No such file or directory 1064s ok 1 /portal-support/snap-classic/no-snapctl 1064s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/none/.dirs/home 1064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/none/.dirs/cache 1064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/none/.dirs/system-config2 1064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/none/.dirs/config 1064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/none/.dirs/system-data2 1064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/none/.dirs/data 1064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/none/.dirs/state 1064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/none/.dirs/runtime 1064s # Created snap.yaml in /tmp/test_portal-support-snap-classic_XK70Z2/meta/snap.yaml 1064s # Created snapctl in /tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/none/.dirs/runtime/snapctl 1064s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/none: No such file or directory 1064s ok 2 /portal-support/snap-classic/none 1064s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/all/.dirs/home 1064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/all/.dirs/cache 1064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/all/.dirs/system-config2 1064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/all/.dirs/config 1064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/all/.dirs/system-data2 1064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/all/.dirs/data 1064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/all/.dirs/state 1064s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/all/.dirs/runtime 1064s # Created snap.yaml in /tmp/test_portal-support-snap-classic_XK70Z2/meta/snap.yaml 1064s # Created snapctl in /tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/all/.dirs/runtime/snapctl 1064s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_XK70Z2/portal-support/snap-classic/all: No such file or directory 1064s ok 3 /portal-support/snap-classic/all 1064s # End of snap-classic tests 1064s # End of portal-support tests 1064s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_XK70Z2: No such file or directory 1064s ok - glib/portal-support-snap-classic.test 1064s # Running test: glib/spawn-singlethread.test 1064s TAP version 14 1064s # random seed: R02S2e58822371e1bb0dcd334e198084dd26 1064s 1..9 1064s # Start of gthread tests 1064s ok 1 /gthread/spawn-single-sync 1064s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 1064s ok 2 /gthread/spawn-stderr-socket 1064s ok 3 /gthread/spawn-single-async 1064s # thread 1 1064s # thread 1 1064s ok 4 /gthread/spawn-single-async-with-fds 1064s ok 5 /gthread/spawn-async-with-invalid-fds 1064s ok 6 /gthread/spawn-script 1064s ok 7 /gthread/spawn-posix-spawn 1064s # Start of spawn tests 1064s ok 8 /gthread/spawn/nonexistent 1064s # FD map: 1064s # • 5 → 15 1064s # • 6 → 16 1064s # • 7 → 17 1064s # • 8 → 18 1064s # • 9 → 19 1064s # • 10 → 20 1064s # • 11 → 21 1064s # • 12 → 22 1064s # • 13 → 23 1064s # • 3 → 13 1064s ok 9 /gthread/spawn/fd-assignment-clash 1064s # End of spawn tests 1064s # End of gthread tests 1064s ok - glib/spawn-singlethread.test 1064s # Running test: glib/mappedfile.test 1064s TAP version 14 1064s # random seed: R02S8281cc885d1e83ad6d1bb39773f9485c 1064s 1..7 1064s # Start of mappedfile tests 1064s ok 1 /mappedfile/basic 1064s ok 2 /mappedfile/empty 1064s ok 3 /mappedfile/device 1064s ok 4 /mappedfile/nonexisting 1064s ok 5 /mappedfile/writable 1064s ok 6 /mappedfile/writable_fd 1064s ok 7 /mappedfile/gbytes 1064s # End of mappedfile tests 1064s ok - glib/mappedfile.test 1064s # Running test: glib/vfs.test 1064s TAP version 14 1064s # random seed: R02S5c4d9538611879df5885ef2e5f776372 1064s 1..3 1064s # Start of gvfs tests 1064s ok 1 /gvfs/local 1064s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1064s ok 2 /gvfs/register-scheme 1064s # Start of resource tests 1064s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 1064s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 1064s ok 3 /gvfs/resource/malformed-escaping 1064s # End of resource tests 1064s # End of gvfs tests 1064s ok - glib/vfs.test 1064s # Running test: glib/portal-support-env-var.test 1064s TAP version 14 1064s # random seed: R02S7144880b3ebc10ff3b19761876b28244 1064s 1..1 1064s # Start of portal-support tests 1064s ok 1 /portal-support/env-var 1064s # End of portal-support tests 1064s ok - glib/portal-support-env-var.test 1064s # Running test: glib/atomic-c-11.test 1064s TAP version 14 1064s # random seed: R02S4cd125077e3c0f4e018819f22d191b65 1064s 1..2 1064s # Start of atomic tests 1064s ok 1 /atomic/types 1064s ok 2 /atomic/threaded 1064s # End of atomic tests 1064s ok - glib/atomic-c-11.test 1064s # Running test: glib/override.test 1064s TAP version 14 1064s # random seed: R02S1547ee08b52a2ac2195b3f6a6a142dcb 1064s 1..1 1064s # Start of gobject tests 1064s # *** emitting foo on a TestA instance 1064s # Expecting: TestA::foo,TestI::foo 1064s # Got: TestA::foo,TestI::foo 1064s # *** emitting bar on a TestA instance 1064s # Expecting: TestA::bar 1064s # Got: TestA::bar 1064s # *** emitting baz on a TestA instance 1064s # Expecting: TestA::baz 1064s # Got: TestA::baz 1064s # *** emitting foo on a TestB instance 1064s # Expecting: TestB::foo,TestA::foo,TestI::foo 1064s # Got: TestB::foo,TestA::foo,TestI::foo 1064s # *** emitting bar on a TestB instance 1064s # Expecting: TestB::bar,TestA::bar 1064s # Got: TestB::bar,TestA::bar 1064s # *** emitting baz on a TestB instance 1064s # Expecting: TestB::baz,TestA::baz 1064s # Got: TestB::baz,TestA::baz 1064s # *** emitting foo on a TestC instance 1064s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1064s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1064s # *** emitting bar on a TestC instance 1064s # Expecting: TestC::bar,TestB::bar,TestA::bar 1064s # Got: TestC::bar,TestB::bar,TestA::bar 1064s # *** emitting baz on a TestC instance 1064s # Expecting: TestC::baz,TestB::baz,TestA::baz 1064s # Got: TestC::baz,TestB::baz,TestA::baz 1064s ok 1 /gobject/override 1064s # End of gobject tests 1064s ok - glib/override.test 1064s # Running test: glib/queue.test 1064s TAP version 14 1064s # random seed: R02S9635ef67df3d04285c1068eb5a040236 1064s 1..12 1064s # Start of queue tests 1064s ok 1 /queue/basic 1064s ok 2 /queue/copy 1064s ok 3 /queue/off-by-one 1064s ok 4 /queue/find-custom 1064s ok 5 /queue/static 1064s ok 6 /queue/clear 1064s ok 7 /queue/free-full 1064s ok 8 /queue/clear-full 1064s ok 9 /queue/insert-sibling-link 1064s ok 10 /queue/push-nth-link 1064s # Start of clear-full tests 1064s ok 11 /queue/clear-full/noop 1064s # End of clear-full tests 1064s # Start of random tests 1064s ok 12 /queue/random/seed:1827814306 1064s # End of random tests 1064s # End of queue tests 1064s ok - glib/queue.test 1064s # Running test: glib/srvtarget.test 1064s TAP version 14 1064s # random seed: R02Sbcc52ee2b1862d789ed19215451e6e98 1064s 1..1 1064s # Start of srvtarget tests 1065s ok 1 /srvtarget/srv-target-ordering 1065s # End of srvtarget tests 1065s ok - glib/srvtarget.test 1065s # Running test: glib/resources.test 1065s TAP version 14 1065s # random seed: R02Sf3917b58d770f806958ae4bd438f92fb 1065s 1..17 1065s # Start of resource tests 1065s ok 1 /resource/file 1065s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1065s ok 2 /resource/file-path 1065s ok 3 /resource/data 1065s ok 4 /resource/data_unaligned 1065s ok 5 /resource/data-corrupt 1065s ok 6 /resource/data-empty 1065s ok 7 /resource/registered 1065s ok 8 /resource/manual 1065s ok 9 /resource/manual2 1065s ok 10 /resource/automatic 1065s ok 11 /resource/module 1065s ok 12 /resource/binary-linked 1065s ok 13 /resource/64k 1065s GLib-GIO-Message: 05:47:46.205: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 1065s ok 14 /resource/overlay 1065s ok 15 /resource/digits 1065s # Start of uri tests 1065s ok 16 /resource/uri/query-info 1065s ok 17 /resource/uri/file 1065s # End of uri tests 1065s # End of resource tests 1065s ok - glib/resources.test 1065s # Running test: glib/macros-c-11.test 1065s TAP version 14 1065s # random seed: R02S94fe7d26934fc87c887691d4f74d29de 1065s 1..4 1065s # Start of C tests 1065s ok 1 /C/standard-11 1065s # End of C tests 1065s # Start of alignof tests 1065s ok 2 /alignof/fallback 1065s # End of alignof tests 1065s # Start of assert tests 1065s ok 3 /assert/static 1065s # End of assert tests 1065s # Start of struct tests 1065s ok 4 /struct/sizeof_member 1065s # End of struct tests 1065s ok - glib/macros-c-11.test 1065s # Running test: glib/utils.test 1065s TAP version 14 1065s # random seed: R02Sbc6eb60e58e646020e9724215d3cec87 1065s 1..40 1065s # Start of utils tests 1065s ok 1 /utils/language-names 1065s ok 2 /utils/locale-variants 1065s ok 3 /utils/version 1065s ok 4 /utils/appname 1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1065s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1065s ok 5 /utils/prgname-thread-safety 1065s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1065s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1065s ok 6 /utils/tmpdir 1065s ok 7 /utils/basic_bits 1065s ok 8 /utils/bits 1065s ok 9 /utils/swap 1065s ok 10 /utils/find-program 1065s ok 11 /utils/find-program-for-path 1065s ok 12 /utils/debug 1065s ok 13 /utils/codeset 1065s ok 14 /utils/codeset2 1065s ok 15 /utils/console-charset 1065s ok 16 /utils/gettext 1065s ok 17 /utils/username 1065s ok 18 /utils/realname 1065s ok 19 /utils/hostname 1065s ok 20 /utils/xdgdirs 1065s ok 21 /utils/specialdir 1065s # NAME: Ubuntu 1065s ok 22 /utils/os-info 1065s ok 23 /utils/clear-pointer 1065s ok 24 /utils/clear-pointer-cast 1065s ok 25 /utils/take-pointer 1065s ok 26 /utils/clear-source 1065s ok 27 /utils/misc-mem 1065s # /utils/aligned-mem summary: Aligned memory allocator 1065s # Alignment must not be zero 1065s # Alignment must be a power of two 1065s # Alignment must be a multiple of sizeof(void*) 1065s ok 28 /utils/aligned-mem 1065s # /utils/free-sized summary: Check that g_free_sized() works 1065s ok 29 /utils/free-sized 1065s ok 30 /utils/nullify 1065s ok 31 /utils/atexit 1065s ok 32 /utils/check-setuid 1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1065s ok 33 /utils/int-limits 1065s ok 34 /utils/clear-list 1065s ok 35 /utils/clear-slist 1065s # Start of specialdir tests 1065s ok 36 /utils/specialdir/desktop 1065s # End of specialdir tests 1065s # Start of clear-pointer tests 1065s ok 37 /utils/clear-pointer/side-effects 1065s # End of clear-pointer tests 1065s # Start of aligned-mem tests 1065s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1065s ok 38 /utils/aligned-mem/alignment 1065s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1065s ok 39 /utils/aligned-mem/zeroed 1065s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1065s ok 40 /utils/aligned-mem/free-sized 1065s # Start of subprocess tests 1065s # End of subprocess tests 1065s # End of aligned-mem tests 1065s # End of utils tests 1065s ok - glib/utils.test 1065s # Running test: glib/slice.test 1065s TAP version 14 1065s # random seed: R02S74e99a803bd27210701db47770f150ff 1065s 1..3 1065s # Start of slice tests 1065s ok 1 /slice/copy 1065s ok 2 /slice/chain 1065s ok 3 /slice/allocate 1065s # End of slice tests 1065s ok - glib/slice.test 1065s # Running test: glib/gdbus-test-codegen.test 1065s TAP version 14 1065s # random seed: R02S18330161a1024c8ec65edcd5154bae69 1065s 1..8 1065s # Start of gdbus tests 1065s # Start of codegen tests 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/annotations/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/annotations/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/annotations/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/annotations/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/annotations/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/annotations/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/annotations/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/annotations/.dirs/runtime 1065s ok 1 /gdbus/codegen/annotations 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/interface_stability/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/interface_stability/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/interface_stability/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/interface_stability/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/interface_stability/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/interface_stability/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/interface_stability/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/interface_stability/.dirs/runtime 1065s ok 2 /gdbus/codegen/interface_stability 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/object-manager/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/object-manager/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/object-manager/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/object-manager/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/object-manager/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/object-manager/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/object-manager/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/object-manager/.dirs/runtime 1065s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1065s ok 3 /gdbus/codegen/object-manager 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/property-naming/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/property-naming/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/property-naming/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/property-naming/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/property-naming/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/property-naming/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/property-naming/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/property-naming/.dirs/runtime 1065s ok 4 /gdbus/codegen/property-naming 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/autocleanups/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/autocleanups/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/autocleanups/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/autocleanups/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/autocleanups/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/autocleanups/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/autocleanups/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/autocleanups/.dirs/runtime 1065s ok 5 /gdbus/codegen/autocleanups 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/deprecations/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/deprecations/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/deprecations/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/deprecations/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/deprecations/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/deprecations/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/deprecations/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/deprecations/.dirs/runtime 1065s ok 6 /gdbus/codegen/deprecations 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/standalone-interface-info/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/standalone-interface-info/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/standalone-interface-info/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/standalone-interface-info/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/standalone-interface-info/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1065s ok 7 /gdbus/codegen/standalone-interface-info 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/unix-fd-list/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/unix-fd-list/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/unix-fd-list/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/unix-fd-list/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/unix-fd-list/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_Q1PZZ2/gdbus/codegen/unix-fd-list/.dirs/runtime 1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1065s ok 8 /gdbus/codegen/unix-fd-list 1065s # End of codegen tests 1065s # End of gdbus tests 1065s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1065s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1065s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1065s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1065s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1065s ok - glib/gdbus-test-codegen.test 1065s # Running test: glib/gdbus-serialization.test 1065s TAP version 14 1065s # random seed: R02S092b93458dc5a3e4f5de0b3b119f4817 1065s 1..18 1065s # Start of gdbus tests 1065s # Start of message-serialize tests 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/basic/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/basic/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/basic/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/basic/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/basic/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/basic/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/basic/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/basic/.dirs/runtime 1065s ok 1 /gdbus/message-serialize/basic 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/complex/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/complex/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/complex/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/complex/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/complex/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/complex/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/complex/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/complex/.dirs/runtime 1065s ok 2 /gdbus/message-serialize/complex 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/invalid/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/invalid/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/invalid/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/invalid/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/invalid/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/invalid/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/invalid/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/invalid/.dirs/runtime 1065s ok 3 /gdbus/message-serialize/invalid 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/header-checks/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/header-checks/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/header-checks/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/header-checks/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/header-checks/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/header-checks/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/header-checks/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/header-checks/.dirs/runtime 1065s ok 4 /gdbus/message-serialize/header-checks 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/double-array/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/double-array/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/double-array/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/double-array/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/double-array/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/double-array/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/double-array/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/double-array/.dirs/runtime 1065s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1065s ok 5 /gdbus/message-serialize/double-array 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/empty-structure/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/empty-structure/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/empty-structure/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/empty-structure/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/empty-structure/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/empty-structure/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/empty-structure/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/empty-structure/.dirs/runtime 1065s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1065s ok 6 /gdbus/message-serialize/empty-structure 1065s # Start of header-checks tests 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/header-checks/valid/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/header-checks/valid/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/header-checks/valid/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/header-checks/valid/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/header-checks/valid/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1065s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1065s ok 7 /gdbus/message-serialize/header-checks/valid 1065s # End of header-checks tests 1065s # End of message-serialize tests 1065s # Start of message-parse tests 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1065s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1065s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/non-signature-header/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/non-signature-header/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/non-signature-header/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/non-signature-header/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/non-signature-header/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/non-signature-header/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/non-signature-header/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/non-signature-header/.dirs/runtime 1065s ok 9 /gdbus/message-parse/non-signature-header 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/empty-signature-header/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/empty-signature-header/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/empty-signature-header/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/empty-signature-header/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/empty-signature-header/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/empty-signature-header/.dirs/runtime 1065s ok 10 /gdbus/message-parse/empty-signature-header 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/multiple-signature-header/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/multiple-signature-header/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/multiple-signature-header/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/multiple-signature-header/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/multiple-signature-header/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1065s ok 11 /gdbus/message-parse/multiple-signature-header 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/over-long-signature-header/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/over-long-signature-header/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/over-long-signature-header/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/over-long-signature-header/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/over-long-signature-header/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1065s ok 12 /gdbus/message-parse/over-long-signature-header 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/deep-header-nesting/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/deep-header-nesting/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/deep-header-nesting/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/deep-header-nesting/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/deep-header-nesting/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1065s ok 13 /gdbus/message-parse/deep-header-nesting 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/deep-body-nesting/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/deep-body-nesting/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/deep-body-nesting/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/deep-body-nesting/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/deep-body-nesting/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1065s ok 14 /gdbus/message-parse/deep-body-nesting 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/truncated/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/truncated/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/truncated/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/truncated/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/truncated/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/truncated/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/truncated/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/truncated/.dirs/runtime 1065s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1065s ok 15 /gdbus/message-parse/truncated 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/empty-structure/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/empty-structure/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/empty-structure/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/empty-structure/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/empty-structure/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/empty-structure/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/empty-structure/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/empty-structure/.dirs/runtime 1065s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1065s ok 16 /gdbus/message-parse/empty-structure 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/missing-header/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/missing-header/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/missing-header/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/missing-header/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/missing-header/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/missing-header/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/missing-header/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/missing-header/.dirs/runtime 1065s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1065s ok 17 /gdbus/message-parse/missing-header 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/invalid-header-type/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/invalid-header-type/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/invalid-header-type/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/invalid-header-type/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/invalid-header-type/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_XO5LZ2/gdbus/message-parse/invalid-header-type/.dirs/runtime 1065s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1065s ok 18 /gdbus/message-parse/invalid-header-type 1065s # End of message-parse tests 1065s # End of gdbus tests 1065s ok - glib/gdbus-serialization.test 1065s # Running test: glib/uri.test 1065s TAP version 14 1065s # random seed: R02S099294c9bd86a8ccf3633334637dd92b 1065s 1..24 1065s # Start of uri tests 1065s ok 1 /uri/file-to-uri 1065s ok 2 /uri/file-from-uri 1065s ok 3 /uri/file-roundtrip 1065s ok 4 /uri/list 1065s # Test 0: %2Babc %4F 1065s # Test 1: %2Babc %4F 1065s # Test 2: %00abc %4F 1065s # Test 3: /cursors/none.png 1065s # Test 4: /cursors%2fbad-subdir/none.png 1065s # Test 5: %0 1065s # Test 6: %ra 1065s # Test 7: %2r 1065s # Test 8: Timm B?der 1065s # Test 9: (null) 1065s ok 5 /uri/unescape-string 1065s ok 6 /uri/unescape-segment 1065s # Test 0: abcdefgABCDEFG._~ 1065s # Test 1: :+ \\?# 1065s # Test 2: a+b:c 1065s # Test 3: a+b:c\303\234 1065s # Test 4: \374;\322 1065s # Test 5: \303\261\303( 1065s ok 7 /uri/escape-string 1065s ok 8 /uri/escape-bytes 1065s ok 9 /uri/scheme 1065s ok 10 /uri/build 1065s ok 11 /uri/split 1065s ok 12 /uri/is_valid 1065s ok 13 /uri/to-string 1065s ok 14 /uri/join 1065s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 1065s # Combination 0 1065s # Combination 1 1065s # Combination 2 1065s # Combination 3 1065s # Combination 4 1065s # Combination 5 1065s # Combination 6 1065s # Combination 7 1065s # Combination 8 1065s # Combination 9 1065s # Combination 10 1065s # Combination 11 1065s # Combination 12 1065s # Combination 13 1065s # Combination 14 1065s # Combination 15 1065s # Combination 16 1065s # Combination 17 1065s # Combination 18 1065s # Combination 19 1065s # Combination 20 1065s # Combination 21 1065s # Combination 22 1065s # Combination 23 1065s # Combination 24 1065s # Combination 25 1065s # Combination 26 1065s # Combination 27 1065s # Combination 28 1065s # Combination 29 1065s # Combination 30 1065s # Combination 31 1065s # Combination 32 1065s # Combination 33 1065s # Combination 34 1065s # Combination 35 1065s # Combination 36 1065s # Combination 37 1065s # Combination 38 1065s # Combination 39 1065s # Combination 40 1065s # Combination 41 1065s # Combination 42 1065s # Combination 43 1065s # Combination 44 1065s # Combination 45 1065s # Combination 46 1065s # Combination 47 1065s # Combination 48 1065s # Combination 49 1065s # Combination 50 1065s # Combination 51 1065s # Combination 52 1065s # Combination 53 1065s # Combination 54 1065s # Combination 55 1065s # Combination 56 1065s # Combination 57 1065s # Combination 58 1065s # Combination 59 1065s # Combination 60 1065s # Combination 61 1065s # Combination 62 1065s # Combination 63 1065s # Combination 64 1065s # Combination 65 1065s # Combination 66 1065s # Combination 67 1065s # Combination 68 1065s # Combination 69 1065s # Combination 70 1065s # Combination 71 1065s # Combination 72 1065s # Combination 73 1065s # Combination 74 1065s # Combination 75 1065s # Combination 76 1065s # Combination 77 1065s # Combination 78 1065s # Combination 79 1065s # Combination 80 1065s # Combination 81 1065s # Combination 82 1065s # Combination 83 1065s # Combination 84 1065s # Combination 85 1065s # Combination 86 1065s # Combination 87 1065s # Combination 88 1065s # Combination 89 1065s # Combination 90 1065s # Combination 91 1065s # Combination 92 1065s # Combination 93 1065s # Combination 94 1065s # Combination 95 1065s # Combination 96 1065s # Combination 97 1065s # Combination 98 1065s # Combination 99 1065s # Combination 100 1065s # Combination 101 1065s # Combination 102 1065s # Combination 103 1065s # Combination 104 1065s # Combination 105 1065s # Combination 106 1065s # Combination 107 1065s # Combination 108 1065s # Combination 109 1065s # Combination 110 1065s # Combination 111 1065s # Combination 112 1065s # Combination 113 1065s # Combination 114 1065s # Combination 115 1065s # Combination 116 1065s # Combination 117 1065s # Combination 118 1065s # Combination 119 1065s # Combination 120 1065s # Combination 121 1065s # Combination 122 1065s # Combination 123 1065s # Combination 124 1065s # Combination 125 1065s # Combination 126 1065s # Combination 127 1065s # Combination 128 1065s # Combination 129 1065s # Combination 130 1065s # Combination 131 1065s # Combination 132 1065s # Combination 133 1065s # Combination 134 1065s # Combination 135 1065s # Combination 136 1065s # Combination 137 1065s # Combination 138 1065s # Combination 139 1065s # Combination 140 1065s # Combination 141 1065s # Combination 142 1065s # Combination 143 1065s # Combination 144 1065s # Combination 145 1065s # Combination 146 1065s # Combination 147 1065s # Combination 148 1065s # Combination 149 1065s # Combination 150 1065s # Combination 151 1065s # Combination 152 1065s # Combination 153 1065s # Combination 154 1065s # Combination 155 1065s # Combination 156 1065s # Combination 157 1065s # Combination 158 1065s # Combination 159 1065s # Combination 160 1065s # Combination 161 1065s # Combination 162 1065s # Combination 163 1065s # Combination 164 1065s # Combination 165 1065s # Combination 166 1065s # Combination 167 1065s # Combination 168 1065s # Combination 169 1065s # Combination 170 1065s # Combination 171 1065s # Combination 172 1065s # Combination 173 1065s # Combination 174 1065s # Combination 175 1065s # Combination 176 1065s # Combination 177 1065s # Combination 178 1065s # Combination 179 1065s # Combination 180 1065s # Combination 181 1065s # Combination 182 1065s # Combination 183 1065s # Combination 184 1065s # Combination 185 1065s # Combination 186 1065s # Combination 187 1065s # Combination 188 1065s # Combination 189 1065s # Combination 190 1065s # Combination 191 1065s # Combination 192 1065s # Combination 193 1065s # Combination 194 1065s # Combination 195 1065s # Combination 196 1065s # Combination 197 1065s # Combination 198 1065s # Combination 199 1065s # Combination 200 1065s # Combination 201 1065s # Combination 202 1065s # Combination 203 1065s # Combination 204 1065s # Combination 205 1065s # Combination 206 1065s # Combination 207 1065s # Combination 208 1065s # Combination 209 1065s # Combination 210 1065s # Combination 211 1065s # Combination 212 1065s # Combination 213 1065s # Combination 214 1065s # Combination 215 1065s # Combination 216 1065s # Combination 217 1065s # Combination 218 1065s # Combination 219 1065s # Combination 220 1065s # Combination 221 1065s # Combination 222 1065s # Combination 223 1065s # Combination 224 1065s # Combination 225 1065s # Combination 226 1065s # Combination 227 1065s # Combination 228 1065s # Combination 229 1065s # Combination 230 1065s # Combination 231 1065s # Combination 232 1065s # Combination 233 1065s # Combination 234 1065s # Combination 235 1065s # Combination 236 1065s # Combination 237 1065s # Combination 238 1065s # Combination 239 1065s # Combination 240 1065s # Combination 241 1065s # Combination 242 1065s # Combination 243 1065s # Combination 244 1065s # Combination 245 1065s # Combination 246 1065s # Combination 247 1065s # Combination 248 1065s # Combination 249 1065s # Combination 250 1065s # Combination 251 1065s # Combination 252 1065s # Combination 253 1065s # Combination 254 1065s # Combination 255 1065s ok 15 /uri/join-split-round-trip 1065s ok 16 /uri/normalize 1065s # Start of unescape-bytes tests 1065s # Test 0: %00%00 1065s # Test 1: /cursors/none.png 1065s # Test 2: /cursors%2fbad-subdir/none.png 1065s # Test 3: %% 1065s # Test 4: % 1065s ok 17 /uri/unescape-bytes/nul-terminated 1065s # Test 0: %00%00 1065s # Test 1: /cursors/none.png 1065s # Test 2: /cursors%2fbad-subdir/none.png 1065s # Test 3: %% 1065s # Test 4: % 1065s ok 18 /uri/unescape-bytes/length 1065s # End of unescape-bytes tests 1065s # Start of parsing tests 1065s # Test 0: foo: 1065s # Test 1: file:/dev/null 1065s # Test 2: file:///dev/null 1065s # Test 3: ftp://user@host/path 1065s # Test 4: ftp://user@host:9999/path 1065s # Test 5: ftp://user:password@host/path 1065s # Test 6: ftp://user:password@host:9999/path 1065s # Test 7: ftp://user:password@host 1065s # Test 8: http://us%65r@host 1065s # Test 9: http://us%40r@host 1065s # Test 10: http://us%3ar@host 1065s # Test 11: http://us%2fr@host 1065s # Test 12: http://us%3fr@host 1065s # Test 13: http://host?query 1065s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 1065s # 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 1065s # Test 16: http://space/%20 1065s # Test 17: http://delims/%3C%3E%23%25%22 1065s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 1065s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 1065s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 1065s # Test 21: http://[3ffe:2a00:100:7031::1] 1065s # Test 22: http://[1080::8:800:200C:417A]/foo 1065s # Test 23: http://[::192.9.5.5]/ipng 1065s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 1065s # Test 25: http://[2010:836B:4179::836B:4179] 1065s # Test 26: http://host/path with spaces 1065s # Test 27: http://host/path 1065s # Test 28: http://host/path 1065s # Test 29: http://host 1065s # Test 30: http://host:999 1065s # Test 31: http://host/pa 1065s # th 1065s # Test 32: http: 1065s # //host/path 1065s # Test 33: http:// host/path 1065s # Test 34: http://host/path? 1065s # Test 35: http://host/path# 1065s # Test 36: http://host/path% 1065s # Test 37: http://h%ost/path 1065s # Test 38: http://host/path%% 1065s # Test 39: http://host/path%%% 1065s # Test 40: http://host/path%/x/ 1065s # Test 41: http://host/path%0x/ 1065s # Test 42: http://host/path%ax 1065s # Test 43: http://host/p?th/ 1065s # Test 44: HTTP://////////////// 1065s # Test 45: http://@host 1065s # Test 46: http://:@host 1065s # Test 47: scheme://foo%3Abar._webdav._tcp.local 1065s # Test 48: http://example.com/.. 1065s # Test 49: foo0://host/path 1065s # Test 50: f0.o://host/path 1065s # Test 51: http++://host/path 1065s # Test 52: http-ish://host/path 1065s # Test 53: http://[fe80::dead:beef%]/ 1065s # Test 54: http://[fe80::dead:beef%em1]/ 1065s # Test 55: http://[fe80::dead:beef%em1]/ 1065s # Test 56: http://[fe80::dead:beef%25em1]/ 1065s # Test 57: http://[fe80::dead:beef%25em1%20]/ 1065s # Test 58: http://[fe80::dead:beef%25em%31]/ 1065s # Test 59: http://[fe80::dead:beef%10]/ 1065s # Test 60: http://[fe80::dead:beef%10]/ 1065s # Test 61: http://[fe80::dead:beef%25]/ 1065s # Test 62: http://[fe80::dead:beef%25]/ 1065s # Test 63: http://[192.168.0.1%25em1]/ 1065s # Test 64: http://[fe80::dead:beef%2em1]/ 1065s # Test 65: http://[fe80::dead:beef%2em1]/ 1065s # Test 66: http://[fe80::dead:beef%25em1%00]/ 1065s # Test 67: http://[fe80::dead:beef%25em1%00]/ 1065s # Test 68: http://xn--mixed-?p/ 1065s ok 19 /uri/parsing/absolute 1065s ok 20 /uri/parsing/relative 1065s # End of parsing tests 1065s # Start of iter-params tests 1065s # URI 0: p1=foo&p2=bar;p3=baz 1065s # URI 1: p1=foo&p2=bar 1065s # URI 2: p1=foo&&P1=bar 1065s # URI 3: %00=foo 1065s # URI 4: p1=%00 1065s # URI 5: p1=foo&p1=bar 1065s # URI 6: p1=foo&P1=bar 1065s # URI 7: =% 1065s # URI 8: = 1065s # URI 9: foo 1065s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1065s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1065s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1065s ok 21 /uri/iter-params/nul-terminated 1065s # URI 0: p1=foo&p2=bar;p3=baz 1065s # URI 1: p1=foo&p2=bar 1065s # URI 2: p1=foo&&P1=bar 1065s # URI 3: %00=foo 1065s # URI 4: p1=%00 1065s # URI 5: p1=foo&p1=bar 1065s # URI 6: p1=foo&P1=bar 1065s # URI 7: =% 1065s # URI 8: = 1065s # URI 9: foo 1065s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1065s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1065s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1065s ok 22 /uri/iter-params/length 1065s # End of iter-params tests 1065s # Start of parse-params tests 1065s # URI 0: p1=foo&p2=bar;p3=baz 1065s # URI 1: p1=foo&p2=bar 1065s # URI 2: p1=foo&&P1=bar 1065s # URI 3: %00=foo 1065s # URI 4: p1=%00 1065s # URI 5: p1=foo&p1=bar 1065s # URI 6: p1=foo&P1=bar 1065s # URI 7: =% 1065s # URI 8: = 1065s # URI 9: foo 1065s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1065s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1065s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1065s ok 23 /uri/parse-params/nul-terminated 1065s # URI 0: p1=foo&p2=bar;p3=baz 1065s # URI 1: p1=foo&p2=bar 1065s # URI 2: p1=foo&&P1=bar 1065s # URI 3: %00=foo 1065s # URI 4: p1=%00 1065s # URI 5: p1=foo&p1=bar 1065s # URI 6: p1=foo&P1=bar 1065s # URI 7: =% 1065s # URI 8: = 1065s # URI 9: foo 1065s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1065s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1065s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1065s ok 24 /uri/parse-params/length 1065s # End of parse-params tests 1065s # End of uri tests 1065s ok - glib/uri.test 1065s # Running test: glib/module-test-library.test 1065s TAP version 14 1065s # random seed: R02S624021d9f757ac2d5a528a2060ea91ae 1065s 1..3 1065s # Start of module tests 1065s ok 1 /module/basics 1065s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1065s ok 2 /module/invalid-libtool-archive 1065s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1065s ok 3 /module/local-binding 1065s # End of module tests 1065s ok - glib/module-test-library.test 1065s # Running test: glib/credentials.test 1065s TAP version 14 1065s # random seed: R02Sc5ce43a361b16112e47934ac5ba48f57 1065s 1..1 1065s # Start of credentials tests 1065s # GCredentials:linux-ucred:pid=5456,uid=1000,gid=1000 1065s # GCredentials:linux-ucred:pid=5456,uid=0,gid=1000 1065s ok 1 /credentials/basic 1065s # End of credentials tests 1065s ok - glib/credentials.test 1065s # Running test: glib/static-link.test 1065s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 1065s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 1065s and make sure you have glib build dependencies installed, including 1065s meson. 1065s ok # SKIP - glib/static-link.test 1065s # Running test: glib/ifaceproperties.test 1065s TAP version 14 1065s # random seed: R02Sfa4b89fd5a3752885e22932ce32dfb88 1065s 1..7 1065s # Start of interface tests 1065s # Start of properties tests 1065s ok 1 /interface/properties/set 1065s ok 2 /interface/properties/notify 1065s ok 3 /interface/properties/find-overridden 1065s ok 4 /interface/properties/list-overridden 1065s ok 5 /interface/properties/find-interface 1065s ok 6 /interface/properties/list-interface 1065s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 1065s ok 7 /interface/properties/not-overridden 1065s # End of properties tests 1065s # End of interface tests 1065s ok - glib/ifaceproperties.test 1065s # Running test: glib/function-info.test 1065s TAP version 14 1065s # random seed: R02S297c3a4870069b7ebbd190077a6983b8 1065s 1..1 1065s # Start of function-info tests 1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_KIJLZ2/function-info/invoker/.dirs/home 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_KIJLZ2/function-info/invoker/.dirs/cache 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_KIJLZ2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_KIJLZ2/function-info/invoker/.dirs/system-config2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_KIJLZ2/function-info/invoker/.dirs/config 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_KIJLZ2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_KIJLZ2/function-info/invoker/.dirs/system-data2 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_KIJLZ2/function-info/invoker/.dirs/data 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_KIJLZ2/function-info/invoker/.dirs/state 1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_KIJLZ2/function-info/invoker/.dirs/runtime 1065s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1065s # /function-info/invoker summary: Test preparing a function invoker 1065s ok 1 /function-info/invoker 1065s # End of function-info tests 1065s ok - glib/function-info.test 1065s # Running test: glib/defaultvalue.test 1065s TAP version 14 1065s # random seed: R02S73309684ef9bfb30b6ff5482cb91b4dd 1065s 1..84 1065s # Start of Default Values tests 1065s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 1065s ok 2 /Default Values/GAppLaunchContext 1065s ok 3 /Default Values/GApplicationCommandLine 1065s # skipping GApplication:is-remote 1065s ok 4 /Default Values/GApplication 1065s ok 5 /Default Values/GBinding # SKIP mandatory construct params 1065s ok 6 /Default Values/GBindingGroup 1065s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 1065s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 1065s ok 9 /Default Values/GBytesIcon 1065s ok 10 /Default Values/GCancellable 1065s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 1065s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 1065s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 1065s ok 14 /Default Values/GCredentials 1065s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 1065s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 1065s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 1065s ok 18 /Default Values/GDBusAuthObserver 1065s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 1065s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 1065s ok 21 /Default Values/GDBusMessage 1065s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 1065s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 1065s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 1065s ok 25 /Default Values/GDBusObjectProxy 1065s ok 26 /Default Values/GDBusObjectSkeleton 1065s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 1065s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 1065s ok 29 /Default Values/GEmblem 1065s ok 30 /Default Values/GEmblemedIcon 1065s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 1065s ok 32 /Default Values/GFileInfo 1065s ok 33 /Default Values/GFileInputStream 1065s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 1065s ok 35 /Default Values/GFileOutputStream 1065s ok 36 /Default Values/GFilenameCompleter 1065s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 1065s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 1065s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 1065s ok 40 /Default Values/GInitiallyUnowned 1065s ok 41 /Default Values/GIOModule 1065s ok 42 /Default Values/GListStore 1065s ok 43 /Default Values/GMemoryInputStream 1065s ok 44 /Default Values/GMemoryOutputStream 1065s ok 45 /Default Values/GMenu 1065s ok 46 /Default Values/GMenuItem 1065s ok 47 /Default Values/GMountOperation 1065s ok 48 /Default Values/GNativeSocketAddress 1065s ok 49 /Default Values/GNetworkAddress 1065s ok 50 /Default Values/GNetworkService 1065s ok 51 /Default Values/GNotification 1065s ok 52 /Default Values/GObject 1065s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 1065s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1065s # skipping GProxyAddressEnumerator:proxy-resolver 1065s ok 54 /Default Values/GProxyAddressEnumerator 1065s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 1065s ok 56 /Default Values/GSettings # SKIP mandatory construct params 1065s ok 57 /Default Values/GSignalGroup 1065s ok 58 /Default Values/GSimpleAction 1065s ok 59 /Default Values/GSimpleActionGroup 1065s ok 60 /Default Values/GSimpleAsyncResult 1065s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 1065s ok 62 /Default Values/GSimplePermission 1065s ok 63 /Default Values/GSimpleProxyResolver 1065s # skipping GSocketClient:proxy-resolver 1065s ok 64 /Default Values/GSocketClient 1065s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 1065s ok 66 /Default Values/GSocket # SKIP initialization failed 1065s ok 67 /Default Values/GSocketListener 1065s ok 68 /Default Values/GSocketService 1065s ok 69 /Default Values/GSubprocess # SKIP initialization failed 1065s ok 70 /Default Values/GSubprocessLauncher 1065s # GLib-GIO-DEBUG: GTask 0xc35ce6c48030 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1065s ok 71 /Default Values/GTask 1065s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 1065s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 1065s ok 74 /Default Values/GTestDBus 1065s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 1065s ok 76 /Default Values/GThreadedSocketService 1065s ok 77 /Default Values/GTlsInteraction 1065s ok 78 /Default Values/GTlsPassword 1065s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 1065s ok 80 /Default Values/GUnixFDList 1065s ok 81 /Default Values/GVfs 1065s ok 82 /Default Values/GVolumeMonitor 1065s ok 83 /Default Values/GZlibCompressor 1065s ok 84 /Default Values/GZlibDecompressor 1065s # End of Default Values tests 1065s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1065s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1065s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1065s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1065s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1065s ok - glib/defaultvalue.test 1065s # Running test: glib/task.test 1065s TAP version 14 1065s # random seed: R02Sd06767f3556e758a6352b426003b9689 1065s 1..36 1065s # Start of gtask tests 1065s ok 1 /gtask/basic 1065s ok 2 /gtask/error 1065s ok 3 /gtask/error-literal 1065s ok 4 /gtask/error-literal-from-variable 1065s ok 5 /gtask/return-from-same-iteration 1065s ok 6 /gtask/return-from-toplevel 1065s ok 7 /gtask/return-from-anon-thread 1065s ok 8 /gtask/return-from-wrong-thread 1065s ok 9 /gtask/no-callback 1065s ok 10 /gtask/report-error 1065s ok 11 /gtask/priority 1065s ok 12 /gtask/name 1065s ok 13 /gtask/static-name 1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 1065s ok 14 /gtask/asynchronous-cancellation 1065s ok 15 /gtask/check-cancellable 1065s ok 16 /gtask/return-if-cancelled 1065s ok 17 /gtask/run-in-thread 1065s ok 18 /gtask/run-in-thread-sync 1065s ok 19 /gtask/run-in-thread-priority 1066s ok 20 /gtask/run-in-thread-nested 1066s ok 21 /gtask/run-in-thread-overflow 1066s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 1066s # GLib-GIO-DEBUG: GTask 0xca11e7199d40 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1066s # GLib-GIO-DEBUG: GTask 0xca11e719a320 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1066s ok 22 /gtask/return-on-cancel 1066s # GLib-GIO-DEBUG: GTask 0xca11e7199a80 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1066s # GLib-GIO-DEBUG: GTask 0xca11e719a140 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1066s ok 23 /gtask/return-on-cancel-sync 1066s ok 24 /gtask/return-on-cancel-atomic 1066s ok 25 /gtask/return-pointer 1066s ok 26 /gtask/return-value 1066s ok 27 /gtask/return-prefixed-error 1066s ok 28 /gtask/object-keepalive 1066s ok 29 /gtask/legacy-error 1066s ok 30 /gtask/finalize-without-return 1066s # Start of name tests 1066s ok 31 /gtask/name/macro-wrapper 1066s # End of name tests 1066s # Start of return tests 1066s ok 32 /gtask/return/error-first 1066s ok 33 /gtask/return/value-first 1066s # Start of in-idle tests 1066s ok 34 /gtask/return/in-idle/error-first 1066s ok 35 /gtask/return/in-idle/value-first 1066s # End of in-idle tests 1066s # End of return tests 1066s # Start of attach-source tests 1066s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 1066s ok 36 /gtask/attach-source/set-name 1066s # End of attach-source tests 1066s # End of gtask tests 1066s ok - glib/task.test 1066s # Running test: glib/signals-refcount1.test 1066s TAP version 14 1066s # random seed: R02S2a1aeb234463c1f239c5b367b025b737 1066s 1..1 1066s # Start of gobject tests 1066s # Start of refcount tests 1066s # init 0xbefd5ff5e430 1066s # 1066s # init 0xbefd5ff5e5d0 1066s # 1068s # Executing: glib/signals-refcount1.test 1071s # dispose 0xbefd5ff5e430! 1071s # 1071s # dispose 0xbefd5ff5e5d0! 1071s # 1071s ok 1 /gobject/refcount/signals 1071s # slow test /gobject/refcount/signals executed in 5.00 secs 1071s # End of refcount tests 1071s # End of gobject tests 1071s ok - glib/signals-refcount1.test 1071s # Running test: glib/search-utils.test 1071s TAP version 14 1071s # random seed: R02Sc4eb84ebf17eb6185b7dc2a49271c2be 1071s # GLib-DEBUG: Current user locale: C.UTF-8 1071s 1..6 1071s # Start of search tests 1071s # GLib-DEBUG: Started 1071s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 1071s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 1071s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 1071s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 1071s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 1071s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 1071s ok 1 /search/basic 1071s # GLib-DEBUG: Started 1071s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1071s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 1071s # GLib-DEBUG: 'ele' - 'élève' should match: OK 1071s # GLib-DEBUG: 'AzaÃs' - 'Azais' should NOT match: OK 1071s # GLib-DEBUG: 'Azais' - 'AzaÃs' should match: OK 1071s ok 2 /search/composed 1071s # GLib-DEBUG: Started 1071s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1071s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1071s ok 3 /search/decomposed 1071s # GLib-DEBUG: Started 1071s # GLib-DEBUG: 'ist' - 'Ä°stanbul' should match: OK 1071s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 1071s ok 4 /search/turkish 1071s # GLib-DEBUG: Started 1071s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 1071s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 1071s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 1071s ok 5 /search/c_locale_unicode 1071s # GLib-DEBUG: Started 1071s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 1071s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 1071s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 1071s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 1071s ok 6 /search/multi_words 1071s # End of search tests 1071s ok - glib/search-utils.test 1071s # Running test: glib/gvariant.test 1071s TAP version 14 1071s # random seed: R02S5a89f69e00a850fd2cc28cd3a9c788d7 1071s 1..64 1071s # Start of gvariant tests 1071s ok 1 /gvariant/type 1071s ok 2 /gvariant/typeinfo 1071s ok 3 /gvariant/string 1071s ok 4 /gvariant/utf8 1072s ok 5 /gvariant/containers 1072s ok 6 /gvariant/format-strings 1072s ok 7 /gvariant/invalid-varargs 1072s ok 8 /gvariant/varargs 1072s ok 9 /gvariant/valist 1072s ok 10 /gvariant/builder-memory 1072s ok 11 /gvariant/hashing 1072s ok 12 /gvariant/byteswap 1072s ok 13 /gvariant/parser 1072s ok 14 /gvariant/parse-failures 1072s ok 15 /gvariant/parse-positional 1072s ok 16 /gvariant/floating 1072s ok 17 /gvariant/bytestring 1072s ok 18 /gvariant/lookup-value 1072s ok 19 /gvariant/lookup 1072s ok 20 /gvariant/compare 1072s ok 21 /gvariant/equal 1072s ok 22 /gvariant/fixed-array 1072s ok 23 /gvariant/check-format-string 1072s ok 24 /gvariant/checksum-basic 1072s ok 25 /gvariant/checksum-nested 1072s ok 26 /gvariant/gbytes 1072s ok 27 /gvariant/print-context 1072s ok 28 /gvariant/error-quark 1072s ok 29 /gvariant/stack-builder-init 1072s ok 30 /gvariant/stack-dict-init 1072s ok 31 /gvariant/unaligned-construction 1072s # Start of type tests 1072s # Start of string-scan tests 1072s # Start of recursion tests 1072s ok 32 /gvariant/type/string-scan/recursion/tuple 1072s ok 33 /gvariant/type/string-scan/recursion/array 1072s # End of recursion tests 1072s # End of string-scan tests 1072s # End of type tests 1072s # Start of serialiser tests 1072s ok 34 /gvariant/serialiser/maybe 1072s ok 35 /gvariant/serialiser/array 1073s ok 36 /gvariant/serialiser/tuple 1073s ok 37 /gvariant/serialiser/variant 1073s ok 38 /gvariant/serialiser/strings 1073s # Executing: glib/gvariant.test 1073s ok 39 /gvariant/serialiser/byteswap 1073s # slow test /gvariant/serialiser/byteswap executed in 0.83 secs 1073s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 1073s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 1073s ok 40 /gvariant/serialiser/children 1073s # Start of fuzz tests 1074s ok 41 /gvariant/serialiser/fuzz/1% 1074s # slow test /gvariant/serialiser/fuzz/1% executed in 0.77 secs 1075s ok 42 /gvariant/serialiser/fuzz/5% 1075s ok 43 /gvariant/serialiser/fuzz/9% 1075s ok 44 /gvariant/serialiser/fuzz/13% 1076s ok 45 /gvariant/serialiser/fuzz/17% 1076s # End of fuzz tests 1076s # End of serialiser tests 1076s # Start of varargs tests 1076s # Start of subprocess tests 1076s # End of subprocess tests 1076s # End of varargs tests 1076s # Start of byteswap tests 1076s # /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. 1076s ok 46 /gvariant/byteswap/non-normal-non-aligned 1076s # End of byteswap tests 1076s # Start of parser tests 1076s ok 47 /gvariant/parser/integer-bounds 1076s ok 48 /gvariant/parser/recursion 1076s # Start of recursion tests 1076s ok 49 /gvariant/parser/recursion/typedecls 1076s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1076s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1076s # Text form 0: @mmmu 5 1076s # Text form 1: @mmmas ['hello'] 1076s # Text form 2: @mmmu just just nothing 1076s # Text form 3: @mmmas just just nothing 1076s # Text form 4: @mmmu just nothing 1076s # Text form 5: @mmmas just nothing 1076s # Text form 6: @mmmu nothing 1076s # Text form 7: @mmmas nothing 1076s ok 50 /gvariant/parser/recursion/maybes 1076s # End of recursion tests 1076s # End of parser tests 1076s # Start of parse tests 1076s # Start of subprocess tests 1076s # End of subprocess tests 1076s # End of parse tests 1076s # Start of normal-checking tests 1076s ok 51 /gvariant/normal-checking/tuples 1076s ok 52 /gvariant/normal-checking/array-offsets 1076s ok 53 /gvariant/normal-checking/array-offsets2 1076s ok 54 /gvariant/normal-checking/tuple-offsets 1076s ok 55 /gvariant/normal-checking/tuple-offsets2 1076s ok 56 /gvariant/normal-checking/tuple-offsets3 1076s ok 57 /gvariant/normal-checking/tuple-offsets4 1076s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1076s ok 58 /gvariant/normal-checking/tuple-offsets5 1076s ok 59 /gvariant/normal-checking/empty-object-path 1076s # Start of array-offsets tests 1076s ok 60 /gvariant/normal-checking/array-offsets/overlapped 1076s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 1076s # End of array-offsets tests 1076s # Start of tuple-offsets tests 1076s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 1076s # End of tuple-offsets tests 1076s # End of normal-checking tests 1076s # Start of recursion-limits tests 1076s ok 63 /gvariant/recursion-limits/variant-in-variant 1076s ok 64 /gvariant/recursion-limits/array-in-variant 1076s # End of recursion-limits tests 1076s # End of gvariant tests 1076s ok - glib/gvariant.test 1076s # Running test: glib/memchunk.test 1076s TAP version 14 1076s # random seed: R02Sb1ff7f83b2efbda7e8d5eefb4b2571a0 1076s 1..1 1076s # Start of memchunk tests 1076s ok 1 /memchunk/basic 1076s # End of memchunk tests 1076s ok - glib/memchunk.test 1076s # Running test: glib/utf8-performance.test 1076s TAP version 14 1076s # random seed: R02S6d19b2a10de34cd39434d70d2f42147c 1076s 1..36 1076s # Start of utf8 tests 1076s # Start of perf tests 1076s # Start of get_char tests 1076s # max perf: inf MB/s 1076s ok 1 /utf8/perf/get_char/ascii 1076s # max perf: 67.0 MB/s 1076s ok 2 /utf8/perf/get_char/latin1 1076s # max perf: 160.0 MB/s 1076s ok 3 /utf8/perf/get_char/cyrillic 1076s # max perf: 156.0 MB/s 1076s ok 4 /utf8/perf/get_char/han 1076s # End of get_char tests 1076s # Start of get_char-backwards tests 1076s # max perf: 43.0 MB/s 1076s ok 5 /utf8/perf/get_char-backwards/ascii 1076s # max perf: 67.0 MB/s 1076s ok 6 /utf8/perf/get_char-backwards/latin1 1076s # max perf: 160.0 MB/s 1076s ok 7 /utf8/perf/get_char-backwards/cyrillic 1076s # max perf: 156.0 MB/s 1076s ok 8 /utf8/perf/get_char-backwards/han 1076s # End of get_char-backwards tests 1076s # Start of get_char_validated tests 1076s # max perf: 43.0 MB/s 1076s ok 9 /utf8/perf/get_char_validated/ascii 1076s # max perf: inf MB/s 1076s ok 10 /utf8/perf/get_char_validated/latin1 1076s # max perf: inf MB/s 1076s ok 11 /utf8/perf/get_char_validated/cyrillic 1076s # max perf: 156.0 MB/s 1076s ok 12 /utf8/perf/get_char_validated/han 1076s # End of get_char_validated tests 1076s # Start of utf8_to_ucs4 tests 1076s # max perf: inf MB/s 1076s ok 13 /utf8/perf/utf8_to_ucs4/ascii 1076s # max perf: inf MB/s 1076s ok 14 /utf8/perf/utf8_to_ucs4/latin1 1076s # max perf: 160.0 MB/s 1076s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 1076s # max perf: 156.0 MB/s 1076s ok 16 /utf8/perf/utf8_to_ucs4/han 1076s # End of utf8_to_ucs4 tests 1076s # Start of utf8_to_ucs4-sized tests 1076s # max perf: 43.0 MB/s 1076s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 1076s # max perf: 67.0 MB/s 1076s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 1076s # max perf: 160.0 MB/s 1076s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 1076s # max perf: inf MB/s 1076s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 1076s # End of utf8_to_ucs4-sized tests 1076s # Start of utf8_to_ucs4_fast tests 1076s # max perf: inf MB/s 1076s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 1076s # max perf: inf MB/s 1076s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 1076s # max perf: inf MB/s 1076s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 1076s # max perf: 156.0 MB/s 1076s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 1076s # End of utf8_to_ucs4_fast tests 1076s # Start of utf8_to_ucs4_fast-sized tests 1076s # max perf: inf MB/s 1076s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 1076s # max perf: inf MB/s 1076s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 1076s # max perf: 160.0 MB/s 1076s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 1076s # max perf: inf MB/s 1076s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 1076s # End of utf8_to_ucs4_fast-sized tests 1076s # Start of utf8_validate tests 1076s # max perf: inf MB/s 1076s ok 29 /utf8/perf/utf8_validate/ascii 1076s # max perf: 67.0 MB/s 1076s ok 30 /utf8/perf/utf8_validate/latin1 1076s # max perf: inf MB/s 1076s ok 31 /utf8/perf/utf8_validate/cyrillic 1076s # max perf: inf MB/s 1076s ok 32 /utf8/perf/utf8_validate/han 1076s # End of utf8_validate tests 1076s # Start of utf8_validate-sized tests 1076s # max perf: inf MB/s 1076s ok 33 /utf8/perf/utf8_validate-sized/ascii 1076s # max perf: inf MB/s 1076s ok 34 /utf8/perf/utf8_validate-sized/latin1 1076s # max perf: inf MB/s 1076s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 1076s # max perf: inf MB/s 1076s ok 36 /utf8/perf/utf8_validate-sized/han 1076s # End of utf8_validate-sized tests 1076s # End of perf tests 1076s # End of utf8 tests 1076s ok - glib/utf8-performance.test 1076s # Running test: glib/hmac.test 1076s TAP version 14 1076s # random seed: R02S9363d81b5b6c7bf556461e41c7022a13 1076s 1..37 1076s # Start of hmac tests 1076s ok 1 /hmac/sha1-1 1076s ok 2 /hmac/sha1-2 1076s ok 3 /hmac/sha1-3 1076s ok 4 /hmac/sha1-4 1076s ok 5 /hmac/sha1-5 1076s ok 6 /hmac/sha1-6 1076s ok 7 /hmac/sha1-7 1076s ok 8 /hmac/sha256-1 1076s ok 9 /hmac/sha256-2 1076s ok 10 /hmac/sha256-3 1076s ok 11 /hmac/sha256-4 1076s ok 12 /hmac/sha256-5 1076s ok 13 /hmac/sha256-6 1076s ok 14 /hmac/sha384-1 1076s ok 15 /hmac/sha384-2 1076s ok 16 /hmac/sha384-3 1076s ok 17 /hmac/sha384-4 1076s ok 18 /hmac/sha384-5 1076s ok 19 /hmac/sha384-6 1076s ok 20 /hmac/sha512-1 1076s ok 21 /hmac/sha512-2 1076s ok 22 /hmac/sha512-3 1076s ok 23 /hmac/sha512-4 1076s ok 24 /hmac/sha512-5 1076s ok 25 /hmac/sha512-6 1076s ok 26 /hmac/md5-1 1076s ok 27 /hmac/md5-2 1076s ok 28 /hmac/md5-3 1076s ok 29 /hmac/md5-4 1076s ok 30 /hmac/md5-5 1076s ok 31 /hmac/md5-6 1076s ok 32 /hmac/md5-7 1076s ok 33 /hmac/ref-unref 1076s ok 34 /hmac/copy 1076s ok 35 /hmac/for-data 1076s ok 36 /hmac/for-string 1076s ok 37 /hmac/for-bytes 1076s # End of hmac tests 1076s ok - glib/hmac.test 1076s # Running test: glib/contexts.test 1076s TAP version 14 1076s # random seed: R02Sfdc7636c9bd6da5fe07e8a5dfb9e0d9e 1076s 1..5 1076s # Start of gio tests 1076s # Start of contexts tests 1076s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1076s ok 1 /gio/contexts/thread-independence 1076s ok 2 /gio/contexts/context-independence 1076s # Start of context-specific tests 1076s ok 3 /gio/contexts/context-specific/identity 1076s ok 4 /gio/contexts/context-specific/emit 1076s ok 5 /gio/contexts/context-specific/emit-and-unref 1076s # End of context-specific tests 1076s # End of contexts tests 1076s # End of gio tests 1076s ok - glib/contexts.test 1076s # Running test: glib/objects-refcount2.test 1076s TAP version 14 1076s # random seed: R02Sea60be253730f8f34170a4a244c35bf5 1076s 1..1 1076s # Start of gobject tests 1076s # Start of refcount tests 1076s # init 0xb5fa6804b750 1076s # 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1076s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1077s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # Executing: glib/objects-refcount2.test 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1078s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1079s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1080s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1081s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # . 1082s # dispose 0xb5fa6804b750! 1082s # 1082s ok 1 /gobject/refcount/object-advanced 1082s # slow test /gobject/refcount/object-advanced executed in 6.25 secs 1082s # End of refcount tests 1082s # End of gobject tests 1082s ok - glib/objects-refcount2.test 1082s # Running test: glib/gdbus-address-get-session.test 1082s TAP version 14 1082s # random seed: R02Sd65224388f48361f8ec3a49a454a751f 1082s 1..2 1082s # Start of gdbus tests 1082s ok 1 /gdbus/x11-autolaunch 1082s ok 2 /gdbus/xdg-runtime 1082s # End of gdbus tests 1082s ok - glib/gdbus-address-get-session.test 1082s # Running test: glib/sort.test 1082s TAP version 14 1082s # random seed: R02S46ab722a6c3e0fc4fb673beb98c6ef44 1082s 1..5 1082s # Start of sort tests 1082s ok 1 /sort/basic 1082s ok 2 /sort/zero-elements 1082s ok 3 /sort/stable 1082s ok 4 /sort/big 1082s ok 5 /sort/deprecated 1082s # End of sort tests 1082s ok - glib/sort.test 1082s # Running test: glib/rand.test 1082s TAP version 14 1082s # random seed: R02S2a210b530ebd979b91dd44fab73553b4 1082s 1..2 1082s # Start of rand tests 1082s ok 1 /rand/test-rand 1082s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 1082s ok 2 /rand/double-range 1082s # End of rand tests 1082s ok - glib/rand.test 1082s # Running test: glib/enums.test 1082s TAP version 14 1082s # random seed: R02S547b5c9fe58bc9f9114a04d783a9ddec 1082s 1..4 1082s # Start of enum tests 1082s ok 1 /enum/basic 1082s ok 2 /enum/define-type 1082s # End of enum tests 1082s # Start of flags tests 1082s ok 3 /flags/basic 1082s ok 4 /flags/define-type 1082s # End of flags tests 1082s ok - glib/enums.test 1082s # Running test: glib/cancellable.test 1082s TAP version 14 1082s # random seed: R02Se73a7e3aad9a5eaebd5bbbc289c31b99 1082s 1..10 1082s # Start of cancellable tests 1082s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 1082s ok 2 /cancellable/null 1082s # /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 1082s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 1082s # /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 1082s ok 4 /cancellable/resets-on-cancel-callback-hangs 1082s ok 5 /cancellable/poll-fd 1082s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 1082s ok 6 /cancellable/poll-fd-cancelled 1082s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 1082s ok 7 /cancellable/poll-fd-cancelled-threaded 1082s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 1082s ok 8 /cancellable/cancel-reset-races 1082s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 1082s not ok 9 /cancellable/cancel-reset-connect-races # TODO We didn't really checked if callbacks is called properly 1082s # End of cancellable tests 1082s # Start of cancellable-source tests 1082s # /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) 1082s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 1083s # Executing: glib/cancellable.test 1083s ok 10 /cancellable-source/threaded-dispose 1083s # slow test /cancellable-source/threaded-dispose executed in 0.87 secs 1083s # End of cancellable-source tests 1083s ok - glib/cancellable.test 1083s # Running test: glib/struct-info.test 1083s TAP version 14 1083s # random seed: R02S58d9f84d26ecd7762a35ef6dca9f0ae5 1083s 1..4 1083s # Start of struct-info tests 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_UQ3IZ2/struct-info/field-iterators/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_UQ3IZ2/struct-info/field-iterators/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_UQ3IZ2/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_UQ3IZ2/struct-info/field-iterators/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_UQ3IZ2/struct-info/field-iterators/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_UQ3IZ2/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_UQ3IZ2/struct-info/field-iterators/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_UQ3IZ2/struct-info/field-iterators/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_UQ3IZ2/struct-info/field-iterators/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_UQ3IZ2/struct-info/field-iterators/.dirs/runtime 1083s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1083s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 1083s ok 1 /struct-info/field-iterators 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_UQ3IZ2/struct-info/sizeof-gvalue/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_UQ3IZ2/struct-info/sizeof-gvalue/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_UQ3IZ2/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_UQ3IZ2/struct-info/sizeof-gvalue/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_UQ3IZ2/struct-info/sizeof-gvalue/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_UQ3IZ2/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_UQ3IZ2/struct-info/sizeof-gvalue/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_UQ3IZ2/struct-info/sizeof-gvalue/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_UQ3IZ2/struct-info/sizeof-gvalue/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_UQ3IZ2/struct-info/sizeof-gvalue/.dirs/runtime 1083s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1083s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 1083s ok 2 /struct-info/sizeof-gvalue 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_UQ3IZ2/struct-info/is-pointer-for-struct-method-arg/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_UQ3IZ2/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_UQ3IZ2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_UQ3IZ2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_UQ3IZ2/struct-info/is-pointer-for-struct-method-arg/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_UQ3IZ2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_UQ3IZ2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_UQ3IZ2/struct-info/is-pointer-for-struct-method-arg/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_UQ3IZ2/struct-info/is-pointer-for-struct-method-arg/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_UQ3IZ2/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 1083s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1083s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 1083s ok 3 /struct-info/is-pointer-for-struct-method-arg 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_UQ3IZ2/struct-info/boxed/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_UQ3IZ2/struct-info/boxed/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_UQ3IZ2/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_UQ3IZ2/struct-info/boxed/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_UQ3IZ2/struct-info/boxed/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_UQ3IZ2/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_UQ3IZ2/struct-info/boxed/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_UQ3IZ2/struct-info/boxed/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_UQ3IZ2/struct-info/boxed/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_UQ3IZ2/struct-info/boxed/.dirs/runtime 1083s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1083s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 1083s ok 4 /struct-info/boxed 1083s # End of struct-info tests 1083s ok - glib/struct-info.test 1083s # Running test: glib/642026-ec.test 1083s TAP version 14 1083s # random seed: R02S8a6e6c64560a048732ea5c29f0c81d72 1083s 1..1 1083s # Start of glib tests 1083s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1083s ok 1 /glib/642026 1083s # End of glib tests 1083s ok - glib/642026-ec.test 1083s # Running test: glib/pathbuf.test 1083s TAP version 14 1083s # random seed: R02Sb5323feba6db4ee1121075e96d935192 1083s 1..3 1083s # Start of pathbuf tests 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_YJMRZ2/pathbuf/init/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_YJMRZ2/pathbuf/init/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_YJMRZ2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_YJMRZ2/pathbuf/init/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_YJMRZ2/pathbuf/init/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_YJMRZ2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_YJMRZ2/pathbuf/init/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_YJMRZ2/pathbuf/init/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_YJMRZ2/pathbuf/init/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_YJMRZ2/pathbuf/init/.dirs/runtime 1083s # Initializing empty path buf 1083s # Initializing with empty path 1083s # Initializing with full path 1083s # Initializing with no path 1083s # Allocating GPathBuf on the heap 1083s ok 1 /pathbuf/init 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_YJMRZ2/pathbuf/push-pop/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_YJMRZ2/pathbuf/push-pop/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_YJMRZ2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_YJMRZ2/pathbuf/push-pop/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_YJMRZ2/pathbuf/push-pop/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_YJMRZ2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_YJMRZ2/pathbuf/push-pop/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_YJMRZ2/pathbuf/push-pop/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_YJMRZ2/pathbuf/push-pop/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_YJMRZ2/pathbuf/push-pop/.dirs/runtime 1083s # Pushing relative path component 1083s # Pushing absolute path component 1083s # Popping a path component 1083s # Can't pop the last element of a path buffer 1083s ok 2 /pathbuf/push-pop 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_YJMRZ2/pathbuf/filename-extension/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_YJMRZ2/pathbuf/filename-extension/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_YJMRZ2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_YJMRZ2/pathbuf/filename-extension/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_YJMRZ2/pathbuf/filename-extension/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_YJMRZ2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_YJMRZ2/pathbuf/filename-extension/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_YJMRZ2/pathbuf/filename-extension/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_YJMRZ2/pathbuf/filename-extension/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_YJMRZ2/pathbuf/filename-extension/.dirs/runtime 1083s ok 3 /pathbuf/filename-extension 1083s # End of pathbuf tests 1083s ok - glib/pathbuf.test 1083s # Running test: glib/pollable.test 1083s TAP version 14 1083s # random seed: R02Sa745dd2951185a2f494028f38f123ee5 1083s 1..6 1083s # Start of pollable tests 1083s ok 1 /pollable/converter 1083s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1083s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc933a65867b0 and GSocketClientAsyncConnectData 0xc933a6579ae0 1083s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1083s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1083s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc933a6587870 for GSocketClientAsyncConnectData 0xc933a6579ae0 1083s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1083s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1083s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1083s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1083s ok 2 /pollable/socket 1083s # Start of unix tests 1083s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 1083s ok 3 /pollable/unix/pipe 1083s # /pollable/unix/pty summary: Test that PTYs are considered pollable 1083s ok 4 /pollable/unix/pty 1083s # /pollable/unix/file summary: Test that regular files are not considered pollable 1083s ok 5 /pollable/unix/file 1083s # /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 1083s ok 6 /pollable/unix/nulldev # SKIP Cannot detect /dev/null as non-pollable on this system 1083s # End of unix tests 1083s # End of pollable tests 1083s ok - glib/pollable.test 1083s # Running test: glib/repository.test 1083s TAP version 14 1083s # random seed: R02S1e98edf3e9bb81194f24d87aae2b9d6a 1083s 1..23 1083s # Start of repository tests 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9KPSZ2/repository/basic/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9KPSZ2/repository/basic/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9KPSZ2/repository/basic/.dirs/system-config1:/tmp/test_repository_9KPSZ2/repository/basic/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9KPSZ2/repository/basic/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9KPSZ2/repository/basic/.dirs/system-data1:/tmp/test_repository_9KPSZ2/repository/basic/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9KPSZ2/repository/basic/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9KPSZ2/repository/basic/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9KPSZ2/repository/basic/.dirs/runtime 1083s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1083s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 1083s ok 1 /repository/basic 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9KPSZ2/repository/info/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9KPSZ2/repository/info/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9KPSZ2/repository/info/.dirs/system-config1:/tmp/test_repository_9KPSZ2/repository/info/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9KPSZ2/repository/info/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9KPSZ2/repository/info/.dirs/system-data1:/tmp/test_repository_9KPSZ2/repository/info/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9KPSZ2/repository/info/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9KPSZ2/repository/info/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9KPSZ2/repository/info/.dirs/runtime 1083s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1083s # /repository/info summary: Test retrieving some basic info blobs from a typelib 1083s ok 2 /repository/info 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9KPSZ2/repository/dependencies/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9KPSZ2/repository/dependencies/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9KPSZ2/repository/dependencies/.dirs/system-config1:/tmp/test_repository_9KPSZ2/repository/dependencies/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9KPSZ2/repository/dependencies/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9KPSZ2/repository/dependencies/.dirs/system-data1:/tmp/test_repository_9KPSZ2/repository/dependencies/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9KPSZ2/repository/dependencies/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9KPSZ2/repository/dependencies/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9KPSZ2/repository/dependencies/.dirs/runtime 1083s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1083s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 1083s ok 3 /repository/dependencies 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9KPSZ2/repository/arg-info/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9KPSZ2/repository/arg-info/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9KPSZ2/repository/arg-info/.dirs/system-config1:/tmp/test_repository_9KPSZ2/repository/arg-info/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9KPSZ2/repository/arg-info/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9KPSZ2/repository/arg-info/.dirs/system-data1:/tmp/test_repository_9KPSZ2/repository/arg-info/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9KPSZ2/repository/arg-info/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9KPSZ2/repository/arg-info/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9KPSZ2/repository/arg-info/.dirs/runtime 1083s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1083s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 1083s ok 4 /repository/arg-info 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9KPSZ2/repository/callable-info/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9KPSZ2/repository/callable-info/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9KPSZ2/repository/callable-info/.dirs/system-config1:/tmp/test_repository_9KPSZ2/repository/callable-info/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9KPSZ2/repository/callable-info/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9KPSZ2/repository/callable-info/.dirs/system-data1:/tmp/test_repository_9KPSZ2/repository/callable-info/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9KPSZ2/repository/callable-info/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9KPSZ2/repository/callable-info/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9KPSZ2/repository/callable-info/.dirs/runtime 1083s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1083s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 1083s ok 5 /repository/callable-info 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9KPSZ2/repository/callback-info/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9KPSZ2/repository/callback-info/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9KPSZ2/repository/callback-info/.dirs/system-config1:/tmp/test_repository_9KPSZ2/repository/callback-info/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9KPSZ2/repository/callback-info/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9KPSZ2/repository/callback-info/.dirs/system-data1:/tmp/test_repository_9KPSZ2/repository/callback-info/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9KPSZ2/repository/callback-info/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9KPSZ2/repository/callback-info/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9KPSZ2/repository/callback-info/.dirs/runtime 1083s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1083s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 1083s ok 6 /repository/callback-info 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9KPSZ2/repository/char-types/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9KPSZ2/repository/char-types/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9KPSZ2/repository/char-types/.dirs/system-config1:/tmp/test_repository_9KPSZ2/repository/char-types/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9KPSZ2/repository/char-types/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9KPSZ2/repository/char-types/.dirs/system-data1:/tmp/test_repository_9KPSZ2/repository/char-types/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9KPSZ2/repository/char-types/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9KPSZ2/repository/char-types/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9KPSZ2/repository/char-types/.dirs/runtime 1083s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1083s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 1083s ok 7 /repository/char-types 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9KPSZ2/repository/constructor-return-type/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9KPSZ2/repository/constructor-return-type/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9KPSZ2/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_9KPSZ2/repository/constructor-return-type/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9KPSZ2/repository/constructor-return-type/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9KPSZ2/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_9KPSZ2/repository/constructor-return-type/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9KPSZ2/repository/constructor-return-type/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9KPSZ2/repository/constructor-return-type/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9KPSZ2/repository/constructor-return-type/.dirs/runtime 1083s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1083s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 1083s ok 8 /repository/constructor-return-type 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9KPSZ2/repository/enum-info-c-identifier/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9KPSZ2/repository/enum-info-c-identifier/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9KPSZ2/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_9KPSZ2/repository/enum-info-c-identifier/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9KPSZ2/repository/enum-info-c-identifier/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9KPSZ2/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_9KPSZ2/repository/enum-info-c-identifier/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9KPSZ2/repository/enum-info-c-identifier/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9KPSZ2/repository/enum-info-c-identifier/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9KPSZ2/repository/enum-info-c-identifier/.dirs/runtime 1083s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1083s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 1083s ok 9 /repository/enum-info-c-identifier 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9KPSZ2/repository/enum-info-static-methods/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9KPSZ2/repository/enum-info-static-methods/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9KPSZ2/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_9KPSZ2/repository/enum-info-static-methods/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9KPSZ2/repository/enum-info-static-methods/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9KPSZ2/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_9KPSZ2/repository/enum-info-static-methods/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9KPSZ2/repository/enum-info-static-methods/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9KPSZ2/repository/enum-info-static-methods/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9KPSZ2/repository/enum-info-static-methods/.dirs/runtime 1083s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1083s # /repository/enum-info-static-methods summary: Test an enum with methods 1083s ok 10 /repository/enum-info-static-methods 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9KPSZ2/repository/error-quark/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9KPSZ2/repository/error-quark/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9KPSZ2/repository/error-quark/.dirs/system-config1:/tmp/test_repository_9KPSZ2/repository/error-quark/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9KPSZ2/repository/error-quark/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9KPSZ2/repository/error-quark/.dirs/system-data1:/tmp/test_repository_9KPSZ2/repository/error-quark/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9KPSZ2/repository/error-quark/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9KPSZ2/repository/error-quark/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9KPSZ2/repository/error-quark/.dirs/runtime 1083s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1083s # /repository/error-quark summary: Test finding an error quark by error domain 1083s ok 11 /repository/error-quark 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9KPSZ2/repository/flags-info-c-identifier/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9KPSZ2/repository/flags-info-c-identifier/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9KPSZ2/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_9KPSZ2/repository/flags-info-c-identifier/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9KPSZ2/repository/flags-info-c-identifier/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9KPSZ2/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_9KPSZ2/repository/flags-info-c-identifier/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9KPSZ2/repository/flags-info-c-identifier/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9KPSZ2/repository/flags-info-c-identifier/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9KPSZ2/repository/flags-info-c-identifier/.dirs/runtime 1083s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1083s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 1083s ok 12 /repository/flags-info-c-identifier 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9KPSZ2/repository/fundamental-ref-func/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9KPSZ2/repository/fundamental-ref-func/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9KPSZ2/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_9KPSZ2/repository/fundamental-ref-func/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9KPSZ2/repository/fundamental-ref-func/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9KPSZ2/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_9KPSZ2/repository/fundamental-ref-func/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9KPSZ2/repository/fundamental-ref-func/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9KPSZ2/repository/fundamental-ref-func/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9KPSZ2/repository/fundamental-ref-func/.dirs/runtime 1083s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1083s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 1083s ok 13 /repository/fundamental-ref-func 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9KPSZ2/repository/instance-method-ownership-transfer/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9KPSZ2/repository/instance-method-ownership-transfer/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9KPSZ2/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_9KPSZ2/repository/instance-method-ownership-transfer/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9KPSZ2/repository/instance-method-ownership-transfer/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9KPSZ2/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_9KPSZ2/repository/instance-method-ownership-transfer/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9KPSZ2/repository/instance-method-ownership-transfer/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9KPSZ2/repository/instance-method-ownership-transfer/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9KPSZ2/repository/instance-method-ownership-transfer/.dirs/runtime 1083s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1083s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 1083s ok 14 /repository/instance-method-ownership-transfer 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9KPSZ2/repository/object-gtype-interfaces/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9KPSZ2/repository/object-gtype-interfaces/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9KPSZ2/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_9KPSZ2/repository/object-gtype-interfaces/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9KPSZ2/repository/object-gtype-interfaces/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9KPSZ2/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_9KPSZ2/repository/object-gtype-interfaces/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9KPSZ2/repository/object-gtype-interfaces/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9KPSZ2/repository/object-gtype-interfaces/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9KPSZ2/repository/object-gtype-interfaces/.dirs/runtime 1083s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1083s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 1083s ok 15 /repository/object-gtype-interfaces 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9KPSZ2/repository/signal-info-with-array-length-arg/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9KPSZ2/repository/signal-info-with-array-length-arg/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9KPSZ2/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_9KPSZ2/repository/signal-info-with-array-length-arg/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9KPSZ2/repository/signal-info-with-array-length-arg/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9KPSZ2/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_9KPSZ2/repository/signal-info-with-array-length-arg/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9KPSZ2/repository/signal-info-with-array-length-arg/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9KPSZ2/repository/signal-info-with-array-length-arg/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9KPSZ2/repository/signal-info-with-array-length-arg/.dirs/runtime 1083s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1083s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 1083s ok 16 /repository/signal-info-with-array-length-arg 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9KPSZ2/repository/type-info-name/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9KPSZ2/repository/type-info-name/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9KPSZ2/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_9KPSZ2/repository/type-info-name/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9KPSZ2/repository/type-info-name/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9KPSZ2/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_9KPSZ2/repository/type-info-name/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9KPSZ2/repository/type-info-name/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9KPSZ2/repository/type-info-name/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9KPSZ2/repository/type-info-name/.dirs/runtime 1083s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1083s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 1083s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 1083s ok 17 /repository/type-info-name 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9KPSZ2/repository/vfunc-info-with-no-invoker/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9KPSZ2/repository/vfunc-info-with-no-invoker/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9KPSZ2/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_9KPSZ2/repository/vfunc-info-with-no-invoker/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9KPSZ2/repository/vfunc-info-with-no-invoker/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9KPSZ2/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_9KPSZ2/repository/vfunc-info-with-no-invoker/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9KPSZ2/repository/vfunc-info-with-no-invoker/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9KPSZ2/repository/vfunc-info-with-no-invoker/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9KPSZ2/repository/vfunc-info-with-no-invoker/.dirs/runtime 1083s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1083s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 1083s ok 18 /repository/vfunc-info-with-no-invoker 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9KPSZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9KPSZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9KPSZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_9KPSZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9KPSZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9KPSZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_9KPSZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9KPSZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9KPSZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9KPSZ2/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 1083s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1083s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 1083s ok 19 /repository/vfunc-info-with-invoker-on-interface 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9KPSZ2/repository/vfunc-info-with-invoker-on-object/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9KPSZ2/repository/vfunc-info-with-invoker-on-object/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9KPSZ2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_9KPSZ2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9KPSZ2/repository/vfunc-info-with-invoker-on-object/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9KPSZ2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_9KPSZ2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9KPSZ2/repository/vfunc-info-with-invoker-on-object/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9KPSZ2/repository/vfunc-info-with-invoker-on-object/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9KPSZ2/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 1083s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1083s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 1083s ok 20 /repository/vfunc-info-with-invoker-on-object 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9KPSZ2/repository/find-by-gtype/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9KPSZ2/repository/find-by-gtype/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9KPSZ2/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_9KPSZ2/repository/find-by-gtype/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9KPSZ2/repository/find-by-gtype/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9KPSZ2/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_9KPSZ2/repository/find-by-gtype/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9KPSZ2/repository/find-by-gtype/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9KPSZ2/repository/find-by-gtype/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9KPSZ2/repository/find-by-gtype/.dirs/runtime 1083s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1083s # /repository/find-by-gtype summary: Test finding a GType 1083s ok 21 /repository/find-by-gtype 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9KPSZ2/repository/loaded-namespaces/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9KPSZ2/repository/loaded-namespaces/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9KPSZ2/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_9KPSZ2/repository/loaded-namespaces/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9KPSZ2/repository/loaded-namespaces/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9KPSZ2/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_9KPSZ2/repository/loaded-namespaces/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9KPSZ2/repository/loaded-namespaces/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9KPSZ2/repository/loaded-namespaces/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9KPSZ2/repository/loaded-namespaces/.dirs/runtime 1083s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1083s # /repository/loaded-namespaces summary: Test listing loaded namespaces 1083s ok 22 /repository/loaded-namespaces 1083s # Start of base-info tests 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_9KPSZ2/repository/base-info/clear/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_9KPSZ2/repository/base-info/clear/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_9KPSZ2/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_9KPSZ2/repository/base-info/clear/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_9KPSZ2/repository/base-info/clear/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_9KPSZ2/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_9KPSZ2/repository/base-info/clear/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_9KPSZ2/repository/base-info/clear/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_9KPSZ2/repository/base-info/clear/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_9KPSZ2/repository/base-info/clear/.dirs/runtime 1083s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1083s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 1083s ok 23 /repository/base-info/clear 1083s # End of base-info tests 1083s # End of repository tests 1083s ok - glib/repository.test 1083s # Running test: glib/async-splice-output-stream.test 1083s TAP version 14 1083s # random seed: R02S81c11bf3ec692509847ca730ae7fea84 1083s 1..5 1083s # Start of async-splice tests 1083s ok 1 /async-splice/copy-chunks 1083s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1083s ok 2 /async-splice/copy-chunks-threaded-input 1083s ok 3 /async-splice/copy-chunks-threaded-output 1083s ok 4 /async-splice/copy-chunks-threaded 1083s ok 5 /async-splice/cancelled 1083s # End of async-splice tests 1083s ok - glib/async-splice-output-stream.test 1083s # Running test: glib/references.test 1083s TAP version 14 1083s # random seed: R02Sd1a7cb0b29d13af7d3a0ae5684eb4991 1083s 1..1 1083s # Start of gobject tests 1083s ok 1 /gobject/references 1083s # End of gobject tests 1083s ok - glib/references.test 1083s # Running test: glib/power-profile-monitor-portal.test 1084s TAP version 13 1084s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 1084s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 1084s 1..2 1084s ok - glib/power-profile-monitor-portal.test 1084s # Running test: glib/timeout.test 1084s TAP version 14 1084s # random seed: R02S7a26710ea66878d23814bee58706141a 1084s 1..5 1084s # Start of timeout tests 1084s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1086s ok 1 /timeout/seconds 1086s # slow test /timeout/seconds executed in 2.10 secs 1088s # Executing: glib/timeout.test 1088s ok 2 /timeout/seconds-once 1088s # slow test /timeout/seconds-once executed in 2.10 secs 1088s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1090s ok 3 /timeout/weeks-overflow 1090s # slow test /timeout/weeks-overflow executed in 2.10 secs 1090s ok 4 /timeout/far-future-ready-time 1093s # Executing: glib/timeout.test 1098s # Executing: glib/timeout.test 1101s ok 5 /timeout/rounding 1101s # slow test /timeout/rounding executed in 10.77 secs 1101s # End of timeout tests 1101s ok - glib/timeout.test 1101s # Running test: glib/sequence.test 1101s TAP version 14 1101s # random seed: R02S85b5662ba0311c928f58517e6417cecc 1101s 1..16 1101s # Start of sequence tests 1101s ok 1 /sequence/out-of-range-jump 1101s ok 2 /sequence/iter-move 1101s ok 3 /sequence/insert-sorted-non-pointer 1101s ok 4 /sequence/stable-sort 1101s ok 5 /sequence/is_empty 1101s # Start of random tests 1102s ok 6 /sequence/random/seed:825541564 1102s # slow test /sequence/random/seed:825541564 executed in 0.54 secs 1102s ok 7 /sequence/random/seed:801678400 1102s # slow test /sequence/random/seed:801678400 executed in 0.52 secs 1103s ok 8 /sequence/random/seed:1477639090 1103s # slow test /sequence/random/seed:1477639090 executed in 0.54 secs 1103s # Executing: glib/sequence.test 1103s ok 9 /sequence/random/seed:3369132895 1104s ok 10 /sequence/random/seed:1192944867 1104s # slow test /sequence/random/seed:1192944867 executed in 0.52 secs 1104s ok 11 /sequence/random/seed:770458294 1104s # slow test /sequence/random/seed:770458294 executed in 0.54 secs 1105s ok 12 /sequence/random/seed:1099575817 1105s # slow test /sequence/random/seed:1099575817 executed in 0.52 secs 1105s ok 13 /sequence/random/seed:590523467 1105s # slow test /sequence/random/seed:590523467 executed in 0.54 secs 1106s ok 14 /sequence/random/seed:3583571454 1106s # slow test /sequence/random/seed:3583571454 executed in 0.54 secs 1106s ok 15 /sequence/random/seed:579241222 1106s # slow test /sequence/random/seed:579241222 executed in 0.54 secs 1107s ok 16 /sequence/random/seed:341534317 1107s # slow test /sequence/random/seed:341534317 executed in 0.53 secs 1107s # End of random tests 1107s # End of sequence tests 1107s ok - glib/sequence.test 1107s # Running test: glib/overflow-fallback.test 1107s TAP version 14 1107s # random seed: R02Se45af2caa66729d45da5abfdb3f9b024 1107s 1..6 1107s # Start of glib tests 1107s # Start of checked-math tests 1107s ok 1 /glib/checked-math/guint-add 1107s ok 2 /glib/checked-math/guint-mul 1107s ok 3 /glib/checked-math/guint64-add 1107s ok 4 /glib/checked-math/guint64-mul 1107s ok 5 /glib/checked-math/gsize-add 1107s ok 6 /glib/checked-math/gsize-mul 1107s # End of checked-math tests 1107s # End of glib tests 1107s ok - glib/overflow-fallback.test 1107s # Running test: glib/cxx-17.test 1107s TAP version 14 1107s # random seed: R02S2d9dd2167d8df5481cd7e0839d1553d7 1107s 1..2 1107s # Start of gtask tests 1107s # 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. 1107s ok 1 /gtask/name 1107s # Start of name tests 1107s # 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. 1107s ok 2 /gtask/name/macro-wrapper 1107s # End of name tests 1107s # End of gtask tests 1107s ok - glib/cxx-17.test 1107s # Running test: glib/gmenumodel.test 1107s TAP version 14 1107s # random seed: R02S608bcffe0e202bff33fe3c7427a582b4 1107s 1..15 1107s # Start of gmenu tests 1108s ok 1 /gmenu/equality 1108s # slow test /gmenu/equality executed in 0.64 secs 1108s # Executing: glib/gmenumodel.test 1109s ok 2 /gmenu/random 1109s # slow test /gmenu/random executed in 0.82 secs 1109s ok 3 /gmenu/attributes 1109s ok 4 /gmenu/links 1109s ok 5 /gmenu/mutable 1109s ok 6 /gmenu/convenience 1109s ok 7 /gmenu/menuitem 1109s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s ok 8 /gmenu/input-validation 1109s # Start of dbus tests 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1110s ok 9 /gmenu/dbus/roundtrip 1110s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1110s ok 10 /gmenu/dbus/subscriptions 1111s ok 11 /gmenu/dbus/threaded 1111s # slow test /gmenu/dbus/threaded executed in 0.81 secs 1111s # Start of peer tests 1112s ok 12 /gmenu/dbus/peer/roundtrip 1112s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 1112s ok 13 /gmenu/dbus/peer/subscriptions 1112s # End of peer tests 1112s # Start of export tests 1112s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1112s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1112s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1112s ok 14 /gmenu/dbus/export/error-handling 1112s # End of export tests 1112s # End of dbus tests 1112s # Start of attributes tests 1112s ok 15 /gmenu/attributes/iterate 1112s # End of attributes tests 1112s # End of gmenu tests 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1112s ok - glib/gmenumodel.test 1112s # Running test: glib/markup-parse.test 1112s TAP version 14 1112s # random seed: R02S1decad0776e45475113c4d60fce183c3 1112s 1..71 1112s # Start of markup tests 1112s # Start of parse tests 1112s ok 1 /markup/parse/fail-20.gmarkup 1112s ok 2 /markup/parse/valid-13.gmarkup 1112s ok 3 /markup/parse/fail-54.gmarkup 1112s ok 4 /markup/parse/fail-29.gmarkup 1112s ok 5 /markup/parse/fail-32.gmarkup 1112s ok 6 /markup/parse/fail-37.gmarkup 1112s ok 7 /markup/parse/valid-5.gmarkup 1112s ok 8 /markup/parse/fail-39.gmarkup 1112s ok 9 /markup/parse/fail-25.gmarkup 1112s ok 10 /markup/parse/fail-33.gmarkup 1112s ok 11 /markup/parse/fail-15.gmarkup 1112s ok 12 /markup/parse/fail-24.gmarkup 1112s ok 13 /markup/parse/fail-23.gmarkup 1112s ok 14 /markup/parse/fail-48.gmarkup 1113s ok 15 /markup/parse/valid-10.gmarkup 1113s ok 16 /markup/parse/fail-8.gmarkup 1113s ok 17 /markup/parse/fail-31.gmarkup 1113s ok 18 /markup/parse/fail-34.gmarkup 1113s ok 19 /markup/parse/valid-17.gmarkup 1113s ok 20 /markup/parse/fail-6.gmarkup 1113s ok 21 /markup/parse/valid-15.gmarkup 1113s ok 22 /markup/parse/fail-35.gmarkup 1113s ok 23 /markup/parse/fail-5.gmarkup 1113s ok 24 /markup/parse/valid-8.gmarkup 1113s ok 25 /markup/parse/fail-7.gmarkup 1113s ok 26 /markup/parse/fail-12.gmarkup 1113s ok 27 /markup/parse/fail-13.gmarkup 1113s ok 28 /markup/parse/fail-43.gmarkup 1113s ok 29 /markup/parse/fail-4.gmarkup 1113s ok 30 /markup/parse/valid-1.gmarkup 1113s ok 31 /markup/parse/fail-42.gmarkup 1113s ok 32 /markup/parse/valid-6.gmarkup 1113s ok 33 /markup/parse/valid-3.gmarkup 1113s ok 34 /markup/parse/fail-22.gmarkup 1113s ok 35 /markup/parse/valid-2.gmarkup 1113s ok 36 /markup/parse/fail-30.gmarkup 1113s ok 37 /markup/parse/fail-40.gmarkup 1113s ok 38 /markup/parse/fail-14.gmarkup 1113s ok 39 /markup/parse/fail-10.gmarkup 1113s ok 40 /markup/parse/fail-27.gmarkup 1113s ok 41 /markup/parse/valid-14.gmarkup 1113s ok 42 /markup/parse/fail-16.gmarkup 1113s ok 43 /markup/parse/valid-7.gmarkup 1113s ok 44 /markup/parse/fail-44.gmarkup 1113s ok 45 /markup/parse/fail-45.gmarkup 1113s ok 46 /markup/parse/fail-49.gmarkup 1113s ok 47 /markup/parse/fail-26.gmarkup 1113s ok 48 /markup/parse/fail-41.gmarkup 1113s ok 49 /markup/parse/fail-38.gmarkup 1113s ok 50 /markup/parse/fail-17.gmarkup 1113s ok 51 /markup/parse/fail-19.gmarkup 1113s ok 52 /markup/parse/fail-53.gmarkup 1113s ok 53 /markup/parse/fail-1.gmarkup 1113s ok 54 /markup/parse/fail-9.gmarkup 1113s ok 55 /markup/parse/fail-50.gmarkup 1113s ok 56 /markup/parse/valid-11.gmarkup 1113s ok 57 /markup/parse/valid-16.gmarkup 1113s ok 58 /markup/parse/fail-11.gmarkup 1113s ok 59 /markup/parse/valid-4.gmarkup 1113s ok 60 /markup/parse/fail-3.gmarkup 1113s ok 61 /markup/parse/valid-12.gmarkup 1113s ok 62 /markup/parse/fail-46.gmarkup 1113s ok 63 /markup/parse/fail-28.gmarkup 1113s ok 64 /markup/parse/fail-52.gmarkup 1113s ok 65 /markup/parse/fail-21.gmarkup 1113s ok 66 /markup/parse/fail-18.gmarkup 1113s ok 67 /markup/parse/fail-36.gmarkup 1113s ok 68 /markup/parse/valid-9.gmarkup 1113s ok 69 /markup/parse/fail-51.gmarkup 1113s ok 70 /markup/parse/fail-47.gmarkup 1113s ok 71 /markup/parse/fail-2.gmarkup 1113s # End of parse tests 1113s # End of markup tests 1113s ok - glib/markup-parse.test 1113s # Running test: glib/portal-support-flatpak-full.test 1113s TAP version 14 1113s # random seed: R02S358b981ea3212c9d1f8ad0933145782d 1113s 1..1 1113s # Start of portal-support tests 1113s # Start of flatpak tests 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_6Z9HZ2/portal-support/flatpak/full/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_6Z9HZ2/portal-support/flatpak/full/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_6Z9HZ2/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_6Z9HZ2/portal-support/flatpak/full/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_6Z9HZ2/portal-support/flatpak/full/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_6Z9HZ2/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_6Z9HZ2/portal-support/flatpak/full/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_6Z9HZ2/portal-support/flatpak/full/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_6Z9HZ2/portal-support/flatpak/full/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_6Z9HZ2/portal-support/flatpak/full/.dirs/runtime 1113s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_6Z9HZ2/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 1113s ok 1 /portal-support/flatpak/full 1113s # End of flatpak tests 1113s # End of portal-support tests 1113s ok - glib/portal-support-flatpak-full.test 1113s # Running test: glib/macros-c-89.test 1113s TAP version 14 1113s # random seed: R02Sab94eba1de4642fccfd9e9bd02205c1a 1113s 1..4 1113s # Start of C tests 1113s ok 1 /C/standard-89 1113s # End of C tests 1113s # Start of alignof tests 1113s ok 2 /alignof/fallback 1113s # End of alignof tests 1113s # Start of assert tests 1113s ok 3 /assert/static 1113s # End of assert tests 1113s # Start of struct tests 1113s ok 4 /struct/sizeof_member 1113s # End of struct tests 1113s ok - glib/macros-c-89.test 1113s # Running test: glib/signalgroup.test 1113s TAP version 14 1113s # random seed: R02S7662f7bad67b6081156052ae35bd3b41 1113s 1..9 1113s # Start of GObject tests 1113s # Start of SignalGroup tests 1113s ok 1 /GObject/SignalGroup/invalid 1113s ok 2 /GObject/SignalGroup/simple 1113s ok 3 /GObject/SignalGroup/changing-target 1113s ok 4 /GObject/SignalGroup/blocking 1113s ok 5 /GObject/SignalGroup/weak-ref-target 1113s ok 6 /GObject/SignalGroup/connect-object 1113s ok 7 /GObject/SignalGroup/signal-parsing 1113s ok 8 /GObject/SignalGroup/properties 1113s ok 9 /GObject/SignalGroup/interface 1113s # Start of signal-parsing tests 1113s # End of signal-parsing tests 1113s # End of SignalGroup tests 1113s # End of GObject tests 1113s ok - glib/signalgroup.test 1113s # Running test: glib/live-g-file.test 1113s TAP version 14 1113s # random seed: R02Sd7c58388f899afa6ac2606a59fbad357 1113s 1..13 1113s # Start of live-g-file tests 1113s # Cleaning target testing structure in 'testdir_live-g-file'... 1113s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1113s ok 1 /live-g-file/prep_clean_structure 1113s # 1113s # Going to create testing structure in 'testdir_live-g-file'... 1113s # Creating directory 'dir1'... 1113s # Creating directory 'dir1/subdir'... 1113s # Creating directory 'dir2'... 1113s # Creating directory 'dir-target'... 1113s # Creating directory 'dir_no-access'... 1113s # Creating directory 'dir_no-write'... 1113s # Creating file 'target-file'... 1113s # Creating file 'normal_file'... 1113s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 1113s # Creating file 'executable_file'... 1113s # Creating file 'private_file'... 1113s # Creating file 'normal_file2'... 1113s # Creating file 'readonly_file'... 1113s # Creating file 'UTF_pr?i?lis? z'... 1113s # Creating directory 'dir_pr?i?lis? z'... 1113s # Creating symlink 'lost_symlink' --> 'nowhere'... 1113s # Creating directory 'dir_hidden'... 1113s # Creating file 'dir_hidden/.a-hidden-file'... 1113s # Creating file 'dir_hidden/file-in-.hidden1'... 1113s # Creating file 'dir_hidden/file-in-.hidden2'... 1113s # Creating pattern file... 1113s # done. 1113s ok 2 /live-g-file/create_structure 1113s # Testing sample structure in 'testdir_live-g-file'... 1113s # Testing file 'dir1'... 1113s # Testing file 'dir1/subdir'... 1113s # Testing file 'dir2'... 1113s # Testing file 'dir-target'... 1113s # Testing file 'dir_no-access'... 1113s # Testing file 'dir_no-write'... 1113s # Testing file 'target-file'... 1113s # Testing file 'normal_file'... 1113s # Testing file 'normal_file-symlink'... 1113s # Testing file 'executable_file'... 1113s # Testing file 'private_file'... 1113s # Testing file 'normal_file2'... 1113s # Testing file 'readonly_file'... 1113s # Testing file 'UTF_pr?i?lis? z'... 1113s # Testing file 'dir_pr?i?lis? z'... 1113s # Testing file 'lost_symlink'... 1113s # Testing file 'dir_hidden'... 1113s # Testing file 'dir_hidden/.a-hidden-file'... 1113s # Testing file 'dir_hidden/file-in-.hidden1'... 1113s # Testing file 'dir_hidden/file-in-.hidden2'... 1113s # Testing pattern file... 1113s # read 65536 bytes, total = 65536 of 65536. 1113s ok 3 /live-g-file/test_initial_structure 1113s # Traversing through the sample structure in 'testdir_live-g-file'... 1113s # Found file dir1, relative to root: dir1 1113s # Found file subdir, relative to root: dir1/subdir 1113s # Found file dir2, relative to root: dir2 1113s # Found file dir-target, relative to root: dir-target 1113s # Found file dir_no-access, relative to root: dir_no-access 1113s # Found file dir_no-write, relative to root: dir_no-write 1113s # Found file target-file, relative to root: target-file 1113s # Found file normal_file, relative to root: normal_file 1113s # Found file normal_file-symlink, relative to root: normal_file-symlink 1113s # Found file executable_file, relative to root: executable_file 1113s # Found file private_file, relative to root: private_file 1113s # Found file normal_file2, relative to root: normal_file2 1113s # Found file readonly_file, relative to root: readonly_file 1113s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 1113s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 1113s # Found file lost_symlink, relative to root: lost_symlink 1113s # Found file dir_hidden, relative to root: dir_hidden 1113s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 1113s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 1113s # Found file .hidden, relative to root: dir_hidden/.hidden 1113s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 1113s # Found file pattern_file, relative to root: pattern_file 1113s ok 4 /live-g-file/test_traverse_structure 1113s # Test enumerate 'testdir_live-g-file'... 1113s # Testing file 'dir_no-access' 1113s # Testing file 'normal_file' 1113s # Testing file 'normal_file-symlink' 1113s # Testing file 'not_exists' 1113s # Testing file 'not_exists' 1113s # Testing file 'not_exists2' 1113s # Testing file 'not_exists3' 1113s # Testing file 'not_exists4' 1113s # Testing file 'dir_no-execute/file' 1113s ok 5 /live-g-file/test_enumerate 1113s # test_open: 'dir1' 1113s # test_open: 'dir_no-access' 1113s # test_open: 'target-file' 1113s # test_open: 'normal_file-symlink' 1113s # test_open: 'executable_file' 1113s # test_open: 'private_file' 1113s # test_open: 'readonly_file' 1113s # test_open: 'UTF_pr?i?lis? z' 1113s # test_open: 'pattern_file' 1113s # test_open: 'not_exists' 1113s # test_open: 'dir_no-execute/file' 1113s # test_open: 'lost_symlink' 1113s ok 6 /live-g-file/test_open 1113s # test_create: 'dir1' 1113s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/dir1?: Is a directory 1113s # test_create: 'dir1/subdir' 1113s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/dir1/subdir?: Is a directory 1113s # test_create: 'dir2' 1113s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/dir2?: File exists 1113s # test_create: 'normal_file' 1113s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/normal_file?: File exists 1113s # test_create: 'executable_file' 1113s # test_create: 'private_file' 1113s # test_create: 'normal_file2' 1113s # test_create: 'UTF_pr?i?lis? z' 1113s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1113s # test_create: 'dir_pr?i?lis? z' 1113s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 1113s # test_create: 'pattern_file' 1113s # test_create: 'not_exists2' 1113s # test_create: 'not_exists3' 1113s # test_create: 'not_exists4' 1113s ok 7 /live-g-file/test_create 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'dir1/subdir' --> 'dir-target' 1113s # res = 0, error code 25 = Can?t recursively copy directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'dir1/subdir' --> '.' 1113s # res = 0, error code 2 = Target file exists 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'dir1/subdir' --> 'target-file' 1113s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'dir1/subdir' --> 'not_exists' 1113s # res = 0, error code 25 = Can?t recursively copy directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 1113s # res = 0, error code 25 = Can?t recursively copy directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 1113s # res = 0, error code 25 = Can?t recursively copy directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'dir2' --> 'dir-target' 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'dir-target' --> 'dir-target' 1113s # res = 0, error code 25 = Can?t recursively copy directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'dir-target' --> '.' 1113s # res = 0, error code 2 = Target file exists 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'dir-target' --> 'target-file' 1113s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/target-file/dir-target?: Not a directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'dir-target' --> 'not_exists' 1113s # res = 0, error code 25 = Can?t recursively copy directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'dir-target' --> 'dir_no-access' 1113s # res = 0, error code 25 = Can?t recursively copy directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'dir-target' --> 'dir_no-write' 1113s # res = 0, error code 25 = Can?t recursively copy directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'target-file' --> 'dir-target' 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'target-file' --> '.' 1113s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/target-file?: File exists 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'target-file' --> 'target-file' 1113s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/target-file/target-file?: Not a directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'target-file' --> 'not_exists' 1113s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/not_exists/target-file?: No such file or directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'target-file' --> 'dir_no-access' 1113s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'target-file' --> 'dir_no-write' 1113s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'normal_file-symlink' --> '.' 1113s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/normal_file-symlink: File exists 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'normal_file-symlink' --> 'target-file' 1113s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 1113s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 1113s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 1113s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'executable_file' --> 'dir-target' 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'executable_file' --> 'dir-target' 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'executable_file' --> '.' 1113s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/executable_file?: File exists 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'executable_file' --> 'target-file' 1113s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/target-file/executable_file?: Not a directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'executable_file' --> 'not_exists' 1113s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'executable_file' --> 'dir_no-access' 1113s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'executable_file' --> 'dir_no-write' 1113s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'private_file' --> 'dir-target' 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'private_file' --> 'dir-target' 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'private_file' --> '.' 1113s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/private_file?: File exists 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'private_file' --> 'target-file' 1113s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/target-file/private_file?: Not a directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'private_file' --> 'not_exists' 1113s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/not_exists/private_file?: No such file or directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'private_file' --> 'dir_no-access' 1113s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'private_file' --> 'dir_no-write' 1113s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'normal_file2' --> 'dir-target' 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'normal_file2' --> 'dir-target' 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'normal_file2' --> '.' 1113s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/normal_file2?: File exists 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'normal_file2' --> 'target-file' 1113s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/target-file/normal_file2?: Not a directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'normal_file2' --> 'not_exists' 1113s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'normal_file2' --> 'dir_no-access' 1113s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'normal_file2' --> 'dir_no-write' 1113s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 1113s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 1113s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 1113s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 1113s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 1113s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'pattern_file' --> 'dir-target' 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'pattern_file' --> '.' 1113s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/pattern_file?: File exists 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'pattern_file' --> 'target-file' 1113s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/target-file/pattern_file?: Not a directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'pattern_file' --> 'not_exists' 1113s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'pattern_file' --> 'dir_no-access' 1113s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'pattern_file' --> 'dir_no-write' 1113s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'not_exists' --> 'dir-target' 1113s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/not_exists?: No such file or directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'not_exists' --> '.' 1113s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/not_exists?: No such file or directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'not_exists' --> 'target-file' 1113s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/not_exists?: No such file or directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'not_exists' --> 'not_exists' 1113s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/not_exists?: No such file or directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'not_exists' --> 'dir_no-access' 1113s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/not_exists?: No such file or directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'not_exists' --> 'dir_no-write' 1113s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/not_exists?: No such file or directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'not_exists' --> 'dir-target' 1113s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/not_exists: No such file or directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'lost_symlink' --> 'dir-target' 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'lost_symlink' --> '.' 1113s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/lost_symlink: File exists 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'lost_symlink' --> 'target-file' 1113s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/target-file/lost_symlink: Not a directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'lost_symlink' --> 'not_exists' 1113s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 1113s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 1113s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 1113s ok 8 /live-g-file/test_copy_move 1113s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/dir1 1113s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/dir1: Directory not empty 1113s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/dir2 1113s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/dir2: No such file or directory 1113s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/executable_file 1113s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/readonly_file 1113s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/dir_pr?i?lis? z 1113s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/not_exists 1113s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/not_exists: No such file or directory 1113s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/not_exists 1113s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/not_exists: No such file or directory 1113s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/dir_no-execute/file 1113s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/dir_no-execute/file: No such file or directory 1113s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-5OXHZ2/testdir_live-g-file/lost_symlink 1113s ok 9 /live-g-file/test_delete 1113s # We do not have CAP_DAC_OVERRIDE or equivalent 1113s ok 10 /live-g-file/test_make_directory_with_parents 1113s # Cleaning target testing structure in 'testdir_live-g-file'... 1113s # deleting 'dir1' 1113s # deleting 'subdir' 1113s # deleting 'dir-target' 1113s # deleting 'dir2' 1113s # deleting 'target-file' 1113s # deleting 'normal_file-symlink' 1113s # deleting 'pattern_file' 1113s # deleting 'executable_file' 1113s # deleting 'private_file' 1113s # deleting 'normal_file2' 1113s # deleting 'UTF_pr?i?lis? z' 1113s # deleting 'lost_symlink' 1113s # deleting 'dir_no-access' 1113s # deleting 'dir_no-write' 1113s # deleting 'target-file' 1113s # deleting 'normal_file' 1113s # deleting 'normal_file-symlink' 1113s # deleting 'executable_file~' 1113s # deleting 'private_file' 1113s # deleting 'normal_file2~' 1113s # deleting 'a' 1113s # deleting 'UTF_pr?i?lis? z' 1113s # deleting 'dir_hidden' 1113s # deleting '.a-hidden-file' 1113s # deleting 'file-in-.hidden1' 1113s # deleting '.hidden' 1113s # deleting 'file-in-.hidden2' 1113s # deleting 'pattern_file' 1113s # deleting 'normal_file2' 1113s # deleting 'not_exists2' 1113s # deleting 'not_exists3' 1113s # deleting 'not_exists4' 1113s ok 11 /live-g-file/final_clean 1113s # Start of test_unix_is_mountpoint tests 1113s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 1113s ok 13 /live-g-file/test_unix_is_mountpoint/proc 1113s # End of test_unix_is_mountpoint tests 1113s # End of live-g-file tests 1113s ok - glib/live-g-file.test 1113s # Running test: glib/gdbus-sasl.test 1113s TAP version 14 1113s # random seed: R02S0e89ce303581b3cf646be022e6f38ad3 1113s 1..1 1113s # Start of gdbus tests 1113s # Start of sasl tests 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_FMRSZ2/gdbus/sasl/server/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_FMRSZ2/gdbus/sasl/server/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_FMRSZ2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_FMRSZ2/gdbus/sasl/server/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_FMRSZ2/gdbus/sasl/server/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_FMRSZ2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_FMRSZ2/gdbus/sasl/server/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_FMRSZ2/gdbus/sasl/server/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_FMRSZ2/gdbus/sasl/server/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_FMRSZ2/gdbus/sasl/server/.dirs/runtime 1113s # New handshake: EXTERNAL with incorrect initial response 1113s # C:“AUTH EXTERNAL 30†1113s # Expect: /^REJECTED.*$/ 1113s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†1113s # New handshake: EXTERNAL without initial response, failing to authenticate 1113s # C:“AUTH EXTERNAL†1113s # Expect: /^DATA$/ 1113s # S:“DATA†1113s # C:“DATA 30†1113s # Expect: /^REJECTED.*$/ 1113s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†1113s # New handshake: EXTERNAL with initial response 1113s # C:“AUTH EXTERNAL 31303030†1113s # Expect: /^OK [0-9a-f]+$/ 1113s # S:“OK 43da9145f5fe8243789d677d677b6eb1†1113s # New handshake: EXTERNAL without initial response 1113s # C:“AUTH EXTERNAL†1113s # Expect: /^DATA$/ 1113s # S:“DATA†1113s # C:“DATA 31303030†1113s # Expect: /^OK [0-9a-f]+$/ 1113s # S:“OK 43da9145f5fe8243789d677d677b6eb1†1113s # New handshake: EXTERNAL with empty authorization identity 1113s # C:“AUTH EXTERNAL†1113s # Expect: /^DATA$/ 1113s # S:“DATA†1113s # C:“DATA†1113s # Expect: /^OK [0-9a-f]+$/ 1113s # S:“OK 43da9145f5fe8243789d677d677b6eb1†1113s # New handshake: EXTERNAL with empty authorization identity and whitespace 1113s # C:“AUTH EXTERNAL†1113s # Expect: /^DATA$/ 1113s # S:“DATA†1113s # C:“DATA †1113s # Expect: /^OK [0-9a-f]+$/ 1113s # S:“OK 43da9145f5fe8243789d677d677b6eb1†1113s ok 1 /gdbus/sasl/server 1113s # End of sasl tests 1113s # End of gdbus tests 1113s ok - glib/gdbus-sasl.test 1113s # Running test: glib/properties-refcount4.test 1113s TAP version 14 1113s # random seed: R02S5d10064d735ce5d9ef54f982e8d020d6 1113s 1..1 1113s # Start of gobject tests 1113s # Start of refcount tests 1113s ok 1 /gobject/refcount/properties-4 1113s # End of refcount tests 1113s # End of gobject tests 1113s ok - glib/properties-refcount4.test 1113s # Running test: glib/init.test 1113s TAP version 14 1113s # random seed: R02S9ef159ea33e7c0d3a516a41dad7dce10 1113s 1..2 1113s # Start of thread tests 1113s # Start of deprecated tests 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_P8FSZ2/thread/deprecated/init/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_P8FSZ2/thread/deprecated/init/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_P8FSZ2/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_P8FSZ2/thread/deprecated/init/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_P8FSZ2/thread/deprecated/init/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_P8FSZ2/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_P8FSZ2/thread/deprecated/init/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_P8FSZ2/thread/deprecated/init/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_P8FSZ2/thread/deprecated/init/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_P8FSZ2/thread/deprecated/init/.dirs/runtime 1113s ok 1 /thread/deprecated/init 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_P8FSZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_P8FSZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_P8FSZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_P8FSZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_P8FSZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_P8FSZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_P8FSZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_P8FSZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_P8FSZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_P8FSZ2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 1113s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 1113s # End of deprecated tests 1113s # End of thread tests 1113s ok - glib/init.test 1113s # Running test: glib/test-printf.test 1113s TAP version 14 1113s # random seed: R02S9b4489d6e7f56ad89950c3b22a010f7e 1113s 1..22 1113s # Start of snprintf tests 1113s ok 1 /snprintf/retval-and-trunc 1113s ok 2 /snprintf/%d 1113s ok 3 /snprintf/%d-invalid 1113s ok 4 /snprintf/%o 1113s ok 5 /snprintf/%u 1113s ok 6 /snprintf/%x 1113s ok 7 /snprintf/%X 1113s ok 8 /snprintf/%f 1113s ok 9 /snprintf/%e 1113s ok 10 /snprintf/%c 1113s ok 11 /snprintf/%s 1113s ok 12 /snprintf/%n 1113s ok 13 /snprintf/test-percent 1113s ok 14 /snprintf/test-positional-params 1113s ok 15 /snprintf/test-64bit 1113s # End of snprintf tests 1113s # Start of printf tests 1113s ok 16 /printf/test-percent 1113s ok 17 /printf/test-positional-params 1113s ok 18 /printf/test-64bit 1113s # Start of test-64bit tests 1113s # Start of subprocess tests 1113s # End of subprocess tests 1113s # End of test-64bit tests 1113s # End of printf tests 1113s # Start of sprintf tests 1113s ok 19 /sprintf/test-positional-params 1113s ok 20 /sprintf/upper-bound 1113s # End of sprintf tests 1113s # Start of vasprintf tests 1113s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 1113s ok 21 /vasprintf/invalid-format-placeholder 1113s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 1113s ok 22 /vasprintf/invalid-wide-string 1113s # End of vasprintf tests 1113s ok - glib/test-printf.test 1113s # Running test: glib/gapplication.test 1113s TAP version 14 1113s # random seed: R02S5504585d7baae6132b5a56b2df28d543 1113s 1..24 1113s # Start of gapplication tests 1113s ok 1 /gapplication/no-dbus 1113s ok 2 /gapplication/no-appid 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s ok 3 /gapplication/properties 1113s ok 4 /gapplication/app-id 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s ok 5 /gapplication/quit 1113s ok 6 /gapplication/registered 1113s ok 7 /gapplication/local-actions 1113s ok 8 /gapplication/local-command-line 1113s ok 9 /gapplication/resource-path 1113s ok 10 /gapplication/test-help 1113s ok 11 /gapplication/command-line-done 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s ok 12 /gapplication/test-busy 1113s ok 13 /gapplication/test-handle-local-options1 1113s ok 14 /gapplication/test-handle-local-options2 1113s ok 15 /gapplication/test-handle-local-options3 1113s ok 16 /gapplication/api 1113s ok 17 /gapplication/version 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # launching subprocess 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s ok 18 /gapplication/replace 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # launching subprocess 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s ok 19 /gapplication/no-replace 1113s # slow test /gapplication/no-replace executed in 0.51 secs 1113s # Start of dbus tests 1113s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # Message 0 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # Message 1 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # Message 2 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s ok 20 /gapplication/dbus/activate 1113s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # Message 0 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1113s # Message 1 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # Executing: glib/gapplication.test 1113s # Message 2 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # Message 3 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s ok 21 /gapplication/dbus/open 1113s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # Message 0 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # Message 1 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # Message 2 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s ok 22 /gapplication/dbus/command-line 1113s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s ok 23 /gapplication/dbus/command-line-done 1113s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1113s # Message 0 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # Message 1 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # Message 2 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # Message 3 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # Message 4 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # Message 5 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # Message 6 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # Message 7 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # Message 8 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # Message 9 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # Message 10 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # Message 11 1113s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1113s ok 24 /gapplication/dbus/activate-action 1113s # End of dbus tests 1113s # End of gapplication tests 1113s ok - glib/gapplication.test 1113s # Running test: glib/gdbus-message.test 1113s TAP version 14 1113s # random seed: R02Sf283fb4f4fc5ba54096834303c65f68b 1113s 1..3 1113s # Start of gdbus tests 1113s # Start of message tests 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_1FVYZ2/gdbus/message/lock/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_1FVYZ2/gdbus/message/lock/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_1FVYZ2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_1FVYZ2/gdbus/message/lock/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_1FVYZ2/gdbus/message/lock/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_1FVYZ2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_1FVYZ2/gdbus/message/lock/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_1FVYZ2/gdbus/message/lock/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_1FVYZ2/gdbus/message/lock/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_1FVYZ2/gdbus/message/lock/.dirs/runtime 1113s ok 1 /gdbus/message/lock 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_1FVYZ2/gdbus/message/copy/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_1FVYZ2/gdbus/message/copy/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_1FVYZ2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_1FVYZ2/gdbus/message/copy/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_1FVYZ2/gdbus/message/copy/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_1FVYZ2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_1FVYZ2/gdbus/message/copy/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_1FVYZ2/gdbus/message/copy/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_1FVYZ2/gdbus/message/copy/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_1FVYZ2/gdbus/message/copy/.dirs/runtime 1113s ok 2 /gdbus/message/copy 1113s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_1FVYZ2/gdbus/message/bytes-needed/.dirs/home 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_1FVYZ2/gdbus/message/bytes-needed/.dirs/cache 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_1FVYZ2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_1FVYZ2/gdbus/message/bytes-needed/.dirs/system-config2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_1FVYZ2/gdbus/message/bytes-needed/.dirs/config 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_1FVYZ2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_1FVYZ2/gdbus/message/bytes-needed/.dirs/system-data2 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_1FVYZ2/gdbus/message/bytes-needed/.dirs/data 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_1FVYZ2/gdbus/message/bytes-needed/.dirs/state 1113s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_1FVYZ2/gdbus/message/bytes-needed/.dirs/runtime 1113s # Vector: 0 1113s # Vector: 1 1113s # Vector: 2 1113s # Vector: 3 1113s # Vector: 4 1113s # Vector: 5 1113s ok 3 /gdbus/message/bytes-needed 1113s # End of message tests 1113s # End of gdbus tests 1113s ok - glib/gdbus-message.test 1113s # Running test: glib/spawn-multithreaded.test 1113s TAP version 14 1113s # random seed: R02Sf31868ed204abc24de7d4c125d917f5d 1113s 1..4 1113s # Start of gthread tests 1114s # Child 6715 (ttl 1) exited, status 0 1115s # Child 6716 (ttl 2) exited, status 0 1115s ok 1 /gthread/spawn-childs 1115s # slow test /gthread/spawn-childs executed in 2.00 secs 1115s # Created pid: 6720 (ttl 2) 1115s # Created pid: 6721 (ttl 1) 1116s # Child 6721 (ttl 1) exited, status 0 1117s # Child 6720 (ttl 2) exited, status 0 1117s ok 2 /gthread/spawn-childs-threads 1117s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 1117s ok 3 /gthread/spawn-sync 1117s ok 4 /gthread/spawn-async 1117s # End of gthread tests 1117s ok - glib/spawn-multithreaded.test 1117s # Running test: glib/dataset.test 1117s TAP version 14 1117s # random seed: R02S590d0f409d7e66ed93fd55701308aafb 1117s 1..14 1117s # Start of quark tests 1117s ok 1 /quark/basic 1117s ok 2 /quark/string 1117s # End of quark tests 1117s # Start of dataset tests 1117s ok 3 /dataset/basic 1117s ok 4 /dataset/id 1117s ok 5 /dataset/full 1117s ok 6 /dataset/foreach 1117s ok 7 /dataset/destroy 1117s # End of dataset tests 1117s # Start of datalist tests 1117s ok 8 /datalist/basic 1117s ok 9 /datalist/id 1117s ok 10 /datalist/recursive-clear 1117s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1117s ok 11 /datalist/id-remove-multiple 1117s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1117s ok 12 /datalist/id-remove-multiple-destroy-order 1117s ok 13 /datalist/update-atomic 1117s # Start of id-remove-multiple tests 1117s ok 14 /datalist/id-remove-multiple/resize 1117s # End of id-remove-multiple tests 1117s # End of datalist tests 1117s ok - glib/dataset.test 1117s # Running test: glib/atomic-c-17.test 1117s TAP version 14 1117s # random seed: R02S170e91ef28f9764dde78f6dbef7c31c6 1117s 1..2 1117s # Start of atomic tests 1117s ok 1 /atomic/types 1117s ok 2 /atomic/threaded 1117s # End of atomic tests 1117s ok - glib/atomic-c-17.test 1117s # Running test: glib/module-test-plugin.test 1117s TAP version 14 1117s # random seed: R02S1e69bb2a132a5eaef1ac26b84d15759d 1117s 1..3 1117s # Start of module tests 1117s ok 1 /module/basics 1117s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1117s ok 2 /module/invalid-libtool-archive 1117s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1117s ok 3 /module/local-binding 1117s # End of module tests 1117s ok - glib/module-test-plugin.test 1117s # Running test: glib/thread-deprecated.test 1117s TAP version 14 1117s # random seed: R02Sb465bd2286263970042072a2320ff09d 1117s 1..6 1117s # Start of thread tests 1117s ok 1 /thread/mutex 1118s ok 2 /thread/static-rec-mutex 1118s # Executing: glib/thread-deprecated.test 1122s ok 3 /thread/static-private 1122s # slow test /thread/static-private executed in 4.40 secs 1123s # Executing: glib/thread-deprecated.test 1127s ok 4 /thread/static-rw-lock 1127s # slow test /thread/static-rw-lock executed in 5.00 secs 1127s ok 5 /thread/once 1128s # Executing: glib/thread-deprecated.test 1133s # Executing: glib/thread-deprecated.test 1137s ok 6 /thread/rerun-all 1137s # slow test /thread/rerun-all executed in 9.82 secs 1137s # End of thread tests 1137s ok - glib/thread-deprecated.test 1137s # Running test: glib/properties-refcount1.test 1137s TAP version 14 1137s # random seed: R02S2fdce14407134fde669c79550f801bf0 1137s 1..1 1137s # Start of gobject tests 1137s # Start of refcount tests 1137s # .b 1137s # .d 1137s # .c 1137s # .e 1137s # .f 1137s # .b 1137s # .d 1137s # .b 1137s # .c 1137s # .f 1137s # .e 1137s # .d 1137s # .b 1137s # .e 1137s # .c 1137s # .f 1137s # .d 1137s # .b 1137s # .c 1137s # .f 1137s # .e 1137s # .d 1137s # .b 1137s # .c 1137s # .f 1137s # .e 1137s # .b 1137s # .d 1137s # .f 1137s # .b 1137s # .c 1137s # .e 1137s # .f 1137s # .d 1137s # .b 1137s # .e 1137s # .c 1137s # .f 1137s # .b 1138s # .d 1138s # .c 1138s # .e 1138s # .f 1138s # .b 1138s # .d 1138s # .e 1138s # .c 1138s # .b 1138s # .f 1138s # .e 1138s # .d 1138s # .f 1138s # .b 1138s # .c 1138s # .e 1138s # .d 1138s # .b 1138s # .f 1138s # .e 1138s # .c 1138s # .d 1138s # .b 1138s # .f 1138s # .e 1138s # .c 1138s # .d 1138s # .e 1138s # .f 1138s # .c 1138s # .b 1138s # .d 1138s # .e 1138s # .f 1138s # .c 1138s # .b 1138s # .d 1138s # Executing: glib/properties-refcount1.test 1138s # .f 1138s # .b 1138s # .e 1138s # .c 1138s # .f 1138s # .d 1138s # .e 1138s # .b 1138s # .c 1138s # .f 1138s # .d 1138s # .e 1138s # .c 1138s # .b 1138s # .f 1138s # .d 1138s # .e 1138s # .c 1138s # .b 1138s # .f 1138s # .e 1138s # .c 1138s # .d 1138s # .e 1138s # .c 1138s # .f 1138s # .b 1138s # .d 1138s # .e 1138s # .f 1138s # .c 1138s # .b 1138s # .d 1138s # .f 1138s # .b 1138s # .c 1138s # .e 1138s # .d 1138s # .f 1138s # .c 1138s # .b 1138s # .d 1139s # .e 1139s # .f 1139s # .d 1139s # .c 1139s # .b 1139s # .e 1139s # .f 1139s # .d 1139s # .c 1139s # .b 1139s # .f 1139s # .e 1139s # .d 1139s # .c 1139s # .f 1139s # .b 1139s # .e 1139s # .d 1139s # .c 1139s # .b 1139s # .f 1139s # .e 1139s # .d 1139s # .b 1139s # .c 1139s # .e 1139s # .f 1139s # .d 1139s # .b 1139s # .e 1139s # .f 1139s # .c 1139s # .d 1139s # .b 1139s # .c 1139s # .f 1139s # .e 1139s # .d 1139s # .c 1139s # .b 1139s # .f 1139s # .e 1139s # .c 1139s # .f 1139s # .d 1139s # .b 1139s # .e 1139s # .c 1139s # .b 1139s # .f 1139s # .d 1139s # .e 1139s # .f 1139s # .d 1139s # .b 1139s # .c 1139s # .e 1139s # .f 1139s # .b 1139s # .d 1139s # .c 1139s # .e 1139s # .f 1139s # .d 1139s # .b 1139s # .e 1139s # .c 1139s # .f 1139s # .b 1139s # .d 1139s # .e 1139s # .c 1139s # .f 1139s # .b 1139s # .d 1139s # .e 1139s # .c 1139s # .b 1140s # .f 1140s # .d 1140s # .c 1140s # .e 1140s # .b 1140s # .f 1140s # .c 1140s # .d 1140s # .b 1140s # .e 1140s # .f 1140s # .d 1140s # .b 1140s # .c 1140s # .e 1140s # .f 1140s # .b 1140s # .d 1140s # .c 1140s # .e 1140s # .f 1140s # .c 1140s # .b 1140s # .d 1140s # .e 1140s # .f 1140s # .c 1140s # .b 1140s # .d 1140s # .c 1140s # .e 1140s # .b 1140s # .f 1140s # .d 1140s # .e 1140s # .f 1140s ok 1 /gobject/refcount/properties-1 1140s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 1140s # End of refcount tests 1140s # End of gobject tests 1140s ok - glib/properties-refcount1.test 1140s # Running test: glib/timer.test 1140s TAP version 14 1140s # random seed: R02Se6f0b5a2e0468996feca6c8a915ca05d 1140s 1..10 1140s # Start of timer tests 1140s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 1140s ok 2 /timer/stop 1140s ok 3 /timer/continue 1140s ok 4 /timer/reset 1140s ok 5 /timer/is_active 1140s # End of timer tests 1140s # Start of timeval tests 1140s ok 6 /timeval/add 1140s ok 7 /timeval/from-iso8601 1140s ok 8 /timeval/to-iso8601 1140s # Start of to-iso8601 tests 1140s ok 9 /timeval/to-iso8601/overflow 1140s # End of to-iso8601 tests 1140s # End of timeval tests 1140s # Start of usleep tests 1140s ok 10 /usleep/with-zero-wait 1140s # End of usleep tests 1140s ok - glib/timer.test 1140s # Running test: glib/autoptr-gio.test 1140s TAP version 14 1140s # random seed: R02Sc59b44d754ce0dbbc7e6a9c8dcbaadd5 1140s 1..1 1140s # Start of autoptr tests 1140s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1140s ok 1 /autoptr/autoptr 1140s # End of autoptr tests 1140s ok - glib/autoptr-gio.test 1140s # Running test: glib/power-profile-monitor-dbus.test 1140s TAP version 13 1140s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 1140s 1..1 1140s ok - glib/power-profile-monitor-dbus.test 1140s # Running test: glib/type-flags.test 1140s TAP version 14 1140s # random seed: R02S40679fd8348c4f49726ec9aeb38b2353 1140s 1..4 1140s # Start of type tests 1140s # Start of flags tests 1140s ok 1 /type/flags/interface 1140s ok 2 /type/flags/final 1140s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 1140s ok 3 /type/flags/deprecated 1140s # Start of final tests 1140s ok 4 /type/flags/final/instance-check 1140s # End of final tests 1140s # End of flags tests 1140s # End of type tests 1140s ok - glib/type-flags.test 1140s # Running test: glib/fdo-notification-backend.test 1140s TAP version 14 1140s # random seed: R02Sf7c61f0404debffaa24f12c28a8dc4a8 1140s 1..2 1140s # Start of fdo-notification-backend tests 1140s # Test constructing a GFdoNotificationBackend 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1140s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1140s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1140s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1140s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1140s ok 1 /fdo-notification-backend/construction 1140s # Start of dbus tests 1140s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 1140s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1140s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1140s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1140s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1140s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1140s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1140s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1140s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1140s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1140s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1140s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1140s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1140s ok 2 /fdo-notification-backend/dbus/activate-action 1140s # End of dbus tests 1140s # End of fdo-notification-backend tests 1140s ok - glib/fdo-notification-backend.test 1140s # Running test: glib/string.test 1140s TAP version 14 1140s # random seed: R02Sd687bfe0bde0b649a53736a998b77c67 1140s 1..23 1140s # Start of string tests 1140s ok 1 /string/test-string-chunks 1140s ok 2 /string/test-string-chunk-insert 1140s ok 3 /string/test-string-new 1140s ok 4 /string/test-string-printf 1140s ok 5 /string/test-string-assign 1140s ok 6 /string/test-string-append-c 1140s ok 7 /string/test-string-append 1140s ok 8 /string/test-string-append-vprintf 1140s ok 9 /string/test-string-prepend-c 1140s ok 10 /string/test-string-prepend 1140s ok 11 /string/test-string-insert 1140s ok 12 /string/test-string-insert-unichar 1140s ok 13 /string/test-string-equal 1140s ok 14 /string/test-string-truncate 1140s ok 15 /string/test-string-overwrite 1140s ok 16 /string/test-string-nul-handling 1140s ok 17 /string/test-string-up-down 1140s ok 18 /string/test-string-set-size 1140s ok 19 /string/test-string-to-bytes 1140s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 1140s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 1140s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 1140s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 1140s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 1140s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 1140s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 1140s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 1140s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 1140s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 1140s # 5: Replacing "o" with "" (limit 0) in "food for foals" 1140s # -> 4 replacements, "fd fr fals" 1140s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 1140s # -> 3 replacements, "aaaaaaaaa" 1140s # 7: Replacing "a" with "" (limit 0) in "aaa" 1140s # -> 3 replacements, "" 1140s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 1140s # -> 1 replacements, "bba" 1140s # 9: Replacing "" with "bar" (limit 0) in "foo" 1140s # -> 4 replacements, "barfbarobarobar" 1140s # 10: Replacing "" with "x" (limit 0) in "" 1140s # -> 1 replacements, "x" 1140s # 11: Replacing "" with "" (limit 0) in "" 1140s # -> 1 replacements, "" 1140s ok 20 /string/test-string-replace 1140s ok 21 /string/test-string-steal 1140s ok 22 /string/test-string-new-take 1140s # Start of test-string-new-take tests 1140s ok 23 /string/test-string-new-take/null 1140s # End of test-string-new-take tests 1140s # End of string tests 1140s ok - glib/string.test 1140s # Running test: glib/performance.test 1140s Running test simple-construction 1143s # Executing: glib/performance.test 1148s # Executing: glib/performance.test 1149s simple-construction: Millions of constructed objects per second: 14.456 1149s Running test simple-construction1 1151s simple-construction1: Millions of constructed objects per second: 67.453 1151s Running test complex-construction 1153s # Executing: glib/performance.test 1154s complex-construction: Millions of constructed objects per second: 5.348 1154s Running test complex-construction1 1158s # Executing: glib/performance.test 1159s complex-construction1: Millions of constructed objects per second: 8.785 1159s Running test complex-construction2 1163s # Executing: glib/performance.test 1164s complex-construction2: Millions of constructed objects per second: 11.296 1164s Running test finalization 1165s finalization: Millions of finalized objects per second: 2.960 1165s Running test type-check 1165s type-check: Million type checks per second: inf 1165s Running test emit-unhandled 1166s emit-unhandled: Emissions per second: 4648202 1166s Running test emit-unhandled-empty 1167s emit-unhandled-empty: Emissions per second: 25806702 1167s Running test emit-unhandled-generic 1168s # Executing: glib/performance.test 1168s emit-unhandled-generic: Emissions per second: 5960020 1168s Running test emit-unhandled-generic-empty 1169s emit-unhandled-generic-empty: Emissions per second: 25704107 1169s Running test emit-unhandled-args 1170s emit-unhandled-args: Emissions per second: 4016058 1170s Running test emit-handled 1172s emit-handled: Emissions per second: 3189797 1172s Running test emit-handled-empty 1173s emit-handled-empty: Emissions per second: 3326408 1173s Running test emit-handled-generic 1173s # Executing: glib/performance.test 1174s emit-handled-generic: Emissions per second: 3283285 1174s Running test emit-handled-generic-empty 1175s emit-handled-generic-empty: Emissions per second: 5326005 1175s Running test emit-handled-args 1176s emit-handled-args: Emissions per second: 2898059 1176s Running test notify-unhandled 1177s notify-unhandled: Notify (unhandled) per second: 26592171 1177s Running test notify-by-pspec-unhandled 1178s notify-by-pspec-unhandled: Notify (unhandled) per second: 95924293 1178s Running test notify-handled 1178s # Executing: glib/performance.test 1179s notify-handled: Notify per second: 1932006 1179s Running test notify-by-pspec-handled 1180s notify-by-pspec-handled: Notify per second: 2055479 1180s Running test property-set 1181s property-set: Property set per second: 13637259 1181s Running test property-get 1182s property-get: Property get per second: 13544619 1182s Running test refcount 1183s # Executing: glib/performance.test 1183s refcount: Million refs+unref per second: 26.80 1183s Running test refcount-1 1184s refcount-1: Million refs+unref per second: 83.75 1184s Running test refcount-toggle 1185s refcount-toggle: Million refs+unref per second: 42.75 1185s ok - glib/performance.test 1185s # Running test: glib/gdbus-proxy-unique-name.test 1185s TAP version 14 1185s # random seed: R02S7f4a19e6231883d3b2653ba6183a9671 1185s 1..1 1185s # Start of gdbus tests 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_WAXLZ2/gdbus/proxy-unique-name/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_WAXLZ2/gdbus/proxy-unique-name/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_WAXLZ2/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_WAXLZ2/gdbus/proxy-unique-name/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_WAXLZ2/gdbus/proxy-unique-name/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_WAXLZ2/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_WAXLZ2/gdbus/proxy-unique-name/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_WAXLZ2/gdbus/proxy-unique-name/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_WAXLZ2/gdbus/proxy-unique-name/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_WAXLZ2/gdbus/proxy-unique-name/.dirs/runtime 1185s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1185s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1185s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1185s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1185s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1185s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1185s ok 1 /gdbus/proxy-unique-name 1185s # End of gdbus tests 1185s ok - glib/gdbus-proxy-unique-name.test 1185s # Running test: glib/cxx-20.test 1185s TAP version 14 1185s # random seed: R02Sbf259d418d6b4f0bb1709049da7c086d 1185s 1..2 1185s # Start of gtask tests 1185s # 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. 1185s ok 1 /gtask/name 1185s # Start of name tests 1185s # 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. 1185s ok 2 /gtask/name/macro-wrapper 1185s # End of name tests 1185s # End of gtask tests 1185s ok - glib/cxx-20.test 1185s # Running test: glib/fileutils.test 1185s TAP version 14 1185s # random seed: R02S27db237815de77f3436814f2bd4f82d6 1185s 1..27 1185s # Start of fileutils tests 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NUJZ2/fileutils/paths/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/paths/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_4NUJZ2/fileutils/paths/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/paths/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_4NUJZ2/fileutils/paths/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/paths/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/paths/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NUJZ2/fileutils/paths/.dirs/runtime 1185s ok 1 /fileutils/paths 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NUJZ2/fileutils/build-path/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/build-path/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_4NUJZ2/fileutils/build-path/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/build-path/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_4NUJZ2/fileutils/build-path/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/build-path/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/build-path/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NUJZ2/fileutils/build-path/.dirs/runtime 1185s ok 2 /fileutils/build-path 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NUJZ2/fileutils/build-pathv/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/build-pathv/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_4NUJZ2/fileutils/build-pathv/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/build-pathv/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_4NUJZ2/fileutils/build-pathv/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/build-pathv/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/build-pathv/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NUJZ2/fileutils/build-pathv/.dirs/runtime 1185s ok 3 /fileutils/build-pathv 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NUJZ2/fileutils/build-filename/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/build-filename/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_4NUJZ2/fileutils/build-filename/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/build-filename/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_4NUJZ2/fileutils/build-filename/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/build-filename/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/build-filename/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NUJZ2/fileutils/build-filename/.dirs/runtime 1185s ok 4 /fileutils/build-filename 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NUJZ2/fileutils/build-filenamev/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/build-filenamev/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_4NUJZ2/fileutils/build-filenamev/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/build-filenamev/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_4NUJZ2/fileutils/build-filenamev/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/build-filenamev/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/build-filenamev/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NUJZ2/fileutils/build-filenamev/.dirs/runtime 1185s ok 5 /fileutils/build-filenamev 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NUJZ2/fileutils/mkdir-with-parents/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/mkdir-with-parents/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_4NUJZ2/fileutils/mkdir-with-parents/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/mkdir-with-parents/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_4NUJZ2/fileutils/mkdir-with-parents/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/mkdir-with-parents/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/mkdir-with-parents/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NUJZ2/fileutils/mkdir-with-parents/.dirs/runtime 1185s # We do not have CAP_DAC_OVERRIDE or equivalent 1185s ok 6 /fileutils/mkdir-with-parents 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NUJZ2/fileutils/mkdir-with-parents-permission/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/mkdir-with-parents-permission/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_4NUJZ2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/mkdir-with-parents-permission/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_4NUJZ2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/mkdir-with-parents-permission/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/mkdir-with-parents-permission/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NUJZ2/fileutils/mkdir-with-parents-permission/.dirs/runtime 1185s # We do not have CAP_DAC_OVERRIDE or equivalent 1185s ok 7 /fileutils/mkdir-with-parents-permission 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NUJZ2/fileutils/format-size-for-display/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/format-size-for-display/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_4NUJZ2/fileutils/format-size-for-display/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/format-size-for-display/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_4NUJZ2/fileutils/format-size-for-display/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/format-size-for-display/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/format-size-for-display/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NUJZ2/fileutils/format-size-for-display/.dirs/runtime 1185s ok 8 /fileutils/format-size-for-display 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NUJZ2/fileutils/errors/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/errors/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_4NUJZ2/fileutils/errors/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/errors/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_4NUJZ2/fileutils/errors/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/errors/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/errors/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NUJZ2/fileutils/errors/.dirs/runtime 1185s ok 9 /fileutils/errors 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NUJZ2/fileutils/basename/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/basename/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_4NUJZ2/fileutils/basename/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/basename/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_4NUJZ2/fileutils/basename/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/basename/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/basename/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NUJZ2/fileutils/basename/.dirs/runtime 1185s ok 10 /fileutils/basename 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NUJZ2/fileutils/get-basename/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/get-basename/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_4NUJZ2/fileutils/get-basename/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/get-basename/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_4NUJZ2/fileutils/get-basename/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/get-basename/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/get-basename/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NUJZ2/fileutils/get-basename/.dirs/runtime 1185s ok 11 /fileutils/get-basename 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NUJZ2/fileutils/dirname/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/dirname/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_4NUJZ2/fileutils/dirname/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/dirname/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_4NUJZ2/fileutils/dirname/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/dirname/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/dirname/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NUJZ2/fileutils/dirname/.dirs/runtime 1185s ok 12 /fileutils/dirname 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NUJZ2/fileutils/dir-make-tmp/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/dir-make-tmp/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_4NUJZ2/fileutils/dir-make-tmp/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/dir-make-tmp/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_4NUJZ2/fileutils/dir-make-tmp/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/dir-make-tmp/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/dir-make-tmp/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NUJZ2/fileutils/dir-make-tmp/.dirs/runtime 1185s ok 13 /fileutils/dir-make-tmp 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NUJZ2/fileutils/file-open-tmp/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/file-open-tmp/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_4NUJZ2/fileutils/file-open-tmp/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/file-open-tmp/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_4NUJZ2/fileutils/file-open-tmp/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/file-open-tmp/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/file-open-tmp/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NUJZ2/fileutils/file-open-tmp/.dirs/runtime 1185s ok 14 /fileutils/file-open-tmp 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NUJZ2/fileutils/file-test/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/file-test/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_4NUJZ2/fileutils/file-test/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/file-test/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_4NUJZ2/fileutils/file-test/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/file-test/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/file-test/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NUJZ2/fileutils/file-test/.dirs/runtime 1185s ok 15 /fileutils/file-test 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NUJZ2/fileutils/mkstemp/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/mkstemp/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_4NUJZ2/fileutils/mkstemp/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/mkstemp/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_4NUJZ2/fileutils/mkstemp/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/mkstemp/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/mkstemp/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NUJZ2/fileutils/mkstemp/.dirs/runtime 1185s ok 16 /fileutils/mkstemp 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NUJZ2/fileutils/mkdtemp/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/mkdtemp/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_4NUJZ2/fileutils/mkdtemp/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/mkdtemp/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_4NUJZ2/fileutils/mkdtemp/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/mkdtemp/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/mkdtemp/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NUJZ2/fileutils/mkdtemp/.dirs/runtime 1185s ok 17 /fileutils/mkdtemp 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NUJZ2/fileutils/get-contents/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/get-contents/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_4NUJZ2/fileutils/get-contents/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/get-contents/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_4NUJZ2/fileutils/get-contents/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/get-contents/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/get-contents/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NUJZ2/fileutils/get-contents/.dirs/runtime 1185s ok 18 /fileutils/get-contents 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NUJZ2/fileutils/get-contents-large-file/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/get-contents-large-file/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_4NUJZ2/fileutils/get-contents-large-file/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/get-contents-large-file/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_4NUJZ2/fileutils/get-contents-large-file/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/get-contents-large-file/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/get-contents-large-file/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NUJZ2/fileutils/get-contents-large-file/.dirs/runtime 1185s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NUJZ2/fileutils/set-contents/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/set-contents/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_4NUJZ2/fileutils/set-contents/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/set-contents/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_4NUJZ2/fileutils/set-contents/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/set-contents/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/set-contents/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NUJZ2/fileutils/set-contents/.dirs/runtime 1185s ok 20 /fileutils/set-contents 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NUJZ2/fileutils/set-contents-full/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/set-contents-full/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_4NUJZ2/fileutils/set-contents-full/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/set-contents-full/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_4NUJZ2/fileutils/set-contents-full/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/set-contents-full/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/set-contents-full/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NUJZ2/fileutils/set-contents-full/.dirs/runtime 1185s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1185s # Flags 0 and test 0 1185s # Flags 0 and test 1 1185s # Flags 0 and test 2 1185s # Flags 0 and test 3 1185s # Flags 0 and test 4 1185s # Flags 0 and test 5 1185s # Flags 1 and test 0 1185s # Flags 1 and test 1 1185s # Flags 1 and test 2 1185s # Flags 1 and test 3 1185s # Flags 1 and test 4 1185s # Flags 1 and test 5 1185s # Flags 2 and test 0 1185s # Flags 2 and test 1 1185s # Flags 2 and test 2 1185s # Flags 2 and test 3 1185s # Flags 2 and test 4 1185s # Flags 2 and test 5 1185s # Flags 3 and test 0 1185s # Flags 3 and test 1 1185s # Flags 3 and test 2 1185s # Flags 3 and test 3 1185s # Flags 3 and test 4 1185s # Flags 3 and test 5 1185s # Flags 4 and test 0 1185s # Flags 4 and test 1 1185s # Flags 4 and test 2 1185s # Flags 4 and test 3 1185s # Flags 4 and test 4 1185s # Flags 4 and test 5 1185s # Flags 5 and test 0 1185s # Flags 5 and test 1 1185s # Flags 5 and test 2 1185s # Flags 5 and test 3 1185s # Flags 5 and test 4 1185s # Flags 5 and test 5 1185s # Flags 6 and test 0 1185s # Flags 6 and test 1 1185s # Flags 6 and test 2 1185s # Flags 6 and test 3 1185s # Flags 6 and test 4 1185s # Flags 6 and test 5 1185s ok 21 /fileutils/set-contents-full 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NUJZ2/fileutils/read-link/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/read-link/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_4NUJZ2/fileutils/read-link/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/read-link/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_4NUJZ2/fileutils/read-link/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/read-link/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/read-link/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NUJZ2/fileutils/read-link/.dirs/runtime 1185s ok 22 /fileutils/read-link 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NUJZ2/fileutils/stdio-wrappers/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/stdio-wrappers/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_4NUJZ2/fileutils/stdio-wrappers/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/stdio-wrappers/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_4NUJZ2/fileutils/stdio-wrappers/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/stdio-wrappers/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/stdio-wrappers/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NUJZ2/fileutils/stdio-wrappers/.dirs/runtime 1185s # We do not have CAP_DAC_OVERRIDE or equivalent 1185s ok 23 /fileutils/stdio-wrappers 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NUJZ2/fileutils/fopen-modes/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/fopen-modes/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_4NUJZ2/fileutils/fopen-modes/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/fopen-modes/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_4NUJZ2/fileutils/fopen-modes/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/fopen-modes/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/fopen-modes/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NUJZ2/fileutils/fopen-modes/.dirs/runtime 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1185s # Testing fopen() mode 'w' 1185s # Testing fopen() mode 'r' 1185s # Testing fopen() mode 'a' 1185s # Testing fopen() mode 'w+' 1185s # Testing fopen() mode 'r+' 1185s # Testing fopen() mode 'a+' 1185s # Testing fopen() mode 'wb' 1185s # Testing fopen() mode 'rb' 1185s # Testing fopen() mode 'ab' 1185s # Testing fopen() mode 'w+b' 1185s # Testing fopen() mode 'r+b' 1185s # Testing fopen() mode 'a+b' 1185s # Testing fopen() mode 'wb+' 1185s # Testing fopen() mode 'rb+' 1185s # Testing fopen() mode 'ab+' 1185s ok 24 /fileutils/fopen-modes 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NUJZ2/fileutils/clear-fd/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/clear-fd/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_4NUJZ2/fileutils/clear-fd/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/clear-fd/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_4NUJZ2/fileutils/clear-fd/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/clear-fd/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/clear-fd/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NUJZ2/fileutils/clear-fd/.dirs/runtime 1185s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1185s # Will be closed by autocleanup: 3, -42 1185s # Testing error handling 1185s ok 25 /fileutils/clear-fd 1185s # Start of set-contents-full tests 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NUJZ2/fileutils/set-contents-full/read-only-file/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/set-contents-full/read-only-file/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_4NUJZ2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/set-contents-full/read-only-file/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_4NUJZ2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/set-contents-full/read-only-file/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/set-contents-full/read-only-file/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NUJZ2/fileutils/set-contents-full/read-only-file/.dirs/runtime 1185s # We do not have CAP_DAC_OVERRIDE or equivalent 1185s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1185s ok 26 /fileutils/set-contents-full/read-only-file 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_4NUJZ2/fileutils/set-contents-full/read-only-directory/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/set-contents-full/read-only-directory/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_4NUJZ2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/set-contents-full/read-only-directory/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_4NUJZ2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_4NUJZ2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/set-contents-full/read-only-directory/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_4NUJZ2/fileutils/set-contents-full/read-only-directory/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_4NUJZ2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1185s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1185s # Flags 0 1185s # We do not have CAP_DAC_OVERRIDE or equivalent 1185s # Flags 1 1185s # We do not have CAP_DAC_OVERRIDE or equivalent 1185s # Flags 2 1185s # We do not have CAP_DAC_OVERRIDE or equivalent 1185s # Flags 3 1185s # We do not have CAP_DAC_OVERRIDE or equivalent 1185s # Flags 4 1185s # We do not have CAP_DAC_OVERRIDE or equivalent 1185s # Flags 5 1185s # We do not have CAP_DAC_OVERRIDE or equivalent 1185s # Flags 6 1185s # We do not have CAP_DAC_OVERRIDE or equivalent 1185s ok 27 /fileutils/set-contents-full/read-only-directory 1185s # End of set-contents-full tests 1185s # Start of clear-fd tests 1185s # Start of subprocess tests 1185s # End of subprocess tests 1185s # End of clear-fd tests 1185s # End of fileutils tests 1185s Unable to clean up temporary directory /tmp/test_fileutils_4NUJZ2/glib-file-set-contents-full-rodir-6RVRZ2: Directory not empty 1185s Unable to clean up temporary directory /tmp/test_fileutils_4NUJZ2/glib-file-set-contents-full-rodir-PUYRZ2: Directory not empty 1185s Unable to clean up temporary directory /tmp/test_fileutils_4NUJZ2/glib-file-set-contents-full-rodir-72NRZ2: Directory not empty 1185s Unable to clean up temporary directory /tmp/test_fileutils_4NUJZ2/glib-file-set-contents-full-rodir-LB0RZ2: Directory not empty 1185s Unable to clean up temporary directory /tmp/test_fileutils_4NUJZ2/glib-file-set-contents-full-rodir-9TWRZ2: Directory not empty 1185s Unable to clean up temporary directory /tmp/test_fileutils_4NUJZ2/glib-file-set-contents-full-rodir-6XURZ2: Directory not empty 1185s Unable to clean up temporary directory /tmp/test_fileutils_4NUJZ2/glib-file-set-contents-full-rodir-093RZ2: Directory not empty 1185s Unable to clean up temporary directory /tmp/test_fileutils_4NUJZ2: Directory not empty 1185s ok - glib/fileutils.test 1185s # Running test: glib/atomic.test 1185s TAP version 14 1185s # random seed: R02S7af531731f127b630f56ca3450f8f2d0 1185s 1..2 1185s # Start of atomic tests 1185s ok 1 /atomic/types 1185s ok 2 /atomic/threaded 1185s # End of atomic tests 1185s ok - glib/atomic.test 1185s # Running test: glib/threadtests.test 1185s TAP version 14 1185s # random seed: R02S4423dee4bd641f84a33ff603c40181f9 1185s 1..5 1185s # Start of GObject tests 1185s ok 1 /GObject/threaded-object-init 1186s ok 2 /GObject/threaded-weak-ref 1186s # slow test /GObject/threaded-weak-ref executed in 0.69 secs 1186s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1186s # /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 1186s ok 3 /GObject/threaded-toggle-notify 1186s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1186s # Start of threaded-weak-ref tests 1186s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1186s # /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. 1186s ok 5 /GObject/threaded-weak-ref/on-finalization 1186s # End of threaded-weak-ref tests 1186s # End of GObject tests 1186s ok - glib/threadtests.test 1186s # Running test: glib/relation.test 1186s TAP version 14 1186s # random seed: R02Sc26776ea43f3b2744304567ac173c292 1186s 1..1 1186s # Start of glib tests 1186s ok 1 /glib/relation 1186s # End of glib tests 1186s ok - glib/relation.test 1186s # Running test: glib/assert-msg-test.py.test 1186s TAP version 13 1186s ok 1 __main__.TestAssertMessage.test_gassert 1186s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1186s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 1186s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 1186s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1186s # Error: ** 1186s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1186s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 1186s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1186s 1..2 1186s ok - glib/assert-msg-test.py.test 1186s # Running test: glib/option-context.test 1186s TAP version 14 1186s # random seed: R02S26a69854240f263d253e45b8b4e65a55 1186s 1..57 1186s # Start of option tests 1186s ok 1 /option/basic 1186s ok 2 /option/translate 1186s ok 3 /option/strict-posix 1186s # Start of help tests 1186s ok 4 /option/help/options 1186s ok 5 /option/help/no-options 1186s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 1186s ok 6 /option/help/no-help-options 1186s # End of help tests 1186s # Start of group tests 1186s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 1186s ok 7 /option/group/captions 1186s ok 8 /option/group/main 1186s ok 9 /option/group/error-hook 1186s ok 10 /option/group/parse 1186s # Start of captions tests 1186s # Start of subprocess tests 1186s # End of subprocess tests 1186s # End of captions tests 1186s # End of group tests 1186s # Start of restoration tests 1186s ok 11 /option/restoration/int 1186s ok 12 /option/restoration/string 1186s ok 13 /option/restoration/boolean 1186s # End of restoration tests 1186s # Start of arg tests 1186s ok 14 /option/arg/reverse-string 1186s ok 15 /option/arg/optional-int 1186s # Start of repetition tests 1186s ok 16 /option/arg/repetition/int 1186s ok 17 /option/arg/repetition/string 1186s ok 18 /option/arg/repetition/filename 1186s ok 19 /option/arg/repetition/double 1186s ok 20 /option/arg/repetition/locale 1186s ok 21 /option/arg/repetition/int64 1186s # End of repetition tests 1186s # Start of array tests 1186s ok 22 /option/arg/array/string 1186s # End of array tests 1186s # Start of callback tests 1186s ok 23 /option/arg/callback/string 1186s ok 24 /option/arg/callback/count 1186s ok 25 /option/arg/callback/optional1 1186s ok 26 /option/arg/callback/optional2 1186s ok 27 /option/arg/callback/optional3 1186s ok 28 /option/arg/callback/optional4 1186s ok 29 /option/arg/callback/optional5 1186s ok 30 /option/arg/callback/optional6 1186s ok 31 /option/arg/callback/optional7 1186s ok 32 /option/arg/callback/optional8 1186s # End of callback tests 1186s # Start of remaining tests 1186s ok 33 /option/arg/remaining/callback 1186s ok 34 /option/arg/remaining/callback-false 1186s ok 35 /option/arg/remaining/non-option 1186s ok 36 /option/arg/remaining/separator 1186s ok 37 /option/arg/remaining/array 1186s # End of remaining tests 1186s # Start of ignore tests 1186s ok 38 /option/arg/ignore/long 1186s ok 39 /option/arg/ignore/short 1186s ok 40 /option/arg/ignore/arg 1186s # End of ignore tests 1186s # Start of rest tests 1186s ok 41 /option/arg/rest/non-option 1186s ok 42 /option/arg/rest/separator1 1186s ok 43 /option/arg/rest/separator2 1186s ok 44 /option/arg/rest/separator3 1186s ok 45 /option/arg/rest/separator4 1186s ok 46 /option/arg/rest/separator5 1186s # End of rest tests 1186s # End of arg tests 1186s # Start of context tests 1186s ok 47 /option/context/add 1186s ok 48 /option/context/empty2 1186s ok 49 /option/context/empty3 1186s # End of context tests 1186s # Start of bug tests 1186s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 1186s ok 50 /option/bug/unknown-short 1186s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 1186s ok 51 /option/bug/lonely-dash 1186s ok 52 /option/bug/triple-dash 1186s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 1186s ok 53 /option/bug/missing-arg 1186s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 1186s ok 54 /option/bug/dash-arg 1186s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 1186s ok 55 /option/bug/short-remaining 1186s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 1186s ok 56 /option/bug/double-free 1186s ok 57 /option/bug/double-zero 1186s # End of bug tests 1186s # End of option tests 1186s ok - glib/option-context.test 1186s # Running test: glib/asyncqueue.test 1186s TAP version 14 1186s # random seed: R02S6baedbd758d10e35b5b127177e0bd8fe 1186s 1..7 1186s # Start of asyncqueue tests 1186s ok 1 /asyncqueue/basics 1186s ok 2 /asyncqueue/sort 1186s ok 3 /asyncqueue/destroy 1187s ok 4 /asyncqueue/threads 1187s ok 5 /asyncqueue/timed 1187s ok 6 /asyncqueue/remove 1187s ok 7 /asyncqueue/push_front 1187s # End of asyncqueue tests 1187s ok - glib/asyncqueue.test 1187s # Running test: glib/utils-c-17.test 1187s TAP version 14 1187s # random seed: R02S8b836cccc8cfe758c90d69f8f37e6e28 1187s 1..40 1187s # Start of utils tests 1187s ok 1 /utils/language-names 1187s ok 2 /utils/locale-variants 1187s ok 3 /utils/version 1187s ok 4 /utils/appname 1187s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1187s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1187s ok 5 /utils/prgname-thread-safety 1187s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1187s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1187s ok 6 /utils/tmpdir 1187s ok 7 /utils/basic_bits 1187s ok 8 /utils/bits 1187s ok 9 /utils/swap 1187s ok 10 /utils/find-program 1187s ok 11 /utils/find-program-for-path 1187s ok 12 /utils/debug 1187s ok 13 /utils/codeset 1187s ok 14 /utils/codeset2 1187s ok 15 /utils/console-charset 1187s ok 16 /utils/gettext 1187s ok 17 /utils/username 1187s ok 18 /utils/realname 1187s ok 19 /utils/hostname 1187s ok 20 /utils/xdgdirs 1187s ok 21 /utils/specialdir 1187s # NAME: Ubuntu 1187s ok 22 /utils/os-info 1187s ok 23 /utils/clear-pointer 1187s ok 24 /utils/clear-pointer-cast 1187s ok 25 /utils/take-pointer 1187s ok 26 /utils/clear-source 1187s ok 27 /utils/misc-mem 1187s # /utils/aligned-mem summary: Aligned memory allocator 1187s # Alignment must not be zero 1187s # Alignment must be a power of two 1187s # Alignment must be a multiple of sizeof(void*) 1187s ok 28 /utils/aligned-mem 1187s # /utils/free-sized summary: Check that g_free_sized() works 1187s ok 29 /utils/free-sized 1187s ok 30 /utils/nullify 1187s ok 31 /utils/atexit 1187s ok 32 /utils/check-setuid 1187s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1187s ok 33 /utils/int-limits 1187s ok 34 /utils/clear-list 1187s ok 35 /utils/clear-slist 1187s # Start of specialdir tests 1187s ok 36 /utils/specialdir/desktop 1187s # End of specialdir tests 1187s # Start of clear-pointer tests 1187s ok 37 /utils/clear-pointer/side-effects 1187s # End of clear-pointer tests 1187s # Start of aligned-mem tests 1187s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1187s ok 38 /utils/aligned-mem/alignment 1187s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1187s ok 39 /utils/aligned-mem/zeroed 1187s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1187s ok 40 /utils/aligned-mem/free-sized 1187s # Start of subprocess tests 1187s # End of subprocess tests 1187s # End of aligned-mem tests 1187s # End of utils tests 1187s ok - glib/utils-c-17.test 1187s # Running test: glib/actions.test 1187s TAP version 14 1187s # random seed: R02Sebc4cd9b8a3b5d52de7d7f8f48a5a3c5 1187s 1..13 1187s # Start of actions tests 1187s ok 1 /actions/basic 1187s ok 2 /actions/name 1187s ok 3 /actions/simplegroup 1187s ok 4 /actions/stateful 1187s ok 5 /actions/default-activate 1187s ok 6 /actions/entries 1187s ok 7 /actions/parse-detailed 1187s ok 8 /actions/property 1187s ok 9 /actions/no-properties 1187s # Start of dbus tests 1187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1187s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1187s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1187s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1187s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1187s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1187s ok 10 /actions/dbus/export 1187s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1187s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1187s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1187s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1187s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1187s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1187s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1188s # Executing: glib/actions.test 1188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1188s ok 11 /actions/dbus/threaded 1188s # slow test /actions/dbus/threaded executed in 1.15 secs 1188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1188s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1188s ok 12 /actions/dbus/bug679509 1188s # Start of export tests 1188s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 1188s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1188s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1188s ok 13 /actions/dbus/export/error-handling 1188s # End of export tests 1188s # End of dbus tests 1188s # End of actions tests 1188s ok - glib/actions.test 1188s # Running test: glib/data-output-stream.test 1188s TAP version 14 1188s # random seed: R02Se430f09be49232a5a3d62557d0defc45 1188s 1..7 1188s # Start of data-output-stream tests 1188s ok 1 /data-output-stream/basic 1188s ok 2 /data-output-stream/write-lines-LF 1188s ok 3 /data-output-stream/write-lines-CR 1188s ok 4 /data-output-stream/write-lines-CR-LF 1188s ok 5 /data-output-stream/write-int 1188s ok 6 /data-output-stream/seek 1188s ok 7 /data-output-stream/truncate 1188s # End of data-output-stream tests 1188s ok - glib/data-output-stream.test 1188s # Running test: glib/gdbus-auth.test 1188s TAP version 14 1188s # random seed: R02S718c270cb72bca5f41aa19443311ba88 1188s 1..5 1188s # Start of gdbus tests 1188s # Start of auth tests 1188s # Start of client tests 1188s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/client/EXTERNAL/.dirs/home 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/client/EXTERNAL/.dirs/cache 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/client/EXTERNAL/.dirs/system-config2 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/client/EXTERNAL/.dirs/config 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/client/EXTERNAL/.dirs/system-data2 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/client/EXTERNAL/.dirs/data 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/client/EXTERNAL/.dirs/state 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/client/EXTERNAL/.dirs/runtime 1188s ok 1 /gdbus/auth/client/EXTERNAL 1188s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 1188s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 1188s # End of client tests 1188s # Start of server tests 1188s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/server/ANONYMOUS/.dirs/home 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/server/ANONYMOUS/.dirs/cache 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/server/ANONYMOUS/.dirs/config 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/server/ANONYMOUS/.dirs/data 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/server/ANONYMOUS/.dirs/state 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/server/ANONYMOUS/.dirs/runtime 1188s ok 3 /gdbus/auth/server/ANONYMOUS 1188s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/server/EXTERNAL/.dirs/home 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/server/EXTERNAL/.dirs/cache 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/server/EXTERNAL/.dirs/system-config2 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/server/EXTERNAL/.dirs/config 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/server/EXTERNAL/.dirs/system-data2 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/server/EXTERNAL/.dirs/data 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/server/EXTERNAL/.dirs/state 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/server/EXTERNAL/.dirs/runtime 1188s ok 4 /gdbus/auth/server/EXTERNAL 1188s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_DDMKZ2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 1188s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 1188s # End of server tests 1188s # End of auth tests 1188s # End of gdbus tests 1188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1188s ok - glib/gdbus-auth.test 1188s # Running test: glib/proxy-test.test 1188s TAP version 14 1188s # random seed: R02S63af1afff92c79d894b0146ee4a2ff16 1188s 1..11 1188s # Start of proxy tests 1188s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 1188s ok 1 /proxy/direct_sync 1188s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1188s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb5b93f20d9e0 and GSocketClientAsyncConnectData 0xb5b93f203270 1188s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1188s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1188s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb5b93f20e3f0 for GSocketClientAsyncConnectData 0xb5b93f203270 1188s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1188s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1188s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1188s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1188s ok 2 /proxy/direct_async 1188s ok 3 /proxy/single_sync 1188s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1188s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb5b93f20fcf0 and GSocketClientAsyncConnectData 0xb5b93f20ee40 1188s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1188s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1188s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb5b93f210850 for GSocketClientAsyncConnectData 0xb5b93f20ee40 1188s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1188s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1188s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1188s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1188s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1188s ok 4 /proxy/single_async 1188s ok 5 /proxy/multiple_sync 1188s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1188s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb5b93f210580 and GSocketClientAsyncConnectData 0xb5b93f210350 1188s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1188s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1188s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb5b93f210ed0 for GSocketClientAsyncConnectData 0xb5b93f210350 1188s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1188s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1188s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1188s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1188s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1188s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1188s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb5b93f2108e0 for GSocketClientAsyncConnectData 0xb5b93f210350 1188s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1188s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1188s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1188s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1188s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1188s ok 6 /proxy/multiple_async 1188s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1188s ok 7 /proxy/invalid-uris-sync 1188s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1188s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1188s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb5b93f210c60 and GSocketClientAsyncConnectData 0xb5b93f210160 1188s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1188s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1188s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1188s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1188s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1188s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb5b93f2102d0 and GSocketClientAsyncConnectData 0xb5b93f210160 1188s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1188s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1188s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1188s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1188s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1188s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb5b93f2102d0 and GSocketClientAsyncConnectData 0xb5b93f210160 1188s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1188s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1188s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb5b93f211200 for GSocketClientAsyncConnectData 0xb5b93f210160 1188s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1188s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1188s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1188s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1188s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1188s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb5b93f20fc60 and GSocketClientAsyncConnectData 0xb5b93f211040 1188s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1188s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1188s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb5b93f210650 for GSocketClientAsyncConnectData 0xb5b93f211040 1188s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1188s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1188s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1188s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1188s ok 8 /proxy/invalid-uris-async 1188s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1188s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb5b93f2102d0 and GSocketClientAsyncConnectData 0xb5b93f210160 1188s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1188s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 1188s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 1188s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1188s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 1188s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 1188s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1188s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb5b93f20fa00 and GSocketClientAsyncConnectData 0xb5b93f211200 1188s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1188s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1188s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb5b93f2113a0 for GSocketClientAsyncConnectData 0xb5b93f211200 1188s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1188s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1188s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1188s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1188s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1188s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1188s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1188s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1188s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1188s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb5b93f210c60 and GSocketClientAsyncConnectData 0xb5b93f20aa00 1188s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1188s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1188s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb5b93f20fe40 for GSocketClientAsyncConnectData 0xb5b93f20aa00 1188s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1188s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1188s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1188s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1188s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1188s ok 9 /proxy/dns 1188s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1188s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb5b93f210c60 and GSocketClientAsyncConnectData 0xb5b93f211200 1188s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1188s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1188s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb5b93f2110d0 for GSocketClientAsyncConnectData 0xb5b93f211200 1188s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1188s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1188s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1188s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1188s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1188s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1188s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1188s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1188s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1188s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb5b93f210c60 and GSocketClientAsyncConnectData 0xb5b93f210160 1188s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1188s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1188s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb5b93f2116f0 for GSocketClientAsyncConnectData 0xb5b93f210160 1188s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1188s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1188s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1188s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1188s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1188s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1188s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb5b93f210c60 and GSocketClientAsyncConnectData 0xb5b93f211200 1188s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1188s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1188s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb5b93f211500 for GSocketClientAsyncConnectData 0xb5b93f211200 1188s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1188s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1188s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1188s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1188s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1188s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1188s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1188s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1188s ok 10 /proxy/override 1188s ok 11 /proxy/enumerator-ports 1188s # End of proxy tests 1188s ok - glib/proxy-test.test 1188s # Running test: glib/overflow.test 1188s TAP version 14 1188s # random seed: R02Sb696ce92842866ae33ad9e431a204da6 1188s 1..6 1188s # Start of glib tests 1188s # Start of checked-math tests 1188s ok 1 /glib/checked-math/guint-add 1188s ok 2 /glib/checked-math/guint-mul 1188s ok 3 /glib/checked-math/guint64-add 1188s ok 4 /glib/checked-math/guint64-mul 1188s ok 5 /glib/checked-math/gsize-add 1188s ok 6 /glib/checked-math/gsize-mul 1188s # End of checked-math tests 1188s # End of glib tests 1188s ok - glib/overflow.test 1188s # Running test: glib/unicode-normalize.test 1188s TAP version 14 1188s # random seed: R02S4e145940a9dc4fbf3f28fa48a6576182 1188s 1..3 1188s # Start of unicode tests 1188s # Processing Part0 # Specific cases 1188s # Processing Part1 # Character by character test 1188s # Processing Part2 # Canonical Order Test 1188s # Processing Part3 # PRI #29 Test 1188s ok 1 /unicode/normalize 1188s # Invalid UTF-8 vector 0 1188s # Invalid UTF-8 vector 1 1188s # Invalid UTF-8 vector 2 1188s # Invalid UTF-8 vector 3 1188s # Invalid UTF-8 vector 4 1188s # Invalid UTF-8 vector 5 1188s # Invalid UTF-8 vector 6 1188s # Invalid UTF-8 vector 7 1188s # Invalid UTF-8 vector 8 1188s # Invalid UTF-8 vector 9 1188s # Invalid UTF-8 vector 10 1188s # Invalid UTF-8 vector 11 1188s # Invalid UTF-8 vector 12 1188s ok 2 /unicode/normalize-invalid 1188s # Start of normalize tests 1188s ok 3 /unicode/normalize/bad-length 1188s # End of normalize tests 1188s # End of unicode tests 1188s ok - glib/unicode-normalize.test 1188s # Running test: glib/atomic-c-99.test 1188s TAP version 14 1188s # random seed: R02Sbf50973fd01e22d5e56b6756ebb72bae 1188s 1..2 1188s # Start of atomic tests 1188s ok 1 /atomic/types 1188s ok 2 /atomic/threaded 1188s # End of atomic tests 1188s ok - glib/atomic-c-99.test 1188s # Running test: glib/collate.test 1188s TAP version 14 1188s # random seed: R02Sdb47d0a247ffc704f15248e32b6422bd 1188s 1..9 1188s # Start of unicode tests 1188s # Start of collate tests 1188s ok 1 /unicode/collate/0 1188s ok 2 /unicode/collate/1 1188s ok 3 /unicode/collate/2 1188s # End of collate tests 1188s # Start of collate-key tests 1188s ok 4 /unicode/collate-key/0 1188s ok 5 /unicode/collate-key/1 1188s ok 6 /unicode/collate-key/2 1188s # End of collate-key tests 1188s # Start of collate-filename tests 1188s ok 7 /unicode/collate-filename/0 1188s ok 8 /unicode/collate-filename/1 1188s ok 9 /unicode/collate-filename/2 1188s # End of collate-filename tests 1188s # End of unicode tests 1188s ok - glib/collate.test 1188s # Running test: glib/properties-refcount2.test 1188s TAP version 14 1188s # random seed: R02S0c39af9887dd1c1d51e9b6d0acd9dfab 1188s 1..1 1188s # Start of gobject tests 1188s # Start of refcount tests 1188s # init 0xb1b72250c780 1188s # 1188s # . 1188s # . 1188s # . 1188s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1189s # . 1190s # . 1190s # dispose 0xb1b72250c780! 1190s # 1190s ok 1 /gobject/refcount/properties-2 1190s # slow test /gobject/refcount/properties-2 executed in 1.01 secs 1190s # End of refcount tests 1190s # End of gobject tests 1190s ok - glib/properties-refcount2.test 1190s # Running test: glib/fileattributematcher.test 1190s TAP version 14 1190s # random seed: R02Sa2c2579e9c2f5f1a46b534297fbd633e 1190s 1..3 1190s # Start of fileattributematcher tests 1190s ok 1 /fileattributematcher/exact 1190s ok 2 /fileattributematcher/equality 1190s ok 3 /fileattributematcher/subtract 1190s # End of fileattributematcher tests 1190s ok - glib/fileattributematcher.test 1190s # Running test: glib/gutils-user-database.test 1190s TAP version 14 1190s # random seed: R02S0eada0c7f236d1dedffc6c39fb7a654d 1190s 1..1 1190s # Start of gutils tests 1190s ok 1 /gutils/get_user_database_entry 1190s # End of gutils tests 1190s ok - glib/gutils-user-database.test 1190s # Running test: glib/application-command-line.test 1190s TAP version 14 1190s # random seed: R02S1b5227da452fdbf711b2609f0f3c8a25 1190s 1..1 1190s # Start of application-command-line tests 1190s ok 1 /application-command-line/basic-properties 1190s # End of application-command-line tests 1190s ok - glib/application-command-line.test 1190s # Running test: glib/regex.test 1190s TAP version 14 1190s # random seed: R02Sb66d97fcbf46100647c1e97b06134181 1190s 1..848 1190s # Start of regex tests 1190s ok 1 /regex/properties 1190s ok 2 /regex/class 1190s ok 3 /regex/lookahead 1190s ok 4 /regex/lookbehind 1190s ok 5 /regex/subpattern 1190s ok 6 /regex/condition 1190s ok 7 /regex/recursion 1190s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 1190s ok 8 /regex/multiline 1190s ok 9 /regex/explicit-crlf 1190s ok 10 /regex/max-lookbehind 1190s ok 11 /regex/compile-errors 1190s ok 12 /regex/jit-unsupported-matching 1190s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 1190s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 1190s ok 13 /regex/unmatched-named-subpattern 1190s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 1190s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 1190s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1190s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1190s ok 14 /regex/compiled-regex-after-jit-failure 1190s # Start of new tests 1190s ok 15 /regex/new/1 1190s ok 16 /regex/new/2 1190s ok 17 /regex/new/3 1190s ok 18 /regex/new/4 1190s ok 19 /regex/new/5 1190s ok 20 /regex/new/6 1190s ok 21 /regex/new/7 1190s ok 22 /regex/new/8 1190s ok 23 /regex/new/9 1190s ok 24 /regex/new/10 1190s ok 25 /regex/new/11 1190s ok 26 /regex/new/12 1190s ok 27 /regex/new/13 1190s ok 28 /regex/new/14 1190s ok 29 /regex/new/15 1190s ok 30 /regex/new/16 1190s ok 31 /regex/new/17 1190s ok 32 /regex/new/18 1190s ok 33 /regex/new/19 1190s ok 34 /regex/new/71 1190s ok 35 /regex/new/80 1190s ok 36 /regex/new/82 1190s # End of new tests 1190s # Start of new-check-flags tests 1190s ok 37 /regex/new-check-flags/20 1190s ok 38 /regex/new-check-flags/21 1190s ok 39 /regex/new-check-flags/22 1190s ok 40 /regex/new-check-flags/23 1190s ok 41 /regex/new-check-flags/24 1190s ok 42 /regex/new-check-flags/25 1190s ok 43 /regex/new-check-flags/26 1190s ok 44 /regex/new-check-flags/27 1190s ok 45 /regex/new-check-flags/28 1190s ok 46 /regex/new-check-flags/29 1190s ok 47 /regex/new-check-flags/30 1190s ok 48 /regex/new-check-flags/31 1190s ok 49 /regex/new-check-flags/32 1190s ok 50 /regex/new-check-flags/33 1190s ok 51 /regex/new-check-flags/34 1190s ok 52 /regex/new-check-flags/35 1190s ok 53 /regex/new-check-flags/36 1190s # End of new-check-flags tests 1190s # Start of new-fail tests 1190s ok 54 /regex/new-fail/37 1190s ok 55 /regex/new-fail/38 1190s ok 56 /regex/new-fail/39 1190s ok 57 /regex/new-fail/40 1190s ok 58 /regex/new-fail/41 1190s ok 59 /regex/new-fail/42 1190s ok 60 /regex/new-fail/43 1190s ok 61 /regex/new-fail/44 1190s ok 62 /regex/new-fail/45 1190s ok 63 /regex/new-fail/46 1190s ok 64 /regex/new-fail/47 1190s ok 65 /regex/new-fail/48 1190s ok 66 /regex/new-fail/49 1190s ok 67 /regex/new-fail/50 1190s ok 68 /regex/new-fail/51 1190s ok 69 /regex/new-fail/52 1190s ok 70 /regex/new-fail/53 1190s ok 71 /regex/new-fail/54 1190s ok 72 /regex/new-fail/55 1190s ok 73 /regex/new-fail/56 1190s ok 74 /regex/new-fail/57 1190s ok 75 /regex/new-fail/58 1190s ok 76 /regex/new-fail/59 1190s ok 77 /regex/new-fail/60 1190s ok 78 /regex/new-fail/61 1190s ok 79 /regex/new-fail/62 1190s ok 80 /regex/new-fail/63 1190s ok 81 /regex/new-fail/64 1190s ok 82 /regex/new-fail/65 1190s ok 83 /regex/new-fail/66 1190s ok 84 /regex/new-fail/67 1190s ok 85 /regex/new-fail/68 1190s ok 86 /regex/new-fail/69 1190s ok 87 /regex/new-fail/70 1190s ok 88 /regex/new-fail/72 1190s ok 89 /regex/new-fail/73 1190s ok 90 /regex/new-fail/74 1190s ok 91 /regex/new-fail/75 1190s ok 92 /regex/new-fail/76 1190s ok 93 /regex/new-fail/77 1190s ok 94 /regex/new-fail/78 1190s ok 95 /regex/new-fail/79 1190s ok 96 /regex/new-fail/81 1190s ok 97 /regex/new-fail/83 1190s ok 98 /regex/new-fail/84 1190s ok 99 /regex/new-fail/85 1190s ok 100 /regex/new-fail/86 1190s ok 101 /regex/new-fail/87 1190s ok 102 /regex/new-fail/88 1190s ok 103 /regex/new-fail/89 1190s ok 104 /regex/new-fail/90 1190s ok 105 /regex/new-fail/91 1190s # End of new-fail tests 1190s # Start of match-simple tests 1190s ok 106 /regex/match-simple/92 1190s ok 107 /regex/match-simple/93 1190s ok 108 /regex/match-simple/94 1190s ok 109 /regex/match-simple/95 1190s ok 110 /regex/match-simple/96 1190s ok 111 /regex/match-simple/97 1190s ok 112 /regex/match-simple/98 1190s ok 113 /regex/match-simple/99 1190s ok 114 /regex/match-simple/100 1190s ok 115 /regex/match-simple/101 1190s ok 116 /regex/match-simple/102 1190s ok 117 /regex/match-simple/103 1190s ok 118 /regex/match-simple/104 1190s ok 119 /regex/match-simple/105 1190s ok 120 /regex/match-simple/106 1190s ok 121 /regex/match-simple/107 1190s ok 122 /regex/match-simple/108 1190s ok 123 /regex/match-simple/109 1190s ok 124 /regex/match-simple/110 1190s ok 125 /regex/match-simple/111 1190s ok 126 /regex/match-simple/112 1190s ok 127 /regex/match-simple/113 1190s ok 128 /regex/match-simple/114 1190s ok 129 /regex/match-simple/115 1190s ok 130 /regex/match-simple/116 1190s ok 131 /regex/match-simple/117 1190s ok 132 /regex/match-simple/118 1190s ok 133 /regex/match-simple/119 1190s ok 134 /regex/match-simple/120 1190s ok 135 /regex/match-simple/121 1190s ok 136 /regex/match-simple/122 1190s ok 137 /regex/match-simple/123 1190s ok 138 /regex/match-simple/124 1190s ok 139 /regex/match-simple/125 1190s ok 140 /regex/match-simple/126 1190s ok 141 /regex/match-simple/127 1190s ok 142 /regex/match-simple/128 1190s ok 143 /regex/match-simple/129 1190s ok 144 /regex/match-simple/130 1190s ok 145 /regex/match-simple/131 1190s ok 146 /regex/match-simple/132 1190s ok 147 /regex/match-simple/133 1190s ok 148 /regex/match-simple/134 1190s ok 149 /regex/match-simple/135 1190s ok 150 /regex/match-simple/136 1190s ok 151 /regex/match-simple/137 1190s ok 152 /regex/match-simple/138 1190s ok 153 /regex/match-simple/139 1190s ok 154 /regex/match-simple/140 1190s ok 155 /regex/match-simple/141 1190s ok 156 /regex/match-simple/142 1190s ok 157 /regex/match-simple/143 1190s ok 158 /regex/match-simple/144 1190s ok 159 /regex/match-simple/145 1190s ok 160 /regex/match-simple/146 1190s ok 161 /regex/match-simple/147 1190s ok 162 /regex/match-simple/148 1190s ok 163 /regex/match-simple/149 1190s ok 164 /regex/match-simple/150 1190s ok 165 /regex/match-simple/151 1190s ok 166 /regex/match-simple/152 1190s ok 167 /regex/match-simple/153 1190s ok 168 /regex/match-simple/154 1190s ok 169 /regex/match-simple/155 1190s ok 170 /regex/match-simple/156 1190s ok 171 /regex/match-simple/157 1190s ok 172 /regex/match-simple/158 1190s ok 173 /regex/match-simple/159 1190s ok 174 /regex/match-simple/160 1190s ok 175 /regex/match-simple/161 1190s ok 176 /regex/match-simple/162 1190s ok 177 /regex/match-simple/163 1190s ok 178 /regex/match-simple/164 1190s # End of match-simple tests 1190s # Start of match-simple-optimized tests 1190s ok 179 /regex/match-simple-optimized/92 1190s ok 180 /regex/match-simple-optimized/93 1190s ok 181 /regex/match-simple-optimized/94 1190s ok 182 /regex/match-simple-optimized/95 1190s ok 183 /regex/match-simple-optimized/96 1190s ok 184 /regex/match-simple-optimized/97 1190s ok 185 /regex/match-simple-optimized/98 1190s ok 186 /regex/match-simple-optimized/99 1190s ok 187 /regex/match-simple-optimized/100 1190s ok 188 /regex/match-simple-optimized/101 1190s ok 189 /regex/match-simple-optimized/102 1190s ok 190 /regex/match-simple-optimized/103 1190s ok 191 /regex/match-simple-optimized/104 1190s ok 192 /regex/match-simple-optimized/105 1190s ok 193 /regex/match-simple-optimized/106 1190s ok 194 /regex/match-simple-optimized/107 1190s ok 195 /regex/match-simple-optimized/108 1190s ok 196 /regex/match-simple-optimized/109 1190s ok 197 /regex/match-simple-optimized/110 1190s ok 198 /regex/match-simple-optimized/111 1190s ok 199 /regex/match-simple-optimized/112 1190s ok 200 /regex/match-simple-optimized/113 1190s ok 201 /regex/match-simple-optimized/114 1190s ok 202 /regex/match-simple-optimized/115 1190s ok 203 /regex/match-simple-optimized/116 1190s ok 204 /regex/match-simple-optimized/117 1190s ok 205 /regex/match-simple-optimized/118 1190s ok 206 /regex/match-simple-optimized/119 1190s ok 207 /regex/match-simple-optimized/120 1190s ok 208 /regex/match-simple-optimized/121 1190s ok 209 /regex/match-simple-optimized/122 1190s ok 210 /regex/match-simple-optimized/123 1190s ok 211 /regex/match-simple-optimized/124 1190s ok 212 /regex/match-simple-optimized/125 1190s ok 213 /regex/match-simple-optimized/126 1190s ok 214 /regex/match-simple-optimized/127 1190s ok 215 /regex/match-simple-optimized/128 1190s ok 216 /regex/match-simple-optimized/129 1190s ok 217 /regex/match-simple-optimized/130 1190s ok 218 /regex/match-simple-optimized/131 1190s ok 219 /regex/match-simple-optimized/132 1190s ok 220 /regex/match-simple-optimized/133 1190s ok 221 /regex/match-simple-optimized/134 1190s ok 222 /regex/match-simple-optimized/135 1190s ok 223 /regex/match-simple-optimized/136 1190s ok 224 /regex/match-simple-optimized/137 1190s ok 225 /regex/match-simple-optimized/138 1190s ok 226 /regex/match-simple-optimized/139 1190s ok 227 /regex/match-simple-optimized/140 1190s ok 228 /regex/match-simple-optimized/141 1190s ok 229 /regex/match-simple-optimized/142 1190s ok 230 /regex/match-simple-optimized/143 1190s ok 231 /regex/match-simple-optimized/144 1190s ok 232 /regex/match-simple-optimized/145 1190s ok 233 /regex/match-simple-optimized/146 1190s ok 234 /regex/match-simple-optimized/147 1190s ok 235 /regex/match-simple-optimized/148 1190s ok 236 /regex/match-simple-optimized/149 1190s ok 237 /regex/match-simple-optimized/150 1190s ok 238 /regex/match-simple-optimized/151 1190s ok 239 /regex/match-simple-optimized/152 1190s ok 240 /regex/match-simple-optimized/153 1190s ok 241 /regex/match-simple-optimized/154 1190s ok 242 /regex/match-simple-optimized/155 1190s ok 243 /regex/match-simple-optimized/156 1190s ok 244 /regex/match-simple-optimized/157 1190s ok 245 /regex/match-simple-optimized/158 1190s ok 246 /regex/match-simple-optimized/159 1190s ok 247 /regex/match-simple-optimized/160 1190s ok 248 /regex/match-simple-optimized/161 1190s ok 249 /regex/match-simple-optimized/162 1190s ok 250 /regex/match-simple-optimized/163 1190s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1190s ok 251 /regex/match-simple-optimized/164 1190s # End of match-simple-optimized tests 1190s # Start of match tests 1190s ok 252 /regex/match/165 1190s ok 253 /regex/match/166 1190s ok 254 /regex/match/167 1190s ok 255 /regex/match/168 1190s ok 256 /regex/match/169 1190s ok 257 /regex/match/170 1190s ok 258 /regex/match/171 1190s ok 259 /regex/match/172 1190s ok 260 /regex/match/173 1190s ok 261 /regex/match/174 1190s ok 262 /regex/match/175 1190s ok 263 /regex/match/176 1190s ok 264 /regex/match/177 1190s ok 265 /regex/match/178 1190s ok 266 /regex/match/179 1190s ok 267 /regex/match/180 1190s ok 268 /regex/match/181 1190s ok 269 /regex/match/182 1190s ok 270 /regex/match/183 1190s ok 271 /regex/match/184 1190s ok 272 /regex/match/185 1190s ok 273 /regex/match/186 1190s ok 274 /regex/match/187 1190s ok 275 /regex/match/188 1190s ok 276 /regex/match/189 1190s ok 277 /regex/match/190 1190s ok 278 /regex/match/191 1190s ok 279 /regex/match/192 1190s ok 280 /regex/match/193 1190s ok 281 /regex/match/194 1190s ok 282 /regex/match/195 1190s ok 283 /regex/match/196 1190s ok 284 /regex/match/197 1190s ok 285 /regex/match/198 1190s ok 286 /regex/match/199 1190s ok 287 /regex/match/200 1190s ok 288 /regex/match/201 1190s ok 289 /regex/match/202 1190s ok 290 /regex/match/203 1190s ok 291 /regex/match/204 1190s ok 292 /regex/match/205 1190s ok 293 /regex/match/206 1190s ok 294 /regex/match/207 1190s ok 295 /regex/match/208 1190s ok 296 /regex/match/209 1190s ok 297 /regex/match/210 1190s ok 298 /regex/match/211 1190s ok 299 /regex/match/212 1190s ok 300 /regex/match/213 1190s ok 301 /regex/match/214 1190s ok 302 /regex/match/215 1190s ok 303 /regex/match/216 1190s ok 304 /regex/match/217 1190s ok 305 /regex/match/218 1190s ok 306 /regex/match/219 1190s ok 307 /regex/match/220 1190s ok 308 /regex/match/221 1190s ok 309 /regex/match/222 1190s ok 310 /regex/match/223 1190s ok 311 /regex/match/224 1190s ok 312 /regex/match/225 1190s ok 313 /regex/match/226 1190s ok 314 /regex/match/227 1190s ok 315 /regex/match/228 1190s ok 316 /regex/match/229 1190s ok 317 /regex/match/230 1190s ok 318 /regex/match/231 1190s ok 319 /regex/match/232 1190s ok 320 /regex/match/233 1190s ok 321 /regex/match/234 1190s ok 322 /regex/match/235 1190s ok 323 /regex/match/236 1190s ok 324 /regex/match/237 1190s ok 325 /regex/match/238 1190s ok 326 /regex/match/239 1190s ok 327 /regex/match/240 1190s ok 328 /regex/match/241 1190s ok 329 /regex/match/242 1190s ok 330 /regex/match/243 1190s ok 331 /regex/match/244 1190s ok 332 /regex/match/245 1190s ok 333 /regex/match/246 1190s ok 334 /regex/match/partial281 1190s ok 335 /regex/match/partial282 1190s ok 336 /regex/match/partial283 1190s ok 337 /regex/match/partial284 1190s ok 338 /regex/match/partial285 1190s ok 339 /regex/match/partial286 1190s ok 340 /regex/match/partial287 1190s ok 341 /regex/match/partial288 1190s ok 342 /regex/match/partial289 1190s ok 343 /regex/match/partial290 1190s ok 344 /regex/match/partial291 1190s ok 345 /regex/match/partial292 1190s ok 346 /regex/match/partial293 1190s ok 347 /regex/match/partial294 1190s ok 348 /regex/match/partial295 1190s ok 349 /regex/match/partial296 1190s ok 350 /regex/match/partial297 1190s ok 351 /regex/match/partial298 1190s ok 352 /regex/match/partial299 1190s ok 353 /regex/match/partial300 1190s ok 354 /regex/match/partial301 1190s ok 355 /regex/match/partial302 1190s # Start of next0 tests 1190s ok 356 /regex/match/next0/247 1190s ok 357 /regex/match/next0/248 1190s ok 358 /regex/match/next0/249 1190s ok 359 /regex/match/next0/250 1190s # End of next0 tests 1190s # Start of next1 tests 1190s ok 360 /regex/match/next1/251 1190s ok 361 /regex/match/next1/252 1190s ok 362 /regex/match/next1/253 1190s ok 363 /regex/match/next1/254 1190s ok 364 /regex/match/next1/255 1190s # End of next1 tests 1190s # Start of next2 tests 1190s ok 365 /regex/match/next2/256 1190s ok 366 /regex/match/next2/257 1190s ok 367 /regex/match/next2/258 1190s ok 368 /regex/match/next2/259 1190s ok 369 /regex/match/next2/260 1190s ok 370 /regex/match/next2/261 1190s ok 371 /regex/match/next2/262 1190s ok 372 /regex/match/next2/263 1190s # End of next2 tests 1190s # Start of next3 tests 1190s ok 373 /regex/match/next3/264 1190s ok 374 /regex/match/next3/265 1190s ok 375 /regex/match/next3/266 1190s ok 376 /regex/match/next3/267 1190s ok 377 /regex/match/next3/268 1190s ok 378 /regex/match/next3/269 1190s # End of next3 tests 1190s # Start of next4 tests 1190s ok 379 /regex/match/next4/270 1190s # End of next4 tests 1190s # Start of count tests 1190s ok 380 /regex/match/count/271 1190s ok 381 /regex/match/count/272 1190s ok 382 /regex/match/count/273 1190s ok 383 /regex/match/count/274 1190s ok 384 /regex/match/count/275 1190s ok 385 /regex/match/count/276 1190s ok 386 /regex/match/count/277 1190s ok 387 /regex/match/count/278 1190s ok 388 /regex/match/count/279 1190s ok 389 /regex/match/count/280 1190s # End of count tests 1190s # Start of count-optimized tests 1190s ok 390 /regex/match/count-optimized/271 1190s ok 391 /regex/match/count-optimized/272 1190s ok 392 /regex/match/count-optimized/273 1190s ok 393 /regex/match/count-optimized/274 1190s ok 394 /regex/match/count-optimized/275 1190s ok 395 /regex/match/count-optimized/276 1190s ok 396 /regex/match/count-optimized/277 1190s ok 397 /regex/match/count-optimized/278 1190s ok 398 /regex/match/count-optimized/279 1190s ok 399 /regex/match/count-optimized/280 1190s # End of count-optimized tests 1190s # Start of partial-optimized tests 1190s ok 400 /regex/match/partial-optimized/281 1190s ok 401 /regex/match/partial-optimized/282 1190s ok 402 /regex/match/partial-optimized/283 1190s ok 403 /regex/match/partial-optimized/284 1190s ok 404 /regex/match/partial-optimized/285 1190s ok 405 /regex/match/partial-optimized/286 1190s ok 406 /regex/match/partial-optimized/287 1190s ok 407 /regex/match/partial-optimized/288 1190s ok 408 /regex/match/partial-optimized/289 1190s ok 409 /regex/match/partial-optimized/290 1190s ok 410 /regex/match/partial-optimized/291 1190s ok 411 /regex/match/partial-optimized/292 1190s ok 412 /regex/match/partial-optimized/293 1190s ok 413 /regex/match/partial-optimized/294 1190s ok 414 /regex/match/partial-optimized/295 1190s ok 415 /regex/match/partial-optimized/296 1190s ok 416 /regex/match/partial-optimized/297 1190s ok 417 /regex/match/partial-optimized/298 1190s ok 418 /regex/match/partial-optimized/299 1190s ok 419 /regex/match/partial-optimized/300 1190s ok 420 /regex/match/partial-optimized/301 1190s ok 421 /regex/match/partial-optimized/302 1190s # End of partial-optimized tests 1190s # Start of subpattern tests 1190s ok 422 /regex/match/subpattern/303 1190s ok 423 /regex/match/subpattern/304 1190s ok 424 /regex/match/subpattern/305 1190s ok 425 /regex/match/subpattern/306 1190s ok 426 /regex/match/subpattern/307 1190s ok 427 /regex/match/subpattern/308 1190s ok 428 /regex/match/subpattern/309 1190s ok 429 /regex/match/subpattern/310 1190s ok 430 /regex/match/subpattern/311 1190s ok 431 /regex/match/subpattern/312 1190s ok 432 /regex/match/subpattern/313 1190s ok 433 /regex/match/subpattern/314 1190s ok 434 /regex/match/subpattern/315 1190s # Start of named tests 1190s # Start of dupnames tests 1190s ok 435 /regex/match/subpattern/named/dupnames/325 1190s ok 436 /regex/match/subpattern/named/dupnames/326 1190s ok 437 /regex/match/subpattern/named/dupnames/327 1190s ok 438 /regex/match/subpattern/named/dupnames/328 1190s ok 439 /regex/match/subpattern/named/dupnames/329 1190s # End of dupnames tests 1190s # End of named tests 1190s # End of subpattern tests 1190s # Start of subpattern-optimized tests 1190s ok 440 /regex/match/subpattern-optimized/303 1190s ok 441 /regex/match/subpattern-optimized/304 1190s ok 442 /regex/match/subpattern-optimized/305 1190s ok 443 /regex/match/subpattern-optimized/306 1190s ok 444 /regex/match/subpattern-optimized/307 1190s ok 445 /regex/match/subpattern-optimized/308 1190s ok 446 /regex/match/subpattern-optimized/309 1190s ok 447 /regex/match/subpattern-optimized/310 1190s ok 448 /regex/match/subpattern-optimized/311 1190s ok 449 /regex/match/subpattern-optimized/312 1190s ok 450 /regex/match/subpattern-optimized/313 1190s ok 451 /regex/match/subpattern-optimized/314 1190s ok 452 /regex/match/subpattern-optimized/315 1190s # End of subpattern-optimized tests 1190s # Start of named tests 1190s # Start of subpattern tests 1190s ok 453 /regex/match/named/subpattern/316 1190s ok 454 /regex/match/named/subpattern/317 1190s ok 455 /regex/match/named/subpattern/318 1190s ok 456 /regex/match/named/subpattern/319 1190s ok 457 /regex/match/named/subpattern/320 1190s ok 458 /regex/match/named/subpattern/321 1190s ok 459 /regex/match/named/subpattern/322 1190s ok 460 /regex/match/named/subpattern/323 1190s ok 461 /regex/match/named/subpattern/324 1190s ok 462 /regex/match/named/subpattern/330 1190s ok 463 /regex/match/named/subpattern/331 1190s ok 464 /regex/match/named/subpattern/332 1190s ok 465 /regex/match/named/subpattern/333 1190s ok 466 /regex/match/named/subpattern/334 1190s # End of subpattern tests 1190s # End of named tests 1190s # End of match tests 1190s # Start of match-optimized tests 1190s ok 467 /regex/match-optimized/165 1190s ok 468 /regex/match-optimized/166 1190s ok 469 /regex/match-optimized/167 1190s ok 470 /regex/match-optimized/168 1190s ok 471 /regex/match-optimized/169 1190s ok 472 /regex/match-optimized/170 1190s ok 473 /regex/match-optimized/171 1190s ok 474 /regex/match-optimized/172 1190s ok 475 /regex/match-optimized/173 1190s ok 476 /regex/match-optimized/174 1190s ok 477 /regex/match-optimized/175 1190s ok 478 /regex/match-optimized/176 1190s ok 479 /regex/match-optimized/177 1190s ok 480 /regex/match-optimized/178 1190s ok 481 /regex/match-optimized/179 1190s ok 482 /regex/match-optimized/180 1190s ok 483 /regex/match-optimized/181 1190s ok 484 /regex/match-optimized/182 1190s ok 485 /regex/match-optimized/183 1190s ok 486 /regex/match-optimized/184 1190s ok 487 /regex/match-optimized/185 1190s ok 488 /regex/match-optimized/186 1190s ok 489 /regex/match-optimized/187 1190s ok 490 /regex/match-optimized/188 1190s ok 491 /regex/match-optimized/189 1190s ok 492 /regex/match-optimized/190 1190s ok 493 /regex/match-optimized/191 1190s ok 494 /regex/match-optimized/192 1190s ok 495 /regex/match-optimized/193 1190s ok 496 /regex/match-optimized/194 1190s ok 497 /regex/match-optimized/195 1190s ok 498 /regex/match-optimized/196 1190s ok 499 /regex/match-optimized/197 1190s ok 500 /regex/match-optimized/198 1190s ok 501 /regex/match-optimized/199 1190s ok 502 /regex/match-optimized/200 1190s ok 503 /regex/match-optimized/201 1190s ok 504 /regex/match-optimized/202 1190s ok 505 /regex/match-optimized/203 1190s ok 506 /regex/match-optimized/204 1190s ok 507 /regex/match-optimized/205 1190s ok 508 /regex/match-optimized/206 1190s ok 509 /regex/match-optimized/207 1190s ok 510 /regex/match-optimized/208 1190s ok 511 /regex/match-optimized/209 1190s ok 512 /regex/match-optimized/210 1190s ok 513 /regex/match-optimized/211 1190s ok 514 /regex/match-optimized/212 1190s ok 515 /regex/match-optimized/213 1190s ok 516 /regex/match-optimized/214 1190s ok 517 /regex/match-optimized/215 1190s ok 518 /regex/match-optimized/216 1190s ok 519 /regex/match-optimized/217 1190s ok 520 /regex/match-optimized/218 1190s ok 521 /regex/match-optimized/219 1190s ok 522 /regex/match-optimized/220 1190s ok 523 /regex/match-optimized/221 1190s ok 524 /regex/match-optimized/222 1190s ok 525 /regex/match-optimized/223 1190s ok 526 /regex/match-optimized/224 1190s ok 527 /regex/match-optimized/225 1190s ok 528 /regex/match-optimized/226 1190s ok 529 /regex/match-optimized/227 1190s ok 530 /regex/match-optimized/228 1190s ok 531 /regex/match-optimized/229 1190s ok 532 /regex/match-optimized/230 1190s ok 533 /regex/match-optimized/231 1190s ok 534 /regex/match-optimized/232 1190s ok 535 /regex/match-optimized/233 1190s ok 536 /regex/match-optimized/234 1190s ok 537 /regex/match-optimized/235 1190s ok 538 /regex/match-optimized/236 1190s ok 539 /regex/match-optimized/237 1190s ok 540 /regex/match-optimized/238 1190s ok 541 /regex/match-optimized/239 1190s ok 542 /regex/match-optimized/240 1190s ok 543 /regex/match-optimized/241 1190s ok 544 /regex/match-optimized/242 1190s ok 545 /regex/match-optimized/243 1190s ok 546 /regex/match-optimized/244 1190s ok 547 /regex/match-optimized/245 1190s ok 548 /regex/match-optimized/246 1190s # End of match-optimized tests 1190s # Start of fetch-all0 tests 1190s ok 549 /regex/fetch-all0/335 1190s ok 550 /regex/fetch-all0/336 1190s # End of fetch-all0 tests 1190s # Start of fetch-all1 tests 1190s ok 551 /regex/fetch-all1/337 1190s ok 552 /regex/fetch-all1/338 1190s ok 553 /regex/fetch-all1/339 1190s # End of fetch-all1 tests 1190s # Start of fetch-all2 tests 1190s ok 554 /regex/fetch-all2/340 1190s ok 555 /regex/fetch-all2/341 1190s ok 556 /regex/fetch-all2/342 1190s # End of fetch-all2 tests 1190s # Start of fetch-all3 tests 1190s ok 557 /regex/fetch-all3/343 1190s ok 558 /regex/fetch-all3/344 1190s ok 559 /regex/fetch-all3/345 1190s ok 560 /regex/fetch-all3/346 1190s ok 561 /regex/fetch-all3/347 1190s # End of fetch-all3 tests 1190s # Start of split tests 1190s # Start of simple0 tests 1190s ok 562 /regex/split/simple0/348 1190s ok 563 /regex/split/simple0/349 1190s ok 564 /regex/split/simple0/364 1190s ok 565 /regex/split/simple0/365 1190s # End of simple0 tests 1190s # Start of simple1 tests 1190s ok 566 /regex/split/simple1/350 1190s ok 567 /regex/split/simple1/351 1190s # End of simple1 tests 1190s # Start of simple2 tests 1190s ok 568 /regex/split/simple2/352 1190s ok 569 /regex/split/simple2/358 1190s ok 570 /regex/split/simple2/360 1190s # End of simple2 tests 1190s # Start of simple3 tests 1190s ok 571 /regex/split/simple3/353 1190s ok 572 /regex/split/simple3/354 1190s ok 573 /regex/split/simple3/355 1190s ok 574 /regex/split/simple3/356 1190s ok 575 /regex/split/simple3/357 1190s ok 576 /regex/split/simple3/359 1190s ok 577 /regex/split/simple3/361 1190s ok 578 /regex/split/simple3/362 1190s ok 579 /regex/split/simple3/363 1190s # End of simple3 tests 1190s # End of split tests 1190s # Start of split0 tests 1190s ok 580 /regex/split0/366 1190s ok 581 /regex/split0/368 1190s # End of split0 tests 1190s # Start of full-split0 tests 1190s ok 582 /regex/full-split0/367 1190s ok 583 /regex/full-split0/369 1190s ok 584 /regex/full-split0/370 1190s ok 585 /regex/full-split0/371 1190s ok 586 /regex/full-split0/372 1190s # End of full-split0 tests 1190s # Start of split1 tests 1190s ok 587 /regex/split1/373 1190s ok 588 /regex/split1/376 1190s # End of split1 tests 1190s # Start of full-split1 tests 1190s ok 589 /regex/full-split1/374 1190s ok 590 /regex/full-split1/375 1190s ok 591 /regex/full-split1/377 1190s ok 592 /regex/full-split1/378 1190s ok 593 /regex/full-split1/404 1190s # End of full-split1 tests 1190s # Start of split2 tests 1190s ok 594 /regex/split2/379 1190s ok 595 /regex/split2/383 1190s ok 596 /regex/split2/395 1190s # End of split2 tests 1190s # Start of full-split2 tests 1190s ok 597 /regex/full-split2/380 1190s ok 598 /regex/full-split2/381 1190s ok 599 /regex/full-split2/382 1190s ok 600 /regex/full-split2/384 1190s ok 601 /regex/full-split2/396 1190s ok 602 /regex/full-split2/399 1190s ok 603 /regex/full-split2/405 1190s # End of full-split2 tests 1190s # Start of split3 tests 1190s ok 604 /regex/split3/385 1190s ok 605 /regex/split3/387 1190s ok 606 /regex/split3/389 1190s ok 607 /regex/split3/391 1190s ok 608 /regex/split3/393 1190s ok 609 /regex/split3/397 1190s ok 610 /regex/split3/400 1190s ok 611 /regex/split3/402 1190s # End of split3 tests 1190s # Start of full-split3 tests 1190s ok 612 /regex/full-split3/386 1190s ok 613 /regex/full-split3/388 1190s ok 614 /regex/full-split3/390 1190s ok 615 /regex/full-split3/392 1190s ok 616 /regex/full-split3/394 1190s ok 617 /regex/full-split3/398 1190s ok 618 /regex/full-split3/401 1190s ok 619 /regex/full-split3/403 1190s ok 620 /regex/full-split3/406 1190s ok 621 /regex/full-split3/407 1190s # End of full-split3 tests 1190s # Start of check-repacement tests 1190s ok 622 /regex/check-repacement/408 1190s ok 623 /regex/check-repacement/409 1190s ok 624 /regex/check-repacement/410 1190s ok 625 /regex/check-repacement/411 1190s ok 626 /regex/check-repacement/412 1190s ok 627 /regex/check-repacement/413 1190s ok 628 /regex/check-repacement/414 1190s ok 629 /regex/check-repacement/415 1190s # End of check-repacement tests 1190s # Start of expand tests 1190s ok 630 /regex/expand/416 1190s ok 631 /regex/expand/417 1190s ok 632 /regex/expand/418 1190s ok 633 /regex/expand/419 1190s ok 634 /regex/expand/420 1190s ok 635 /regex/expand/421 1190s ok 636 /regex/expand/422 1190s ok 637 /regex/expand/423 1190s ok 638 /regex/expand/424 1190s ok 639 /regex/expand/425 1190s ok 640 /regex/expand/426 1190s ok 641 /regex/expand/427 1190s ok 642 /regex/expand/428 1190s ok 643 /regex/expand/429 1190s ok 644 /regex/expand/430 1190s ok 645 /regex/expand/431 1190s ok 646 /regex/expand/432 1190s ok 647 /regex/expand/433 1190s ok 648 /regex/expand/434 1190s ok 649 /regex/expand/435 1190s ok 650 /regex/expand/436 1190s ok 651 /regex/expand/437 1190s ok 652 /regex/expand/438 1190s ok 653 /regex/expand/439 1190s ok 654 /regex/expand/440 1190s ok 655 /regex/expand/441 1190s ok 656 /regex/expand/442 1190s ok 657 /regex/expand/443 1190s ok 658 /regex/expand/444 1190s ok 659 /regex/expand/445 1190s ok 660 /regex/expand/446 1190s ok 661 /regex/expand/447 1190s ok 662 /regex/expand/448 1190s ok 663 /regex/expand/449 1190s ok 664 /regex/expand/450 1190s ok 665 /regex/expand/451 1190s ok 666 /regex/expand/452 1190s ok 667 /regex/expand/453 1190s ok 668 /regex/expand/454 1190s ok 669 /regex/expand/455 1190s ok 670 /regex/expand/456 1190s ok 671 /regex/expand/457 1190s ok 672 /regex/expand/458 1190s ok 673 /regex/expand/459 1190s ok 674 /regex/expand/460 1190s ok 675 /regex/expand/461 1190s ok 676 /regex/expand/462 1190s ok 677 /regex/expand/463 1190s ok 678 /regex/expand/464 1190s ok 679 /regex/expand/465 1190s ok 680 /regex/expand/466 1190s ok 681 /regex/expand/467 1190s ok 682 /regex/expand/468 1190s ok 683 /regex/expand/469 1190s ok 684 /regex/expand/470 1190s ok 685 /regex/expand/471 1190s ok 686 /regex/expand/472 1190s ok 687 /regex/expand/473 1190s ok 688 /regex/expand/474 1190s ok 689 /regex/expand/475 1190s ok 690 /regex/expand/476 1190s ok 691 /regex/expand/477 1190s ok 692 /regex/expand/478 1190s ok 693 /regex/expand/479 1190s ok 694 /regex/expand/480 1190s ok 695 /regex/expand/481 1190s # End of expand tests 1190s # Start of replace tests 1190s ok 696 /regex/replace/482 1190s ok 697 /regex/replace/483 1190s ok 698 /regex/replace/484 1190s ok 699 /regex/replace/485 1190s ok 700 /regex/replace/486 1190s ok 701 /regex/replace/487 1190s ok 702 /regex/replace/488 1190s ok 703 /regex/replace/489 1190s ok 704 /regex/replace/490 1190s ok 705 /regex/replace/491 1190s ok 706 /regex/replace/492 1190s ok 707 /regex/replace/493 1190s ok 708 /regex/replace/494 1190s ok 709 /regex/replace/495 1190s ok 710 /regex/replace/496 1190s ok 711 /regex/replace/497 1190s ok 712 /regex/replace/498 1190s ok 713 /regex/replace/499 1190s ok 714 /regex/replace/500 1190s ok 715 /regex/replace/501 1190s ok 716 /regex/replace/502 1190s ok 717 /regex/replace/503 1190s ok 718 /regex/replace/504 1190s ok 719 /regex/replace/505 1190s ok 720 /regex/replace/506 1190s ok 721 /regex/replace/507 1190s ok 722 /regex/replace/508 1190s ok 723 /regex/replace/509 1190s # End of replace tests 1190s # Start of replace-optimized tests 1190s ok 724 /regex/replace-optimized/482 1190s ok 725 /regex/replace-optimized/483 1190s ok 726 /regex/replace-optimized/484 1190s ok 727 /regex/replace-optimized/485 1190s ok 728 /regex/replace-optimized/486 1190s ok 729 /regex/replace-optimized/487 1190s ok 730 /regex/replace-optimized/488 1190s ok 731 /regex/replace-optimized/489 1190s ok 732 /regex/replace-optimized/490 1190s ok 733 /regex/replace-optimized/491 1190s ok 734 /regex/replace-optimized/492 1190s ok 735 /regex/replace-optimized/493 1190s ok 736 /regex/replace-optimized/494 1190s ok 737 /regex/replace-optimized/495 1190s ok 738 /regex/replace-optimized/496 1190s ok 739 /regex/replace-optimized/497 1190s ok 740 /regex/replace-optimized/498 1190s ok 741 /regex/replace-optimized/499 1190s ok 742 /regex/replace-optimized/500 1190s ok 743 /regex/replace-optimized/501 1190s ok 744 /regex/replace-optimized/502 1190s ok 745 /regex/replace-optimized/503 1190s ok 746 /regex/replace-optimized/504 1190s ok 747 /regex/replace-optimized/505 1190s ok 748 /regex/replace-optimized/506 1190s ok 749 /regex/replace-optimized/507 1190s ok 750 /regex/replace-optimized/508 1190s ok 751 /regex/replace-optimized/509 1190s # End of replace-optimized tests 1190s # Start of replace-literally tests 1190s ok 752 /regex/replace-literally/510 1190s ok 753 /regex/replace-literally/511 1190s ok 754 /regex/replace-literally/512 1190s ok 755 /regex/replace-literally/513 1190s ok 756 /regex/replace-literally/514 1190s ok 757 /regex/replace-literally/515 1190s ok 758 /regex/replace-literally/516 1190s ok 759 /regex/replace-literally/517 1190s ok 760 /regex/replace-literally/518 1190s ok 761 /regex/replace-literally/519 1190s ok 762 /regex/replace-literally/520 1190s ok 763 /regex/replace-literally/521 1190s ok 764 /regex/replace-literally/522 1190s ok 765 /regex/replace-literally/523 1190s ok 766 /regex/replace-literally/524 1190s ok 767 /regex/replace-literally/525 1190s ok 768 /regex/replace-literally/526 1190s ok 769 /regex/replace-literally/527 1190s ok 770 /regex/replace-literally/528 1190s ok 771 /regex/replace-literally/529 1190s # End of replace-literally tests 1190s # Start of string-number tests 1190s ok 772 /regex/string-number/530 1190s ok 773 /regex/string-number/531 1190s ok 774 /regex/string-number/532 1190s ok 775 /regex/string-number/533 1190s ok 776 /regex/string-number/534 1190s ok 777 /regex/string-number/535 1190s ok 778 /regex/string-number/536 1190s ok 779 /regex/string-number/537 1190s ok 780 /regex/string-number/538 1190s ok 781 /regex/string-number/539 1190s ok 782 /regex/string-number/540 1190s ok 783 /regex/string-number/541 1190s ok 784 /regex/string-number/542 1190s ok 785 /regex/string-number/543 1190s ok 786 /regex/string-number/544 1190s # End of string-number tests 1190s # Start of escape_nul tests 1190s ok 787 /regex/escape_nul/545 1190s ok 788 /regex/escape_nul/546 1190s ok 789 /regex/escape_nul/547 1190s ok 790 /regex/escape_nul/548 1190s ok 791 /regex/escape_nul/549 1190s ok 792 /regex/escape_nul/550 1190s ok 793 /regex/escape_nul/551 1190s ok 794 /regex/escape_nul/552 1190s ok 795 /regex/escape_nul/553 1190s ok 796 /regex/escape_nul/554 1190s ok 797 /regex/escape_nul/555 1190s ok 798 /regex/escape_nul/556 1190s ok 799 /regex/escape_nul/557 1190s ok 800 /regex/escape_nul/558 1190s ok 801 /regex/escape_nul/559 1190s # End of escape_nul tests 1190s # Start of escape tests 1190s ok 802 /regex/escape/560 1190s ok 803 /regex/escape/561 1190s ok 804 /regex/escape/562 1190s ok 805 /regex/escape/563 1190s ok 806 /regex/escape/564 1190s ok 807 /regex/escape/565 1190s ok 808 /regex/escape/566 1190s ok 809 /regex/escape/567 1190s ok 810 /regex/escape/568 1190s ok 811 /regex/escape/569 1190s ok 812 /regex/escape/570 1190s ok 813 /regex/escape/571 1190s ok 814 /regex/escape/572 1190s ok 815 /regex/escape/573 1190s ok 816 /regex/escape/574 1190s ok 817 /regex/escape/575 1190s ok 818 /regex/escape/576 1190s ok 819 /regex/escape/577 1190s # End of escape tests 1190s # Start of match-all0 tests 1190s ok 820 /regex/match-all0/578 1190s ok 821 /regex/match-all0/580 1190s # End of match-all0 tests 1190s # Start of match-all-full0 tests 1190s ok 822 /regex/match-all-full0/579 1190s ok 823 /regex/match-all-full0/581 1190s ok 824 /regex/match-all-full0/582 1190s ok 825 /regex/match-all-full0/583 1190s # End of match-all-full0 tests 1190s # Start of match-all1 tests 1190s ok 826 /regex/match-all1/584 1190s ok 827 /regex/match-all1/586 1190s ok 828 /regex/match-all1/591 1190s # End of match-all1 tests 1190s # Start of match-all-full1 tests 1190s ok 829 /regex/match-all-full1/585 1190s ok 830 /regex/match-all-full1/587 1190s ok 831 /regex/match-all-full1/588 1190s ok 832 /regex/match-all-full1/589 1190s ok 833 /regex/match-all-full1/590 1190s ok 834 /regex/match-all-full1/592 1190s # End of match-all-full1 tests 1190s # Start of match-all2 tests 1190s ok 835 /regex/match-all2/593 1190s ok 836 /regex/match-all2/595 1190s ok 837 /regex/match-all2/597 1190s # End of match-all2 tests 1190s # Start of match-all-full2 tests 1190s ok 838 /regex/match-all-full2/594 1190s ok 839 /regex/match-all-full2/596 1190s ok 840 /regex/match-all-full2/598 1190s # End of match-all-full2 tests 1190s # Start of match-all3 tests 1190s ok 841 /regex/match-all3/599 1190s ok 842 /regex/match-all3/601 1190s # End of match-all3 tests 1190s # Start of match-all-full3 tests 1190s ok 843 /regex/match-all-full3/600 1190s ok 844 /regex/match-all-full3/602 1190s # End of match-all-full3 tests 1190s # Start of match-notempty tests 1190s ok 845 /regex/match-notempty/603 1190s # End of match-notempty tests 1190s # Start of match-notempty-optimized tests 1190s ok 846 /regex/match-notempty-optimized/603 1190s # End of match-notempty-optimized tests 1190s # Start of match-notempty-atstart tests 1190s ok 847 /regex/match-notempty-atstart/604 1190s # End of match-notempty-atstart tests 1190s # Start of match-notempty-atstart-optimized tests 1190s ok 848 /regex/match-notempty-atstart-optimized/604 1190s # End of match-notempty-atstart-optimized tests 1190s # End of regex tests 1190s ok - glib/regex.test 1190s # Running test: glib/logging.test 1190s TAP version 14 1190s # random seed: R02S88113e097bbc52301711b1bc8cb417ff 1190s 1..17 1190s # Start of logging tests 1190s ok 1 /logging/default-handler 1190s # slow test /logging/default-handler executed in 0.80 secs 1190s ok 2 /logging/warnings 1190s ok 3 /logging/fatal-log-mask 1190s # bu-DEBUG: message 1190s # ba-DEBUG: message 1190s # ba-INFO: message 1190s ok 4 /logging/set-handler 1190s ok 5 /logging/print-handler 1190s ok 6 /logging/printerr-handler 1190s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 1190s # The Log Message Handler 1190s # 1190s # The Good Fail Message Handler 1190s # 1190s ok 7 /logging/653052 1190s ok 8 /logging/gibberish 1190s # Start of default-handler tests 1190s # Start of subprocess tests 1190s # End of subprocess tests 1190s # End of default-handler tests 1190s # End of logging tests 1190s # Start of structured-logging tests 1190s ok 9 /structured-logging/no-state 1190s ok 10 /structured-logging/some-state 1190s ok 11 /structured-logging/robustness 1190s ok 12 /structured-logging/roundtrip1 1190s ok 13 /structured-logging/roundtrip2 1190s ok 14 /structured-logging/roundtrip3 1190s ok 15 /structured-logging/variant1 1190s ok 16 /structured-logging/variant2 1190s ok 17 /structured-logging/set-writer-func-twice 1190s # End of structured-logging tests 1190s ok - glib/logging.test 1190s # Running test: glib/io-channel-basic.test 1190s TAP version 14 1190s # random seed: R02Sd2ab5bd38a779bf2605ebc7ae307d6a2 1190s 1..1 1190s # Start of gio tests 1190s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1190s # random seed: R02S17f28dbcc131674eb2459dcd455dd16f 1191s # GLib-DEBUG: io-channel-basic: child writing 8+3335 bytes to 6 1191s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1191s # GLib-DEBUG: io-channel-basic: ...from 5: 3335 bytes 1191s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1191s # GLib-DEBUG: io-channel-basic: child writing 8+2629 bytes to 6 1191s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1191s # GLib-DEBUG: io-channel-basic: ...from 5: 2629 bytes 1191s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1191s # GLib-DEBUG: io-channel-basic: child writing 8+2042 bytes to 6 1191s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1191s # GLib-DEBUG: io-channel-basic: ...from 5: 2042 bytes 1191s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1192s # GLib-DEBUG: io-channel-basic: child writing 8+405 bytes to 6 1192s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1192s # GLib-DEBUG: io-channel-basic: ...from 5: 405 bytes 1192s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1192s # GLib-DEBUG: io-channel-basic: child writing 8+3310 bytes to 6 1192s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1192s # GLib-DEBUG: io-channel-basic: ...from 5: 3310 bytes 1192s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1192s # GLib-DEBUG: io-channel-basic: child writing 8+2567 bytes to 6 1192s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1192s # GLib-DEBUG: io-channel-basic: ...from 5: 2567 bytes 1192s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1192s # GLib-DEBUG: io-channel-basic: child writing 8+2740 bytes to 6 1192s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1192s # GLib-DEBUG: io-channel-basic: ...from 5: 2740 bytes 1192s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1193s # GLib-DEBUG: io-channel-basic: child writing 8+834 bytes to 6 1193s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1193s # GLib-DEBUG: io-channel-basic: ...from 5: 834 bytes 1193s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1193s # GLib-DEBUG: io-channel-basic: child writing 8+2403 bytes to 6 1193s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1193s # GLib-DEBUG: io-channel-basic: ...from 5: 2403 bytes 1193s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1193s # Executing: glib/io-channel-basic.test 1193s # GLib-DEBUG: io-channel-basic: child writing 8+4743 bytes to 6 1193s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1193s # GLib-DEBUG: io-channel-basic: ...from 5: 4743 bytes 1193s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1193s # GLib-DEBUG: io-channel-basic: child writing 8+732 bytes to 6 1193s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1193s # GLib-DEBUG: io-channel-basic: ...from 5: 732 bytes 1193s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1194s # GLib-DEBUG: io-channel-basic: child writing 8+493 bytes to 6 1194s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1194s # GLib-DEBUG: io-channel-basic: ...from 5: 493 bytes 1194s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1194s # GLib-DEBUG: io-channel-basic: child writing 8+2095 bytes to 6 1194s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1194s # GLib-DEBUG: io-channel-basic: ...from 5: 2095 bytes 1194s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1194s # GLib-DEBUG: io-channel-basic: child writing 8+2999 bytes to 6 1194s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1194s # GLib-DEBUG: io-channel-basic: ...from 5: 2999 bytes 1194s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1194s # GLib-DEBUG: io-channel-basic: child writing 8+4519 bytes to 6 1194s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1194s # GLib-DEBUG: io-channel-basic: ...from 5: 4519 bytes 1194s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1195s # GLib-DEBUG: io-channel-basic: child writing 8+3179 bytes to 6 1195s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1195s # GLib-DEBUG: io-channel-basic: ...from 5: 3179 bytes 1195s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1195s # GLib-DEBUG: io-channel-basic: child writing 8+1428 bytes to 6 1195s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1195s # GLib-DEBUG: io-channel-basic: ...from 5: 1428 bytes 1195s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1195s # GLib-DEBUG: io-channel-basic: child writing 8+190 bytes to 6 1195s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1195s # GLib-DEBUG: io-channel-basic: ...from 5: 190 bytes 1195s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1196s # GLib-DEBUG: io-channel-basic: child writing 8+2297 bytes to 6 1196s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1196s # GLib-DEBUG: io-channel-basic: ...from 5: 2297 bytes 1196s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1196s # GLib-DEBUG: io-channel-basic: child writing 8+1505 bytes to 6 1196s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1196s # GLib-DEBUG: io-channel-basic: ...from 5: 1505 bytes 1196s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1196s # GLib-DEBUG: io-channel-basic: child writing 8+1504 bytes to 6 1196s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1196s # GLib-DEBUG: io-channel-basic: ...from 5: 1504 bytes 1196s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1196s # GLib-DEBUG: io-channel-basic: child writing 8+2158 bytes to 6 1196s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1196s # GLib-DEBUG: io-channel-basic: ...from 5: 2158 bytes 1196s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1197s # GLib-DEBUG: io-channel-basic: child writing 8+230 bytes to 6 1197s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 1197s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 1197s # GLib-DEBUG: io-channel-basic: ...from 5: 230 bytes 1197s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1197s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1197s # random seed: R02Sfdcefa83a673f8fb2aaf8a6c0d42292d 1197s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1197s # random seed: R02Sf9628a74a67f409035d01a126f6dbdf2 1197s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1197s # random seed: R02S842dc09df836ab5da5068774ed9aaabf 1197s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1197s # random seed: R02Sfb08e3ba82e0e8ba8c1258267c7abe9d 1197s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1197s # random seed: R02Sbf08d62c8d26f7669e829d190ae22d08 1197s # GLib-DEBUG: io-channel-basic: child writing 8+3625 bytes to 13 1197s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1197s # GLib-DEBUG: io-channel-basic: ...from 12: 3625 bytes 1197s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1197s # GLib-DEBUG: io-channel-basic: child writing 8+3846 bytes to 11 1197s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1197s # GLib-DEBUG: io-channel-basic: ...from 10: 3846 bytes 1197s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1197s # GLib-DEBUG: io-channel-basic: child writing 8+4136 bytes to 15 1197s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1197s # GLib-DEBUG: io-channel-basic: ...from 14: 4136 bytes 1197s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1197s # GLib-DEBUG: io-channel-basic: child writing 8+2948 bytes to 17 1197s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1197s # GLib-DEBUG: io-channel-basic: ...from 16: 2948 bytes 1197s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1197s # GLib-DEBUG: io-channel-basic: child writing 8+3668 bytes to 9 1197s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1197s # GLib-DEBUG: io-channel-basic: ...from 8: 3668 bytes 1197s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1197s # GLib-DEBUG: io-channel-basic: child writing 8+2159 bytes to 13 1197s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1197s # GLib-DEBUG: io-channel-basic: ...from 12: 2159 bytes 1197s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1197s # GLib-DEBUG: io-channel-basic: child writing 8+2146 bytes to 11 1197s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1197s # GLib-DEBUG: io-channel-basic: ...from 10: 2146 bytes 1197s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1197s # GLib-DEBUG: io-channel-basic: child writing 8+321 bytes to 15 1197s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1197s # GLib-DEBUG: io-channel-basic: ...from 14: 321 bytes 1197s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1197s # GLib-DEBUG: io-channel-basic: child writing 8+3415 bytes to 9 1197s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1197s # GLib-DEBUG: io-channel-basic: ...from 8: 3415 bytes 1197s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1197s # GLib-DEBUG: io-channel-basic: child writing 8+3925 bytes to 17 1197s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1197s # GLib-DEBUG: io-channel-basic: ...from 16: 3925 bytes 1197s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1197s # GLib-DEBUG: io-channel-basic: child writing 8+1755 bytes to 13 1197s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1197s # GLib-DEBUG: io-channel-basic: ...from 12: 1755 bytes 1197s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1197s # GLib-DEBUG: io-channel-basic: child writing 8+51 bytes to 11 1197s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1197s # GLib-DEBUG: io-channel-basic: ...from 10: 51 bytes 1197s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1197s # GLib-DEBUG: io-channel-basic: child writing 8+3522 bytes to 9 1197s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1197s # GLib-DEBUG: io-channel-basic: ...from 8: 3522 bytes 1197s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1197s # GLib-DEBUG: io-channel-basic: child writing 8+495 bytes to 15 1197s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1197s # GLib-DEBUG: io-channel-basic: ...from 14: 495 bytes 1197s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1197s # GLib-DEBUG: io-channel-basic: child writing 8+4880 bytes to 17 1197s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1197s # GLib-DEBUG: io-channel-basic: ...from 16: 4880 bytes 1197s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1198s # GLib-DEBUG: io-channel-basic: child writing 8+3683 bytes to 13 1198s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1198s # GLib-DEBUG: io-channel-basic: ...from 12: 3683 bytes 1198s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1198s # GLib-DEBUG: io-channel-basic: child writing 8+2030 bytes to 11 1198s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1198s # GLib-DEBUG: io-channel-basic: ...from 10: 2030 bytes 1198s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1198s # GLib-DEBUG: io-channel-basic: child writing 8+4509 bytes to 15 1198s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1198s # GLib-DEBUG: io-channel-basic: ...from 14: 4509 bytes 1198s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1198s # GLib-DEBUG: io-channel-basic: child writing 8+4271 bytes to 9 1198s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1198s # GLib-DEBUG: io-channel-basic: ...from 8: 4271 bytes 1198s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1198s # GLib-DEBUG: io-channel-basic: child writing 8+3367 bytes to 17 1198s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1198s # GLib-DEBUG: io-channel-basic: ...from 16: 3367 bytes 1198s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1198s # GLib-DEBUG: io-channel-basic: child writing 8+4670 bytes to 13 1198s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1198s # GLib-DEBUG: io-channel-basic: ...from 12: 4670 bytes 1198s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1198s # GLib-DEBUG: io-channel-basic: child writing 8+3265 bytes to 15 1198s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1198s # GLib-DEBUG: io-channel-basic: ...from 14: 3265 bytes 1198s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1198s # GLib-DEBUG: io-channel-basic: child writing 8+1087 bytes to 11 1198s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1198s # GLib-DEBUG: io-channel-basic: ...from 10: 1087 bytes 1198s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1198s # GLib-DEBUG: io-channel-basic: child writing 8+3541 bytes to 9 1198s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1198s # GLib-DEBUG: io-channel-basic: ...from 8: 3541 bytes 1198s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1198s # GLib-DEBUG: io-channel-basic: child writing 8+900 bytes to 17 1198s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1198s # GLib-DEBUG: io-channel-basic: ...from 16: 900 bytes 1198s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1198s # Executing: glib/io-channel-basic.test 1198s # GLib-DEBUG: io-channel-basic: child writing 8+2282 bytes to 13 1198s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1198s # GLib-DEBUG: io-channel-basic: ...from 12: 2282 bytes 1198s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1198s # GLib-DEBUG: io-channel-basic: child writing 8+263 bytes to 9 1198s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1198s # GLib-DEBUG: io-channel-basic: ...from 8: 263 bytes 1198s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1198s # GLib-DEBUG: io-channel-basic: child writing 8+2637 bytes to 11 1198s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1198s # GLib-DEBUG: io-channel-basic: ...from 10: 2637 bytes 1198s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1198s # GLib-DEBUG: io-channel-basic: child writing 8+2944 bytes to 15 1198s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1198s # GLib-DEBUG: io-channel-basic: ...from 14: 2944 bytes 1198s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1198s # GLib-DEBUG: io-channel-basic: child writing 8+204 bytes to 17 1198s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1198s # GLib-DEBUG: io-channel-basic: ...from 16: 204 bytes 1198s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1198s # GLib-DEBUG: io-channel-basic: child writing 8+2961 bytes to 13 1198s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1198s # GLib-DEBUG: io-channel-basic: ...from 12: 2961 bytes 1198s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1198s # GLib-DEBUG: io-channel-basic: child writing 8+4885 bytes to 9 1198s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1198s # GLib-DEBUG: io-channel-basic: ...from 8: 4885 bytes 1198s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1198s # GLib-DEBUG: io-channel-basic: child writing 8+1624 bytes to 11 1198s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1198s # GLib-DEBUG: io-channel-basic: ...from 10: 1624 bytes 1198s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1198s # GLib-DEBUG: io-channel-basic: child writing 8+1318 bytes to 15 1198s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1198s # GLib-DEBUG: io-channel-basic: ...from 14: 1318 bytes 1198s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1198s # GLib-DEBUG: io-channel-basic: child writing 8+3064 bytes to 17 1198s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1198s # GLib-DEBUG: io-channel-basic: ...from 16: 3064 bytes 1198s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1199s # GLib-DEBUG: io-channel-basic: child writing 8+4907 bytes to 13 1199s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1199s # GLib-DEBUG: io-channel-basic: ...from 12: 4907 bytes 1199s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1199s # GLib-DEBUG: io-channel-basic: child writing 8+1453 bytes to 9 1199s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1199s # GLib-DEBUG: io-channel-basic: ...from 8: 1453 bytes 1199s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1199s # GLib-DEBUG: io-channel-basic: child writing 8+4517 bytes to 11 1199s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1199s # GLib-DEBUG: io-channel-basic: ...from 10: 4517 bytes 1199s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1199s # GLib-DEBUG: io-channel-basic: child writing 8+1253 bytes to 15 1199s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1199s # GLib-DEBUG: io-channel-basic: ...from 14: 1253 bytes 1199s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1199s # GLib-DEBUG: io-channel-basic: child writing 8+345 bytes to 17 1199s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1199s # GLib-DEBUG: io-channel-basic: ...from 16: 345 bytes 1199s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1199s # GLib-DEBUG: io-channel-basic: child writing 8+4801 bytes to 13 1199s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1199s # GLib-DEBUG: io-channel-basic: ...from 12: 4801 bytes 1199s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1199s # GLib-DEBUG: io-channel-basic: child writing 8+1648 bytes to 9 1199s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1199s # GLib-DEBUG: io-channel-basic: ...from 8: 1648 bytes 1199s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1199s # GLib-DEBUG: io-channel-basic: child writing 8+2819 bytes to 11 1199s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1199s # GLib-DEBUG: io-channel-basic: ...from 10: 2819 bytes 1199s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1199s # GLib-DEBUG: io-channel-basic: child writing 8+4118 bytes to 17 1199s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1199s # GLib-DEBUG: io-channel-basic: ...from 16: 4118 bytes 1199s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1199s # GLib-DEBUG: io-channel-basic: child writing 8+1697 bytes to 15 1199s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1199s # GLib-DEBUG: io-channel-basic: ...from 14: 1697 bytes 1199s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1199s # GLib-DEBUG: io-channel-basic: child writing 8+280 bytes to 13 1199s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1199s # GLib-DEBUG: io-channel-basic: ...from 12: 280 bytes 1199s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1199s # GLib-DEBUG: io-channel-basic: child writing 8+1754 bytes to 11 1199s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1199s # GLib-DEBUG: io-channel-basic: ...from 10: 1754 bytes 1199s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1199s # GLib-DEBUG: io-channel-basic: child writing 8+1918 bytes to 9 1199s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1199s # GLib-DEBUG: io-channel-basic: ...from 8: 1918 bytes 1199s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1199s # GLib-DEBUG: io-channel-basic: child writing 8+1791 bytes to 17 1199s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1199s # GLib-DEBUG: io-channel-basic: ...from 16: 1791 bytes 1199s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1199s # GLib-DEBUG: io-channel-basic: child writing 8+4772 bytes to 15 1199s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1199s # GLib-DEBUG: io-channel-basic: ...from 14: 4772 bytes 1199s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1199s # GLib-DEBUG: io-channel-basic: child writing 8+204 bytes to 13 1199s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1199s # GLib-DEBUG: io-channel-basic: ...from 12: 204 bytes 1199s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1199s # GLib-DEBUG: io-channel-basic: child writing 8+3765 bytes to 9 1199s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1199s # GLib-DEBUG: io-channel-basic: ...from 8: 3765 bytes 1199s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1199s # GLib-DEBUG: io-channel-basic: child writing 8+2820 bytes to 11 1199s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1199s # GLib-DEBUG: io-channel-basic: ...from 10: 2820 bytes 1199s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1199s # GLib-DEBUG: io-channel-basic: child writing 8+4137 bytes to 17 1199s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1199s # GLib-DEBUG: io-channel-basic: ...from 16: 4137 bytes 1199s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1199s # GLib-DEBUG: io-channel-basic: child writing 8+186 bytes to 15 1199s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1199s # GLib-DEBUG: io-channel-basic: ...from 14: 186 bytes 1199s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1200s # GLib-DEBUG: io-channel-basic: child writing 8+3518 bytes to 13 1200s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1200s # GLib-DEBUG: io-channel-basic: ...from 12: 3518 bytes 1200s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1200s # GLib-DEBUG: io-channel-basic: child writing 8+234 bytes to 9 1200s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1200s # GLib-DEBUG: io-channel-basic: ...from 8: 234 bytes 1200s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1200s # GLib-DEBUG: io-channel-basic: child writing 8+3616 bytes to 11 1200s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1200s # GLib-DEBUG: io-channel-basic: ...from 10: 3616 bytes 1200s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1200s # GLib-DEBUG: io-channel-basic: child writing 8+2236 bytes to 17 1200s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1200s # GLib-DEBUG: io-channel-basic: ...from 16: 2236 bytes 1200s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1200s # GLib-DEBUG: io-channel-basic: child writing 8+3403 bytes to 15 1200s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1200s # GLib-DEBUG: io-channel-basic: ...from 14: 3403 bytes 1200s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1200s # GLib-DEBUG: io-channel-basic: child writing 8+3858 bytes to 13 1200s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1200s # GLib-DEBUG: io-channel-basic: ...from 12: 3858 bytes 1200s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1200s # GLib-DEBUG: io-channel-basic: child writing 8+1682 bytes to 11 1200s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1200s # GLib-DEBUG: io-channel-basic: ...from 10: 1682 bytes 1200s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1200s # GLib-DEBUG: io-channel-basic: child writing 8+2040 bytes to 9 1200s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1200s # GLib-DEBUG: io-channel-basic: ...from 8: 2040 bytes 1200s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1200s # GLib-DEBUG: io-channel-basic: child writing 8+4995 bytes to 17 1200s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1200s # GLib-DEBUG: io-channel-basic: ...from 16: 4995 bytes 1200s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1200s # GLib-DEBUG: io-channel-basic: child writing 8+2112 bytes to 15 1200s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1200s # GLib-DEBUG: io-channel-basic: ...from 14: 2112 bytes 1200s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1200s # GLib-DEBUG: io-channel-basic: child writing 8+3822 bytes to 13 1200s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1200s # GLib-DEBUG: io-channel-basic: ...from 12: 3822 bytes 1200s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1200s # GLib-DEBUG: io-channel-basic: child writing 8+3243 bytes to 11 1200s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1200s # GLib-DEBUG: io-channel-basic: ...from 10: 3243 bytes 1200s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1200s # GLib-DEBUG: io-channel-basic: child writing 8+1285 bytes to 9 1200s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1200s # GLib-DEBUG: io-channel-basic: ...from 8: 1285 bytes 1200s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1200s # GLib-DEBUG: io-channel-basic: child writing 8+1097 bytes to 17 1200s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1200s # GLib-DEBUG: io-channel-basic: ...from 16: 1097 bytes 1200s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1200s # GLib-DEBUG: io-channel-basic: child writing 8+1132 bytes to 15 1200s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1200s # GLib-DEBUG: io-channel-basic: ...from 14: 1132 bytes 1200s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1200s # GLib-DEBUG: io-channel-basic: child writing 8+1834 bytes to 11 1200s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1200s # GLib-DEBUG: io-channel-basic: ...from 10: 1834 bytes 1200s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1200s # GLib-DEBUG: io-channel-basic: child writing 8+1938 bytes to 13 1200s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1200s # GLib-DEBUG: io-channel-basic: ...from 12: 1938 bytes 1200s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1200s # GLib-DEBUG: io-channel-basic: child writing 8+4658 bytes to 9 1200s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1200s # GLib-DEBUG: io-channel-basic: ...from 8: 4658 bytes 1200s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1201s # GLib-DEBUG: io-channel-basic: child writing 8+1207 bytes to 17 1201s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1201s # GLib-DEBUG: io-channel-basic: ...from 16: 1207 bytes 1201s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1201s # GLib-DEBUG: io-channel-basic: child writing 8+717 bytes to 15 1201s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1201s # GLib-DEBUG: io-channel-basic: ...from 14: 717 bytes 1201s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1201s # GLib-DEBUG: io-channel-basic: child writing 8+1758 bytes to 11 1201s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1201s # GLib-DEBUG: io-channel-basic: ...from 10: 1758 bytes 1201s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1201s # GLib-DEBUG: io-channel-basic: child writing 8+2584 bytes to 13 1201s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1201s # GLib-DEBUG: io-channel-basic: ...from 12: 2584 bytes 1201s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1201s # GLib-DEBUG: io-channel-basic: child writing 8+4062 bytes to 9 1201s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1201s # GLib-DEBUG: io-channel-basic: ...from 8: 4062 bytes 1201s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1201s # GLib-DEBUG: io-channel-basic: child writing 8+696 bytes to 17 1201s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1201s # GLib-DEBUG: io-channel-basic: ...from 16: 696 bytes 1201s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1201s # GLib-DEBUG: io-channel-basic: child writing 8+3846 bytes to 15 1201s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1201s # GLib-DEBUG: io-channel-basic: ...from 14: 3846 bytes 1201s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1201s # GLib-DEBUG: io-channel-basic: child writing 8+4706 bytes to 11 1201s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1201s # GLib-DEBUG: io-channel-basic: ...from 10: 4706 bytes 1201s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1201s # GLib-DEBUG: io-channel-basic: child writing 8+2190 bytes to 13 1201s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1201s # GLib-DEBUG: io-channel-basic: ...from 12: 2190 bytes 1201s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1201s # GLib-DEBUG: io-channel-basic: child writing 8+388 bytes to 9 1201s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1201s # GLib-DEBUG: io-channel-basic: ...from 8: 388 bytes 1201s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1201s # GLib-DEBUG: io-channel-basic: child writing 8+3790 bytes to 17 1201s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1201s # GLib-DEBUG: io-channel-basic: ...from 16: 3790 bytes 1201s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1201s # GLib-DEBUG: io-channel-basic: child writing 8+4752 bytes to 15 1201s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1201s # GLib-DEBUG: io-channel-basic: ...from 14: 4752 bytes 1201s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1201s # GLib-DEBUG: io-channel-basic: child writing 8+1261 bytes to 13 1201s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1201s # GLib-DEBUG: io-channel-basic: ...from 12: 1261 bytes 1201s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1201s # GLib-DEBUG: io-channel-basic: child writing 8+3991 bytes to 11 1201s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1201s # GLib-DEBUG: io-channel-basic: ...from 10: 3991 bytes 1201s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1201s # GLib-DEBUG: io-channel-basic: child writing 8+1881 bytes to 9 1201s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1201s # GLib-DEBUG: io-channel-basic: ...from 8: 1881 bytes 1201s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1201s # GLib-DEBUG: io-channel-basic: child writing 8+3876 bytes to 17 1201s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1201s # GLib-DEBUG: io-channel-basic: ...from 16: 3876 bytes 1201s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1201s # GLib-DEBUG: io-channel-basic: child writing 8+4523 bytes to 15 1201s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1201s # GLib-DEBUG: io-channel-basic: ...from 14: 4523 bytes 1201s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1201s # GLib-DEBUG: io-channel-basic: child writing 8+1363 bytes to 13 1201s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1201s # GLib-DEBUG: io-channel-basic: ...from 12: 1363 bytes 1201s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1201s # GLib-DEBUG: io-channel-basic: child writing 8+571 bytes to 11 1201s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1201s # GLib-DEBUG: io-channel-basic: ...from 10: 571 bytes 1201s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1202s # GLib-DEBUG: io-channel-basic: child writing 8+1964 bytes to 9 1202s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1202s # GLib-DEBUG: io-channel-basic: ...from 8: 1964 bytes 1202s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1202s # GLib-DEBUG: io-channel-basic: child writing 8+4920 bytes to 17 1202s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1202s # GLib-DEBUG: io-channel-basic: ...from 16: 4920 bytes 1202s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1202s # GLib-DEBUG: io-channel-basic: child writing 8+3492 bytes to 15 1202s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1202s # GLib-DEBUG: io-channel-basic: ...from 14: 3492 bytes 1202s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1202s # GLib-DEBUG: io-channel-basic: child writing 8+3841 bytes to 13 1202s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1202s # GLib-DEBUG: io-channel-basic: ...from 12: 3841 bytes 1202s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1202s # GLib-DEBUG: io-channel-basic: child writing 8+3259 bytes to 11 1202s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1202s # GLib-DEBUG: io-channel-basic: ...from 10: 3259 bytes 1202s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1202s # GLib-DEBUG: io-channel-basic: child writing 8+2894 bytes to 9 1202s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1202s # GLib-DEBUG: io-channel-basic: ...from 8: 2894 bytes 1202s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1202s # GLib-DEBUG: io-channel-basic: child writing 8+2910 bytes to 17 1202s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 1202s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 1202s # GLib-DEBUG: io-channel-basic: ...from 16: 2910 bytes 1202s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1202s # GLib-DEBUG: io-channel-basic: child writing 8+2436 bytes to 15 1202s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1202s # GLib-DEBUG: io-channel-basic: ...from 14: 2436 bytes 1202s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1202s # GLib-DEBUG: io-channel-basic: child writing 8+483 bytes to 13 1202s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1202s # GLib-DEBUG: io-channel-basic: ...from 12: 483 bytes 1202s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1202s # GLib-DEBUG: io-channel-basic: child writing 8+4322 bytes to 11 1202s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1202s # GLib-DEBUG: io-channel-basic: ...from 10: 4322 bytes 1202s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1202s # GLib-DEBUG: io-channel-basic: child writing 8+3809 bytes to 9 1202s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1202s # GLib-DEBUG: io-channel-basic: ...from 8: 3809 bytes 1202s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1202s # GLib-DEBUG: io-channel-basic: child writing 8+1807 bytes to 15 1202s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 1202s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 1202s # GLib-DEBUG: io-channel-basic: ...from 14: 1807 bytes 1202s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1202s # GLib-DEBUG: io-channel-basic: child writing 8+3637 bytes to 13 1202s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1202s # GLib-DEBUG: io-channel-basic: ...from 12: 3637 bytes 1202s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1202s # GLib-DEBUG: io-channel-basic: child writing 8+4859 bytes to 11 1202s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1202s # GLib-DEBUG: io-channel-basic: ...from 10: 4859 bytes 1202s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1202s # GLib-DEBUG: io-channel-basic: child writing 8+4523 bytes to 9 1202s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 1202s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 1202s # GLib-DEBUG: io-channel-basic: ...from 8: 4523 bytes 1202s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1203s # GLib-DEBUG: io-channel-basic: child writing 8+3301 bytes to 13 1203s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1203s # GLib-DEBUG: io-channel-basic: ...from 12: 3301 bytes 1203s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1203s # GLib-DEBUG: io-channel-basic: child writing 8+210 bytes to 11 1203s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1203s # GLib-DEBUG: io-channel-basic: ...from 10: 210 bytes 1203s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1203s # GLib-DEBUG: io-channel-basic: child writing 8+1440 bytes to 11 1203s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 1203s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 1203s # GLib-DEBUG: io-channel-basic: ...from 10: 1440 bytes 1203s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1203s # GLib-DEBUG: io-channel-basic: child writing 8+2491 bytes to 13 1203s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 1203s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 1203s # GLib-DEBUG: io-channel-basic: ...from 12: 2491 bytes 1203s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1203s ok 1 /gio/io-basics 1203s # slow test /gio/io-basics executed in 12.32 secs 1203s # End of gio tests 1203s ok - glib/io-channel-basic.test 1203s # Running test: glib/gdbus-test-codegen-old.test 1203s TAP version 14 1203s # random seed: R02S0401a54708f940e8522a918458ca4d7c 1203s 1..8 1203s # Start of gdbus tests 1203s # Start of codegen tests 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/annotations/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/annotations/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/annotations/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/annotations/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/annotations/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/annotations/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/annotations/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/annotations/.dirs/runtime 1203s ok 1 /gdbus/codegen/annotations 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/interface_stability/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/interface_stability/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/interface_stability/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/interface_stability/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/interface_stability/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/interface_stability/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/interface_stability/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/interface_stability/.dirs/runtime 1203s ok 2 /gdbus/codegen/interface_stability 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/object-manager/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/object-manager/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/object-manager/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/object-manager/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/object-manager/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/object-manager/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/object-manager/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/object-manager/.dirs/runtime 1203s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1203s ok 3 /gdbus/codegen/object-manager 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/property-naming/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/property-naming/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/property-naming/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/property-naming/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/property-naming/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/property-naming/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/property-naming/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/property-naming/.dirs/runtime 1203s ok 4 /gdbus/codegen/property-naming 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/autocleanups/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/autocleanups/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/autocleanups/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/autocleanups/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/autocleanups/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/autocleanups/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/autocleanups/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/autocleanups/.dirs/runtime 1203s ok 5 /gdbus/codegen/autocleanups 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/deprecations/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/deprecations/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/deprecations/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/deprecations/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/deprecations/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/deprecations/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/deprecations/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/deprecations/.dirs/runtime 1203s ok 6 /gdbus/codegen/deprecations 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/standalone-interface-info/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/standalone-interface-info/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/standalone-interface-info/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/standalone-interface-info/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/standalone-interface-info/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1203s ok 7 /gdbus/codegen/standalone-interface-info 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/unix-fd-list/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/unix-fd-list/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/unix-fd-list/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/unix-fd-list/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/unix-fd-list/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_XSG3Z2/gdbus/codegen/unix-fd-list/.dirs/runtime 1203s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1203s ok 8 /gdbus/codegen/unix-fd-list 1203s # End of codegen tests 1203s # End of gdbus tests 1203s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1203s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1203s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1203s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1203s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1203s ok - glib/gdbus-test-codegen-old.test 1203s # Running test: glib/deftype.test 1203s ok - glib/deftype.test 1203s # Running test: glib/mutex.test 1203s TAP version 14 1203s # random seed: R02Sf9e60fb2dec09a57b6f006988a0696ce 1203s 1..17 1203s # Start of thread tests 1203s ok 1 /thread/mutex1 1203s ok 2 /thread/mutex2 1203s ok 3 /thread/mutex3 1203s ok 4 /thread/mutex4 1203s # Executing: glib/mutex.test 1207s ok 5 /thread/mutex5 1207s # slow test /thread/mutex5 executed in 3.75 secs 1207s # Start of mutex tests 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1207s ok 6 /thread/mutex/errno 1207s # Start of perf tests 1207s # max perf: 1.000000 mips 1207s ok 7 /thread/mutex/perf/uncontended 1207s # Start of contended tests 1207s # max perf: inf mips 1207s ok 8 /thread/mutex/perf/contended/1 1207s # max perf: 3.000000 mips 1207s ok 9 /thread/mutex/perf/contended/2 1207s # max perf: 4.000000 mips 1207s ok 10 /thread/mutex/perf/contended/3 1207s # max perf: inf mips 1207s ok 11 /thread/mutex/perf/contended/4 1207s # max perf: 3.000000 mips 1207s ok 12 /thread/mutex/perf/contended/5 1207s # max perf: 3.500000 mips 1207s ok 13 /thread/mutex/perf/contended/6 1207s # max perf: 4.000000 mips 1207s ok 14 /thread/mutex/perf/contended/7 1207s # max perf: 0.060000 mips 1207s ok 15 /thread/mutex/perf/contended/8 1207s # max perf: 5.000000 mips 1207s ok 16 /thread/mutex/perf/contended/9 1207s # max perf: 5.500000 mips 1207s ok 17 /thread/mutex/perf/contended/10 1207s # End of contended tests 1207s # End of perf tests 1207s # End of mutex tests 1207s # End of thread tests 1207s ok - glib/mutex.test 1207s # Running test: glib/hook.test 1207s TAP version 14 1207s # random seed: R02S32178680f7b998cbf2cee7cb1248852f 1207s 1..2 1207s # Start of hook tests 1207s ok 1 /hook/basics 1207s ok 2 /hook/corner-cases 1207s # End of hook tests 1207s ok - glib/hook.test 1207s # Running test: glib/thread-pool-slow.test 1207s TAP version 14 1207s # random seed: R02S478862320a88f5cffc357142a30e69bb 1207s 1..7 1207s # Start of threadpool tests 1207s ok 1 /threadpool/functions 1207s ok 2 /threadpool/stop-unused 1207s # slow test /threadpool/stop-unused executed in 0.51 secs 1208s ok 3 /threadpool/pools 1208s # [unsorted] ===> pushed new thread with id:53, number of threads:1, unprocessed:0 1208s # [unsorted] ===> pushed new thread with id:80, number of threads:2, unprocessed:1 1208s # [unsorted] ===> pushed new thread with id:88, number of threads:3, unprocessed:2 1208s # [unsorted] ===> pushed new thread with id:63, number of threads:4, unprocessed:3 1208s # [unsorted] ===> pushed new thread with id:64, number of threads:5, unprocessed:4 1208s # [unsorted] ===> pushed new thread with id:52, number of threads:6, unprocessed:5 1208s # [unsorted] ===> pushed new thread with id:40, number of threads:7, unprocessed:6 1208s # [unsorted] ===> pushed new thread with id:52, number of threads:8, unprocessed:7 1208s # [unsorted] ===> pushed new thread with id:35, number of threads:9, unprocessed:8 1208s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:8 1208s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:9 1208s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:10 1208s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:11 1208s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:11 1208s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:12 1208s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:13 1208s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:12 1208s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:13 1208s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:13 1208s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:13 1208s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:13 1208s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:13 1208s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:13 1208s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:14 1208s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:15 1208s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:16 1208s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:17 1208s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:18 1208s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:19 1208s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:20 1208s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:21 1208s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:22 1208s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:23 1208s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:24 1208s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:25 1208s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:26 1208s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:27 1208s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:28 1208s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:29 1208s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:30 1208s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:31 1208s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:32 1208s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:33 1208s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:34 1208s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:35 1208s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:36 1208s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:37 1208s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:38 1208s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:39 1208s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:40 1208s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:41 1208s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:42 1208s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:43 1208s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:44 1208s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:45 1208s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:46 1208s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:47 1208s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:48 1208s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:49 1208s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:50 1208s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:51 1208s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:52 1208s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:53 1208s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:54 1208s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:55 1208s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:56 1208s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:57 1208s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:58 1208s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:59 1208s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:60 1208s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:61 1208s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:62 1208s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:63 1208s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:64 1208s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:65 1208s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:66 1208s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:67 1208s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:68 1208s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:69 1208s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:70 1208s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:71 1208s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:72 1208s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:73 1208s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:74 1208s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:75 1208s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:76 1208s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:77 1208s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:78 1208s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:79 1208s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:80 1208s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:81 1208s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:82 1208s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:83 1208s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:84 1208s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:85 1208s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:86 1208s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:87 1208s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:88 1208s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:89 1208s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:90 1208s ok 4 /threadpool/no-sort 1208s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:1 1208s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:2 1208s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:3 1208s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:4 1208s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:5 1208s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:6 1208s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:7 1208s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:8 1208s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:9 1208s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:10 1208s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:11 1208s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:12 1208s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:13 1208s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:14 1208s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:15 1208s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:16 1208s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:17 1208s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:18 1208s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:19 1208s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:20 1208s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:21 1208s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:22 1208s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:23 1208s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:24 1208s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:25 1208s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:26 1208s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:27 1208s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:28 1208s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:29 1208s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:30 1208s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:31 1208s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:32 1208s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:33 1208s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:34 1208s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:35 1208s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:36 1208s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:37 1208s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:38 1208s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:39 1208s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:40 1208s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:41 1208s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:42 1208s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:43 1208s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:44 1208s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:45 1208s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:46 1208s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:47 1208s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:48 1208s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:49 1208s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:50 1208s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:51 1208s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:52 1208s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:53 1208s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:54 1208s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:55 1208s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:56 1208s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:57 1208s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:58 1208s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:59 1208s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:60 1208s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:61 1208s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:62 1208s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:63 1208s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:64 1208s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:65 1208s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:66 1208s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:67 1208s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:68 1208s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:69 1208s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:70 1208s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:71 1208s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:72 1208s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:73 1208s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:74 1208s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:75 1208s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:76 1208s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:77 1208s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:78 1208s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:79 1208s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:80 1208s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:81 1208s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:82 1208s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:83 1208s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:84 1208s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:85 1208s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:86 1208s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:87 1208s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:88 1208s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:89 1208s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:90 1208s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:91 1208s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:92 1208s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:93 1208s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:94 1208s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:95 1208s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:96 1208s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:97 1208s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:98 1208s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:99 1208s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:100 1208s # Starting thread pool processing 1208s ok 5 /threadpool/sort 1208s # Executing: glib/thread-pool-slow.test 1208s ok 6 /threadpool/stop-unused-multiple 1208s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1208s # Pool idle thread count: 0, unprocessed jobs: 40 1209s # Pool idle thread count: 0, unprocessed jobs: 0 1209s # Pool idle thread count: 0, unprocessed jobs: 0 1209s # Pool idle thread count: 10, unprocessed jobs: 0 1209s # Pool idle thread count: 10, unprocessed jobs: 0 1210s # Pool idle thread count: 10, unprocessed jobs: 0 1210s # Pool idle thread count: 10, unprocessed jobs: 0 1210s # Pool idle thread count: 10, unprocessed jobs: 0 1210s # Pool idle thread count: 10, unprocessed jobs: 0 1211s # Pool idle thread count: 10, unprocessed jobs: 0 1211s # Pool idle thread count: 10, unprocessed jobs: 0 1211s # Pool idle thread count: 10, unprocessed jobs: 0 1211s # Pool idle thread count: 10, unprocessed jobs: 0 1212s # Pool idle thread count: 10, unprocessed jobs: 0 1212s # Pool idle thread count: 10, unprocessed jobs: 0 1212s # Pool idle thread count: 10, unprocessed jobs: 0 1212s # Pool idle thread count: 10, unprocessed jobs: 0 1213s # Pool idle thread count: 10, unprocessed jobs: 0 1213s # Pool idle thread count: 10, unprocessed jobs: 0 1213s # Executing: glib/thread-pool-slow.test 1213s # Pool idle thread count: 10, unprocessed jobs: 0 1213s # Pool idle thread count: 10, unprocessed jobs: 0 1214s # Pool idle thread count: 10, unprocessed jobs: 0 1214s # Pool idle thread count: 10, unprocessed jobs: 0 1214s # Pool idle thread count: 10, unprocessed jobs: 0 1214s # Pool idle thread count: 10, unprocessed jobs: 0 1215s # Pool idle thread count: 10, unprocessed jobs: 0 1215s # Pool idle thread count: 10, unprocessed jobs: 0 1215s # Pool idle thread count: 10, unprocessed jobs: 0 1215s # Pool idle thread count: 10, unprocessed jobs: 0 1216s # Pool idle thread count: 10, unprocessed jobs: 0 1216s # Pool idle thread count: 10, unprocessed jobs: 0 1216s # Pool idle thread count: 10, unprocessed jobs: 0 1216s # Pool idle thread count: 10, unprocessed jobs: 0 1217s # Pool idle thread count: 10, unprocessed jobs: 0 1217s # Pool idle thread count: 10, unprocessed jobs: 0 1217s # Pool idle thread count: 10, unprocessed jobs: 2 1217s # Pool idle thread count: 8, unprocessed jobs: 0 1217s # Pool idle thread count: 8, unprocessed jobs: 0 1217s # Pool idle thread count: 8, unprocessed jobs: 0 1218s # Pool idle thread count: 10, unprocessed jobs: 0 1218s # Pool idle thread count: 10, unprocessed jobs: 0 1218s # Executing: glib/thread-pool-slow.test 1218s # Pool idle thread count: 10, unprocessed jobs: 0 1218s # Pool idle thread count: 10, unprocessed jobs: 0 1219s # Pool idle thread count: 10, unprocessed jobs: 0 1219s # Pool idle thread count: 10, unprocessed jobs: 0 1219s # Pool idle thread count: 2, unprocessed jobs: 0 1219s # Pool idle thread count: 2, unprocessed jobs: 0 1220s # Pool idle thread count: 2, unprocessed jobs: 0 1220s # Pool idle thread count: 2, unprocessed jobs: 0 1220s # Pool idle thread count: 2, unprocessed jobs: 0 1220s # Pool idle thread count: 2, unprocessed jobs: 0 1221s # Pool idle thread count: 2, unprocessed jobs: 0 1221s # Pool idle thread count: 2, unprocessed jobs: 0 1221s # Pool idle thread count: 2, unprocessed jobs: 0 1221s # Pool idle thread count: 2, unprocessed jobs: 0 1222s # Pool idle thread count: 2, unprocessed jobs: 0 1222s # Pool idle thread count: 2, unprocessed jobs: 0 1222s # Pool idle thread count: 2, unprocessed jobs: 0 1222s # Pool idle thread count: 2, unprocessed jobs: 0 1223s # Pool idle thread count: 2, unprocessed jobs: 0 1223s # Pool idle thread count: 2, unprocessed jobs: 0 1223s # Executing: glib/thread-pool-slow.test 1223s # Pool idle thread count: 2, unprocessed jobs: 0 1223s # Pool idle thread count: 2, unprocessed jobs: 0 1224s # Pool idle thread count: 2, unprocessed jobs: 0 1224s # Pool idle thread count: 2, unprocessed jobs: 0 1224s # Pool idle thread count: 2, unprocessed jobs: 0 1224s # Pool idle thread count: 2, unprocessed jobs: 0 1225s # Pool idle thread count: 2, unprocessed jobs: 0 1225s # Pool idle thread count: 2, unprocessed jobs: 0 1225s # Pool idle thread count: 2, unprocessed jobs: 0 1225s # Pool idle thread count: 2, unprocessed jobs: 0 1226s # Pool idle thread count: 2, unprocessed jobs: 0 1226s # Pool idle thread count: 2, unprocessed jobs: 0 1226s # Pool idle thread count: 2, unprocessed jobs: 0 1226s # Pool idle thread count: 2, unprocessed jobs: 0 1227s # Pool idle thread count: 2, unprocessed jobs: 0 1227s # Pool idle thread count: 2, unprocessed jobs: 0 1227s # Pool idle thread count: 2, unprocessed jobs: 0 1227s # Pool idle thread count: 2, unprocessed jobs: 0 1228s ok 7 /threadpool/idle-time 1228s # slow test /threadpool/idle-time executed in 19.53 secs 1228s # End of threadpool tests 1228s ok - glib/thread-pool-slow.test 1228s # Running test: glib/gdbus-introspection.test 1228s TAP version 14 1228s # random seed: R02Sb7694ae011e88d80beeb3a77555c1c9f 1228s 1..4 1228s # Start of gdbus tests 1228s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-parser/.dirs/home 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-parser/.dirs/cache 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-parser/.dirs/system-config2 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-parser/.dirs/config 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-parser/.dirs/system-data2 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-parser/.dirs/data 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-parser/.dirs/state 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-parser/.dirs/runtime 1228s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1228s ok 1 /gdbus/introspection-parser 1228s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-generate/.dirs/home 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-generate/.dirs/cache 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-generate/.dirs/system-config2 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-generate/.dirs/config 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-generate/.dirs/system-data2 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-generate/.dirs/data 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-generate/.dirs/state 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-generate/.dirs/runtime 1228s ok 2 /gdbus/introspection-generate 1228s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-default-direction/.dirs/home 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-default-direction/.dirs/cache 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-default-direction/.dirs/system-config2 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-default-direction/.dirs/config 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-default-direction/.dirs/system-data2 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-default-direction/.dirs/data 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-default-direction/.dirs/state 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-default-direction/.dirs/runtime 1228s ok 3 /gdbus/introspection-default-direction 1228s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-extra-data/.dirs/home 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-extra-data/.dirs/cache 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-extra-data/.dirs/system-config2 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-extra-data/.dirs/config 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-extra-data/.dirs/system-data2 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-extra-data/.dirs/data 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-extra-data/.dirs/state 1228s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_15HXZ2/gdbus/introspection-extra-data/.dirs/runtime 1228s ok 4 /gdbus/introspection-extra-data 1228s # End of gdbus tests 1228s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1228s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1228s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1228s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1228s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1228s ok - glib/gdbus-introspection.test 1228s # Running test: glib/signal-handler.test 1228s TAP version 14 1228s # random seed: R02S4cde8144590382bd68ee6bbec7ce76ec 1228s 1..7 1228s # Start of signal tests 1228s # Start of handler tests 1228s # min perf: connected 1 handlers in 0.000 seconds 1228s ok 1 /signal/handler/connect-many 1228s # min perf: disconnected 1 handlers in 0.000 seconds 1228s ok 2 /signal/handler/disconnect-many-ordered 1228s # min perf: disconnected 1 handlers in 0.000 seconds 1228s ok 3 /signal/handler/disconnect-many-inverse 1228s # min perf: disconnected 1 handlers in 0.000 seconds 1228s ok 4 /signal/handler/disconnect-many-random 1228s # min perf: disconnected 1 handlers in 0.000 seconds 1228s ok 5 /signal/handler/disconnect-2-signals 1228s # min perf: disconnected 1 handlers in 0.000 seconds 1228s ok 6 /signal/handler/disconnect-2-objects 1228s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 1228s ok 7 /signal/handler/block-many 1228s # End of handler tests 1228s # End of signal tests 1228s ok - glib/signal-handler.test 1228s # Running test: glib/pattern.test 1228s TAP version 14 1228s # random seed: R02S3651d6e406fc0c1e213f39d3d45540d4 1228s 1..90 1228s # Start of pattern tests 1228s # Start of compile tests 1228s ok 1 /pattern/compile/0 1228s ok 2 /pattern/compile/1 1228s ok 3 /pattern/compile/2 1228s ok 4 /pattern/compile/3 1228s ok 5 /pattern/compile/4 1228s ok 6 /pattern/compile/5 1228s ok 7 /pattern/compile/6 1228s ok 8 /pattern/compile/7 1228s ok 9 /pattern/compile/8 1228s ok 10 /pattern/compile/9 1228s ok 11 /pattern/compile/10 1228s ok 12 /pattern/compile/11 1228s ok 13 /pattern/compile/12 1228s ok 14 /pattern/compile/13 1228s # End of compile tests 1228s # Start of copy tests 1228s ok 15 /pattern/copy/0 1228s ok 16 /pattern/copy/1 1228s ok 17 /pattern/copy/2 1228s ok 18 /pattern/copy/3 1228s ok 19 /pattern/copy/4 1228s ok 20 /pattern/copy/5 1228s ok 21 /pattern/copy/6 1228s ok 22 /pattern/copy/7 1228s ok 23 /pattern/copy/8 1228s ok 24 /pattern/copy/9 1228s ok 25 /pattern/copy/10 1228s ok 26 /pattern/copy/11 1228s ok 27 /pattern/copy/12 1228s ok 28 /pattern/copy/13 1228s # End of copy tests 1228s # Start of match tests 1228s ok 29 /pattern/match/0 1228s ok 30 /pattern/match/1 1228s ok 31 /pattern/match/2 1228s ok 32 /pattern/match/3 1228s ok 33 /pattern/match/4 1228s ok 34 /pattern/match/5 1228s ok 35 /pattern/match/6 1228s ok 36 /pattern/match/7 1228s ok 37 /pattern/match/8 1228s ok 38 /pattern/match/9 1228s ok 39 /pattern/match/10 1228s ok 40 /pattern/match/11 1228s ok 41 /pattern/match/12 1228s ok 42 /pattern/match/13 1228s ok 43 /pattern/match/14 1228s ok 44 /pattern/match/15 1228s ok 45 /pattern/match/16 1228s ok 46 /pattern/match/17 1228s ok 47 /pattern/match/18 1228s ok 48 /pattern/match/19 1228s ok 49 /pattern/match/20 1228s ok 50 /pattern/match/21 1228s ok 51 /pattern/match/22 1228s ok 52 /pattern/match/23 1228s ok 53 /pattern/match/24 1228s ok 54 /pattern/match/25 1228s ok 55 /pattern/match/26 1228s ok 56 /pattern/match/27 1228s ok 57 /pattern/match/28 1228s ok 58 /pattern/match/29 1228s ok 59 /pattern/match/30 1228s ok 60 /pattern/match/31 1228s ok 61 /pattern/match/32 1228s ok 62 /pattern/match/33 1228s ok 63 /pattern/match/34 1228s ok 64 /pattern/match/35 1228s ok 65 /pattern/match/36 1228s ok 66 /pattern/match/37 1228s ok 67 /pattern/match/38 1228s ok 68 /pattern/match/39 1228s ok 69 /pattern/match/40 1228s ok 70 /pattern/match/41 1228s ok 71 /pattern/match/42 1228s ok 72 /pattern/match/43 1228s ok 73 /pattern/match/44 1228s ok 74 /pattern/match/45 1228s ok 75 /pattern/match/46 1228s ok 76 /pattern/match/47 1228s ok 77 /pattern/match/48 1228s ok 78 /pattern/match/49 1228s ok 79 /pattern/match/50 1228s # End of match tests 1228s # Start of equal tests 1228s ok 80 /pattern/equal/0 1228s ok 81 /pattern/equal/1 1228s ok 82 /pattern/equal/2 1228s ok 83 /pattern/equal/3 1228s ok 84 /pattern/equal/4 1228s ok 85 /pattern/equal/5 1228s ok 86 /pattern/equal/6 1228s ok 87 /pattern/equal/7 1228s ok 88 /pattern/equal/8 1228s ok 89 /pattern/equal/9 1228s ok 90 /pattern/equal/10 1228s # End of equal tests 1228s # End of pattern tests 1228s ok - glib/pattern.test 1228s # Running test: glib/option-argv0.test 1228s TAP version 14 1228s # random seed: R02S781067c3f117517828f03eb6c9dba6d7 1228s 1..1 1228s # Start of option tests 1228s ok 1 /option/argv0 1228s # End of option tests 1228s ok - glib/option-argv0.test 1228s # Running test: glib/macros-c-99.test 1228s TAP version 14 1228s # random seed: R02S6781271a597d078d7354bc96d0053bba 1228s 1..4 1228s # Start of C tests 1228s ok 1 /C/standard-99 1228s # End of C tests 1228s # Start of alignof tests 1228s ok 2 /alignof/fallback 1228s # End of alignof tests 1228s # Start of assert tests 1228s ok 3 /assert/static 1228s # End of assert tests 1228s # Start of struct tests 1228s ok 4 /struct/sizeof_member 1228s # End of struct tests 1228s ok - glib/macros-c-99.test 1228s # Running test: glib/io-stream.test 1228s TAP version 14 1228s # random seed: R02S47451ae010ab14dc46a1babb1da3900a 1228s 1..3 1228s # Start of io-stream tests 1228s ok 1 /io-stream/copy-chunks 1228s # Start of close tests 1228s # Start of async tests 1228s ok 2 /io-stream/close/async/memory 1228s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1228s ok 3 /io-stream/close/async/file 1228s # End of async tests 1228s # End of close tests 1228s # End of io-stream tests 1228s ok - glib/io-stream.test 1228s # Running test: glib/unix-streams.test 1228s TAP version 14 1228s # random seed: R02S716b6b26098f201eb9a64d1d7b827340 1228s 1..9 1228s # Start of unix-streams tests 1228s ok 1 /unix-streams/basic 1228s # Executing: glib/unix-streams.test 1228s ok 2 /unix-streams/pipe-io-test 1228s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 1229s ok 3 /unix-streams/nonblocking-io-test 1229s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 1229s ok 4 /unix-streams/read_write 1229s ok 5 /unix-streams/read_writev 1229s ok 6 /unix-streams/write-wouldblock 1229s ok 7 /unix-streams/writev-wouldblock 1229s ok 8 /unix-streams/write-async-wouldblock 1229s ok 9 /unix-streams/writev-async-wouldblock 1229s # End of unix-streams tests 1229s ok - glib/unix-streams.test 1229s # Running test: glib/macros.test 1229s TAP version 14 1229s # random seed: R02Sa21e41983dca4cfe780699df66d54016 1229s 1..3 1229s # Start of alignof tests 1229s ok 1 /alignof/fallback 1229s # End of alignof tests 1229s # Start of assert tests 1229s ok 2 /assert/static 1229s # End of assert tests 1229s # Start of struct tests 1229s ok 3 /struct/sizeof_member 1229s # End of struct tests 1229s ok - glib/macros.test 1229s # Running test: glib/gobject-query.py.test 1229s TAP version 13 1229s ok 1 __main__.TestGobjectQuery.test_froots 1229s # gobject-query: /usr/bin/gobject-query 1229s # Running: ['/usr/bin/gobject-query', 'froots'] 1229s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1229s # Output: ├void 1229s # ├GInterface 1229s # │ └GTypePlugin 1229s # ├gchar 1229s # ├guchar 1229s # ├gboolean 1229s # ├gint 1229s # ├guint 1229s # ├glong 1229s # ├gulong 1229s # ├gint64 1229s # ├guint64 1229s # ├GEnum 1229s # ├GFlags 1229s # ├gfloat 1229s # ├gdouble 1229s # ├gchararray 1229s # ├gpointer 1229s # │ └GType 1229s # ├GBoxed 1229s # │ └GValueArray 1229s # ├GParam 1229s # │ ├GParamChar 1229s # │ ├GParamUChar 1229s # │ ├GParamBoolean 1229s # │ ├GParamInt 1229s # │ ├GParamUInt 1229s # │ ├GParamLong 1229s # │ ├GParamULong 1229s # │ ├GParamInt64 1229s # │ ├GParamUInt64 1229s # │ ├GParamUnichar 1229s # │ ├GParamEnum 1229s # │ ├GParamFlags 1229s # │ ├GParamFloat 1229s # │ ├GParamDouble 1229s # │ ├GParamString 1229s # │ ├GParamParam 1229s # │ ├GParamBoxed 1229s # │ ├GParamPointer 1229s # │ ├GParamValueArray 1229s # │ ├GParamObject 1229s # │ ├GParamOverride 1229s # │ ├GParamGType 1229s # │ └GParamVariant 1229s # ├GObject 1229s # └GVariant 1229s ok 2 __main__.TestGobjectQuery.test_help 1229s # gobject-query: /usr/bin/gobject-query 1229s # Running: ['/usr/bin/gobject-query', '--help'] 1229s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1229s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 1229s # -r specify root type 1229s # -n don't descend type tree 1229s # -h show help 1229s # -b specify indent string 1229s # -i specify incremental indent string 1229s # -s specify line spacing 1229s # qualifiers: 1229s # froots iterate over fundamental roots 1229s # tree print type tree 1229s ok 3 __main__.TestGobjectQuery.test_tree 1229s # gobject-query: /usr/bin/gobject-query 1229s # Running: ['/usr/bin/gobject-query', 'tree'] 1229s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1229s # Output: GObject 1229s ok 4 __main__.TestGobjectQuery.test_version 1229s # gobject-query: /usr/bin/gobject-query 1229s # Running: ['/usr/bin/gobject-query', '--version'] 1229s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1229s # Output: 2.82.4 1229s 1..4 1229s ok - glib/gobject-query.py.test 1229s # Running test: glib/mount-operation.test 1229s TAP version 14 1229s # random seed: R02S60a67819f19b5c8318c3803779cd1de8 1229s 1..2 1229s # Start of mount-operation tests 1229s ok 1 /mount-operation/construction 1229s ok 2 /mount-operation/properties 1229s # End of mount-operation tests 1229s ok - glib/mount-operation.test 1229s # Running test: glib/rec-mutex.test 1229s TAP version 14 1229s # random seed: R02S14ccae9d4e0077f46876b4efeb259bc9 1229s 1..29 1229s # Start of thread tests 1229s ok 1 /thread/rec-mutex1 1229s ok 2 /thread/rec-mutex2 1229s ok 3 /thread/rec-mutex3 1229s ok 4 /thread/rec-mutex4 1229s # Start of rec-mutex tests 1229s # Start of perf tests 1229s # Start of uncontended tests 1229s # max perf: 1.000000 mips 1229s ok 5 /thread/rec-mutex/perf/uncontended/depth1 1229s # max perf: inf mips 1229s ok 6 /thread/rec-mutex/perf/uncontended/depth2 1229s # max perf: inf mips 1229s ok 7 /thread/rec-mutex/perf/uncontended/depth3 1229s # max perf: 1.000000 mips 1229s ok 8 /thread/rec-mutex/perf/uncontended/depth4 1229s # max perf: 1.000000 mips 1229s ok 9 /thread/rec-mutex/perf/uncontended/depth5 1229s # End of uncontended tests 1229s # Start of contended1 tests 1229s # max perf: inf mips 1229s ok 10 /thread/rec-mutex/perf/contended1/depth1 1229s # max perf: inf mips 1229s ok 11 /thread/rec-mutex/perf/contended1/depth2 1229s # max perf: 2.000000 mips 1229s ok 12 /thread/rec-mutex/perf/contended1/depth3 1229s # max perf: inf mips 1229s ok 13 /thread/rec-mutex/perf/contended1/depth4 1229s # max perf: 2.000000 mips 1229s ok 14 /thread/rec-mutex/perf/contended1/depth5 1229s # End of contended1 tests 1229s # Start of contended2 tests 1229s # max perf: inf mips 1229s ok 15 /thread/rec-mutex/perf/contended2/depth1 1229s # max perf: inf mips 1229s ok 16 /thread/rec-mutex/perf/contended2/depth2 1229s # max perf: 3.000000 mips 1229s ok 17 /thread/rec-mutex/perf/contended2/depth3 1229s # max perf: 3.000000 mips 1229s ok 18 /thread/rec-mutex/perf/contended2/depth4 1229s # max perf: inf mips 1229s ok 19 /thread/rec-mutex/perf/contended2/depth5 1229s # End of contended2 tests 1229s # Start of contended3 tests 1229s # max perf: inf mips 1229s ok 20 /thread/rec-mutex/perf/contended3/depth1 1229s # max perf: 4.000000 mips 1229s ok 21 /thread/rec-mutex/perf/contended3/depth2 1229s # max perf: inf mips 1229s ok 22 /thread/rec-mutex/perf/contended3/depth3 1229s # max perf: inf mips 1229s ok 23 /thread/rec-mutex/perf/contended3/depth4 1229s # max perf: 4.000000 mips 1229s ok 24 /thread/rec-mutex/perf/contended3/depth5 1229s # End of contended3 tests 1229s # Start of contended4 tests 1229s # max perf: inf mips 1229s ok 25 /thread/rec-mutex/perf/contended4/depth1 1229s # max perf: 5.000000 mips 1229s ok 26 /thread/rec-mutex/perf/contended4/depth2 1229s # max perf: 5.000000 mips 1229s ok 27 /thread/rec-mutex/perf/contended4/depth3 1229s # max perf: 5.000000 mips 1229s ok 28 /thread/rec-mutex/perf/contended4/depth4 1229s # max perf: 5.000000 mips 1229s ok 29 /thread/rec-mutex/perf/contended4/depth5 1229s # End of contended4 tests 1229s # End of perf tests 1229s # End of rec-mutex tests 1229s # End of thread tests 1229s ok - glib/rec-mutex.test 1229s # Running test: glib/dynamictests.test 1229s TAP version 14 1229s # random seed: R02Sd5be765d06ab456698ab5ac2206c385d 1229s 1..2 1229s # Start of GObject tests 1229s ok 1 /GObject/threaded-dynamic-ref-unref-init 1229s ok 2 /GObject/dynamic-interface-properties 1229s # End of GObject tests 1229s ok - glib/dynamictests.test 1229s # Running test: glib/memory-monitor-dbus.test 1229s TAP version 13 1229s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 1229s 1..1 1229s ok - glib/memory-monitor-dbus.test 1229s # Running test: glib/sleepy-stream.test 1229s TAP version 14 1229s # random seed: R02S4b5fa8521fcd206f6234672870442b4a 1229s 1..2 1229s # Start of filter-stream tests 1229s ok 1 /filter-stream/input 1229s ok 2 /filter-stream/async 1229s # End of filter-stream tests 1229s ok - glib/sleepy-stream.test 1229s # Running test: glib/gdbus-close-pending.test 1229s TAP version 14 1229s # random seed: R02S832ea3e8d190e79a5c23e6ea10435b0d 1229s 1..2 1229s # Start of gdbus tests 1229s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_YCHMZ2/gdbus/close-pending/.dirs/home 1229s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_YCHMZ2/gdbus/close-pending/.dirs/cache 1229s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_YCHMZ2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_YCHMZ2/gdbus/close-pending/.dirs/system-config2 1229s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_YCHMZ2/gdbus/close-pending/.dirs/config 1229s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_YCHMZ2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_YCHMZ2/gdbus/close-pending/.dirs/system-data2 1229s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_YCHMZ2/gdbus/close-pending/.dirs/data 1229s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_YCHMZ2/gdbus/close-pending/.dirs/state 1229s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_YCHMZ2/gdbus/close-pending/.dirs/runtime 1229s ok 1 /gdbus/close-pending 1229s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_YCHMZ2/gdbus/unref-pending/.dirs/home 1229s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_YCHMZ2/gdbus/unref-pending/.dirs/cache 1229s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_YCHMZ2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_YCHMZ2/gdbus/unref-pending/.dirs/system-config2 1229s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_YCHMZ2/gdbus/unref-pending/.dirs/config 1229s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_YCHMZ2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_YCHMZ2/gdbus/unref-pending/.dirs/system-data2 1229s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_YCHMZ2/gdbus/unref-pending/.dirs/data 1229s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_YCHMZ2/gdbus/unref-pending/.dirs/state 1229s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_YCHMZ2/gdbus/unref-pending/.dirs/runtime 1230s ok 2 /gdbus/unref-pending 1230s # End of gdbus tests 1230s ok - glib/gdbus-close-pending.test 1230s # Running test: glib/gdbus-proxy-well-known-name.test 1230s TAP version 14 1230s # random seed: R02Sde733c4e909dc618fdff9168b3a78a23 1230s 1..1 1230s # Start of gdbus tests 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_U2ZWZ2/gdbus/proxy-well-known-name/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_U2ZWZ2/gdbus/proxy-well-known-name/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_U2ZWZ2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_U2ZWZ2/gdbus/proxy-well-known-name/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_U2ZWZ2/gdbus/proxy-well-known-name/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_U2ZWZ2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_U2ZWZ2/gdbus/proxy-well-known-name/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_U2ZWZ2/gdbus/proxy-well-known-name/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_U2ZWZ2/gdbus/proxy-well-known-name/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_U2ZWZ2/gdbus/proxy-well-known-name/.dirs/runtime 1230s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s ok 1 /gdbus/proxy-well-known-name 1230s # End of gdbus tests 1230s ok - glib/gdbus-proxy-well-known-name.test 1230s # Running test: glib/gnotification.test 1230s TAP version 14 1230s # random seed: R02Sa531af76e19d17698c2f205bc5f55bf7 1230s 1..2 1230s # Start of gnotification tests 1230s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1230s ok 1 /gnotification/basic 1230s ok 2 /gnotification/properties 1230s # End of gnotification tests 1230s ok - glib/gnotification.test 1230s # Running test: glib/strfuncs.test 1230s TAP version 14 1230s # random seed: R02S779070cf8863b08840c7889401b58230 1230s 1..50 1230s # Start of strfuncs tests 1230s ok 1 /strfuncs/ascii-strcasecmp 1230s ok 2 /strfuncs/ascii_strdown 1230s ok 3 /strfuncs/ascii_strdup 1230s ok 4 /strfuncs/ascii_strtod 1230s ok 5 /strfuncs/bounds-check 1230s ok 6 /strfuncs/has-prefix 1230s ok 7 /strfuncs/has-prefix-macro 1230s ok 8 /strfuncs/has-suffix 1230s ok 9 /strfuncs/has-suffix-macro 1230s ok 10 /strfuncs/memdup 1230s ok 11 /strfuncs/memdup2 1230s ok 12 /strfuncs/set_str 1230s ok 13 /strfuncs/stpcpy 1230s ok 14 /strfuncs/str_match_string 1230s ok 15 /strfuncs/str_tokenize_and_fold 1230s ok 16 /strfuncs/strcanon 1230s ok 17 /strfuncs/strchomp 1230s ok 18 /strfuncs/strchug 1230s ok 19 /strfuncs/strcompress-strescape 1230s ok 20 /strfuncs/strconcat 1230s ok 21 /strfuncs/strdelimit 1230s ok 22 /strfuncs/strdup 1230s ok 23 /strfuncs/strdup-printf 1230s ok 24 /strfuncs/strdupv 1230s ok 25 /strfuncs/strerror 1230s ok 26 /strfuncs/strip-context 1230s ok 27 /strfuncs/strjoin 1230s ok 28 /strfuncs/strjoinv 1230s ok 29 /strfuncs/strlcat 1230s ok 30 /strfuncs/strlcpy 1230s ok 31 /strfuncs/strncasecmp 1230s ok 32 /strfuncs/strndup 1230s ok 33 /strfuncs/strnfill 1230s ok 34 /strfuncs/strreverse 1230s ok 35 /strfuncs/strsignal 1230s ok 36 /strfuncs/strsplit 1230s ok 37 /strfuncs/strsplit-set 1230s ok 38 /strfuncs/strstr 1230s ok 39 /strfuncs/strtod 1230s ok 40 /strfuncs/strtoull-strtoll 1230s ok 41 /strfuncs/strup 1230s ok 42 /strfuncs/strv-contains 1230s ok 43 /strfuncs/strv-equal 1230s ok 44 /strfuncs/strv-length 1230s ok 45 /strfuncs/test-is-to-digit 1230s ok 46 /strfuncs/transliteration 1230s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 1230s ok 47 /strfuncs/str-equal 1230s # Start of ascii-string-to-num tests 1230s ok 48 /strfuncs/ascii-string-to-num/pathological 1230s ok 49 /strfuncs/ascii-string-to-num/usual 1230s # End of ascii-string-to-num tests 1230s # Start of strdup tests 1230s ok 50 /strfuncs/strdup/inline 1230s # End of strdup tests 1230s # End of strfuncs tests 1230s ok - glib/strfuncs.test 1230s # Running test: glib/g-icon.test 1230s TAP version 14 1230s # random seed: R02S7f0e6359993cdc5842079335da03ce45 1230s 1..6 1230s # Start of icons tests 1230s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1230s ok 1 /icons/to-string 1230s ok 2 /icons/serialize 1230s ok 3 /icons/themed 1230s ok 4 /icons/emblemed 1230s ok 5 /icons/file 1230s ok 6 /icons/bytes 1230s # End of icons tests 1230s ok - glib/g-icon.test 1230s # Running test: glib/cxx.test 1230s TAP version 14 1230s # random seed: R02Sb32d361c70e6750025a4e3d571d4193e 1230s 1..2 1230s # Start of gtask tests 1230s # 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. 1230s ok 1 /gtask/name 1230s # Start of name tests 1230s # 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. 1230s ok 2 /gtask/name/macro-wrapper 1230s # End of name tests 1230s # End of gtask tests 1230s ok - glib/cxx.test 1230s # Running test: glib/dump.test 1230s TAP version 14 1230s # random seed: R02Sc5dd6b71b3c5890dd72544ad4c5a1da9 1230s 1..4 1230s # Start of dump tests 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_X8CVZ2/dump/empty-file/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_X8CVZ2/dump/empty-file/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_X8CVZ2/dump/empty-file/.dirs/system-config1:/tmp/test_dump_X8CVZ2/dump/empty-file/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_X8CVZ2/dump/empty-file/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_X8CVZ2/dump/empty-file/.dirs/system-data1:/tmp/test_dump_X8CVZ2/dump/empty-file/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_X8CVZ2/dump/empty-file/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_X8CVZ2/dump/empty-file/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_X8CVZ2/dump/empty-file/.dirs/runtime 1230s ok 1 /dump/empty-file 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_X8CVZ2/dump/missing-get-type/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_X8CVZ2/dump/missing-get-type/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_X8CVZ2/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_X8CVZ2/dump/missing-get-type/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_X8CVZ2/dump/missing-get-type/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_X8CVZ2/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_X8CVZ2/dump/missing-get-type/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_X8CVZ2/dump/missing-get-type/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_X8CVZ2/dump/missing-get-type/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_X8CVZ2/dump/missing-get-type/.dirs/runtime 1230s Invalid GType function: 'does_not_exist_get_type' 1230s ok 2 /dump/missing-get-type 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_X8CVZ2/dump/missing-quark/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_X8CVZ2/dump/missing-quark/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_X8CVZ2/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_X8CVZ2/dump/missing-quark/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_X8CVZ2/dump/missing-quark/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_X8CVZ2/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_X8CVZ2/dump/missing-quark/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_X8CVZ2/dump/missing-quark/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_X8CVZ2/dump/missing-quark/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_X8CVZ2/dump/missing-quark/.dirs/runtime 1230s Invalid error quark function: 'does_not_exist_error' 1230s ok 3 /dump/missing-quark 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_X8CVZ2/dump/basic/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_X8CVZ2/dump/basic/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_X8CVZ2/dump/basic/.dirs/system-config1:/tmp/test_dump_X8CVZ2/dump/basic/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_X8CVZ2/dump/basic/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_X8CVZ2/dump/basic/.dirs/system-data1:/tmp/test_dump_X8CVZ2/dump/basic/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_X8CVZ2/dump/basic/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_X8CVZ2/dump/basic/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_X8CVZ2/dump/basic/.dirs/runtime 1230s ok 4 /dump/basic 1230s # End of dump tests 1230s ok - glib/dump.test 1230s # Running test: glib/gdbus-exit-on-close.test 1230s TAP version 14 1230s # random seed: R02S7b703f5c32cd75a3d0ebbb4b2d5e2f71 1230s 1..4 1230s # Start of gdbus tests 1230s # Start of exit-on-close tests 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/default/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/default/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/default/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/default/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/default/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/default/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/default/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/default/.dirs/runtime 1230s ok 1 /gdbus/exit-on-close/default 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/true/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/true/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/true/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/true/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/true/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/true/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/true/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/true/.dirs/runtime 1230s ok 2 /gdbus/exit-on-close/true 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/false/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/false/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/false/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/false/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/false/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/false/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/false/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/false/.dirs/runtime 1230s ok 3 /gdbus/exit-on-close/false 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/we-close/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/we-close/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/we-close/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/we-close/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/we-close/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/we-close/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/we-close/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_IC7UZ2/gdbus/exit-on-close/we-close/.dirs/runtime 1230s ok 4 /gdbus/exit-on-close/we-close 1230s # Start of default tests 1230s # End of default tests 1230s # Start of true tests 1230s # End of true tests 1230s # Start of false tests 1230s # End of false tests 1230s # Start of we-close tests 1230s # End of we-close tests 1230s # End of exit-on-close tests 1230s # End of gdbus tests 1230s ok - glib/gdbus-exit-on-close.test 1230s # Running test: glib/signals-refcount2.test 1230s TAP version 14 1230s # random seed: R02S45a2228c6548b58fc1b00bb996d15a31 1230s 1..1 1230s # Start of gobject tests 1230s # Start of refcount tests 1230s # init 0xc8871bdb9430 1230s # 1230s # init 0xc8871bdb95d0 1230s # 1233s # Executing: glib/signals-refcount2.test 1235s # dispose 0xc8871bdb9430! 1235s # 1235s # dispose 0xc8871bdb95d0! 1235s # 1235s ok 1 /gobject/refcount/signals 1235s # slow test /gobject/refcount/signals executed in 5.00 secs 1235s # End of refcount tests 1235s # End of gobject tests 1235s ok - glib/signals-refcount2.test 1235s # Running test: glib/registered-type-info.test 1235s TAP version 14 1235s # random seed: R02S33447972c868f9a5ff2258271f67224a 1235s 1..1 1235s # Start of registered-type-info tests 1235s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_MY6LZ2/registered-type-info/boxed/.dirs/home 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_MY6LZ2/registered-type-info/boxed/.dirs/cache 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_MY6LZ2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_MY6LZ2/registered-type-info/boxed/.dirs/system-config2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_MY6LZ2/registered-type-info/boxed/.dirs/config 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_MY6LZ2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_MY6LZ2/registered-type-info/boxed/.dirs/system-data2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_MY6LZ2/registered-type-info/boxed/.dirs/data 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_MY6LZ2/registered-type-info/boxed/.dirs/state 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_MY6LZ2/registered-type-info/boxed/.dirs/runtime 1235s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1235s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 1235s # Expecting CClosure to not be boxed 1235s # Expecting TypeCValue to not be boxed 1235s # Expecting InitiallyUnownedClass to not be boxed 1235s # Expecting BookmarkFile to be boxed 1235s # Expecting Closure to be boxed 1235s # Expecting Object to not be boxed 1235s ok 1 /registered-type-info/boxed 1235s # End of registered-type-info tests 1235s ok - glib/registered-type-info.test 1235s # Running test: glib/testing.test 1235s TAP version 14 1235s # random seed: R02Sbb508d1c76e250a2493e65af92ca7df7 1235s 1..1 1235s # Start of assert tests 1235s ok 1 /assert/finalize_object 1235s # Start of finalize_object tests 1235s # Start of subprocess tests 1235s # End of subprocess tests 1235s # End of finalize_object tests 1235s # End of assert tests 1235s ok - glib/testing.test 1235s # Running test: glib/null-settings-backend.test 1235s TAP version 14 1235s # random seed: R02Sba6a4ceecdfdd40879d156498f4164dd 1235s 1..1 1235s # Start of null-settings-backend tests 1235s ok 1 /null-settings-backend/extension-point-registered 1235s # End of null-settings-backend tests 1235s ok - glib/null-settings-backend.test 1235s # Running test: glib/spawn-test.test 1235s TAP version 14 1235s # random seed: R02S5b5d81dae418ed6bfa8c607451dcc5ac 1235s 1..2 1235s # Start of spawn tests 1235s ok 1 /spawn/basics 1235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 1235s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 1235s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 1235s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 1235s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 1235s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 1235s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 1235s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 1235s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 1235s # Fetching GSpawn result output with stdin open, stdout open, stderr open 1235s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 1235s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 1235s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 1235s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 1235s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 1235s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 1235s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 1235s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 1235s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 1235s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 1235s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 1235s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 1235s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 1235s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 1235s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 1235s # Fetching GSpawn result with stdin open, stdout open, stderr open 1235s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 1235s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 1235s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 1235s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 1235s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 1235s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 1235s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 1235s ok 2 /spawn/stdio-overwrite 1235s # End of spawn tests 1235s ok - glib/spawn-test.test 1235s # Running test: glib/hash.test 1235s TAP version 14 1235s # random seed: R02S583a5db5aaa0fc4615a8bf3e3d7e9b03 1235s 1..34 1235s # Start of hash tests 1235s ok 1 /hash/misc 1235s ok 2 /hash/one 1235s ok 3 /hash/honeyman 1235s ok 4 /hash/direct 1235s ok 5 /hash/direct2 1235s ok 6 /hash/int 1235s ok 7 /hash/int64 1235s ok 8 /hash/double 1235s ok 9 /hash/string 1235s ok 10 /hash/set 1235s ok 11 /hash/set-ref 1235s ok 12 /hash/ref 1235s ok 13 /hash/remove-all 1235s ok 14 /hash/recursive-remove-all 1235s ok 15 /hash/find 1235s ok 16 /hash/foreach 1235s ok 17 /hash/foreach-steal 1235s ok 18 /hash/steal-extended 1235s ok 19 /hash/steal-all-keys 1235s ok 20 /hash/steal-all-values 1235s ok 21 /hash/lookup-extended 1235s ok 22 /hash/new-similar 1235s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 1235s ok 23 /hash/lookup-null-key 1235s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 1235s ok 24 /hash/destroy-modify 1235s ok 25 /hash/consistency 1235s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 1235s ok 26 /hash/iter-replace 1235s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 1235s ok 27 /hash/set-insert-corruption 1235s ok 28 /hash/set-to-strv 1235s ok 29 /hash/get-keys-as-ptr-array 1235s ok 30 /hash/get-values-as-ptr-array 1235s ok 31 /hash/primes 1235s # Start of int64 tests 1235s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 1235s ok 32 /hash/int64/collisions 1235s # End of int64 tests 1235s # Start of double tests 1235s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 1235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 1235s ok 33 /hash/double/collisions 1235s # End of double tests 1235s # Start of recursive-remove-all tests 1235s # End of recursive-remove-all tests 1235s # Start of steal-extended tests 1235s ok 34 /hash/steal-extended/optional 1235s # End of steal-extended tests 1235s # End of hash tests 1235s ok - glib/hash.test 1235s # Running test: glib/basics-gobject.test 1235s TAP version 14 1235s # random seed: R02S3d9cad317f9e4aed270c5b752885b973 1235s 1..1 1235s # Start of gobject tests 1235s # private data during initialization: 54321 == 54321 1235s # MAIN: emit test-signal: 1235s # ::test_signal default_handler called 1235s # ::test_signal default_handler called 1235s # ::test_signal default_handler called 1235s # signal return: "" 1235s # MAIN: call iface print-string on test and derived object: 1235s # Iface-FOO: "iface-string-from-test-type" from 0xaedae77657b0 1235s # Iface-BAR: "iface-string-from-derived-type" from 0xaedae77656d0 1235s # chaining: 1235s # Iface-FOO: "iface-string-from-derived-type" from 0xaedae77656d0 1235s # private data after initialization: 54321 == 54321 1235s ok 1 /gobject/basics 1235s # End of gobject tests 1235s ok - glib/basics-gobject.test 1235s # Running test: glib/macros-c-17.test 1235s TAP version 14 1235s # random seed: R02S732c4715bd152490aab61543bcdfdfd0 1235s 1..4 1235s # Start of C tests 1235s ok 1 /C/standard-17 1235s # End of C tests 1235s # Start of alignof tests 1235s ok 2 /alignof/fallback 1235s # End of alignof tests 1235s # Start of assert tests 1235s ok 3 /assert/static 1235s # End of assert tests 1235s # Start of struct tests 1235s ok 4 /struct/sizeof_member 1235s # End of struct tests 1235s ok - glib/macros-c-17.test 1235s # Running test: glib/portal-support-snap.test 1235s TAP version 14 1235s # random seed: R02Saaf0209535ed5bd1e4de9e2ba6d75be5 1235s 1..7 1235s # Start of portal-support tests 1235s # Start of snap tests 1235s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/no-snapctl/.dirs/home 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/no-snapctl/.dirs/cache 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/no-snapctl/.dirs/system-config2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/no-snapctl/.dirs/config 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/no-snapctl/.dirs/system-data2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/no-snapctl/.dirs/data 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/no-snapctl/.dirs/state 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/no-snapctl/.dirs/runtime 1235s # Created snap.yaml in /tmp/test_portal-support-snap_4MPLZ2/meta/snap.yaml 1235s Unable to clean up temporary directory /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/no-snapctl: No such file or directory 1235s ok 1 /portal-support/snap/no-snapctl 1235s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/none/.dirs/home 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/none/.dirs/cache 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/none/.dirs/system-config2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/none/.dirs/config 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/none/.dirs/system-data2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/none/.dirs/data 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/none/.dirs/state 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/none/.dirs/runtime 1235s # Created snap.yaml in /tmp/test_portal-support-snap_4MPLZ2/meta/snap.yaml 1235s # Created snapctl in /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/none/.dirs/runtime/snapctl 1235s Unable to clean up temporary directory /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/none: No such file or directory 1235s ok 2 /portal-support/snap/none 1235s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/all/.dirs/home 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/all/.dirs/cache 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/all/.dirs/system-config2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/all/.dirs/config 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/all/.dirs/system-data2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/all/.dirs/data 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/all/.dirs/state 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/all/.dirs/runtime 1235s # Created snap.yaml in /tmp/test_portal-support-snap_4MPLZ2/meta/snap.yaml 1235s # Created snapctl in /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/all/.dirs/runtime/snapctl 1235s Unable to clean up temporary directory /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/all: No such file or directory 1235s ok 3 /portal-support/snap/all 1235s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/desktop-only/.dirs/home 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/desktop-only/.dirs/cache 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/desktop-only/.dirs/system-config2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/desktop-only/.dirs/config 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/desktop-only/.dirs/system-data2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/desktop-only/.dirs/data 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/desktop-only/.dirs/state 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/desktop-only/.dirs/runtime 1235s # Created snap.yaml in /tmp/test_portal-support-snap_4MPLZ2/meta/snap.yaml 1235s # Created snapctl in /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/desktop-only/.dirs/runtime/snapctl 1235s Unable to clean up temporary directory /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/desktop-only: No such file or directory 1235s ok 4 /portal-support/snap/desktop-only 1235s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/network-only/.dirs/home 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/network-only/.dirs/cache 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/network-only/.dirs/system-config2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/network-only/.dirs/config 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/network-only/.dirs/system-data2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/network-only/.dirs/data 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/network-only/.dirs/state 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/network-only/.dirs/runtime 1235s # Created snap.yaml in /tmp/test_portal-support-snap_4MPLZ2/meta/snap.yaml 1235s # Created snapctl in /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/network-only/.dirs/runtime/snapctl 1235s Unable to clean up temporary directory /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/network-only: No such file or directory 1235s ok 5 /portal-support/snap/network-only 1235s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/gsettings-only/.dirs/home 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/gsettings-only/.dirs/cache 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/gsettings-only/.dirs/system-config2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/gsettings-only/.dirs/config 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/gsettings-only/.dirs/system-data2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/gsettings-only/.dirs/data 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/gsettings-only/.dirs/state 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/gsettings-only/.dirs/runtime 1235s # Created snap.yaml in /tmp/test_portal-support-snap_4MPLZ2/meta/snap.yaml 1235s # Created snapctl in /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 1235s Unable to clean up temporary directory /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/gsettings-only: No such file or directory 1235s ok 6 /portal-support/snap/gsettings-only 1235s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/updates-dynamically/.dirs/home 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/updates-dynamically/.dirs/cache 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/updates-dynamically/.dirs/system-config2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/updates-dynamically/.dirs/config 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/updates-dynamically/.dirs/system-data2 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/updates-dynamically/.dirs/data 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/updates-dynamically/.dirs/state 1235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/updates-dynamically/.dirs/runtime 1235s # Created snap.yaml in /tmp/test_portal-support-snap_4MPLZ2/meta/snap.yaml 1235s # Created snapctl in /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1235s # Created snapctl in /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1235s # Created snapctl in /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1235s # Created snapctl in /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1235s # Created snapctl in /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1235s # Created snapctl in /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1235s # Created snapctl in /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1235s Unable to clean up temporary directory /tmp/test_portal-support-snap_4MPLZ2/portal-support/snap/updates-dynamically: No such file or directory 1235s ok 7 /portal-support/snap/updates-dynamically 1235s # End of snap tests 1235s # End of portal-support tests 1235s Unable to clean up temporary directory /tmp/test_portal-support-snap_4MPLZ2: No such file or directory 1235s ok - glib/portal-support-snap.test 1235s # Running test: glib/strvbuilder.test 1235s TAP version 14 1235s # random seed: R02S313bfe2a3cf260a7ce530e119cac4456 1235s 1..7 1235s # Start of strvbuilder tests 1235s ok 1 /strvbuilder/empty 1235s ok 2 /strvbuilder/add 1235s ok 3 /strvbuilder/addv 1235s ok 4 /strvbuilder/add_many 1235s ok 5 /strvbuilder/take 1235s ok 6 /strvbuilder/ref 1235s ok 7 /strvbuilder/unref_to_strv 1235s # End of strvbuilder tests 1235s ok - glib/strvbuilder.test 1235s # Running test: glib/thread.test 1235s TAP version 14 1235s # random seed: R02S06e2e10fa591d02f501c4f5addeca9a8 1235s 1..7 1235s # Start of thread tests 1235s ok 1 /thread/thread1 1235s ok 2 /thread/thread2 1235s ok 3 /thread/thread3 1235s ok 4 /thread/thread4 1235s ok 5 /thread/thread5 1235s ok 6 /thread/thread6 1235s ok 7 /thread/thread7 1235s # End of thread tests 1235s ok - glib/thread.test 1235s # Running test: glib/mkenums.py.test 1235s TAP version 13 1235s ok 1 __main__.TestMkenums.test_available_in 1235s # tmpdir: /tmp/tmpi1amc0aq 1235s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1235s # /tmp/tmpi1amc0aq/tmpuks6f6k1.h: 1235s # typedef enum { 1235s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1235s # } GDBusServerFlags; 1235s # 1235s # /tmp/tmpi1amc0aq/tmp4ohhbrv2.template: 1235s # /*** BEGIN file-header ***/ 1235s # file-header 1235s # /*** END file-header ***/ 1235s # 1235s # /*** BEGIN file-production ***/ 1235s # file-production 1235s # filename: @filename@ 1235s # basename: @basename@ 1235s # /*** END file-production ***/ 1235s # 1235s # /*** BEGIN enumeration-production ***/ 1235s # enumeration-production 1235s # EnumName: @EnumName@ 1235s # enum_name: @enum_name@ 1235s # ENUMNAME: @ENUMNAME@ 1235s # ENUMSHORT: @ENUMSHORT@ 1235s # ENUMPREFIX: @ENUMPREFIX@ 1235s # enumsince: @enumsince@ 1235s # type: @type@ 1235s # Type: @Type@ 1235s # TYPE: @TYPE@ 1235s # /*** END enumeration-production ***/ 1235s # 1235s # /*** BEGIN value-header ***/ 1235s # value-header 1235s # EnumName: @EnumName@ 1235s # enum_name: @enum_name@ 1235s # ENUMNAME: @ENUMNAME@ 1235s # ENUMSHORT: @ENUMSHORT@ 1235s # ENUMPREFIX: @ENUMPREFIX@ 1235s # enumsince: @enumsince@ 1235s # type: @type@ 1235s # Type: @Type@ 1235s # TYPE: @TYPE@ 1235s # /*** END value-header ***/ 1235s # 1235s # /*** BEGIN value-production ***/ 1235s # value-production 1235s # VALUENAME: @VALUENAME@ 1235s # valuenick: @valuenick@ 1235s # valuenum: @valuenum@ 1235s # type: @type@ 1235s # Type: @Type@ 1235s # TYPE: @TYPE@ 1235s # /*** END value-production ***/ 1235s # 1235s # /*** BEGIN value-tail ***/ 1235s # value-tail 1235s # EnumName: @EnumName@ 1235s # enum_name: @enum_name@ 1235s # ENUMNAME: @ENUMNAME@ 1235s # ENUMSHORT: @ENUMSHORT@ 1235s # ENUMPREFIX: @ENUMPREFIX@ 1235s # enumsince: @enumsince@ 1235s # type: @type@ 1235s # Type: @Type@ 1235s # TYPE: @TYPE@ 1235s # /*** END value-tail ***/ 1235s # 1235s # /*** BEGIN comment ***/ 1235s # comment 1235s # comment: @comment@ 1235s # /*** END comment ***/ 1235s # 1235s # /*** BEGIN file-tail ***/ 1235s # file-tail 1235s # /*** END file-tail ***/ 1235s # 1235s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpi1amc0aq/tmp4ohhbrv2.template', '/tmp/tmpi1amc0aq/tmpuks6f6k1.h'] 1235s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1235s # Output: comment 1235s # 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. 1235s # 1235s # 1235s # file-header 1235s # file-production 1235s # filename: /tmp/tmpi1amc0aq/tmpuks6f6k1.h 1235s # basename: tmpuks6f6k1.h 1235s # enumeration-production 1235s # EnumName: GDBusServerFlags 1235s # enum_name: g_dbus_server_flags 1235s # ENUMNAME: G_DBUS_SERVER_FLAGS 1235s # ENUMSHORT: DBUS_SERVER_FLAGS 1235s # ENUMPREFIX: G 1235s # enumsince: 1235s # type: flags 1235s # Type: Flags 1235s # TYPE: FLAGS 1235s # value-header 1235s # EnumName: GDBusServerFlags 1235s # enum_name: g_dbus_server_flags 1235s # ENUMNAME: G_DBUS_SERVER_FLAGS 1235s # ENUMSHORT: DBUS_SERVER_FLAGS 1235s # ENUMPREFIX: G 1235s # enumsince: 1235s # type: flags 1235s # Type: Flags 1235s # TYPE: FLAGS 1235s # value-production 1235s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1235s # valuenick: user 1235s # valuenum: 4 1235s # type: flags 1235s # Type: Flags 1235s # TYPE: FLAGS 1235s # value-tail 1235s # EnumName: GDBusServerFlags 1235s # enum_name: g_dbus_server_flags 1235s # ENUMNAME: G_DBUS_SERVER_FLAGS 1235s # ENUMSHORT: DBUS_SERVER_FLAGS 1235s # ENUMPREFIX: G 1235s # enumsince: 1235s # type: flags 1235s # Type: Flags 1235s # TYPE: FLAGS 1235s # file-tail 1235s # 1235s # comment 1235s # comment: Generated data ends here 1235s ok 2 __main__.TestMkenums.test_comma_in_enum_value 1235s # tmpdir: /tmp/tmpq8r4i2hv 1235s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1235s # /tmp/tmpq8r4i2hv/tmpf_uybyr1.h: 1235s # typedef enum { 1235s # ENUM_VALUE_WITH_COMMA = ',', 1235s # } TestCommaEnum; 1235s # 1235s # /tmp/tmpq8r4i2hv/tmpjkus9u49.template: 1235s # /*** BEGIN file-header ***/ 1235s # file-header 1235s # /*** END file-header ***/ 1235s # 1235s # /*** BEGIN file-production ***/ 1235s # file-production 1235s # filename: @filename@ 1235s # basename: @basename@ 1235s # /*** END file-production ***/ 1235s # 1235s # /*** BEGIN enumeration-production ***/ 1235s # enumeration-production 1235s # EnumName: @EnumName@ 1235s # enum_name: @enum_name@ 1235s # ENUMNAME: @ENUMNAME@ 1235s # ENUMSHORT: @ENUMSHORT@ 1235s # ENUMPREFIX: @ENUMPREFIX@ 1235s # enumsince: @enumsince@ 1235s # type: @type@ 1235s # Type: @Type@ 1235s # TYPE: @TYPE@ 1235s # /*** END enumeration-production ***/ 1235s # 1235s # /*** BEGIN value-header ***/ 1235s # value-header 1235s # EnumName: @EnumName@ 1235s # enum_name: @enum_name@ 1235s # ENUMNAME: @ENUMNAME@ 1235s # ENUMSHORT: @ENUMSHORT@ 1235s # ENUMPREFIX: @ENUMPREFIX@ 1235s # enumsince: @enumsince@ 1235s # type: @type@ 1235s # Type: @Type@ 1235s # TYPE: @TYPE@ 1235s # /*** END value-header ***/ 1235s # 1235s # /*** BEGIN value-production ***/ 1235s # value-production 1235s # VALUENAME: @VALUENAME@ 1235s # valuenick: @valuenick@ 1235s # valuenum: @valuenum@ 1235s # type: @type@ 1235s # Type: @Type@ 1235s # TYPE: @TYPE@ 1235s # /*** END value-production ***/ 1235s # 1235s # /*** BEGIN value-tail ***/ 1235s # value-tail 1235s # EnumName: @EnumName@ 1235s # enum_name: @enum_name@ 1235s # ENUMNAME: @ENUMNAME@ 1235s # ENUMSHORT: @ENUMSHORT@ 1235s # ENUMPREFIX: @ENUMPREFIX@ 1235s # enumsince: @enumsince@ 1235s # type: @type@ 1235s # Type: @Type@ 1235s # TYPE: @TYPE@ 1235s # /*** END value-tail ***/ 1235s # 1235s # /*** BEGIN comment ***/ 1235s # comment 1235s # comment: @comment@ 1235s # /*** END comment ***/ 1235s # 1235s # /*** BEGIN file-tail ***/ 1235s # file-tail 1235s # /*** END file-tail ***/ 1235s # 1235s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpq8r4i2hv/tmpjkus9u49.template', '/tmp/tmpq8r4i2hv/tmpf_uybyr1.h'] 1235s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1235s # Output: comment 1235s # 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. 1235s # 1235s # 1235s # file-header 1235s # file-production 1235s # filename: /tmp/tmpq8r4i2hv/tmpf_uybyr1.h 1235s # basename: tmpf_uybyr1.h 1235s # enumeration-production 1235s # EnumName: TestCommaEnum 1235s # enum_name: test_comma_enum 1235s # ENUMNAME: TEST_COMMA_ENUM 1235s # ENUMSHORT: COMMA_ENUM 1235s # ENUMPREFIX: TEST 1235s # enumsince: 1235s # type: enum 1235s # Type: Enum 1235s # TYPE: ENUM 1235s # value-header 1235s # EnumName: TestCommaEnum 1235s # enum_name: test_comma_enum 1235s # ENUMNAME: TEST_COMMA_ENUM 1235s # ENUMSHORT: COMMA_ENUM 1235s # ENUMPREFIX: TEST 1235s # enumsince: 1235s # type: enum 1235s # Type: Enum 1235s # TYPE: ENUM 1235s # value-production 1235s # VALUENAME: ENUM_VALUE_WITH_COMMA 1235s # valuenick: comma 1235s # valuenum: 44 1235s # type: enum 1235s # Type: Enum 1235s # TYPE: ENUM 1235s # value-tail 1235s # EnumName: TestCommaEnum 1235s # enum_name: test_comma_enum 1235s # ENUMNAME: TEST_COMMA_ENUM 1235s # ENUMSHORT: COMMA_ENUM 1235s # ENUMPREFIX: TEST 1235s # enumsince: 1235s # type: enum 1235s # Type: Enum 1235s # TYPE: ENUM 1235s # file-tail 1235s # 1235s # comment 1235s # comment: Generated data ends here 1235s ok 3 __main__.TestMkenums.test_deprecated_in 1235s # tmpdir: /tmp/tmpnc_3pogf 1235s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1235s # /tmp/tmpnc_3pogf/tmpaw9j9j2_.h: 1235s # typedef enum { 1235s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1235s # } GDBusServerFlags; 1235s # 1235s # /tmp/tmpnc_3pogf/tmpntsvehld.template: 1235s # /*** BEGIN file-header ***/ 1235s # file-header 1235s # /*** END file-header ***/ 1235s # 1235s # /*** BEGIN file-production ***/ 1235s # file-production 1235s # filename: @filename@ 1235s # basename: @basename@ 1235s # /*** END file-production ***/ 1235s # 1235s # /*** BEGIN enumeration-production ***/ 1235s # enumeration-production 1235s # EnumName: @EnumName@ 1235s # enum_name: @enum_name@ 1235s # ENUMNAME: @ENUMNAME@ 1235s # ENUMSHORT: @ENUMSHORT@ 1235s # ENUMPREFIX: @ENUMPREFIX@ 1235s # enumsince: @enumsince@ 1235s # type: @type@ 1235s # Type: @Type@ 1235s # TYPE: @TYPE@ 1235s # /*** END enumeration-production ***/ 1235s # 1235s # /*** BEGIN value-header ***/ 1235s # value-header 1235s # EnumName: @EnumName@ 1235s # enum_name: @enum_name@ 1235s # ENUMNAME: @ENUMNAME@ 1235s # ENUMSHORT: @ENUMSHORT@ 1235s # ENUMPREFIX: @ENUMPREFIX@ 1235s # enumsince: @enumsince@ 1235s # type: @type@ 1235s # Type: @Type@ 1235s # TYPE: @TYPE@ 1235s # /*** END value-header ***/ 1235s # 1235s # /*** BEGIN value-production ***/ 1235s # value-production 1235s # VALUENAME: @VALUENAME@ 1235s # valuenick: @valuenick@ 1235s # valuenum: @valuenum@ 1235s # type: @type@ 1235s # Type: @Type@ 1235s # TYPE: @TYPE@ 1235s # /*** END value-production ***/ 1235s # 1235s # /*** BEGIN value-tail ***/ 1235s # value-tail 1235s # EnumName: @EnumName@ 1235s # enum_name: @enum_name@ 1235s # ENUMNAME: @ENUMNAME@ 1235s # ENUMSHORT: @ENUMSHORT@ 1235s # ENUMPREFIX: @ENUMPREFIX@ 1235s # enumsince: @enumsince@ 1235s # type: @type@ 1235s # Type: @Type@ 1235s # TYPE: @TYPE@ 1235s # /*** END value-tail ***/ 1235s # 1235s # /*** BEGIN comment ***/ 1235s # comment 1235s # comment: @comment@ 1235s # /*** END comment ***/ 1235s # 1235s # /*** BEGIN file-tail ***/ 1235s # file-tail 1235s # /*** END file-tail ***/ 1235s # 1235s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpnc_3pogf/tmpntsvehld.template', '/tmp/tmpnc_3pogf/tmpaw9j9j2_.h'] 1235s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1235s # Output: comment 1235s # 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. 1235s # 1235s # 1235s # file-header 1235s # file-production 1235s # filename: /tmp/tmpnc_3pogf/tmpaw9j9j2_.h 1235s # basename: tmpaw9j9j2_.h 1235s # enumeration-production 1235s # EnumName: GDBusServerFlags 1235s # enum_name: g_dbus_server_flags 1235s # ENUMNAME: G_DBUS_SERVER_FLAGS 1235s # ENUMSHORT: DBUS_SERVER_FLAGS 1235s # ENUMPREFIX: G 1235s # enumsince: 1235s # type: flags 1235s # Type: Flags 1235s # TYPE: FLAGS 1235s # value-header 1235s # EnumName: GDBusServerFlags 1235s # enum_name: g_dbus_server_flags 1235s # ENUMNAME: G_DBUS_SERVER_FLAGS 1235s # ENUMSHORT: DBUS_SERVER_FLAGS 1235s # ENUMPREFIX: G 1235s # enumsince: 1235s # type: flags 1235s # Type: Flags 1235s # TYPE: FLAGS 1235s # value-production 1235s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1235s # valuenick: user 1235s # valuenum: 4 1235s # type: flags 1235s # Type: Flags 1235s # TYPE: FLAGS 1235s # value-tail 1235s # EnumName: GDBusServerFlags 1235s # enum_name: g_dbus_server_flags 1235s # ENUMNAME: G_DBUS_SERVER_FLAGS 1235s # ENUMSHORT: DBUS_SERVER_FLAGS 1235s # ENUMPREFIX: G 1235s # enumsince: 1235s # type: flags 1235s # Type: Flags 1235s # TYPE: FLAGS 1235s # file-tail 1235s # 1235s # comment 1235s # comment: Generated data ends here 1236s ok 4 __main__.TestMkenums.test_deprecated_in_for 1236s # tmpdir: /tmp/tmpig7e9jcw 1236s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1236s # /tmp/tmpig7e9jcw/tmp302e7vz7.h: 1236s # typedef enum { 1236s # 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) 1236s # } GDBusServerFlags; 1236s # 1236s # /tmp/tmpig7e9jcw/tmpjqm6u551.template: 1236s # /*** BEGIN file-header ***/ 1236s # file-header 1236s # /*** END file-header ***/ 1236s # 1236s # /*** BEGIN file-production ***/ 1236s # file-production 1236s # filename: @filename@ 1236s # basename: @basename@ 1236s # /*** END file-production ***/ 1236s # 1236s # /*** BEGIN enumeration-production ***/ 1236s # enumeration-production 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END enumeration-production ***/ 1236s # 1236s # /*** BEGIN value-header ***/ 1236s # value-header 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-header ***/ 1236s # 1236s # /*** BEGIN value-production ***/ 1236s # value-production 1236s # VALUENAME: @VALUENAME@ 1236s # valuenick: @valuenick@ 1236s # valuenum: @valuenum@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-production ***/ 1236s # 1236s # /*** BEGIN value-tail ***/ 1236s # value-tail 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-tail ***/ 1236s # 1236s # /*** BEGIN comment ***/ 1236s # comment 1236s # comment: @comment@ 1236s # /*** END comment ***/ 1236s # 1236s # /*** BEGIN file-tail ***/ 1236s # file-tail 1236s # /*** END file-tail ***/ 1236s # 1236s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpig7e9jcw/tmpjqm6u551.template', '/tmp/tmpig7e9jcw/tmp302e7vz7.h'] 1236s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1236s # Output: comment 1236s # 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. 1236s # 1236s # 1236s # file-header 1236s # file-production 1236s # filename: /tmp/tmpig7e9jcw/tmp302e7vz7.h 1236s # basename: tmp302e7vz7.h 1236s # enumeration-production 1236s # EnumName: GDBusServerFlags 1236s # enum_name: g_dbus_server_flags 1236s # ENUMNAME: G_DBUS_SERVER_FLAGS 1236s # ENUMSHORT: DBUS_SERVER_FLAGS 1236s # ENUMPREFIX: G 1236s # enumsince: 1236s # type: flags 1236s # Type: Flags 1236s # TYPE: FLAGS 1236s # value-header 1236s # EnumName: GDBusServerFlags 1236s # enum_name: g_dbus_server_flags 1236s # ENUMNAME: G_DBUS_SERVER_FLAGS 1236s # ENUMSHORT: DBUS_SERVER_FLAGS 1236s # ENUMPREFIX: G 1236s # enumsince: 1236s # type: flags 1236s # Type: Flags 1236s # TYPE: FLAGS 1236s # value-production 1236s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1236s # valuenick: user 1236s # valuenum: 4 1236s # type: flags 1236s # Type: Flags 1236s # TYPE: FLAGS 1236s # value-tail 1236s # EnumName: GDBusServerFlags 1236s # enum_name: g_dbus_server_flags 1236s # ENUMNAME: G_DBUS_SERVER_FLAGS 1236s # ENUMSHORT: DBUS_SERVER_FLAGS 1236s # ENUMPREFIX: G 1236s # enumsince: 1236s # type: flags 1236s # Type: Flags 1236s # TYPE: FLAGS 1236s # file-tail 1236s # 1236s # comment 1236s # comment: Generated data ends here 1236s ok 5 __main__.TestMkenums.test_empty_header 1236s # tmpdir: /tmp/tmp5iw046az 1236s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1236s # /tmp/tmp5iw046az/tmpoocjbl20.h: 1236s # /tmp/tmp5iw046az/tmphash7apw.template: 1236s # /*** BEGIN file-header ***/ 1236s # file-header 1236s # /*** END file-header ***/ 1236s # 1236s # /*** BEGIN file-production ***/ 1236s # file-production 1236s # filename: @filename@ 1236s # basename: @basename@ 1236s # /*** END file-production ***/ 1236s # 1236s # /*** BEGIN enumeration-production ***/ 1236s # enumeration-production 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END enumeration-production ***/ 1236s # 1236s # /*** BEGIN value-header ***/ 1236s # value-header 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-header ***/ 1236s # 1236s # /*** BEGIN value-production ***/ 1236s # value-production 1236s # VALUENAME: @VALUENAME@ 1236s # valuenick: @valuenick@ 1236s # valuenum: @valuenum@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-production ***/ 1236s # 1236s # /*** BEGIN value-tail ***/ 1236s # value-tail 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-tail ***/ 1236s # 1236s # /*** BEGIN comment ***/ 1236s # comment 1236s # comment: @comment@ 1236s # /*** END comment ***/ 1236s # 1236s # /*** BEGIN file-tail ***/ 1236s # file-tail 1236s # /*** END file-tail ***/ 1236s # 1236s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5iw046az/tmphash7apw.template', '/tmp/tmp5iw046az/tmpoocjbl20.h'] 1236s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1236s # Output: comment 1236s # 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. 1236s # 1236s # 1236s # file-header 1236s # file-tail 1236s # 1236s # comment 1236s # comment: Generated data ends here 1236s ok 6 __main__.TestMkenums.test_empty_template 1236s # tmpdir: /tmp/tmp9pmmo_ar 1236s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1236s # /tmp/tmp9pmmo_ar/tmp3ny11oof.template: 1236s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp9pmmo_ar/tmp3ny11oof.template'] 1236s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1236s # 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. */ 1236s # 1236s # 1236s # /* Generated data ends here */ 1236s ok 7 __main__.TestMkenums.test_enum_name 1236s # tmpdir: /tmp/tmp1mdnmbcj 1236s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1236s # /tmp/tmp1mdnmbcj/tmp8y_4hz0f.h: 1236s # typedef enum _SomeEnumIdentifier { 1236s # ENUM_VALUE 1236s # } SomeEnumIdentifier; 1236s # 1236s # /tmp/tmp1mdnmbcj/tmpe65d9k7m.template: 1236s # /*** BEGIN file-header ***/ 1236s # file-header 1236s # /*** END file-header ***/ 1236s # 1236s # /*** BEGIN file-production ***/ 1236s # file-production 1236s # filename: @filename@ 1236s # basename: @basename@ 1236s # /*** END file-production ***/ 1236s # 1236s # /*** BEGIN enumeration-production ***/ 1236s # enumeration-production 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END enumeration-production ***/ 1236s # 1236s # /*** BEGIN value-header ***/ 1236s # value-header 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-header ***/ 1236s # 1236s # /*** BEGIN value-production ***/ 1236s # value-production 1236s # VALUENAME: @VALUENAME@ 1236s # valuenick: @valuenick@ 1236s # valuenum: @valuenum@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-production ***/ 1236s # 1236s # /*** BEGIN value-tail ***/ 1236s # value-tail 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-tail ***/ 1236s # 1236s # /*** BEGIN comment ***/ 1236s # comment 1236s # comment: @comment@ 1236s # /*** END comment ***/ 1236s # 1236s # /*** BEGIN file-tail ***/ 1236s # file-tail 1236s # /*** END file-tail ***/ 1236s # 1236s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp1mdnmbcj/tmpe65d9k7m.template', '/tmp/tmp1mdnmbcj/tmp8y_4hz0f.h'] 1236s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1236s # Output: comment 1236s # 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. 1236s # 1236s # 1236s # file-header 1236s # file-production 1236s # filename: /tmp/tmp1mdnmbcj/tmp8y_4hz0f.h 1236s # basename: tmp8y_4hz0f.h 1236s # enumeration-production 1236s # EnumName: SomeEnumIdentifier 1236s # enum_name: some_enum_identifier 1236s # ENUMNAME: SOME_ENUM_IDENTIFIER 1236s # ENUMSHORT: ENUM_IDENTIFIER 1236s # ENUMPREFIX: SOME 1236s # enumsince: 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # value-header 1236s # EnumName: SomeEnumIdentifier 1236s # enum_name: some_enum_identifier 1236s # ENUMNAME: SOME_ENUM_IDENTIFIER 1236s # ENUMSHORT: ENUM_IDENTIFIER 1236s # ENUMPREFIX: SOME 1236s # enumsince: 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # value-production 1236s # VALUENAME: ENUM_VALUE 1236s # valuenick: value 1236s # valuenum: 0 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # value-tail 1236s # EnumName: SomeEnumIdentifier 1236s # enum_name: some_enum_identifier 1236s # ENUMNAME: SOME_ENUM_IDENTIFIER 1236s # ENUMSHORT: ENUM_IDENTIFIER 1236s # ENUMPREFIX: SOME 1236s # enumsince: 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # file-tail 1236s # 1236s # comment 1236s # comment: Generated data ends here 1236s ok 8 __main__.TestMkenums.test_enum_private_public 1236s # tmpdir: /tmp/tmp_o3vz52c 1236s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1236s # /tmp/tmp_o3vz52c/tmpzbbl610g.h: 1236s # typedef enum { 1236s # ENUM_VALUE_PUBLIC1, 1236s # /*< private >*/ 1236s # ENUM_VALUE_PRIVATE, 1236s # } SomeEnumA 1236s # 1236s # /tmp/tmp_o3vz52c/tmpdw991szx.template: 1236s # /*** BEGIN file-header ***/ 1236s # file-header 1236s # /*** END file-header ***/ 1236s # 1236s # /*** BEGIN file-production ***/ 1236s # file-production 1236s # filename: @filename@ 1236s # basename: @basename@ 1236s # /*** END file-production ***/ 1236s # 1236s # /*** BEGIN enumeration-production ***/ 1236s # enumeration-production 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END enumeration-production ***/ 1236s # 1236s # /*** BEGIN value-header ***/ 1236s # value-header 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-header ***/ 1236s # 1236s # /*** BEGIN value-production ***/ 1236s # value-production 1236s # VALUENAME: @VALUENAME@ 1236s # valuenick: @valuenick@ 1236s # valuenum: @valuenum@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-production ***/ 1236s # 1236s # /*** BEGIN value-tail ***/ 1236s # value-tail 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-tail ***/ 1236s # 1236s # /*** BEGIN comment ***/ 1236s # comment 1236s # comment: @comment@ 1236s # /*** END comment ***/ 1236s # 1236s # /*** BEGIN file-tail ***/ 1236s # file-tail 1236s # /*** END file-tail ***/ 1236s # 1236s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp_o3vz52c/tmpdw991szx.template', '/tmp/tmp_o3vz52c/tmpzbbl610g.h'] 1236s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1236s # Output: comment 1236s # 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. 1236s # 1236s # 1236s # file-header 1236s # file-production 1236s # filename: /tmp/tmp_o3vz52c/tmpzbbl610g.h 1236s # basename: tmpzbbl610g.h 1236s # enumeration-production 1236s # EnumName: SomeEnumA 1236s # enum_name: some_enum_a 1236s # ENUMNAME: SOME_ENUM_A 1236s # ENUMSHORT: ENUM_A 1236s # ENUMPREFIX: SOME 1236s # enumsince: 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # value-header 1236s # EnumName: SomeEnumA 1236s # enum_name: some_enum_a 1236s # ENUMNAME: SOME_ENUM_A 1236s # ENUMSHORT: ENUM_A 1236s # ENUMPREFIX: SOME 1236s # enumsince: 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # value-production 1236s # VALUENAME: ENUM_VALUE_PUBLIC1 1236s # valuenick: public1 1236s # valuenum: 0 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # value-tail 1236s # EnumName: SomeEnumA 1236s # enum_name: some_enum_a 1236s # ENUMNAME: SOME_ENUM_A 1236s # ENUMSHORT: ENUM_A 1236s # ENUMPREFIX: SOME 1236s # enumsince: 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # file-tail 1236s # 1236s # comment 1236s # comment: Generated data ends here 1236s # /tmp/tmp_o3vz52c/tmpc_qt60lw.h: 1236s # typedef enum { 1236s # /*< private >*/ 1236s # ENUM_VALUE_PRIVATE, 1236s # /*< public >*/ 1236s # ENUM_VALUE_PUBLIC2, 1236s # } SomeEnumB; 1236s # 1236s # /tmp/tmp_o3vz52c/tmpgjcftwa8.template: 1236s # /*** BEGIN file-header ***/ 1236s # file-header 1236s # /*** END file-header ***/ 1236s # 1236s # /*** BEGIN file-production ***/ 1236s # file-production 1236s # filename: @filename@ 1236s # basename: @basename@ 1236s # /*** END file-production ***/ 1236s # 1236s # /*** BEGIN enumeration-production ***/ 1236s # enumeration-production 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END enumeration-production ***/ 1236s # 1236s # /*** BEGIN value-header ***/ 1236s # value-header 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-header ***/ 1236s # 1236s # /*** BEGIN value-production ***/ 1236s # value-production 1236s # VALUENAME: @VALUENAME@ 1236s # valuenick: @valuenick@ 1236s # valuenum: @valuenum@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-production ***/ 1236s # 1236s # /*** BEGIN value-tail ***/ 1236s # value-tail 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-tail ***/ 1236s # 1236s # /*** BEGIN comment ***/ 1236s # comment 1236s # comment: @comment@ 1236s # /*** END comment ***/ 1236s # 1236s # /*** BEGIN file-tail ***/ 1236s # file-tail 1236s # /*** END file-tail ***/ 1236s # 1236s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp_o3vz52c/tmpgjcftwa8.template', '/tmp/tmp_o3vz52c/tmpc_qt60lw.h'] 1236s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1236s # Output: comment 1236s # 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. 1236s # 1236s # 1236s # file-header 1236s # file-production 1236s # filename: /tmp/tmp_o3vz52c/tmpc_qt60lw.h 1236s # basename: tmpc_qt60lw.h 1236s # enumeration-production 1236s # EnumName: SomeEnumB 1236s # enum_name: some_enum_b 1236s # ENUMNAME: SOME_ENUM_B 1236s # ENUMSHORT: ENUM_B 1236s # ENUMPREFIX: SOME 1236s # enumsince: 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # value-header 1236s # EnumName: SomeEnumB 1236s # enum_name: some_enum_b 1236s # ENUMNAME: SOME_ENUM_B 1236s # ENUMSHORT: ENUM_B 1236s # ENUMPREFIX: SOME 1236s # enumsince: 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # value-production 1236s # VALUENAME: ENUM_VALUE_PUBLIC2 1236s # valuenick: public2 1236s # valuenum: 1 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # value-tail 1236s # EnumName: SomeEnumB 1236s # enum_name: some_enum_b 1236s # ENUMNAME: SOME_ENUM_B 1236s # ENUMSHORT: ENUM_B 1236s # ENUMPREFIX: SOME 1236s # enumsince: 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # file-tail 1236s # 1236s # comment 1236s # comment: Generated data ends here 1236s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 1236s # tmpdir: /tmp/tmp_0qk52vt 1236s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1236s # /tmp/tmp_0qk52vt/tmpj1a2r6p9.h: 1236s # typedef enum { 1236s # /*< private >*/ 1236s # ENUM_VALUE_PRIVATE = 5, 1236s # /*< public >*/ 1236s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1236s # } TestSymbolicEnum; 1236s # 1236s # /tmp/tmp_0qk52vt/tmpvtuyc4xb.template: 1236s # /*** BEGIN file-header ***/ 1236s # file-header 1236s # /*** END file-header ***/ 1236s # 1236s # /*** BEGIN file-production ***/ 1236s # file-production 1236s # filename: @filename@ 1236s # basename: @basename@ 1236s # /*** END file-production ***/ 1236s # 1236s # /*** BEGIN enumeration-production ***/ 1236s # enumeration-production 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END enumeration-production ***/ 1236s # 1236s # /*** BEGIN value-header ***/ 1236s # value-header 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-header ***/ 1236s # 1236s # /*** BEGIN value-production ***/ 1236s # value-production 1236s # VALUENAME: @VALUENAME@ 1236s # valuenick: @valuenick@ 1236s # valuenum: @valuenum@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-production ***/ 1236s # 1236s # /*** BEGIN value-tail ***/ 1236s # value-tail 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-tail ***/ 1236s # 1236s # /*** BEGIN comment ***/ 1236s # comment 1236s # comment: @comment@ 1236s # /*** END comment ***/ 1236s # 1236s # /*** BEGIN file-tail ***/ 1236s # file-tail 1236s # /*** END file-tail ***/ 1236s # 1236s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp_0qk52vt/tmpvtuyc4xb.template', '/tmp/tmp_0qk52vt/tmpj1a2r6p9.h'] 1236s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1236s # Output: comment 1236s # 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. 1236s # 1236s # 1236s # file-header 1236s # file-production 1236s # filename: /tmp/tmp_0qk52vt/tmpj1a2r6p9.h 1236s # basename: tmpj1a2r6p9.h 1236s # enumeration-production 1236s # EnumName: TestSymbolicEnum 1236s # enum_name: test_symbolic_enum 1236s # ENUMNAME: TEST_SYMBOLIC_ENUM 1236s # ENUMSHORT: SYMBOLIC_ENUM 1236s # ENUMPREFIX: TEST 1236s # enumsince: 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # value-header 1236s # EnumName: TestSymbolicEnum 1236s # enum_name: test_symbolic_enum 1236s # ENUMNAME: TEST_SYMBOLIC_ENUM 1236s # ENUMSHORT: SYMBOLIC_ENUM 1236s # ENUMPREFIX: TEST 1236s # enumsince: 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # value-production 1236s # VALUENAME: ENUM_VALUE_PUBLIC 1236s # valuenick: public 1236s # valuenum: 7 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # value-tail 1236s # EnumName: TestSymbolicEnum 1236s # enum_name: test_symbolic_enum 1236s # ENUMNAME: TEST_SYMBOLIC_ENUM 1236s # ENUMSHORT: SYMBOLIC_ENUM 1236s # ENUMPREFIX: TEST 1236s # enumsince: 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # file-tail 1236s # 1236s # comment 1236s # comment: Generated data ends here 1236s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 1236s # tmpdir: /tmp/tmpir7a25ar 1236s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1236s # /tmp/tmpir7a25ar/tmp1p5v620a.template: 1236s # /*** BEGIN file-header ***/ 1236s # file-header 1236s # filename: @filename@ 1236s # basename: @basename@ 1236s # /*** END file-header ***/ 1236s # 1236s # /*** BEGIN comment ***/ 1236s # comment 1236s # comment: @comment@ 1236s # /*** END comment ***/ 1236s # 1236s # /*** BEGIN file-tail ***/ 1236s # file-tail 1236s # filename: @filename@ 1236s # basename: @basename@ 1236s # /*** END file-tail ***/ 1236s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpir7a25ar/tmp1p5v620a.template'] 1236s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1236s # Output: comment 1236s # 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. 1236s # 1236s # 1236s # file-header 1236s # filename: @filename@ 1236s # basename: @basename@ 1236s # file-tail 1236s # filename: @filename@ 1236s # basename: @basename@ 1236s # 1236s # comment 1236s # comment: Generated data ends here 1236s ok 11 __main__.TestMkenums.test_help 1236s # tmpdir: /tmp/tmpj2grk2uy 1236s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1236s # Running: ['/usr/bin/glib-mkenums', '--help'] 1236s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1236s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1236s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1236s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1236s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1236s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1236s # [--output OUTPUT] [--version] 1236s # [args ...] 1236s # 1236s # positional arguments: 1236s # args One or more input files, or a single argument 1236s # @rspfile_path pointing to a file that contains the 1236s # actual arguments 1236s # 1236s # options: 1236s # -h, --help show this help message and exit 1236s # --identifier-prefix IDPREFIX 1236s # Identifier prefix 1236s # --symbol-prefix SYMPREFIX 1236s # Symbol prefix 1236s # --fhead FHEAD Output file header 1236s # --ftail FTAIL Output file footer 1236s # --fprod FPROD Put out TEXT every time a new input file is being 1236s # processed. 1236s # --eprod EPROD Per enum text, produced prior to value iterations 1236s # --vhead VHEAD Value header, produced before iterating over enum 1236s # values 1236s # --vprod VPROD Value text, produced for each enum value. 1236s # --vtail VTAIL Value tail, produced after iterating over enum values 1236s # --comments COMMENT_TMPL 1236s # Comment structure 1236s # --template TEMPLATE Template file 1236s # --output OUTPUT 1236s # --version, -v Print version information 1236s # 1236s # Production text substitutions: 1236s # @EnumName@ PrefixTheXEnum 1236s # @enum_name@ prefix_the_xenum 1236s # @ENUMNAME@ PREFIX_THE_XENUM 1236s # @ENUMSHORT@ THE_XENUM 1236s # @ENUMPREFIX@ PREFIX 1236s # @enumsince@ the user-provided since value given 1236s # @VALUENAME@ PREFIX_THE_XVALUE 1236s # @valuenick@ the-xvalue 1236s # @valuenum@ the integer value (limited support, Since: 2.26) 1236s # @type@ either enum or flags 1236s # @Type@ either Enum or Flags 1236s # @TYPE@ either ENUM or FLAGS 1236s # @filename@ name of current input file 1236s # @basename@ base name of the current input file (Since: 2.22) 1236s ok 12 __main__.TestMkenums.test_no_args 1236s # tmpdir: /tmp/tmpg6kw9lpw 1236s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1236s # Running: ['/usr/bin/glib-mkenums'] 1236s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1236s # 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. */ 1236s # 1236s # 1236s # /* Generated data ends here */ 1236s ok 13 __main__.TestMkenums.test_no_headers 1236s # tmpdir: /tmp/tmpz8975po3 1236s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1236s # /tmp/tmpz8975po3/tmp7275__38.template: 1236s # /*** BEGIN file-header ***/ 1236s # file-header 1236s # /*** END file-header ***/ 1236s # 1236s # /*** BEGIN file-production ***/ 1236s # file-production 1236s # filename: @filename@ 1236s # basename: @basename@ 1236s # /*** END file-production ***/ 1236s # 1236s # /*** BEGIN enumeration-production ***/ 1236s # enumeration-production 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END enumeration-production ***/ 1236s # 1236s # /*** BEGIN value-header ***/ 1236s # value-header 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-header ***/ 1236s # 1236s # /*** BEGIN value-production ***/ 1236s # value-production 1236s # VALUENAME: @VALUENAME@ 1236s # valuenick: @valuenick@ 1236s # valuenum: @valuenum@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-production ***/ 1236s # 1236s # /*** BEGIN value-tail ***/ 1236s # value-tail 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-tail ***/ 1236s # 1236s # /*** BEGIN comment ***/ 1236s # comment 1236s # comment: @comment@ 1236s # /*** END comment ***/ 1236s # 1236s # /*** BEGIN file-tail ***/ 1236s # file-tail 1236s # /*** END file-tail ***/ 1236s # 1236s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpz8975po3/tmp7275__38.template'] 1236s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1236s # Output: comment 1236s # 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. 1236s # 1236s # 1236s # file-header 1236s # file-tail 1236s # 1236s # comment 1236s # comment: Generated data ends here 1236s ok 14 __main__.TestMkenums.test_no_nick 1236s # tmpdir: /tmp/tmp8dvdxg_j 1236s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1236s # /tmp/tmp8dvdxg_j/tmpzy7ub6n3.h: 1236s # typedef enum { 1236s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1236s # } GeglSamplerType; 1236s # 1236s # /tmp/tmp8dvdxg_j/tmptinjp7m0.template: 1236s # /*** BEGIN file-header ***/ 1236s # file-header 1236s # /*** END file-header ***/ 1236s # 1236s # /*** BEGIN file-production ***/ 1236s # file-production 1236s # filename: @filename@ 1236s # basename: @basename@ 1236s # /*** END file-production ***/ 1236s # 1236s # /*** BEGIN enumeration-production ***/ 1236s # enumeration-production 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END enumeration-production ***/ 1236s # 1236s # /*** BEGIN value-header ***/ 1236s # value-header 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-header ***/ 1236s # 1236s # /*** BEGIN value-production ***/ 1236s # value-production 1236s # VALUENAME: @VALUENAME@ 1236s # valuenick: @valuenick@ 1236s # valuenum: @valuenum@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-production ***/ 1236s # 1236s # /*** BEGIN value-tail ***/ 1236s # value-tail 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-tail ***/ 1236s # 1236s # /*** BEGIN comment ***/ 1236s # comment 1236s # comment: @comment@ 1236s # /*** END comment ***/ 1236s # 1236s # /*** BEGIN file-tail ***/ 1236s # file-tail 1236s # /*** END file-tail ***/ 1236s # 1236s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp8dvdxg_j/tmptinjp7m0.template', '/tmp/tmp8dvdxg_j/tmpzy7ub6n3.h'] 1236s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1236s # Output: comment 1236s # 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. 1236s # 1236s # 1236s # file-header 1236s # file-production 1236s # filename: /tmp/tmp8dvdxg_j/tmpzy7ub6n3.h 1236s # basename: tmpzy7ub6n3.h 1236s # enumeration-production 1236s # EnumName: GeglSamplerType 1236s # enum_name: gegl_sampler_type 1236s # ENUMNAME: GEGL_SAMPLER_TYPE 1236s # ENUMSHORT: SAMPLER_TYPE 1236s # ENUMPREFIX: GEGL 1236s # enumsince: 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # value-header 1236s # EnumName: GeglSamplerType 1236s # enum_name: gegl_sampler_type 1236s # ENUMNAME: GEGL_SAMPLER_TYPE 1236s # ENUMSHORT: SAMPLER_TYPE 1236s # ENUMPREFIX: GEGL 1236s # enumsince: 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # value-production 1236s # VALUENAME: GEGL_SAMPLER_NEAREST 1236s # valuenick: nearest 1236s # valuenum: 0 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # value-tail 1236s # EnumName: GeglSamplerType 1236s # enum_name: gegl_sampler_type 1236s # ENUMNAME: GEGL_SAMPLER_TYPE 1236s # ENUMSHORT: SAMPLER_TYPE 1236s # ENUMPREFIX: GEGL 1236s # enumsince: 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # file-tail 1236s # 1236s # comment 1236s # comment: Generated data ends here 1236s ok 15 __main__.TestMkenums.test_non_utf8_encoding 1236s # tmpdir: /tmp/tmpv0s394y3 1236s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1236s # /tmp/tmpv0s394y3/tmp6roor1w8.h: 1236s # /* Copyright © La Peña */ 1236s # typedef enum { 1236s # ENUM_VALUE 1236s # } SomeEnumIdentifier; 1236s # 1236s # /tmp/tmpv0s394y3/tmpizecvres.template: 1236s # /*** BEGIN file-header ***/ 1236s # file-header 1236s # /*** END file-header ***/ 1236s # 1236s # /*** BEGIN file-production ***/ 1236s # file-production 1236s # filename: @filename@ 1236s # basename: @basename@ 1236s # /*** END file-production ***/ 1236s # 1236s # /*** BEGIN enumeration-production ***/ 1236s # enumeration-production 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END enumeration-production ***/ 1236s # 1236s # /*** BEGIN value-header ***/ 1236s # value-header 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-header ***/ 1236s # 1236s # /*** BEGIN value-production ***/ 1236s # value-production 1236s # VALUENAME: @VALUENAME@ 1236s # valuenick: @valuenick@ 1236s # valuenum: @valuenum@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-production ***/ 1236s # 1236s # /*** BEGIN value-tail ***/ 1236s # value-tail 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-tail ***/ 1236s # 1236s # /*** BEGIN comment ***/ 1236s # comment 1236s # comment: @comment@ 1236s # /*** END comment ***/ 1236s # 1236s # /*** BEGIN file-tail ***/ 1236s # file-tail 1236s # /*** END file-tail ***/ 1236s # 1236s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpv0s394y3/tmpizecvres.template', '/tmp/tmpv0s394y3/tmp6roor1w8.h'] 1236s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1236s # Output: comment 1236s # 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. 1236s # 1236s # 1236s # file-header 1236s # file-production 1236s # filename: /tmp/tmpv0s394y3/tmp6roor1w8.h 1236s # basename: tmp6roor1w8.h 1236s # enumeration-production 1236s # EnumName: SomeEnumIdentifier 1236s # enum_name: some_enum_identifier 1236s # ENUMNAME: SOME_ENUM_IDENTIFIER 1236s # ENUMSHORT: ENUM_IDENTIFIER 1236s # ENUMPREFIX: SOME 1236s # enumsince: 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # value-header 1236s # EnumName: SomeEnumIdentifier 1236s # enum_name: some_enum_identifier 1236s # ENUMNAME: SOME_ENUM_IDENTIFIER 1236s # ENUMSHORT: ENUM_IDENTIFIER 1236s # ENUMPREFIX: SOME 1236s # enumsince: 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # value-production 1236s # VALUENAME: ENUM_VALUE 1236s # valuenick: value 1236s # valuenum: 0 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # value-tail 1236s # EnumName: SomeEnumIdentifier 1236s # enum_name: some_enum_identifier 1236s # ENUMNAME: SOME_ENUM_IDENTIFIER 1236s # ENUMSHORT: ENUM_IDENTIFIER 1236s # ENUMPREFIX: SOME 1236s # enumsince: 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # file-tail 1236s # 1236s # comment 1236s # comment: Generated data ends here 1236s ok 16 __main__.TestMkenums.test_reproducible 1236s # tmpdir: /tmp/tmpkn46er1k 1236s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1236s # /tmp/tmpkn46er1k/tmpncmxsr2c.template: template 1236s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpkn46er1k/tmpncmxsr2c.template', '/tmp/tmpkn46er1k/tmphwlhbn1z1.h', '/tmp/tmpkn46er1k/tmpze5tvioz2.h'] 1236s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1236s # 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. */ 1236s # 1236s # 1236s # /* Generated data ends here */ 1236s # /tmp/tmpkn46er1k/tmpmuz3ii7t.template: template 1236s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpkn46er1k/tmpmuz3ii7t.template', '/tmp/tmpkn46er1k/tmpze5tvioz2.h', '/tmp/tmpkn46er1k/tmphwlhbn1z1.h'] 1236s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1236s # 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. */ 1236s # 1236s # 1236s # /* Generated data ends here */ 1236s ok 17 __main__.TestMkenums.test_since 1236s # tmpdir: /tmp/tmpl_krmc18 1236s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1236s # /tmp/tmpl_krmc18/tmpgdj9j6nl.h: 1236s # typedef enum { /*< since=1.0 >*/ 1236s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1236s # } QmiWmsMessageProtocol; 1236s # 1236s # /tmp/tmpl_krmc18/tmp6f43qepe.template: 1236s # /*** BEGIN file-header ***/ 1236s # file-header 1236s # /*** END file-header ***/ 1236s # 1236s # /*** BEGIN file-production ***/ 1236s # file-production 1236s # filename: @filename@ 1236s # basename: @basename@ 1236s # /*** END file-production ***/ 1236s # 1236s # /*** BEGIN enumeration-production ***/ 1236s # enumeration-production 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END enumeration-production ***/ 1236s # 1236s # /*** BEGIN value-header ***/ 1236s # value-header 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-header ***/ 1236s # 1236s # /*** BEGIN value-production ***/ 1236s # value-production 1236s # VALUENAME: @VALUENAME@ 1236s # valuenick: @valuenick@ 1236s # valuenum: @valuenum@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-production ***/ 1236s # 1236s # /*** BEGIN value-tail ***/ 1236s # value-tail 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-tail ***/ 1236s # 1236s # /*** BEGIN comment ***/ 1236s # comment 1236s # comment: @comment@ 1236s # /*** END comment ***/ 1236s # 1236s # /*** BEGIN file-tail ***/ 1236s # file-tail 1236s # /*** END file-tail ***/ 1236s # 1236s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpl_krmc18/tmp6f43qepe.template', '/tmp/tmpl_krmc18/tmpgdj9j6nl.h'] 1236s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1236s # Output: comment 1236s # 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. 1236s # 1236s # 1236s # file-header 1236s # file-production 1236s # filename: /tmp/tmpl_krmc18/tmpgdj9j6nl.h 1236s # basename: tmpgdj9j6nl.h 1236s # enumeration-production 1236s # EnumName: QmiWmsMessageProtocol 1236s # enum_name: qmi_wms_message_protocol 1236s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1236s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1236s # ENUMPREFIX: QMI 1236s # enumsince: 1.0 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # value-header 1236s # EnumName: QmiWmsMessageProtocol 1236s # enum_name: qmi_wms_message_protocol 1236s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1236s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1236s # ENUMPREFIX: QMI 1236s # enumsince: 1.0 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # value-production 1236s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1236s # valuenick: cdma 1236s # valuenum: 0 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # value-tail 1236s # EnumName: QmiWmsMessageProtocol 1236s # enum_name: qmi_wms_message_protocol 1236s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1236s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1236s # ENUMPREFIX: QMI 1236s # enumsince: 1.0 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # file-tail 1236s # 1236s # comment 1236s # comment: Generated data ends here 1236s ok 18 __main__.TestMkenums.test_with_double_quotes 1236s # tmpdir: /tmp/tmpz8_ag9__ 1236s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1236s # /tmp/tmpz8_ag9__/tmpd2horv5d.h: 1236s # typedef enum { 1236s # FOO_VALUE /*< nick="eek, a comma" >*/ 1236s # } Foo; 1236s # 1236s # /tmp/tmpz8_ag9__/tmptwwuovwv.template: 1236s # /*** BEGIN file-header ***/ 1236s # file-header 1236s # /*** END file-header ***/ 1236s # 1236s # /*** BEGIN file-production ***/ 1236s # file-production 1236s # filename: @filename@ 1236s # basename: @basename@ 1236s # /*** END file-production ***/ 1236s # 1236s # /*** BEGIN enumeration-production ***/ 1236s # enumeration-production 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END enumeration-production ***/ 1236s # 1236s # /*** BEGIN value-header ***/ 1236s # value-header 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-header ***/ 1236s # 1236s # /*** BEGIN value-production ***/ 1236s # value-production 1236s # VALUENAME: @VALUENAME@ 1236s # valuenick: @valuenick@ 1236s # valuenum: @valuenum@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-production ***/ 1236s # 1236s # /*** BEGIN value-tail ***/ 1236s # value-tail 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-tail ***/ 1236s # 1236s # /*** BEGIN comment ***/ 1236s # comment 1236s # comment: @comment@ 1236s # /*** END comment ***/ 1236s # 1236s # /*** BEGIN file-tail ***/ 1236s # file-tail 1236s # /*** END file-tail ***/ 1236s # 1236s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpz8_ag9__/tmptwwuovwv.template', '/tmp/tmpz8_ag9__/tmpd2horv5d.h'] 1236s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1236s # Output: comment 1236s # 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. 1236s # 1236s # 1236s # file-header 1236s # file-production 1236s # filename: /tmp/tmpz8_ag9__/tmpd2horv5d.h 1236s # basename: tmpd2horv5d.h 1236s # enumeration-production 1236s # EnumName: Foo 1236s # enum_name: foo_ 1236s # ENUMNAME: FOO_ 1236s # ENUMSHORT: 1236s # ENUMPREFIX: FOO 1236s # enumsince: 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # value-header 1236s # EnumName: Foo 1236s # enum_name: foo_ 1236s # ENUMNAME: FOO_ 1236s # ENUMSHORT: 1236s # ENUMPREFIX: FOO 1236s # enumsince: 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # value-production 1236s # VALUENAME: FOO_VALUE 1236s # valuenick: eek, a comma 1236s # valuenum: 0 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # value-tail 1236s # EnumName: Foo 1236s # enum_name: foo_ 1236s # ENUMNAME: FOO_ 1236s # ENUMSHORT: 1236s # ENUMPREFIX: FOO 1236s # enumsince: 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # file-tail 1236s # 1236s # comment 1236s # comment: Generated data ends here 1236s ok 19 __main__.TestRspMkenums.test_available_in 1236s # tmpdir: /tmp/tmpicyyoly4 1236s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1236s # /tmp/tmpicyyoly4/tmpvem58bdq.h: 1236s # typedef enum { 1236s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1236s # } GDBusServerFlags; 1236s # 1236s # /tmp/tmpicyyoly4/tmpjw3cd0yw.template: 1236s # /*** BEGIN file-header ***/ 1236s # file-header 1236s # /*** END file-header ***/ 1236s # 1236s # /*** BEGIN file-production ***/ 1236s # file-production 1236s # filename: @filename@ 1236s # basename: @basename@ 1236s # /*** END file-production ***/ 1236s # 1236s # /*** BEGIN enumeration-production ***/ 1236s # enumeration-production 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END enumeration-production ***/ 1236s # 1236s # /*** BEGIN value-header ***/ 1236s # value-header 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-header ***/ 1236s # 1236s # /*** BEGIN value-production ***/ 1236s # value-production 1236s # VALUENAME: @VALUENAME@ 1236s # valuenick: @valuenick@ 1236s # valuenum: @valuenum@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-production ***/ 1236s # 1236s # /*** BEGIN value-tail ***/ 1236s # value-tail 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-tail ***/ 1236s # 1236s # /*** BEGIN comment ***/ 1236s # comment 1236s # comment: @comment@ 1236s # /*** END comment ***/ 1236s # 1236s # /*** BEGIN file-tail ***/ 1236s # file-tail 1236s # /*** END file-tail ***/ 1236s # 1236s # Response file contains: --template /tmp/tmpicyyoly4/tmpjw3cd0yw.template /tmp/tmpicyyoly4/tmpvem58bdq.h 1236s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpicyyoly4/tmpa9xbndtb'] 1236s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1236s # Output: comment 1236s # 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. 1236s # 1236s # 1236s # file-header 1236s # file-production 1236s # filename: /tmp/tmpicyyoly4/tmpvem58bdq.h 1236s # basename: tmpvem58bdq.h 1236s # enumeration-production 1236s # EnumName: GDBusServerFlags 1236s # enum_name: g_dbus_server_flags 1236s # ENUMNAME: G_DBUS_SERVER_FLAGS 1236s # ENUMSHORT: DBUS_SERVER_FLAGS 1236s # ENUMPREFIX: G 1236s # enumsince: 1236s # type: flags 1236s # Type: Flags 1236s # TYPE: FLAGS 1236s # value-header 1236s # EnumName: GDBusServerFlags 1236s # enum_name: g_dbus_server_flags 1236s # ENUMNAME: G_DBUS_SERVER_FLAGS 1236s # ENUMSHORT: DBUS_SERVER_FLAGS 1236s # ENUMPREFIX: G 1236s # enumsince: 1236s # type: flags 1236s # Type: Flags 1236s # TYPE: FLAGS 1236s # value-production 1236s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1236s # valuenick: user 1236s # valuenum: 4 1236s # type: flags 1236s # Type: Flags 1236s # TYPE: FLAGS 1236s # value-tail 1236s # EnumName: GDBusServerFlags 1236s # enum_name: g_dbus_server_flags 1236s # ENUMNAME: G_DBUS_SERVER_FLAGS 1236s # ENUMSHORT: DBUS_SERVER_FLAGS 1236s # ENUMPREFIX: G 1236s # enumsince: 1236s # type: flags 1236s # Type: Flags 1236s # TYPE: FLAGS 1236s # file-tail 1236s # 1236s # comment 1236s # comment: Generated data ends here 1236s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 1236s # tmpdir: /tmp/tmp7kf5vjay 1236s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1236s # /tmp/tmp7kf5vjay/tmpvtljl8oy.h: 1236s # typedef enum { 1236s # ENUM_VALUE_WITH_COMMA = ',', 1236s # } TestCommaEnum; 1236s # 1236s # /tmp/tmp7kf5vjay/tmp1v9bx1vl.template: 1236s # /*** BEGIN file-header ***/ 1236s # file-header 1236s # /*** END file-header ***/ 1236s # 1236s # /*** BEGIN file-production ***/ 1236s # file-production 1236s # filename: @filename@ 1236s # basename: @basename@ 1236s # /*** END file-production ***/ 1236s # 1236s # /*** BEGIN enumeration-production ***/ 1236s # enumeration-production 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END enumeration-production ***/ 1236s # 1236s # /*** BEGIN value-header ***/ 1236s # value-header 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-header ***/ 1236s # 1236s # /*** BEGIN value-production ***/ 1236s # value-production 1236s # VALUENAME: @VALUENAME@ 1236s # valuenick: @valuenick@ 1236s # valuenum: @valuenum@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-production ***/ 1236s # 1236s # /*** BEGIN value-tail ***/ 1236s # value-tail 1236s # EnumName: @EnumName@ 1236s # enum_name: @enum_name@ 1236s # ENUMNAME: @ENUMNAME@ 1236s # ENUMSHORT: @ENUMSHORT@ 1236s # ENUMPREFIX: @ENUMPREFIX@ 1236s # enumsince: @enumsince@ 1236s # type: @type@ 1236s # Type: @Type@ 1236s # TYPE: @TYPE@ 1236s # /*** END value-tail ***/ 1236s # 1236s # /*** BEGIN comment ***/ 1236s # comment 1236s # comment: @comment@ 1236s # /*** END comment ***/ 1236s # 1236s # /*** BEGIN file-tail ***/ 1236s # file-tail 1236s # /*** END file-tail ***/ 1236s # 1236s # Response file contains: --template /tmp/tmp7kf5vjay/tmp1v9bx1vl.template /tmp/tmp7kf5vjay/tmpvtljl8oy.h 1236s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp7kf5vjay/tmpl3jvgcik'] 1236s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1236s # Output: comment 1236s # 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. 1236s # 1236s # 1236s # file-header 1236s # file-production 1236s # filename: /tmp/tmp7kf5vjay/tmpvtljl8oy.h 1236s # basename: tmpvtljl8oy.h 1236s # enumeration-production 1236s # EnumName: TestCommaEnum 1236s # enum_name: test_comma_enum 1236s # ENUMNAME: TEST_COMMA_ENUM 1236s # ENUMSHORT: COMMA_ENUM 1236s # ENUMPREFIX: TEST 1236s # enumsince: 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # value-header 1236s # EnumName: TestCommaEnum 1236s # enum_name: test_comma_enum 1236s # ENUMNAME: TEST_COMMA_ENUM 1236s # ENUMSHORT: COMMA_ENUM 1236s # ENUMPREFIX: TEST 1236s # enumsince: 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # value-production 1236s # VALUENAME: ENUM_VALUE_WITH_COMMA 1236s # valuenick: comma 1236s # valuenum: 44 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # value-tail 1236s # EnumName: TestCommaEnum 1236s # enum_name: test_comma_enum 1236s # ENUMNAME: TEST_COMMA_ENUM 1236s # ENUMSHORT: COMMA_ENUM 1236s # ENUMPREFIX: TEST 1236s # enumsince: 1236s # type: enum 1236s # Type: Enum 1236s # TYPE: ENUM 1236s # file-tail 1236s # 1236s # comment 1236s # comment: Generated data ends here 1237s ok 21 __main__.TestRspMkenums.test_deprecated_in 1237s # tmpdir: /tmp/tmp70ph74sv 1237s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1237s # /tmp/tmp70ph74sv/tmpl0dxse_2.h: 1237s # typedef enum { 1237s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1237s # } GDBusServerFlags; 1237s # 1237s # /tmp/tmp70ph74sv/tmpkulzamz6.template: 1237s # /*** BEGIN file-header ***/ 1237s # file-header 1237s # /*** END file-header ***/ 1237s # 1237s # /*** BEGIN file-production ***/ 1237s # file-production 1237s # filename: @filename@ 1237s # basename: @basename@ 1237s # /*** END file-production ***/ 1237s # 1237s # /*** BEGIN enumeration-production ***/ 1237s # enumeration-production 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END enumeration-production ***/ 1237s # 1237s # /*** BEGIN value-header ***/ 1237s # value-header 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-header ***/ 1237s # 1237s # /*** BEGIN value-production ***/ 1237s # value-production 1237s # VALUENAME: @VALUENAME@ 1237s # valuenick: @valuenick@ 1237s # valuenum: @valuenum@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-production ***/ 1237s # 1237s # /*** BEGIN value-tail ***/ 1237s # value-tail 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-tail ***/ 1237s # 1237s # /*** BEGIN comment ***/ 1237s # comment 1237s # comment: @comment@ 1237s # /*** END comment ***/ 1237s # 1237s # /*** BEGIN file-tail ***/ 1237s # file-tail 1237s # /*** END file-tail ***/ 1237s # 1237s # Response file contains: --template /tmp/tmp70ph74sv/tmpkulzamz6.template /tmp/tmp70ph74sv/tmpl0dxse_2.h 1237s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp70ph74sv/tmpiff0ni9i'] 1237s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1237s # Output: comment 1237s # 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. 1237s # 1237s # 1237s # file-header 1237s # file-production 1237s # filename: /tmp/tmp70ph74sv/tmpl0dxse_2.h 1237s # basename: tmpl0dxse_2.h 1237s # enumeration-production 1237s # EnumName: GDBusServerFlags 1237s # enum_name: g_dbus_server_flags 1237s # ENUMNAME: G_DBUS_SERVER_FLAGS 1237s # ENUMSHORT: DBUS_SERVER_FLAGS 1237s # ENUMPREFIX: G 1237s # enumsince: 1237s # type: flags 1237s # Type: Flags 1237s # TYPE: FLAGS 1237s # value-header 1237s # EnumName: GDBusServerFlags 1237s # enum_name: g_dbus_server_flags 1237s # ENUMNAME: G_DBUS_SERVER_FLAGS 1237s # ENUMSHORT: DBUS_SERVER_FLAGS 1237s # ENUMPREFIX: G 1237s # enumsince: 1237s # type: flags 1237s # Type: Flags 1237s # TYPE: FLAGS 1237s # value-production 1237s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1237s # valuenick: user 1237s # valuenum: 4 1237s # type: flags 1237s # Type: Flags 1237s # TYPE: FLAGS 1237s # value-tail 1237s # EnumName: GDBusServerFlags 1237s # enum_name: g_dbus_server_flags 1237s # ENUMNAME: G_DBUS_SERVER_FLAGS 1237s # ENUMSHORT: DBUS_SERVER_FLAGS 1237s # ENUMPREFIX: G 1237s # enumsince: 1237s # type: flags 1237s # Type: Flags 1237s # TYPE: FLAGS 1237s # file-tail 1237s # 1237s # comment 1237s # comment: Generated data ends here 1237s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 1237s # tmpdir: /tmp/tmp_mxo3peb 1237s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1237s # /tmp/tmp_mxo3peb/tmp8ljjdw1_.h: 1237s # typedef enum { 1237s # 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) 1237s # } GDBusServerFlags; 1237s # 1237s # /tmp/tmp_mxo3peb/tmp0a9amhfc.template: 1237s # /*** BEGIN file-header ***/ 1237s # file-header 1237s # /*** END file-header ***/ 1237s # 1237s # /*** BEGIN file-production ***/ 1237s # file-production 1237s # filename: @filename@ 1237s # basename: @basename@ 1237s # /*** END file-production ***/ 1237s # 1237s # /*** BEGIN enumeration-production ***/ 1237s # enumeration-production 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END enumeration-production ***/ 1237s # 1237s # /*** BEGIN value-header ***/ 1237s # value-header 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-header ***/ 1237s # 1237s # /*** BEGIN value-production ***/ 1237s # value-production 1237s # VALUENAME: @VALUENAME@ 1237s # valuenick: @valuenick@ 1237s # valuenum: @valuenum@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-production ***/ 1237s # 1237s # /*** BEGIN value-tail ***/ 1237s # value-tail 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-tail ***/ 1237s # 1237s # /*** BEGIN comment ***/ 1237s # comment 1237s # comment: @comment@ 1237s # /*** END comment ***/ 1237s # 1237s # /*** BEGIN file-tail ***/ 1237s # file-tail 1237s # /*** END file-tail ***/ 1237s # 1237s # Response file contains: --template /tmp/tmp_mxo3peb/tmp0a9amhfc.template /tmp/tmp_mxo3peb/tmp8ljjdw1_.h 1237s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_mxo3peb/tmpdl46caff'] 1237s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1237s # Output: comment 1237s # 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. 1237s # 1237s # 1237s # file-header 1237s # file-production 1237s # filename: /tmp/tmp_mxo3peb/tmp8ljjdw1_.h 1237s # basename: tmp8ljjdw1_.h 1237s # enumeration-production 1237s # EnumName: GDBusServerFlags 1237s # enum_name: g_dbus_server_flags 1237s # ENUMNAME: G_DBUS_SERVER_FLAGS 1237s # ENUMSHORT: DBUS_SERVER_FLAGS 1237s # ENUMPREFIX: G 1237s # enumsince: 1237s # type: flags 1237s # Type: Flags 1237s # TYPE: FLAGS 1237s # value-header 1237s # EnumName: GDBusServerFlags 1237s # enum_name: g_dbus_server_flags 1237s # ENUMNAME: G_DBUS_SERVER_FLAGS 1237s # ENUMSHORT: DBUS_SERVER_FLAGS 1237s # ENUMPREFIX: G 1237s # enumsince: 1237s # type: flags 1237s # Type: Flags 1237s # TYPE: FLAGS 1237s # value-production 1237s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1237s # valuenick: user 1237s # valuenum: 4 1237s # type: flags 1237s # Type: Flags 1237s # TYPE: FLAGS 1237s # value-tail 1237s # EnumName: GDBusServerFlags 1237s # enum_name: g_dbus_server_flags 1237s # ENUMNAME: G_DBUS_SERVER_FLAGS 1237s # ENUMSHORT: DBUS_SERVER_FLAGS 1237s # ENUMPREFIX: G 1237s # enumsince: 1237s # type: flags 1237s # Type: Flags 1237s # TYPE: FLAGS 1237s # file-tail 1237s # 1237s # comment 1237s # comment: Generated data ends here 1237s ok 23 __main__.TestRspMkenums.test_empty_header 1237s # tmpdir: /tmp/tmpm1luada_ 1237s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1237s # /tmp/tmpm1luada_/tmpln70oo73.h: 1237s # /tmp/tmpm1luada_/tmplwqmlsz0.template: 1237s # /*** BEGIN file-header ***/ 1237s # file-header 1237s # /*** END file-header ***/ 1237s # 1237s # /*** BEGIN file-production ***/ 1237s # file-production 1237s # filename: @filename@ 1237s # basename: @basename@ 1237s # /*** END file-production ***/ 1237s # 1237s # /*** BEGIN enumeration-production ***/ 1237s # enumeration-production 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END enumeration-production ***/ 1237s # 1237s # /*** BEGIN value-header ***/ 1237s # value-header 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-header ***/ 1237s # 1237s # /*** BEGIN value-production ***/ 1237s # value-production 1237s # VALUENAME: @VALUENAME@ 1237s # valuenick: @valuenick@ 1237s # valuenum: @valuenum@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-production ***/ 1237s # 1237s # /*** BEGIN value-tail ***/ 1237s # value-tail 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-tail ***/ 1237s # 1237s # /*** BEGIN comment ***/ 1237s # comment 1237s # comment: @comment@ 1237s # /*** END comment ***/ 1237s # 1237s # /*** BEGIN file-tail ***/ 1237s # file-tail 1237s # /*** END file-tail ***/ 1237s # 1237s # Response file contains: --template /tmp/tmpm1luada_/tmplwqmlsz0.template /tmp/tmpm1luada_/tmpln70oo73.h 1237s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpm1luada_/tmp3btss80g'] 1237s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1237s # Output: comment 1237s # 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. 1237s # 1237s # 1237s # file-header 1237s # file-tail 1237s # 1237s # comment 1237s # comment: Generated data ends here 1237s ok 24 __main__.TestRspMkenums.test_empty_template 1237s # tmpdir: /tmp/tmp7n9mvvwf 1237s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1237s # /tmp/tmp7n9mvvwf/tmpy146e7ay.template: 1237s # Response file contains: --template /tmp/tmp7n9mvvwf/tmpy146e7ay.template 1237s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp7n9mvvwf/tmpg1snn0zj'] 1237s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1237s # 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. */ 1237s # 1237s # 1237s # /* Generated data ends here */ 1237s ok 25 __main__.TestRspMkenums.test_enum_name 1237s # tmpdir: /tmp/tmpn_vy1g7h 1237s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1237s # /tmp/tmpn_vy1g7h/tmpr9lhpg94.h: 1237s # typedef enum _SomeEnumIdentifier { 1237s # ENUM_VALUE 1237s # } SomeEnumIdentifier; 1237s # 1237s # /tmp/tmpn_vy1g7h/tmp0lzhwufc.template: 1237s # /*** BEGIN file-header ***/ 1237s # file-header 1237s # /*** END file-header ***/ 1237s # 1237s # /*** BEGIN file-production ***/ 1237s # file-production 1237s # filename: @filename@ 1237s # basename: @basename@ 1237s # /*** END file-production ***/ 1237s # 1237s # /*** BEGIN enumeration-production ***/ 1237s # enumeration-production 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END enumeration-production ***/ 1237s # 1237s # /*** BEGIN value-header ***/ 1237s # value-header 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-header ***/ 1237s # 1237s # /*** BEGIN value-production ***/ 1237s # value-production 1237s # VALUENAME: @VALUENAME@ 1237s # valuenick: @valuenick@ 1237s # valuenum: @valuenum@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-production ***/ 1237s # 1237s # /*** BEGIN value-tail ***/ 1237s # value-tail 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-tail ***/ 1237s # 1237s # /*** BEGIN comment ***/ 1237s # comment 1237s # comment: @comment@ 1237s # /*** END comment ***/ 1237s # 1237s # /*** BEGIN file-tail ***/ 1237s # file-tail 1237s # /*** END file-tail ***/ 1237s # 1237s # Response file contains: --template /tmp/tmpn_vy1g7h/tmp0lzhwufc.template /tmp/tmpn_vy1g7h/tmpr9lhpg94.h 1237s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpn_vy1g7h/tmp7kz829og'] 1237s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1237s # Output: comment 1237s # 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. 1237s # 1237s # 1237s # file-header 1237s # file-production 1237s # filename: /tmp/tmpn_vy1g7h/tmpr9lhpg94.h 1237s # basename: tmpr9lhpg94.h 1237s # enumeration-production 1237s # EnumName: SomeEnumIdentifier 1237s # enum_name: some_enum_identifier 1237s # ENUMNAME: SOME_ENUM_IDENTIFIER 1237s # ENUMSHORT: ENUM_IDENTIFIER 1237s # ENUMPREFIX: SOME 1237s # enumsince: 1237s # type: enum 1237s # Type: Enum 1237s # TYPE: ENUM 1237s # value-header 1237s # EnumName: SomeEnumIdentifier 1237s # enum_name: some_enum_identifier 1237s # ENUMNAME: SOME_ENUM_IDENTIFIER 1237s # ENUMSHORT: ENUM_IDENTIFIER 1237s # ENUMPREFIX: SOME 1237s # enumsince: 1237s # type: enum 1237s # Type: Enum 1237s # TYPE: ENUM 1237s # value-production 1237s # VALUENAME: ENUM_VALUE 1237s # valuenick: value 1237s # valuenum: 0 1237s # type: enum 1237s # Type: Enum 1237s # TYPE: ENUM 1237s # value-tail 1237s # EnumName: SomeEnumIdentifier 1237s # enum_name: some_enum_identifier 1237s # ENUMNAME: SOME_ENUM_IDENTIFIER 1237s # ENUMSHORT: ENUM_IDENTIFIER 1237s # ENUMPREFIX: SOME 1237s # enumsince: 1237s # type: enum 1237s # Type: Enum 1237s # TYPE: ENUM 1237s # file-tail 1237s # 1237s # comment 1237s # comment: Generated data ends here 1237s ok 26 __main__.TestRspMkenums.test_enum_private_public 1237s # tmpdir: /tmp/tmpa1rq56gu 1237s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1237s # /tmp/tmpa1rq56gu/tmpsyn0cfcv.h: 1237s # typedef enum { 1237s # ENUM_VALUE_PUBLIC1, 1237s # /*< private >*/ 1237s # ENUM_VALUE_PRIVATE, 1237s # } SomeEnumA 1237s # 1237s # /tmp/tmpa1rq56gu/tmpg9mz3lap.template: 1237s # /*** BEGIN file-header ***/ 1237s # file-header 1237s # /*** END file-header ***/ 1237s # 1237s # /*** BEGIN file-production ***/ 1237s # file-production 1237s # filename: @filename@ 1237s # basename: @basename@ 1237s # /*** END file-production ***/ 1237s # 1237s # /*** BEGIN enumeration-production ***/ 1237s # enumeration-production 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END enumeration-production ***/ 1237s # 1237s # /*** BEGIN value-header ***/ 1237s # value-header 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-header ***/ 1237s # 1237s # /*** BEGIN value-production ***/ 1237s # value-production 1237s # VALUENAME: @VALUENAME@ 1237s # valuenick: @valuenick@ 1237s # valuenum: @valuenum@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-production ***/ 1237s # 1237s # /*** BEGIN value-tail ***/ 1237s # value-tail 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-tail ***/ 1237s # 1237s # /*** BEGIN comment ***/ 1237s # comment 1237s # comment: @comment@ 1237s # /*** END comment ***/ 1237s # 1237s # /*** BEGIN file-tail ***/ 1237s # file-tail 1237s # /*** END file-tail ***/ 1237s # 1237s # Response file contains: --template /tmp/tmpa1rq56gu/tmpg9mz3lap.template /tmp/tmpa1rq56gu/tmpsyn0cfcv.h 1237s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpa1rq56gu/tmptv6bh28e'] 1237s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1237s # Output: comment 1237s # 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. 1237s # 1237s # 1237s # file-header 1237s # file-production 1237s # filename: /tmp/tmpa1rq56gu/tmpsyn0cfcv.h 1237s # basename: tmpsyn0cfcv.h 1237s # enumeration-production 1237s # EnumName: SomeEnumA 1237s # enum_name: some_enum_a 1237s # ENUMNAME: SOME_ENUM_A 1237s # ENUMSHORT: ENUM_A 1237s # ENUMPREFIX: SOME 1237s # enumsince: 1237s # type: enum 1237s # Type: Enum 1237s # TYPE: ENUM 1237s # value-header 1237s # EnumName: SomeEnumA 1237s # enum_name: some_enum_a 1237s # ENUMNAME: SOME_ENUM_A 1237s # ENUMSHORT: ENUM_A 1237s # ENUMPREFIX: SOME 1237s # enumsince: 1237s # type: enum 1237s # Type: Enum 1237s # TYPE: ENUM 1237s # value-production 1237s # VALUENAME: ENUM_VALUE_PUBLIC1 1237s # valuenick: public1 1237s # valuenum: 0 1237s # type: enum 1237s # Type: Enum 1237s # TYPE: ENUM 1237s # value-tail 1237s # EnumName: SomeEnumA 1237s # enum_name: some_enum_a 1237s # ENUMNAME: SOME_ENUM_A 1237s # ENUMSHORT: ENUM_A 1237s # ENUMPREFIX: SOME 1237s # enumsince: 1237s # type: enum 1237s # Type: Enum 1237s # TYPE: ENUM 1237s # file-tail 1237s # 1237s # comment 1237s # comment: Generated data ends here 1237s # /tmp/tmpa1rq56gu/tmp6suyth9m.h: 1237s # typedef enum { 1237s # /*< private >*/ 1237s # ENUM_VALUE_PRIVATE, 1237s # /*< public >*/ 1237s # ENUM_VALUE_PUBLIC2, 1237s # } SomeEnumB; 1237s # 1237s # /tmp/tmpa1rq56gu/tmp9temxzop.template: 1237s # /*** BEGIN file-header ***/ 1237s # file-header 1237s # /*** END file-header ***/ 1237s # 1237s # /*** BEGIN file-production ***/ 1237s # file-production 1237s # filename: @filename@ 1237s # basename: @basename@ 1237s # /*** END file-production ***/ 1237s # 1237s # /*** BEGIN enumeration-production ***/ 1237s # enumeration-production 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END enumeration-production ***/ 1237s # 1237s # /*** BEGIN value-header ***/ 1237s # value-header 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-header ***/ 1237s # 1237s # /*** BEGIN value-production ***/ 1237s # value-production 1237s # VALUENAME: @VALUENAME@ 1237s # valuenick: @valuenick@ 1237s # valuenum: @valuenum@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-production ***/ 1237s # 1237s # /*** BEGIN value-tail ***/ 1237s # value-tail 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-tail ***/ 1237s # 1237s # /*** BEGIN comment ***/ 1237s # comment 1237s # comment: @comment@ 1237s # /*** END comment ***/ 1237s # 1237s # /*** BEGIN file-tail ***/ 1237s # file-tail 1237s # /*** END file-tail ***/ 1237s # 1237s # Response file contains: --template /tmp/tmpa1rq56gu/tmp9temxzop.template /tmp/tmpa1rq56gu/tmp6suyth9m.h 1237s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpa1rq56gu/tmpv3l0kofj'] 1237s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1237s # Output: comment 1237s # 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. 1237s # 1237s # 1237s # file-header 1237s # file-production 1237s # filename: /tmp/tmpa1rq56gu/tmp6suyth9m.h 1237s # basename: tmp6suyth9m.h 1237s # enumeration-production 1237s # EnumName: SomeEnumB 1237s # enum_name: some_enum_b 1237s # ENUMNAME: SOME_ENUM_B 1237s # ENUMSHORT: ENUM_B 1237s # ENUMPREFIX: SOME 1237s # enumsince: 1237s # type: enum 1237s # Type: Enum 1237s # TYPE: ENUM 1237s # value-header 1237s # EnumName: SomeEnumB 1237s # enum_name: some_enum_b 1237s # ENUMNAME: SOME_ENUM_B 1237s # ENUMSHORT: ENUM_B 1237s # ENUMPREFIX: SOME 1237s # enumsince: 1237s # type: enum 1237s # Type: Enum 1237s # TYPE: ENUM 1237s # value-production 1237s # VALUENAME: ENUM_VALUE_PUBLIC2 1237s # valuenick: public2 1237s # valuenum: 1 1237s # type: enum 1237s # Type: Enum 1237s # TYPE: ENUM 1237s # value-tail 1237s # EnumName: SomeEnumB 1237s # enum_name: some_enum_b 1237s # ENUMNAME: SOME_ENUM_B 1237s # ENUMSHORT: ENUM_B 1237s # ENUMPREFIX: SOME 1237s # enumsince: 1237s # type: enum 1237s # Type: Enum 1237s # TYPE: ENUM 1237s # file-tail 1237s # 1237s # comment 1237s # comment: Generated data ends here 1237s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 1237s # tmpdir: /tmp/tmpxsd__8nj 1237s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1237s # /tmp/tmpxsd__8nj/tmpzudac1wu.h: 1237s # typedef enum { 1237s # /*< private >*/ 1237s # ENUM_VALUE_PRIVATE = 5, 1237s # /*< public >*/ 1237s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1237s # } TestSymbolicEnum; 1237s # 1237s # /tmp/tmpxsd__8nj/tmp3nucub2i.template: 1237s # /*** BEGIN file-header ***/ 1237s # file-header 1237s # /*** END file-header ***/ 1237s # 1237s # /*** BEGIN file-production ***/ 1237s # file-production 1237s # filename: @filename@ 1237s # basename: @basename@ 1237s # /*** END file-production ***/ 1237s # 1237s # /*** BEGIN enumeration-production ***/ 1237s # enumeration-production 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END enumeration-production ***/ 1237s # 1237s # /*** BEGIN value-header ***/ 1237s # value-header 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-header ***/ 1237s # 1237s # /*** BEGIN value-production ***/ 1237s # value-production 1237s # VALUENAME: @VALUENAME@ 1237s # valuenick: @valuenick@ 1237s # valuenum: @valuenum@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-production ***/ 1237s # 1237s # /*** BEGIN value-tail ***/ 1237s # value-tail 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-tail ***/ 1237s # 1237s # /*** BEGIN comment ***/ 1237s # comment 1237s # comment: @comment@ 1237s # /*** END comment ***/ 1237s # 1237s # /*** BEGIN file-tail ***/ 1237s # file-tail 1237s # /*** END file-tail ***/ 1237s # 1237s # Response file contains: --template /tmp/tmpxsd__8nj/tmp3nucub2i.template /tmp/tmpxsd__8nj/tmpzudac1wu.h 1237s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpxsd__8nj/tmpul2jkkdf'] 1237s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1237s # Output: comment 1237s # 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. 1237s # 1237s # 1237s # file-header 1237s # file-production 1237s # filename: /tmp/tmpxsd__8nj/tmpzudac1wu.h 1237s # basename: tmpzudac1wu.h 1237s # enumeration-production 1237s # EnumName: TestSymbolicEnum 1237s # enum_name: test_symbolic_enum 1237s # ENUMNAME: TEST_SYMBOLIC_ENUM 1237s # ENUMSHORT: SYMBOLIC_ENUM 1237s # ENUMPREFIX: TEST 1237s # enumsince: 1237s # type: enum 1237s # Type: Enum 1237s # TYPE: ENUM 1237s # value-header 1237s # EnumName: TestSymbolicEnum 1237s # enum_name: test_symbolic_enum 1237s # ENUMNAME: TEST_SYMBOLIC_ENUM 1237s # ENUMSHORT: SYMBOLIC_ENUM 1237s # ENUMPREFIX: TEST 1237s # enumsince: 1237s # type: enum 1237s # Type: Enum 1237s # TYPE: ENUM 1237s # value-production 1237s # VALUENAME: ENUM_VALUE_PUBLIC 1237s # valuenick: public 1237s # valuenum: 7 1237s # type: enum 1237s # Type: Enum 1237s # TYPE: ENUM 1237s # value-tail 1237s # EnumName: TestSymbolicEnum 1237s # enum_name: test_symbolic_enum 1237s # ENUMNAME: TEST_SYMBOLIC_ENUM 1237s # ENUMSHORT: SYMBOLIC_ENUM 1237s # ENUMPREFIX: TEST 1237s # enumsince: 1237s # type: enum 1237s # Type: Enum 1237s # TYPE: ENUM 1237s # file-tail 1237s # 1237s # comment 1237s # comment: Generated data ends here 1237s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 1237s # tmpdir: /tmp/tmp2rar6auy 1237s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1237s # /tmp/tmp2rar6auy/tmph_zcnwty.template: 1237s # /*** BEGIN file-header ***/ 1237s # file-header 1237s # filename: @filename@ 1237s # basename: @basename@ 1237s # /*** END file-header ***/ 1237s # 1237s # /*** BEGIN comment ***/ 1237s # comment 1237s # comment: @comment@ 1237s # /*** END comment ***/ 1237s # 1237s # /*** BEGIN file-tail ***/ 1237s # file-tail 1237s # filename: @filename@ 1237s # basename: @basename@ 1237s # /*** END file-tail ***/ 1237s # Response file contains: --template /tmp/tmp2rar6auy/tmph_zcnwty.template 1237s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp2rar6auy/tmp00xui3gn'] 1237s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1237s # Output: comment 1237s # 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. 1237s # 1237s # 1237s # file-header 1237s # filename: @filename@ 1237s # basename: @basename@ 1237s # file-tail 1237s # filename: @filename@ 1237s # basename: @basename@ 1237s # 1237s # comment 1237s # comment: Generated data ends here 1237s ok 29 __main__.TestRspMkenums.test_help 1237s # tmpdir: /tmp/tmp0xsmcjqt 1237s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1237s # Response file contains: --help 1237s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0xsmcjqt/tmp4_uh1drg'] 1237s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1237s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1237s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1237s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1237s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1237s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1237s # [--output OUTPUT] [--version] 1237s # [args ...] 1237s # 1237s # positional arguments: 1237s # args One or more input files, or a single argument 1237s # @rspfile_path pointing to a file that contains the 1237s # actual arguments 1237s # 1237s # options: 1237s # -h, --help show this help message and exit 1237s # --identifier-prefix IDPREFIX 1237s # Identifier prefix 1237s # --symbol-prefix SYMPREFIX 1237s # Symbol prefix 1237s # --fhead FHEAD Output file header 1237s # --ftail FTAIL Output file footer 1237s # --fprod FPROD Put out TEXT every time a new input file is being 1237s # processed. 1237s # --eprod EPROD Per enum text, produced prior to value iterations 1237s # --vhead VHEAD Value header, produced before iterating over enum 1237s # values 1237s # --vprod VPROD Value text, produced for each enum value. 1237s # --vtail VTAIL Value tail, produced after iterating over enum values 1237s # --comments COMMENT_TMPL 1237s # Comment structure 1237s # --template TEMPLATE Template file 1237s # --output OUTPUT 1237s # --version, -v Print version information 1237s # 1237s # Production text substitutions: 1237s # @EnumName@ PrefixTheXEnum 1237s # @enum_name@ prefix_the_xenum 1237s # @ENUMNAME@ PREFIX_THE_XENUM 1237s # @ENUMSHORT@ THE_XENUM 1237s # @ENUMPREFIX@ PREFIX 1237s # @enumsince@ the user-provided since value given 1237s # @VALUENAME@ PREFIX_THE_XVALUE 1237s # @valuenick@ the-xvalue 1237s # @valuenum@ the integer value (limited support, Since: 2.26) 1237s # @type@ either enum or flags 1237s # @Type@ either Enum or Flags 1237s # @TYPE@ either ENUM or FLAGS 1237s # @filename@ name of current input file 1237s # @basename@ base name of the current input file (Since: 2.22) 1237s ok 30 __main__.TestRspMkenums.test_no_args 1237s # tmpdir: /tmp/tmp9omer8gb 1237s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1237s # Response file contains: 1237s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp9omer8gb/tmps5fb97db'] 1237s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1237s # 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. */ 1237s # 1237s # 1237s # /* Generated data ends here */ 1237s ok 31 __main__.TestRspMkenums.test_no_headers 1237s # tmpdir: /tmp/tmp8bhzfqpi 1237s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1237s # /tmp/tmp8bhzfqpi/tmpyxdxayn4.template: 1237s # /*** BEGIN file-header ***/ 1237s # file-header 1237s # /*** END file-header ***/ 1237s # 1237s # /*** BEGIN file-production ***/ 1237s # file-production 1237s # filename: @filename@ 1237s # basename: @basename@ 1237s # /*** END file-production ***/ 1237s # 1237s # /*** BEGIN enumeration-production ***/ 1237s # enumeration-production 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END enumeration-production ***/ 1237s # 1237s # /*** BEGIN value-header ***/ 1237s # value-header 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-header ***/ 1237s # 1237s # /*** BEGIN value-production ***/ 1237s # value-production 1237s # VALUENAME: @VALUENAME@ 1237s # valuenick: @valuenick@ 1237s # valuenum: @valuenum@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-production ***/ 1237s # 1237s # /*** BEGIN value-tail ***/ 1237s # value-tail 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-tail ***/ 1237s # 1237s # /*** BEGIN comment ***/ 1237s # comment 1237s # comment: @comment@ 1237s # /*** END comment ***/ 1237s # 1237s # /*** BEGIN file-tail ***/ 1237s # file-tail 1237s # /*** END file-tail ***/ 1237s # 1237s # Response file contains: --template /tmp/tmp8bhzfqpi/tmpyxdxayn4.template 1237s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp8bhzfqpi/tmp0ovfk2ji'] 1237s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1237s # Output: comment 1237s # 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. 1237s # 1237s # 1237s # file-header 1237s # file-tail 1237s # 1237s # comment 1237s # comment: Generated data ends here 1237s ok 32 __main__.TestRspMkenums.test_no_nick 1237s # tmpdir: /tmp/tmpnywvfiph 1237s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1237s # /tmp/tmpnywvfiph/tmp01ggtwit.h: 1237s # typedef enum { 1237s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1237s # } GeglSamplerType; 1237s # 1237s # /tmp/tmpnywvfiph/tmp3b85jmcm.template: 1237s # /*** BEGIN file-header ***/ 1237s # file-header 1237s # /*** END file-header ***/ 1237s # 1237s # /*** BEGIN file-production ***/ 1237s # file-production 1237s # filename: @filename@ 1237s # basename: @basename@ 1237s # /*** END file-production ***/ 1237s # 1237s # /*** BEGIN enumeration-production ***/ 1237s # enumeration-production 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END enumeration-production ***/ 1237s # 1237s # /*** BEGIN value-header ***/ 1237s # value-header 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-header ***/ 1237s # 1237s # /*** BEGIN value-production ***/ 1237s # value-production 1237s # VALUENAME: @VALUENAME@ 1237s # valuenick: @valuenick@ 1237s # valuenum: @valuenum@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-production ***/ 1237s # 1237s # /*** BEGIN value-tail ***/ 1237s # value-tail 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-tail ***/ 1237s # 1237s # /*** BEGIN comment ***/ 1237s # comment 1237s # comment: @comment@ 1237s # /*** END comment ***/ 1237s # 1237s # /*** BEGIN file-tail ***/ 1237s # file-tail 1237s # /*** END file-tail ***/ 1237s # 1237s # Response file contains: --template /tmp/tmpnywvfiph/tmp3b85jmcm.template /tmp/tmpnywvfiph/tmp01ggtwit.h 1237s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpnywvfiph/tmp79l1g3jp'] 1237s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1237s # Output: comment 1237s # 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. 1237s # 1237s # 1237s # file-header 1237s # file-production 1237s # filename: /tmp/tmpnywvfiph/tmp01ggtwit.h 1237s # basename: tmp01ggtwit.h 1237s # enumeration-production 1237s # EnumName: GeglSamplerType 1237s # enum_name: gegl_sampler_type 1237s # ENUMNAME: GEGL_SAMPLER_TYPE 1237s # ENUMSHORT: SAMPLER_TYPE 1237s # ENUMPREFIX: GEGL 1237s # enumsince: 1237s # type: enum 1237s # Type: Enum 1237s # TYPE: ENUM 1237s # value-header 1237s # EnumName: GeglSamplerType 1237s # enum_name: gegl_sampler_type 1237s # ENUMNAME: GEGL_SAMPLER_TYPE 1237s # ENUMSHORT: SAMPLER_TYPE 1237s # ENUMPREFIX: GEGL 1237s # enumsince: 1237s # type: enum 1237s # Type: Enum 1237s # TYPE: ENUM 1237s # value-production 1237s # VALUENAME: GEGL_SAMPLER_NEAREST 1237s # valuenick: nearest 1237s # valuenum: 0 1237s # type: enum 1237s # Type: Enum 1237s # TYPE: ENUM 1237s # value-tail 1237s # EnumName: GeglSamplerType 1237s # enum_name: gegl_sampler_type 1237s # ENUMNAME: GEGL_SAMPLER_TYPE 1237s # ENUMSHORT: SAMPLER_TYPE 1237s # ENUMPREFIX: GEGL 1237s # enumsince: 1237s # type: enum 1237s # Type: Enum 1237s # TYPE: ENUM 1237s # file-tail 1237s # 1237s # comment 1237s # comment: Generated data ends here 1237s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 1237s # tmpdir: /tmp/tmpij7myznn 1237s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1237s # /tmp/tmpij7myznn/tmp6523il3e.h: 1237s # /* Copyright © La Peña */ 1237s # typedef enum { 1237s # ENUM_VALUE 1237s # } SomeEnumIdentifier; 1237s # 1237s # /tmp/tmpij7myznn/tmpm0o73ks1.template: 1237s # /*** BEGIN file-header ***/ 1237s # file-header 1237s # /*** END file-header ***/ 1237s # 1237s # /*** BEGIN file-production ***/ 1237s # file-production 1237s # filename: @filename@ 1237s # basename: @basename@ 1237s # /*** END file-production ***/ 1237s # 1237s # /*** BEGIN enumeration-production ***/ 1237s # enumeration-production 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END enumeration-production ***/ 1237s # 1237s # /*** BEGIN value-header ***/ 1237s # value-header 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-header ***/ 1237s # 1237s # /*** BEGIN value-production ***/ 1237s # value-production 1237s # VALUENAME: @VALUENAME@ 1237s # valuenick: @valuenick@ 1237s # valuenum: @valuenum@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-production ***/ 1237s # 1237s # /*** BEGIN value-tail ***/ 1237s # value-tail 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-tail ***/ 1237s # 1237s # /*** BEGIN comment ***/ 1237s # comment 1237s # comment: @comment@ 1237s # /*** END comment ***/ 1237s # 1237s # /*** BEGIN file-tail ***/ 1237s # file-tail 1237s # /*** END file-tail ***/ 1237s # 1237s # Response file contains: --template /tmp/tmpij7myznn/tmpm0o73ks1.template /tmp/tmpij7myznn/tmp6523il3e.h 1237s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpij7myznn/tmp53_xwavg'] 1237s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1237s # Output: comment 1237s # 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. 1237s # 1237s # 1237s # file-header 1237s # file-production 1237s # filename: /tmp/tmpij7myznn/tmp6523il3e.h 1237s # basename: tmp6523il3e.h 1237s # enumeration-production 1237s # EnumName: SomeEnumIdentifier 1237s # enum_name: some_enum_identifier 1237s # ENUMNAME: SOME_ENUM_IDENTIFIER 1237s # ENUMSHORT: ENUM_IDENTIFIER 1237s # ENUMPREFIX: SOME 1237s # enumsince: 1237s # type: enum 1237s # Type: Enum 1237s # TYPE: ENUM 1237s # value-header 1237s # EnumName: SomeEnumIdentifier 1237s # enum_name: some_enum_identifier 1237s # ENUMNAME: SOME_ENUM_IDENTIFIER 1237s # ENUMSHORT: ENUM_IDENTIFIER 1237s # ENUMPREFIX: SOME 1237s # enumsince: 1237s # type: enum 1237s # Type: Enum 1237s # TYPE: ENUM 1237s # value-production 1237s # VALUENAME: ENUM_VALUE 1237s # valuenick: value 1237s # valuenum: 0 1237s # type: enum 1237s # Type: Enum 1237s # TYPE: ENUM 1237s # value-tail 1237s # EnumName: SomeEnumIdentifier 1237s # enum_name: some_enum_identifier 1237s # ENUMNAME: SOME_ENUM_IDENTIFIER 1237s # ENUMSHORT: ENUM_IDENTIFIER 1237s # ENUMPREFIX: SOME 1237s # enumsince: 1237s # type: enum 1237s # Type: Enum 1237s # TYPE: ENUM 1237s # file-tail 1237s # 1237s # comment 1237s # comment: Generated data ends here 1237s ok 34 __main__.TestRspMkenums.test_reproducible 1237s # tmpdir: /tmp/tmprhr8c2_c 1237s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1237s # /tmp/tmprhr8c2_c/tmphjmcpj8f.template: template 1237s # Response file contains: --template /tmp/tmprhr8c2_c/tmphjmcpj8f.template /tmp/tmprhr8c2_c/tmpo2bgimkv1.h /tmp/tmprhr8c2_c/tmp5ydjgd082.h 1237s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprhr8c2_c/tmp5pa6r2zy'] 1237s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1237s # 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. */ 1237s # 1237s # 1237s # /* Generated data ends here */ 1237s # /tmp/tmprhr8c2_c/tmp_iv0qrrs.template: template 1237s # Response file contains: --template /tmp/tmprhr8c2_c/tmp_iv0qrrs.template /tmp/tmprhr8c2_c/tmp5ydjgd082.h /tmp/tmprhr8c2_c/tmpo2bgimkv1.h 1237s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprhr8c2_c/tmppdc6o_ot'] 1237s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1237s # 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. */ 1237s # 1237s # 1237s # /* Generated data ends here */ 1237s ok 35 __main__.TestRspMkenums.test_since 1237s # tmpdir: /tmp/tmpbht3aimk 1237s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1237s # /tmp/tmpbht3aimk/tmprdjnli5g.h: 1237s # typedef enum { /*< since=1.0 >*/ 1237s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1237s # } QmiWmsMessageProtocol; 1237s # 1237s # /tmp/tmpbht3aimk/tmp6dw2smj7.template: 1237s # /*** BEGIN file-header ***/ 1237s # file-header 1237s # /*** END file-header ***/ 1237s # 1237s # /*** BEGIN file-production ***/ 1237s # file-production 1237s # filename: @filename@ 1237s # basename: @basename@ 1237s # /*** END file-production ***/ 1237s # 1237s # /*** BEGIN enumeration-production ***/ 1237s # enumeration-production 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END enumeration-production ***/ 1237s # 1237s # /*** BEGIN value-header ***/ 1237s # value-header 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-header ***/ 1237s # 1237s # /*** BEGIN value-production ***/ 1237s # value-production 1237s # VALUENAME: @VALUENAME@ 1237s # valuenick: @valuenick@ 1237s # valuenum: @valuenum@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-production ***/ 1237s # 1237s # /*** BEGIN value-tail ***/ 1237s # value-tail 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-tail ***/ 1237s # 1237s # /*** BEGIN comment ***/ 1237s # comment 1237s # comment: @comment@ 1237s # /*** END comment ***/ 1237s # 1237s # /*** BEGIN file-tail ***/ 1237s # file-tail 1237s # /*** END file-tail ***/ 1237s # 1237s # Response file contains: --template /tmp/tmpbht3aimk/tmp6dw2smj7.template /tmp/tmpbht3aimk/tmprdjnli5g.h 1237s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpbht3aimk/tmpnxa6wzdu'] 1237s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1237s # Output: comment 1237s # 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. 1237s # 1237s # 1237s # file-header 1237s # file-production 1237s # filename: /tmp/tmpbht3aimk/tmprdjnli5g.h 1237s # basename: tmprdjnli5g.h 1237s # enumeration-production 1237s # EnumName: QmiWmsMessageProtocol 1237s # enum_name: qmi_wms_message_protocol 1237s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1237s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1237s # ENUMPREFIX: QMI 1237s # enumsince: 1.0 1237s # type: enum 1237s # Type: Enum 1237s # TYPE: ENUM 1237s # value-header 1237s # EnumName: QmiWmsMessageProtocol 1237s # enum_name: qmi_wms_message_protocol 1237s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1237s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1237s # ENUMPREFIX: QMI 1237s # enumsince: 1.0 1237s # type: enum 1237s # Type: Enum 1237s # TYPE: ENUM 1237s # value-production 1237s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1237s # valuenick: cdma 1237s # valuenum: 0 1237s # type: enum 1237s # Type: Enum 1237s # TYPE: ENUM 1237s # value-tail 1237s # EnumName: QmiWmsMessageProtocol 1237s # enum_name: qmi_wms_message_protocol 1237s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1237s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1237s # ENUMPREFIX: QMI 1237s # enumsince: 1.0 1237s # type: enum 1237s # Type: Enum 1237s # TYPE: ENUM 1237s # file-tail 1237s # 1237s # comment 1237s # comment: Generated data ends here 1237s ok 36 __main__.TestRspMkenums.test_with_double_quotes 1237s # tmpdir: /tmp/tmplax5ep41 1237s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1237s # /tmp/tmplax5ep41/tmphf_pnykf.h: 1237s # typedef enum { 1237s # FOO_VALUE /*< nick="eek, a comma" >*/ 1237s # } Foo; 1237s # 1237s # /tmp/tmplax5ep41/tmpmocn38ce.template: 1237s # /*** BEGIN file-header ***/ 1237s # file-header 1237s # /*** END file-header ***/ 1237s # 1237s # /*** BEGIN file-production ***/ 1237s # file-production 1237s # filename: @filename@ 1237s # basename: @basename@ 1237s # /*** END file-production ***/ 1237s # 1237s # /*** BEGIN enumeration-production ***/ 1237s # enumeration-production 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END enumeration-production ***/ 1237s # 1237s # /*** BEGIN value-header ***/ 1237s # value-header 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-header ***/ 1237s # 1237s # /*** BEGIN value-production ***/ 1237s # value-production 1237s # VALUENAME: @VALUENAME@ 1237s # valuenick: @valuenick@ 1237s # valuenum: @valuenum@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-production ***/ 1237s # 1237s # /*** BEGIN value-tail ***/ 1237s # value-tail 1237s # EnumName: @EnumName@ 1237s # enum_name: @enum_name@ 1237s # ENUMNAME: @ENUMNAME@ 1237s # ENUMSHORT: @ENUMSHORT@ 1237s # ENUMPREFIX: @ENUMPREFIX@ 1237s # enumsince: @enumsince@ 1237s # type: @type@ 1237s # Type: @Type@ 1237s # TYPE: @TYPE@ 1237s # /*** END value-tail ***/ 1237s # 1237s # /*** BEGIN comment ***/ 1237s # comment 1237s # comment: @comment@ 1237s # /*** END comment ***/ 1237s # 1237s # /*** BEGIN file-tail ***/ 1237s # file-tail 1237s # /*** END file-tail ***/ 1237s # 1237s # Response file contains: --template /tmp/tmplax5ep41/tmpmocn38ce.template /tmp/tmplax5ep41/tmphf_pnykf.h 1237s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmplax5ep41/tmpi2scwr9d'] 1237s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1237s # Output: comment 1237s # 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. 1237s # 1237s # 1237s # file-header 1237s # file-production 1237s # filename: /tmp/tmplax5ep41/tmphf_pnykf.h 1237s # basename: tmphf_pnykf.h 1237s # enumeration-production 1237s # EnumName: Foo 1237s # enum_name: foo_ 1237s # ENUMNAME: FOO_ 1237s # ENUMSHORT: 1237s # ENUMPREFIX: FOO 1237s # enumsince: 1237s # type: enum 1237s # Type: Enum 1237s # TYPE: ENUM 1237s # value-header 1237s # EnumName: Foo 1237s # enum_name: foo_ 1237s # ENUMNAME: FOO_ 1237s # ENUMSHORT: 1237s # ENUMPREFIX: FOO 1237s # enumsince: 1237s # type: enum 1237s # Type: Enum 1237s # TYPE: ENUM 1237s # value-production 1237s # VALUENAME: FOO_VALUE 1237s # valuenick: eek, a comma 1237s # valuenum: 0 1237s # type: enum 1237s # Type: Enum 1237s # TYPE: ENUM 1237s # value-tail 1237s # EnumName: Foo 1237s # enum_name: foo_ 1237s # ENUMNAME: FOO_ 1237s # ENUMSHORT: 1237s # ENUMPREFIX: FOO 1237s # enumsince: 1237s # type: enum 1237s # Type: Enum 1237s # TYPE: ENUM 1237s # file-tail 1237s # 1237s # comment 1237s # comment: Generated data ends here 1237s 1..36 1237s ok - glib/mkenums.py.test 1237s # Running test: glib/bookmarkfile.test 1237s TAP version 14 1237s # random seed: R02S309716b8c0a92d5009d545552c68485f 1237s 1..96 1237s # Start of bookmarks tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/load-from-data-dirs/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/load-from-data-dirs/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/load-from-data-dirs/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/load-from-data-dirs/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/load-from-data-dirs/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/load-from-data-dirs/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/load-from-data-dirs/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/load-from-data-dirs/.dirs/runtime 1237s ok 1 /bookmarks/load-from-data-dirs 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/to-file/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/to-file/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/to-file/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/to-file/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/to-file/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/to-file/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/to-file/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/to-file/.dirs/runtime 1237s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_25MQZ2/bookmarkfile-test-PKMQZ2.xbel 1237s # Roundtrip from a valid bookmark file 1237s ok 2 /bookmarks/to-file 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/move-item/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/move-item/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/move-item/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/move-item/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/move-item/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/move-item/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/move-item/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/move-item/.dirs/runtime 1237s ok 3 /bookmarks/move-item 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/corner-cases/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/corner-cases/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/corner-cases/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/corner-cases/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/corner-cases/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/corner-cases/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/corner-cases/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/corner-cases/.dirs/runtime 1237s ok 4 /bookmarks/corner-cases 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/misc/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/misc/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/misc/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/misc/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/misc/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/misc/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/misc/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/misc/.dirs/runtime 1237s ok 5 /bookmarks/misc 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/deprecated/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/deprecated/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/deprecated/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/deprecated/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/deprecated/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/deprecated/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/deprecated/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/deprecated/.dirs/runtime 1237s ok 6 /bookmarks/deprecated 1237s # Start of parse tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-06.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-06.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-06.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-06.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-06.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-06.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-06.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-06.xbel/.dirs/runtime 1237s ok 7 /bookmarks/parse/fail-06.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-19.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-19.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-19.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-19.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-19.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-19.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-19.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-19.xbel/.dirs/runtime 1237s ok 8 /bookmarks/parse/fail-19.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-39.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-39.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-39.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-39.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-39.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-39.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-39.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-39.xbel/.dirs/runtime 1237s ok 9 /bookmarks/parse/fail-39.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-22.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-22.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-22.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-22.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-22.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-22.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-22.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-22.xbel/.dirs/runtime 1237s ok 10 /bookmarks/parse/fail-22.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-31.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-31.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-31.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-31.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-31.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-31.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-31.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-31.xbel/.dirs/runtime 1237s ok 11 /bookmarks/parse/fail-31.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-40.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-40.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-40.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-40.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-40.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-40.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-40.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-40.xbel/.dirs/runtime 1237s ok 12 /bookmarks/parse/fail-40.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/valid-02.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/valid-02.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/valid-02.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/valid-02.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/valid-02.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/valid-02.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/valid-02.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/valid-02.xbel/.dirs/runtime 1237s ok 13 /bookmarks/parse/valid-02.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-11.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-11.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-11.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-11.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-11.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-11.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-11.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-11.xbel/.dirs/runtime 1237s ok 14 /bookmarks/parse/fail-11.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-25.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-25.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-25.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-25.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-25.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-25.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-25.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-25.xbel/.dirs/runtime 1237s ok 15 /bookmarks/parse/fail-25.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-17.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-17.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-17.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-17.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-17.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-17.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-17.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-17.xbel/.dirs/runtime 1237s ok 16 /bookmarks/parse/fail-17.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-32.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-32.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-32.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-32.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-32.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-32.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-32.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-32.xbel/.dirs/runtime 1237s ok 17 /bookmarks/parse/fail-32.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-21.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-21.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-21.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-21.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-21.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-21.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-21.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-21.xbel/.dirs/runtime 1237s ok 18 /bookmarks/parse/fail-21.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-28.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-28.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-28.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-28.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-28.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-28.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-28.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-28.xbel/.dirs/runtime 1237s ok 19 /bookmarks/parse/fail-28.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-35.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-35.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-35.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-35.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-35.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-35.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-35.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-35.xbel/.dirs/runtime 1237s ok 20 /bookmarks/parse/fail-35.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-01.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-01.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-01.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-01.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-01.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-01.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-01.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-01.xbel/.dirs/runtime 1237s ok 21 /bookmarks/parse/fail-01.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-20.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-20.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-20.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-20.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-20.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-20.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-20.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-20.xbel/.dirs/runtime 1237s ok 22 /bookmarks/parse/fail-20.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-03.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-03.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-03.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-03.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-03.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-03.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-03.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-03.xbel/.dirs/runtime 1237s ok 23 /bookmarks/parse/fail-03.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-18.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-18.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-18.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-18.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-18.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-18.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-18.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-18.xbel/.dirs/runtime 1237s ok 24 /bookmarks/parse/fail-18.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-13.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-13.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-13.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-13.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-13.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-13.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-13.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-13.xbel/.dirs/runtime 1237s ok 25 /bookmarks/parse/fail-13.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-42.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-42.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-42.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-42.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-42.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-42.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-42.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-42.xbel/.dirs/runtime 1237s ok 26 /bookmarks/parse/fail-42.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-14.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-14.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-14.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-14.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-14.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-14.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-14.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-14.xbel/.dirs/runtime 1237s ok 27 /bookmarks/parse/fail-14.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-38.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-38.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-38.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-38.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-38.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-38.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-38.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-38.xbel/.dirs/runtime 1237s ok 28 /bookmarks/parse/fail-38.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-24.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-24.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-24.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-24.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-24.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-24.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-24.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-24.xbel/.dirs/runtime 1237s ok 29 /bookmarks/parse/fail-24.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-30.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-30.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-30.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-30.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-30.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-30.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-30.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-30.xbel/.dirs/runtime 1237s ok 30 /bookmarks/parse/fail-30.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-23.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-23.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-23.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-23.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-23.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-23.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-23.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-23.xbel/.dirs/runtime 1237s ok 31 /bookmarks/parse/fail-23.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-15.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-15.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-15.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-15.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-15.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-15.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-15.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-15.xbel/.dirs/runtime 1237s ok 32 /bookmarks/parse/fail-15.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-09.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-09.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-09.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-09.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-09.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-09.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-09.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-09.xbel/.dirs/runtime 1237s ok 33 /bookmarks/parse/fail-09.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-41.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-41.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-41.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-41.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-41.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-41.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-41.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-41.xbel/.dirs/runtime 1237s ok 34 /bookmarks/parse/fail-41.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/valid-01.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/valid-01.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/valid-01.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/valid-01.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/valid-01.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/valid-01.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/valid-01.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/valid-01.xbel/.dirs/runtime 1237s ok 35 /bookmarks/parse/valid-01.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-36.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-36.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-36.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-36.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-36.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-36.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-36.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-36.xbel/.dirs/runtime 1237s ok 36 /bookmarks/parse/fail-36.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-33.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-33.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-33.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-33.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-33.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-33.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-33.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-33.xbel/.dirs/runtime 1237s ok 37 /bookmarks/parse/fail-33.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-10.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-10.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-10.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-10.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-10.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-10.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-10.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-10.xbel/.dirs/runtime 1237s ok 38 /bookmarks/parse/fail-10.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/valid-03.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/valid-03.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/valid-03.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/valid-03.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/valid-03.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/valid-03.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/valid-03.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/valid-03.xbel/.dirs/runtime 1237s ok 39 /bookmarks/parse/valid-03.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-26.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-26.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-26.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-26.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-26.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-26.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-26.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-26.xbel/.dirs/runtime 1237s ok 40 /bookmarks/parse/fail-26.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-04.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-04.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-04.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-04.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-04.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-04.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-04.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-04.xbel/.dirs/runtime 1237s ok 41 /bookmarks/parse/fail-04.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-37.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-37.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-37.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-37.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-37.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-37.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-37.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-37.xbel/.dirs/runtime 1237s ok 42 /bookmarks/parse/fail-37.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-29.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-29.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-29.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-29.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-29.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-29.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-29.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-29.xbel/.dirs/runtime 1237s ok 43 /bookmarks/parse/fail-29.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-16.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-16.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-16.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-16.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-16.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-16.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-16.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-16.xbel/.dirs/runtime 1237s ok 44 /bookmarks/parse/fail-16.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-05.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-05.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-05.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-05.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-05.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-05.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-05.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-05.xbel/.dirs/runtime 1237s ok 45 /bookmarks/parse/fail-05.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-27.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-27.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-27.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-27.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-27.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-27.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-27.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-27.xbel/.dirs/runtime 1237s ok 46 /bookmarks/parse/fail-27.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-34.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-34.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-34.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-34.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-34.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-34.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-34.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-34.xbel/.dirs/runtime 1237s ok 47 /bookmarks/parse/fail-34.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-12.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-12.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-12.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-12.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-12.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-12.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-12.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-12.xbel/.dirs/runtime 1237s ok 48 /bookmarks/parse/fail-12.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-07.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-07.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-07.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-07.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-07.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-07.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-07.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-07.xbel/.dirs/runtime 1237s ok 49 /bookmarks/parse/fail-07.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-08.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-08.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-08.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-08.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-08.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-08.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-08.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-08.xbel/.dirs/runtime 1237s ok 50 /bookmarks/parse/fail-08.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-02.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-02.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-02.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-02.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-02.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-02.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-02.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/parse/fail-02.xbel/.dirs/runtime 1237s ok 51 /bookmarks/parse/fail-02.xbel 1237s # End of parse tests 1237s # Start of copy tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-06.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-06.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-06.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-06.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-06.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-06.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-06.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-06.xbel/.dirs/runtime 1237s ok 52 /bookmarks/copy/fail-06.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-19.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-19.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-19.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-19.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-19.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-19.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-19.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-19.xbel/.dirs/runtime 1237s ok 53 /bookmarks/copy/fail-19.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-39.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-39.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-39.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-39.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-39.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-39.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-39.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-39.xbel/.dirs/runtime 1237s ok 54 /bookmarks/copy/fail-39.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-22.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-22.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-22.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-22.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-22.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-22.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-22.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-22.xbel/.dirs/runtime 1237s ok 55 /bookmarks/copy/fail-22.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-31.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-31.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-31.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-31.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-31.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-31.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-31.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-31.xbel/.dirs/runtime 1237s ok 56 /bookmarks/copy/fail-31.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-40.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-40.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-40.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-40.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-40.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-40.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-40.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-40.xbel/.dirs/runtime 1237s ok 57 /bookmarks/copy/fail-40.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/valid-02.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/valid-02.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/valid-02.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/valid-02.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/valid-02.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/valid-02.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/valid-02.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/valid-02.xbel/.dirs/runtime 1237s ok 58 /bookmarks/copy/valid-02.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-11.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-11.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-11.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-11.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-11.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-11.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-11.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-11.xbel/.dirs/runtime 1237s ok 59 /bookmarks/copy/fail-11.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-25.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-25.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-25.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-25.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-25.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-25.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-25.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-25.xbel/.dirs/runtime 1237s ok 60 /bookmarks/copy/fail-25.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-17.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-17.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-17.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-17.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-17.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-17.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-17.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-17.xbel/.dirs/runtime 1237s ok 61 /bookmarks/copy/fail-17.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-32.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-32.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-32.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-32.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-32.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-32.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-32.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-32.xbel/.dirs/runtime 1237s ok 62 /bookmarks/copy/fail-32.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-21.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-21.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-21.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-21.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-21.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-21.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-21.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-21.xbel/.dirs/runtime 1237s ok 63 /bookmarks/copy/fail-21.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-28.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-28.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-28.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-28.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-28.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-28.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-28.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-28.xbel/.dirs/runtime 1237s ok 64 /bookmarks/copy/fail-28.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-35.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-35.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-35.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-35.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-35.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-35.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-35.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-35.xbel/.dirs/runtime 1237s ok 65 /bookmarks/copy/fail-35.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-01.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-01.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-01.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-01.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-01.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-01.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-01.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-01.xbel/.dirs/runtime 1237s ok 66 /bookmarks/copy/fail-01.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-20.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-20.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-20.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-20.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-20.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-20.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-20.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-20.xbel/.dirs/runtime 1237s ok 67 /bookmarks/copy/fail-20.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-03.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-03.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-03.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-03.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-03.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-03.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-03.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-03.xbel/.dirs/runtime 1237s ok 68 /bookmarks/copy/fail-03.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-18.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-18.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-18.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-18.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-18.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-18.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-18.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-18.xbel/.dirs/runtime 1237s ok 69 /bookmarks/copy/fail-18.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-13.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-13.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-13.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-13.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-13.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-13.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-13.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-13.xbel/.dirs/runtime 1237s ok 70 /bookmarks/copy/fail-13.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-42.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-42.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-42.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-42.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-42.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-42.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-42.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-42.xbel/.dirs/runtime 1237s ok 71 /bookmarks/copy/fail-42.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-14.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-14.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-14.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-14.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-14.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-14.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-14.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-14.xbel/.dirs/runtime 1237s ok 72 /bookmarks/copy/fail-14.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-38.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-38.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-38.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-38.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-38.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-38.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-38.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-38.xbel/.dirs/runtime 1237s ok 73 /bookmarks/copy/fail-38.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-24.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-24.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-24.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-24.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-24.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-24.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-24.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-24.xbel/.dirs/runtime 1237s ok 74 /bookmarks/copy/fail-24.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-30.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-30.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-30.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-30.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-30.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-30.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-30.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-30.xbel/.dirs/runtime 1237s ok 75 /bookmarks/copy/fail-30.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-23.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-23.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-23.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-23.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-23.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-23.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-23.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-23.xbel/.dirs/runtime 1237s ok 76 /bookmarks/copy/fail-23.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-15.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-15.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-15.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-15.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-15.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-15.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-15.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-15.xbel/.dirs/runtime 1237s ok 77 /bookmarks/copy/fail-15.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-09.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-09.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-09.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-09.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-09.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-09.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-09.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-09.xbel/.dirs/runtime 1237s ok 78 /bookmarks/copy/fail-09.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-41.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-41.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-41.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-41.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-41.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-41.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-41.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-41.xbel/.dirs/runtime 1237s ok 79 /bookmarks/copy/fail-41.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/valid-01.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/valid-01.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/valid-01.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/valid-01.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/valid-01.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/valid-01.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/valid-01.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/valid-01.xbel/.dirs/runtime 1237s ok 80 /bookmarks/copy/valid-01.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-36.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-36.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-36.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-36.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-36.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-36.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-36.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-36.xbel/.dirs/runtime 1237s ok 81 /bookmarks/copy/fail-36.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-33.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-33.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-33.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-33.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-33.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-33.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-33.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-33.xbel/.dirs/runtime 1237s ok 82 /bookmarks/copy/fail-33.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-10.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-10.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-10.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-10.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-10.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-10.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-10.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-10.xbel/.dirs/runtime 1237s ok 83 /bookmarks/copy/fail-10.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/valid-03.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/valid-03.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/valid-03.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/valid-03.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/valid-03.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/valid-03.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/valid-03.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/valid-03.xbel/.dirs/runtime 1237s ok 84 /bookmarks/copy/valid-03.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-26.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-26.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-26.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-26.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-26.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-26.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-26.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-26.xbel/.dirs/runtime 1237s ok 85 /bookmarks/copy/fail-26.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-04.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-04.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-04.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-04.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-04.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-04.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-04.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-04.xbel/.dirs/runtime 1237s ok 86 /bookmarks/copy/fail-04.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-37.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-37.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-37.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-37.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-37.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-37.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-37.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-37.xbel/.dirs/runtime 1237s ok 87 /bookmarks/copy/fail-37.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-29.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-29.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-29.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-29.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-29.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-29.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-29.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-29.xbel/.dirs/runtime 1237s ok 88 /bookmarks/copy/fail-29.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-16.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-16.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-16.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-16.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-16.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-16.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-16.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-16.xbel/.dirs/runtime 1237s ok 89 /bookmarks/copy/fail-16.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-05.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-05.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-05.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-05.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-05.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-05.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-05.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-05.xbel/.dirs/runtime 1237s ok 90 /bookmarks/copy/fail-05.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-27.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-27.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-27.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-27.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-27.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-27.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-27.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-27.xbel/.dirs/runtime 1237s ok 91 /bookmarks/copy/fail-27.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-34.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-34.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-34.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-34.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-34.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-34.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-34.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-34.xbel/.dirs/runtime 1237s ok 92 /bookmarks/copy/fail-34.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-12.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-12.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-12.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-12.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-12.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-12.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-12.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-12.xbel/.dirs/runtime 1237s ok 93 /bookmarks/copy/fail-12.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-07.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-07.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-07.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-07.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-07.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-07.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-07.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-07.xbel/.dirs/runtime 1237s ok 94 /bookmarks/copy/fail-07.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-08.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-08.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-08.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-08.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-08.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-08.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-08.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-08.xbel/.dirs/runtime 1237s ok 95 /bookmarks/copy/fail-08.xbel 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-02.xbel/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-02.xbel/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-02.xbel/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-02.xbel/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-02.xbel/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-02.xbel/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-02.xbel/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_25MQZ2/bookmarks/copy/fail-02.xbel/.dirs/runtime 1237s ok 96 /bookmarks/copy/fail-02.xbel 1237s # End of copy tests 1237s # End of bookmarks tests 1237s ok - glib/bookmarkfile.test 1237s # Running test: glib/flags.test 1237s TAP version 14 1237s # random seed: R02S2c6047505f439df0fa8f9998f55b02c3 1237s 1..1 1237s # Start of gobject tests 1237s # Start of flags tests 1237s ok 1 /gobject/flags/validate 1237s # End of flags tests 1237s # End of gobject tests 1237s ok - glib/flags.test 1237s # Running test: glib/resolver-parsing.test 1237s TAP version 14 1237s # random seed: R02Sf99915b3fea841f0a5f739bc13b55452 1237s 1..21 1237s # Start of gresolver tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/invalid-header/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/invalid-header/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/invalid-header/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/invalid-header/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/invalid-header/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/invalid-header/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/invalid-header/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RPJRZ2/gresolver/invalid-header/.dirs/runtime 1237s ok 1 /gresolver/invalid-header 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/record-ownership/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/record-ownership/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/record-ownership/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/record-ownership/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/record-ownership/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/record-ownership/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/record-ownership/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RPJRZ2/gresolver/record-ownership/.dirs/runtime 1237s ok 2 /gresolver/record-ownership 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/unknown-record-type/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/unknown-record-type/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/unknown-record-type/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/unknown-record-type/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/unknown-record-type/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/unknown-record-type/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/unknown-record-type/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RPJRZ2/gresolver/unknown-record-type/.dirs/runtime 1237s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 1237s ok 3 /gresolver/unknown-record-type 1237s # Start of mx tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/valid/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/valid/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/valid/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/valid/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/valid/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/valid/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/valid/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/valid/.dirs/runtime 1237s ok 4 /gresolver/mx/valid 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/invalid/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/invalid/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/invalid/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/invalid/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/invalid/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/invalid/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/invalid/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/invalid/.dirs/runtime 1237s ok 5 /gresolver/mx/invalid 1237s # Start of invalid tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/invalid/too-short/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/invalid/too-short/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/invalid/too-short/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/invalid/too-short/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/invalid/too-short/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/invalid/too-short/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/invalid/too-short/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/invalid/too-short/.dirs/runtime 1237s ok 6 /gresolver/mx/invalid/too-short 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/invalid/too-short2/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/invalid/too-short2/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/invalid/too-short2/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/invalid/too-short2/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/invalid/too-short2/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/invalid/too-short2/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/invalid/too-short2/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RPJRZ2/gresolver/mx/invalid/too-short2/.dirs/runtime 1237s ok 7 /gresolver/mx/invalid/too-short2 1237s # End of invalid tests 1237s # End of mx tests 1237s # Start of ns tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/ns/valid/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/ns/valid/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/ns/valid/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/ns/valid/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/ns/valid/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/ns/valid/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/ns/valid/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RPJRZ2/gresolver/ns/valid/.dirs/runtime 1237s ok 8 /gresolver/ns/valid 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/ns/invalid/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/ns/invalid/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/ns/invalid/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/ns/invalid/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/ns/invalid/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/ns/invalid/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/ns/invalid/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RPJRZ2/gresolver/ns/invalid/.dirs/runtime 1237s ok 9 /gresolver/ns/invalid 1237s # End of ns tests 1237s # Start of soa tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/valid/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/valid/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/valid/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/valid/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/valid/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/valid/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/valid/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/valid/.dirs/runtime 1237s ok 10 /gresolver/soa/valid 1237s # Start of invalid tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/invalid/mname/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/invalid/mname/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/invalid/mname/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/invalid/mname/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/invalid/mname/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/invalid/mname/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/invalid/mname/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/invalid/mname/.dirs/runtime 1237s ok 11 /gresolver/soa/invalid/mname 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/invalid/rname/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/invalid/rname/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/invalid/rname/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/invalid/rname/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/invalid/rname/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/invalid/rname/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/invalid/rname/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/invalid/rname/.dirs/runtime 1237s ok 12 /gresolver/soa/invalid/rname 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/invalid/too-short/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/invalid/too-short/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/invalid/too-short/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/invalid/too-short/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/invalid/too-short/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/invalid/too-short/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/invalid/too-short/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RPJRZ2/gresolver/soa/invalid/too-short/.dirs/runtime 1237s ok 13 /gresolver/soa/invalid/too-short 1237s # End of invalid tests 1237s # End of soa tests 1237s # Start of srv tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/valid/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/valid/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/valid/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/valid/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/valid/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/valid/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/valid/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/valid/.dirs/runtime 1237s ok 14 /gresolver/srv/valid 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/invalid/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/invalid/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/invalid/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/invalid/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/invalid/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/invalid/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/invalid/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/invalid/.dirs/runtime 1237s ok 15 /gresolver/srv/invalid 1237s # Start of invalid tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/invalid/too-short/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/invalid/too-short/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/invalid/too-short/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/invalid/too-short/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/invalid/too-short/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/invalid/too-short/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/invalid/too-short/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/invalid/too-short/.dirs/runtime 1237s ok 16 /gresolver/srv/invalid/too-short 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/invalid/too-short2/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/invalid/too-short2/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/invalid/too-short2/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/invalid/too-short2/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/invalid/too-short2/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/invalid/too-short2/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/invalid/too-short2/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RPJRZ2/gresolver/srv/invalid/too-short2/.dirs/runtime 1237s ok 17 /gresolver/srv/invalid/too-short2 1237s # End of invalid tests 1237s # End of srv tests 1237s # Start of txt tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/valid/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/valid/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/valid/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/valid/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/valid/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/valid/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/valid/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/valid/.dirs/runtime 1237s ok 18 /gresolver/txt/valid 1237s # Start of valid tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/valid/multiple-strings/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/valid/multiple-strings/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/valid/multiple-strings/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/valid/multiple-strings/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/valid/multiple-strings/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/valid/multiple-strings/.dirs/runtime 1237s ok 19 /gresolver/txt/valid/multiple-strings 1237s # End of valid tests 1237s # Start of invalid tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/invalid/empty/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/invalid/empty/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/invalid/empty/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/invalid/empty/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/invalid/empty/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/invalid/empty/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/invalid/empty/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/invalid/empty/.dirs/runtime 1237s ok 20 /gresolver/txt/invalid/empty 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/invalid/overflow/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/invalid/overflow/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/invalid/overflow/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/invalid/overflow/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/invalid/overflow/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/invalid/overflow/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/invalid/overflow/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_RPJRZ2/gresolver/txt/invalid/overflow/.dirs/runtime 1237s ok 21 /gresolver/txt/invalid/overflow 1237s # End of invalid tests 1237s # End of txt tests 1237s # End of gresolver tests 1237s ok - glib/resolver-parsing.test 1237s # Running test: glib/unix.test 1237s TAP version 14 1237s # random seed: R02S9495c1219b12737e9b9c57d96636c7dc 1237s 1..20 1237s # Start of glib-unix tests 1237s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 1237s ok 1 /glib-unix/closefrom 1237s ok 2 /glib-unix/pipe 1237s # /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 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 1237s ok 3 /glib-unix/pipe-stdio-overwrite 1237s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 1237s ok 4 /glib-unix/pipe-struct 1237s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 1237s ok 5 /glib-unix/pipe-struct-auto 1237s ok 6 /glib-unix/error 1237s ok 7 /glib-unix/nonblocking 1238s ok 8 /glib-unix/sighup 1238s # slow test /glib-unix/sighup executed in 0.50 secs 1238s # Executing: glib/unix.test 1238s ok 9 /glib-unix/sigterm 1238s # slow test /glib-unix/sigterm executed in 0.50 secs 1239s ok 10 /glib-unix/sighup_again 1239s # slow test /glib-unix/sighup_again executed in 0.50 secs 1239s ok 11 /glib-unix/sighup_add_remove 1239s ok 12 /glib-unix/sighup_nested 1241s ok 13 /glib-unix/callback_after_signal 1241s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 1241s ok 14 /glib-unix/child-wait 1241s # Start of closefrom tests 1241s # Start of subprocess tests 1241s # End of subprocess tests 1241s # End of closefrom tests 1241s # Start of pipe tests 1241s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 1241s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 1241s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 1241s ok 15 /glib-unix/pipe/fd-cloexec 1241s # End of pipe tests 1241s # Start of sighup tests 1242s ok 16 /glib-unix/sighup/alternate-stack 1242s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 1242s # End of sighup tests 1242s # Start of sigterm tests 1243s # Executing: glib/unix.test 1243s ok 17 /glib-unix/sigterm/alternate-stack 1243s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 1243s # End of sigterm tests 1243s # Start of sighup_again tests 1244s ok 18 /glib-unix/sighup_again/alternate-stack 1244s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 1244s # End of sighup_again tests 1244s # Start of get-passwd-entry tests 1244s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 1244s ok 19 /glib-unix/get-passwd-entry/root 1244s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 1244s ok 20 /glib-unix/get-passwd-entry/nonexistent 1244s # End of get-passwd-entry tests 1244s # End of glib-unix tests 1244s ok - glib/unix.test 1244s # Running test: glib/checksum.test 1244s TAP version 14 1244s # random seed: R02S43e84e4dd4b8002315d67580f4c8ca4e 1244s 1..1851 1244s # Start of checksum tests 1244s ok 1 /checksum/unsupported 1244s # Start of MD5 tests 1244s ok 2 /checksum/MD5/0 1244s ok 3 /checksum/MD5/1 1244s ok 4 /checksum/MD5/2 1244s ok 5 /checksum/MD5/3 1244s ok 6 /checksum/MD5/4 1244s ok 7 /checksum/MD5/5 1244s ok 8 /checksum/MD5/6 1244s ok 9 /checksum/MD5/7 1244s ok 10 /checksum/MD5/8 1244s ok 11 /checksum/MD5/9 1244s ok 12 /checksum/MD5/10 1244s ok 13 /checksum/MD5/11 1244s ok 14 /checksum/MD5/12 1244s ok 15 /checksum/MD5/13 1244s ok 16 /checksum/MD5/14 1244s ok 17 /checksum/MD5/15 1244s ok 18 /checksum/MD5/16 1244s ok 19 /checksum/MD5/17 1244s ok 20 /checksum/MD5/18 1244s ok 21 /checksum/MD5/19 1244s ok 22 /checksum/MD5/20 1244s ok 23 /checksum/MD5/21 1244s ok 24 /checksum/MD5/22 1244s ok 25 /checksum/MD5/23 1244s ok 26 /checksum/MD5/24 1244s ok 27 /checksum/MD5/25 1244s ok 28 /checksum/MD5/26 1244s ok 29 /checksum/MD5/27 1244s ok 30 /checksum/MD5/28 1244s ok 31 /checksum/MD5/29 1244s ok 32 /checksum/MD5/30 1244s ok 33 /checksum/MD5/31 1244s ok 34 /checksum/MD5/32 1244s ok 35 /checksum/MD5/33 1244s ok 36 /checksum/MD5/34 1244s ok 37 /checksum/MD5/35 1244s ok 38 /checksum/MD5/36 1244s ok 39 /checksum/MD5/37 1244s ok 40 /checksum/MD5/38 1244s ok 41 /checksum/MD5/39 1244s ok 42 /checksum/MD5/40 1244s ok 43 /checksum/MD5/41 1244s ok 44 /checksum/MD5/42 1244s ok 45 /checksum/MD5/43 1244s ok 46 /checksum/MD5/44 1244s ok 47 /checksum/MD5/45 1244s ok 48 /checksum/MD5/46 1244s ok 49 /checksum/MD5/47 1244s ok 50 /checksum/MD5/48 1244s ok 51 /checksum/MD5/49 1244s ok 52 /checksum/MD5/50 1244s ok 53 /checksum/MD5/51 1244s ok 54 /checksum/MD5/52 1244s ok 55 /checksum/MD5/53 1244s ok 56 /checksum/MD5/54 1244s ok 57 /checksum/MD5/55 1244s ok 58 /checksum/MD5/56 1244s ok 59 /checksum/MD5/57 1244s ok 60 /checksum/MD5/58 1244s ok 61 /checksum/MD5/59 1244s ok 62 /checksum/MD5/60 1244s ok 63 /checksum/MD5/61 1244s ok 64 /checksum/MD5/62 1244s ok 65 /checksum/MD5/63 1244s ok 66 /checksum/MD5/64 1244s ok 67 /checksum/MD5/65 1244s ok 68 /checksum/MD5/66 1244s ok 69 /checksum/MD5/67 1244s ok 70 /checksum/MD5/68 1244s ok 71 /checksum/MD5/69 1244s ok 72 /checksum/MD5/70 1244s ok 73 /checksum/MD5/71 1244s ok 74 /checksum/MD5/72 1244s ok 75 /checksum/MD5/73 1244s ok 76 /checksum/MD5/74 1244s ok 77 /checksum/MD5/75 1244s ok 78 /checksum/MD5/76 1244s ok 79 /checksum/MD5/77 1244s ok 80 /checksum/MD5/78 1244s ok 81 /checksum/MD5/79 1244s ok 82 /checksum/MD5/80 1244s ok 83 /checksum/MD5/81 1244s ok 84 /checksum/MD5/82 1244s ok 85 /checksum/MD5/83 1244s ok 86 /checksum/MD5/84 1244s ok 87 /checksum/MD5/85 1244s ok 88 /checksum/MD5/86 1244s ok 89 /checksum/MD5/87 1244s ok 90 /checksum/MD5/88 1244s ok 91 /checksum/MD5/89 1244s ok 92 /checksum/MD5/90 1244s ok 93 /checksum/MD5/91 1244s ok 94 /checksum/MD5/92 1244s ok 95 /checksum/MD5/93 1244s ok 96 /checksum/MD5/94 1244s ok 97 /checksum/MD5/95 1244s ok 98 /checksum/MD5/96 1244s ok 99 /checksum/MD5/97 1244s ok 100 /checksum/MD5/98 1244s ok 101 /checksum/MD5/99 1244s ok 102 /checksum/MD5/100 1244s ok 103 /checksum/MD5/101 1244s ok 104 /checksum/MD5/102 1244s ok 105 /checksum/MD5/103 1244s ok 106 /checksum/MD5/104 1244s ok 107 /checksum/MD5/105 1244s ok 108 /checksum/MD5/106 1244s ok 109 /checksum/MD5/107 1244s ok 110 /checksum/MD5/108 1244s ok 111 /checksum/MD5/109 1244s ok 112 /checksum/MD5/110 1244s ok 113 /checksum/MD5/111 1244s ok 114 /checksum/MD5/112 1244s ok 115 /checksum/MD5/113 1244s ok 116 /checksum/MD5/114 1244s ok 117 /checksum/MD5/115 1244s ok 118 /checksum/MD5/116 1244s ok 119 /checksum/MD5/117 1244s ok 120 /checksum/MD5/118 1244s ok 121 /checksum/MD5/119 1244s ok 122 /checksum/MD5/120 1244s ok 123 /checksum/MD5/121 1244s ok 124 /checksum/MD5/122 1244s ok 125 /checksum/MD5/123 1244s ok 126 /checksum/MD5/124 1244s ok 127 /checksum/MD5/125 1244s ok 128 /checksum/MD5/126 1244s ok 129 /checksum/MD5/127 1244s ok 130 /checksum/MD5/128 1244s ok 131 /checksum/MD5/129 1244s ok 132 /checksum/MD5/130 1244s ok 133 /checksum/MD5/131 1244s ok 134 /checksum/MD5/132 1244s ok 135 /checksum/MD5/133 1244s ok 136 /checksum/MD5/134 1244s ok 137 /checksum/MD5/135 1244s ok 138 /checksum/MD5/136 1244s ok 139 /checksum/MD5/137 1244s ok 140 /checksum/MD5/138 1244s ok 141 /checksum/MD5/139 1244s ok 142 /checksum/MD5/140 1244s ok 143 /checksum/MD5/141 1244s ok 144 /checksum/MD5/142 1244s ok 145 /checksum/MD5/143 1244s ok 146 /checksum/MD5/144 1244s ok 147 /checksum/MD5/145 1244s ok 148 /checksum/MD5/146 1244s ok 149 /checksum/MD5/147 1244s ok 150 /checksum/MD5/148 1244s ok 151 /checksum/MD5/149 1244s ok 152 /checksum/MD5/150 1244s ok 153 /checksum/MD5/151 1244s ok 154 /checksum/MD5/152 1244s ok 155 /checksum/MD5/153 1244s ok 156 /checksum/MD5/154 1244s ok 157 /checksum/MD5/155 1244s ok 158 /checksum/MD5/156 1244s ok 159 /checksum/MD5/157 1244s ok 160 /checksum/MD5/158 1244s ok 161 /checksum/MD5/159 1244s ok 162 /checksum/MD5/160 1244s ok 163 /checksum/MD5/161 1244s ok 164 /checksum/MD5/162 1244s ok 165 /checksum/MD5/163 1244s ok 166 /checksum/MD5/164 1244s ok 167 /checksum/MD5/165 1244s ok 168 /checksum/MD5/166 1244s ok 169 /checksum/MD5/167 1244s ok 170 /checksum/MD5/168 1244s ok 171 /checksum/MD5/169 1244s ok 172 /checksum/MD5/170 1244s ok 173 /checksum/MD5/171 1244s ok 174 /checksum/MD5/172 1244s ok 175 /checksum/MD5/173 1244s ok 176 /checksum/MD5/174 1244s ok 177 /checksum/MD5/175 1244s ok 178 /checksum/MD5/176 1244s ok 179 /checksum/MD5/177 1244s ok 180 /checksum/MD5/178 1244s ok 181 /checksum/MD5/179 1244s ok 182 /checksum/MD5/180 1244s ok 183 /checksum/MD5/181 1244s ok 184 /checksum/MD5/182 1244s ok 185 /checksum/MD5/183 1244s ok 186 /checksum/MD5/string 1244s ok 187 /checksum/MD5/bytes 1244s # Start of reset tests 1244s ok 188 /checksum/MD5/reset/0 1244s ok 189 /checksum/MD5/reset/1 1244s ok 190 /checksum/MD5/reset/2 1244s ok 191 /checksum/MD5/reset/3 1244s ok 192 /checksum/MD5/reset/4 1244s ok 193 /checksum/MD5/reset/5 1244s ok 194 /checksum/MD5/reset/6 1244s ok 195 /checksum/MD5/reset/7 1244s ok 196 /checksum/MD5/reset/8 1244s ok 197 /checksum/MD5/reset/9 1244s ok 198 /checksum/MD5/reset/10 1244s ok 199 /checksum/MD5/reset/11 1244s ok 200 /checksum/MD5/reset/12 1244s ok 201 /checksum/MD5/reset/13 1244s ok 202 /checksum/MD5/reset/14 1244s ok 203 /checksum/MD5/reset/15 1244s ok 204 /checksum/MD5/reset/16 1244s ok 205 /checksum/MD5/reset/17 1244s ok 206 /checksum/MD5/reset/18 1244s ok 207 /checksum/MD5/reset/19 1244s ok 208 /checksum/MD5/reset/20 1244s ok 209 /checksum/MD5/reset/21 1244s ok 210 /checksum/MD5/reset/22 1244s ok 211 /checksum/MD5/reset/23 1244s ok 212 /checksum/MD5/reset/24 1244s ok 213 /checksum/MD5/reset/25 1244s ok 214 /checksum/MD5/reset/26 1244s ok 215 /checksum/MD5/reset/27 1244s ok 216 /checksum/MD5/reset/28 1244s ok 217 /checksum/MD5/reset/29 1244s ok 218 /checksum/MD5/reset/30 1244s ok 219 /checksum/MD5/reset/31 1244s ok 220 /checksum/MD5/reset/32 1244s ok 221 /checksum/MD5/reset/33 1244s ok 222 /checksum/MD5/reset/34 1244s ok 223 /checksum/MD5/reset/35 1244s ok 224 /checksum/MD5/reset/36 1244s ok 225 /checksum/MD5/reset/37 1244s ok 226 /checksum/MD5/reset/38 1244s ok 227 /checksum/MD5/reset/39 1244s ok 228 /checksum/MD5/reset/40 1244s ok 229 /checksum/MD5/reset/41 1244s ok 230 /checksum/MD5/reset/42 1244s ok 231 /checksum/MD5/reset/43 1244s ok 232 /checksum/MD5/reset/44 1244s ok 233 /checksum/MD5/reset/45 1244s ok 234 /checksum/MD5/reset/46 1244s ok 235 /checksum/MD5/reset/47 1244s ok 236 /checksum/MD5/reset/48 1244s ok 237 /checksum/MD5/reset/49 1244s ok 238 /checksum/MD5/reset/50 1244s ok 239 /checksum/MD5/reset/51 1244s ok 240 /checksum/MD5/reset/52 1244s ok 241 /checksum/MD5/reset/53 1244s ok 242 /checksum/MD5/reset/54 1244s ok 243 /checksum/MD5/reset/55 1244s ok 244 /checksum/MD5/reset/56 1244s ok 245 /checksum/MD5/reset/57 1244s ok 246 /checksum/MD5/reset/58 1244s ok 247 /checksum/MD5/reset/59 1244s ok 248 /checksum/MD5/reset/60 1244s ok 249 /checksum/MD5/reset/61 1244s ok 250 /checksum/MD5/reset/62 1244s ok 251 /checksum/MD5/reset/63 1244s ok 252 /checksum/MD5/reset/64 1244s ok 253 /checksum/MD5/reset/65 1244s ok 254 /checksum/MD5/reset/66 1244s ok 255 /checksum/MD5/reset/67 1244s ok 256 /checksum/MD5/reset/68 1244s ok 257 /checksum/MD5/reset/69 1244s ok 258 /checksum/MD5/reset/70 1244s ok 259 /checksum/MD5/reset/71 1244s ok 260 /checksum/MD5/reset/72 1244s ok 261 /checksum/MD5/reset/73 1244s ok 262 /checksum/MD5/reset/74 1244s ok 263 /checksum/MD5/reset/75 1244s ok 264 /checksum/MD5/reset/76 1244s ok 265 /checksum/MD5/reset/77 1244s ok 266 /checksum/MD5/reset/78 1244s ok 267 /checksum/MD5/reset/79 1244s ok 268 /checksum/MD5/reset/80 1244s ok 269 /checksum/MD5/reset/81 1244s ok 270 /checksum/MD5/reset/82 1244s ok 271 /checksum/MD5/reset/83 1244s ok 272 /checksum/MD5/reset/84 1244s ok 273 /checksum/MD5/reset/85 1244s ok 274 /checksum/MD5/reset/86 1244s ok 275 /checksum/MD5/reset/87 1244s ok 276 /checksum/MD5/reset/88 1244s ok 277 /checksum/MD5/reset/89 1244s ok 278 /checksum/MD5/reset/90 1244s ok 279 /checksum/MD5/reset/91 1244s ok 280 /checksum/MD5/reset/92 1244s ok 281 /checksum/MD5/reset/93 1244s ok 282 /checksum/MD5/reset/94 1244s ok 283 /checksum/MD5/reset/95 1244s ok 284 /checksum/MD5/reset/96 1244s ok 285 /checksum/MD5/reset/97 1244s ok 286 /checksum/MD5/reset/98 1244s ok 287 /checksum/MD5/reset/99 1244s ok 288 /checksum/MD5/reset/100 1244s ok 289 /checksum/MD5/reset/101 1244s ok 290 /checksum/MD5/reset/102 1244s ok 291 /checksum/MD5/reset/103 1244s ok 292 /checksum/MD5/reset/104 1244s ok 293 /checksum/MD5/reset/105 1244s ok 294 /checksum/MD5/reset/106 1244s ok 295 /checksum/MD5/reset/107 1244s ok 296 /checksum/MD5/reset/108 1244s ok 297 /checksum/MD5/reset/109 1244s ok 298 /checksum/MD5/reset/110 1244s ok 299 /checksum/MD5/reset/111 1244s ok 300 /checksum/MD5/reset/112 1244s ok 301 /checksum/MD5/reset/113 1244s ok 302 /checksum/MD5/reset/114 1244s ok 303 /checksum/MD5/reset/115 1244s ok 304 /checksum/MD5/reset/116 1244s ok 305 /checksum/MD5/reset/117 1244s ok 306 /checksum/MD5/reset/118 1244s ok 307 /checksum/MD5/reset/119 1244s ok 308 /checksum/MD5/reset/120 1244s ok 309 /checksum/MD5/reset/121 1244s ok 310 /checksum/MD5/reset/122 1244s ok 311 /checksum/MD5/reset/123 1244s ok 312 /checksum/MD5/reset/124 1244s ok 313 /checksum/MD5/reset/125 1244s ok 314 /checksum/MD5/reset/126 1244s ok 315 /checksum/MD5/reset/127 1244s ok 316 /checksum/MD5/reset/128 1244s ok 317 /checksum/MD5/reset/129 1244s ok 318 /checksum/MD5/reset/130 1244s ok 319 /checksum/MD5/reset/131 1244s ok 320 /checksum/MD5/reset/132 1244s ok 321 /checksum/MD5/reset/133 1244s ok 322 /checksum/MD5/reset/134 1244s ok 323 /checksum/MD5/reset/135 1244s ok 324 /checksum/MD5/reset/136 1244s ok 325 /checksum/MD5/reset/137 1244s ok 326 /checksum/MD5/reset/138 1244s ok 327 /checksum/MD5/reset/139 1244s ok 328 /checksum/MD5/reset/140 1244s ok 329 /checksum/MD5/reset/141 1244s ok 330 /checksum/MD5/reset/142 1244s ok 331 /checksum/MD5/reset/143 1244s ok 332 /checksum/MD5/reset/144 1244s ok 333 /checksum/MD5/reset/145 1244s ok 334 /checksum/MD5/reset/146 1244s ok 335 /checksum/MD5/reset/147 1244s ok 336 /checksum/MD5/reset/148 1244s ok 337 /checksum/MD5/reset/149 1244s ok 338 /checksum/MD5/reset/150 1244s ok 339 /checksum/MD5/reset/151 1244s ok 340 /checksum/MD5/reset/152 1244s ok 341 /checksum/MD5/reset/153 1244s ok 342 /checksum/MD5/reset/154 1244s ok 343 /checksum/MD5/reset/155 1244s ok 344 /checksum/MD5/reset/156 1244s ok 345 /checksum/MD5/reset/157 1244s ok 346 /checksum/MD5/reset/158 1244s ok 347 /checksum/MD5/reset/159 1244s ok 348 /checksum/MD5/reset/160 1244s ok 349 /checksum/MD5/reset/161 1244s ok 350 /checksum/MD5/reset/162 1244s ok 351 /checksum/MD5/reset/163 1244s ok 352 /checksum/MD5/reset/164 1244s ok 353 /checksum/MD5/reset/165 1244s ok 354 /checksum/MD5/reset/166 1244s ok 355 /checksum/MD5/reset/167 1244s ok 356 /checksum/MD5/reset/168 1244s ok 357 /checksum/MD5/reset/169 1244s ok 358 /checksum/MD5/reset/170 1244s ok 359 /checksum/MD5/reset/171 1244s ok 360 /checksum/MD5/reset/172 1244s ok 361 /checksum/MD5/reset/173 1244s ok 362 /checksum/MD5/reset/174 1244s ok 363 /checksum/MD5/reset/175 1244s ok 364 /checksum/MD5/reset/176 1244s ok 365 /checksum/MD5/reset/177 1244s ok 366 /checksum/MD5/reset/178 1244s ok 367 /checksum/MD5/reset/179 1244s ok 368 /checksum/MD5/reset/180 1244s ok 369 /checksum/MD5/reset/181 1244s ok 370 /checksum/MD5/reset/182 1244s ok 371 /checksum/MD5/reset/183 1244s # End of reset tests 1244s # End of MD5 tests 1244s # Start of SHA1 tests 1244s ok 372 /checksum/SHA1/0 1244s ok 373 /checksum/SHA1/1 1244s ok 374 /checksum/SHA1/2 1244s ok 375 /checksum/SHA1/3 1244s ok 376 /checksum/SHA1/4 1244s ok 377 /checksum/SHA1/5 1244s ok 378 /checksum/SHA1/6 1244s ok 379 /checksum/SHA1/7 1244s ok 380 /checksum/SHA1/8 1244s ok 381 /checksum/SHA1/9 1244s ok 382 /checksum/SHA1/10 1244s ok 383 /checksum/SHA1/11 1244s ok 384 /checksum/SHA1/12 1244s ok 385 /checksum/SHA1/13 1244s ok 386 /checksum/SHA1/14 1244s ok 387 /checksum/SHA1/15 1244s ok 388 /checksum/SHA1/16 1244s ok 389 /checksum/SHA1/17 1244s ok 390 /checksum/SHA1/18 1244s ok 391 /checksum/SHA1/19 1244s ok 392 /checksum/SHA1/20 1244s ok 393 /checksum/SHA1/21 1244s ok 394 /checksum/SHA1/22 1244s ok 395 /checksum/SHA1/23 1244s ok 396 /checksum/SHA1/24 1244s ok 397 /checksum/SHA1/25 1244s ok 398 /checksum/SHA1/26 1244s ok 399 /checksum/SHA1/27 1244s ok 400 /checksum/SHA1/28 1244s ok 401 /checksum/SHA1/29 1244s ok 402 /checksum/SHA1/30 1244s ok 403 /checksum/SHA1/31 1244s ok 404 /checksum/SHA1/32 1244s ok 405 /checksum/SHA1/33 1244s ok 406 /checksum/SHA1/34 1244s ok 407 /checksum/SHA1/35 1244s ok 408 /checksum/SHA1/36 1244s ok 409 /checksum/SHA1/37 1244s ok 410 /checksum/SHA1/38 1244s ok 411 /checksum/SHA1/39 1244s ok 412 /checksum/SHA1/40 1244s ok 413 /checksum/SHA1/41 1244s ok 414 /checksum/SHA1/42 1244s ok 415 /checksum/SHA1/43 1244s ok 416 /checksum/SHA1/44 1244s ok 417 /checksum/SHA1/45 1244s ok 418 /checksum/SHA1/46 1244s ok 419 /checksum/SHA1/47 1244s ok 420 /checksum/SHA1/48 1244s ok 421 /checksum/SHA1/49 1244s ok 422 /checksum/SHA1/50 1244s ok 423 /checksum/SHA1/51 1244s ok 424 /checksum/SHA1/52 1244s ok 425 /checksum/SHA1/53 1244s ok 426 /checksum/SHA1/54 1244s ok 427 /checksum/SHA1/55 1244s ok 428 /checksum/SHA1/56 1244s ok 429 /checksum/SHA1/57 1244s ok 430 /checksum/SHA1/58 1244s ok 431 /checksum/SHA1/59 1244s ok 432 /checksum/SHA1/60 1244s ok 433 /checksum/SHA1/61 1244s ok 434 /checksum/SHA1/62 1244s ok 435 /checksum/SHA1/63 1244s ok 436 /checksum/SHA1/64 1244s ok 437 /checksum/SHA1/65 1244s ok 438 /checksum/SHA1/66 1244s ok 439 /checksum/SHA1/67 1244s ok 440 /checksum/SHA1/68 1244s ok 441 /checksum/SHA1/69 1244s ok 442 /checksum/SHA1/70 1244s ok 443 /checksum/SHA1/71 1244s ok 444 /checksum/SHA1/72 1244s ok 445 /checksum/SHA1/73 1244s ok 446 /checksum/SHA1/74 1244s ok 447 /checksum/SHA1/75 1244s ok 448 /checksum/SHA1/76 1244s ok 449 /checksum/SHA1/77 1244s ok 450 /checksum/SHA1/78 1244s ok 451 /checksum/SHA1/79 1244s ok 452 /checksum/SHA1/80 1244s ok 453 /checksum/SHA1/81 1244s ok 454 /checksum/SHA1/82 1244s ok 455 /checksum/SHA1/83 1244s ok 456 /checksum/SHA1/84 1244s ok 457 /checksum/SHA1/85 1244s ok 458 /checksum/SHA1/86 1244s ok 459 /checksum/SHA1/87 1244s ok 460 /checksum/SHA1/88 1244s ok 461 /checksum/SHA1/89 1244s ok 462 /checksum/SHA1/90 1244s ok 463 /checksum/SHA1/91 1244s ok 464 /checksum/SHA1/92 1244s ok 465 /checksum/SHA1/93 1244s ok 466 /checksum/SHA1/94 1244s ok 467 /checksum/SHA1/95 1244s ok 468 /checksum/SHA1/96 1244s ok 469 /checksum/SHA1/97 1244s ok 470 /checksum/SHA1/98 1244s ok 471 /checksum/SHA1/99 1244s ok 472 /checksum/SHA1/100 1244s ok 473 /checksum/SHA1/101 1244s ok 474 /checksum/SHA1/102 1244s ok 475 /checksum/SHA1/103 1244s ok 476 /checksum/SHA1/104 1244s ok 477 /checksum/SHA1/105 1244s ok 478 /checksum/SHA1/106 1244s ok 479 /checksum/SHA1/107 1244s ok 480 /checksum/SHA1/108 1244s ok 481 /checksum/SHA1/109 1244s ok 482 /checksum/SHA1/110 1244s ok 483 /checksum/SHA1/111 1244s ok 484 /checksum/SHA1/112 1244s ok 485 /checksum/SHA1/113 1244s ok 486 /checksum/SHA1/114 1244s ok 487 /checksum/SHA1/115 1244s ok 488 /checksum/SHA1/116 1244s ok 489 /checksum/SHA1/117 1244s ok 490 /checksum/SHA1/118 1244s ok 491 /checksum/SHA1/119 1244s ok 492 /checksum/SHA1/120 1244s ok 493 /checksum/SHA1/121 1244s ok 494 /checksum/SHA1/122 1244s ok 495 /checksum/SHA1/123 1244s ok 496 /checksum/SHA1/124 1244s ok 497 /checksum/SHA1/125 1244s ok 498 /checksum/SHA1/126 1244s ok 499 /checksum/SHA1/127 1244s ok 500 /checksum/SHA1/128 1244s ok 501 /checksum/SHA1/129 1244s ok 502 /checksum/SHA1/130 1244s ok 503 /checksum/SHA1/131 1244s ok 504 /checksum/SHA1/132 1244s ok 505 /checksum/SHA1/133 1244s ok 506 /checksum/SHA1/134 1244s ok 507 /checksum/SHA1/135 1244s ok 508 /checksum/SHA1/136 1244s ok 509 /checksum/SHA1/137 1244s ok 510 /checksum/SHA1/138 1244s ok 511 /checksum/SHA1/139 1244s ok 512 /checksum/SHA1/140 1244s ok 513 /checksum/SHA1/141 1244s ok 514 /checksum/SHA1/142 1244s ok 515 /checksum/SHA1/143 1244s ok 516 /checksum/SHA1/144 1244s ok 517 /checksum/SHA1/145 1244s ok 518 /checksum/SHA1/146 1244s ok 519 /checksum/SHA1/147 1244s ok 520 /checksum/SHA1/148 1244s ok 521 /checksum/SHA1/149 1244s ok 522 /checksum/SHA1/150 1244s ok 523 /checksum/SHA1/151 1244s ok 524 /checksum/SHA1/152 1244s ok 525 /checksum/SHA1/153 1244s ok 526 /checksum/SHA1/154 1244s ok 527 /checksum/SHA1/155 1244s ok 528 /checksum/SHA1/156 1244s ok 529 /checksum/SHA1/157 1244s ok 530 /checksum/SHA1/158 1244s ok 531 /checksum/SHA1/159 1244s ok 532 /checksum/SHA1/160 1244s ok 533 /checksum/SHA1/161 1244s ok 534 /checksum/SHA1/162 1244s ok 535 /checksum/SHA1/163 1244s ok 536 /checksum/SHA1/164 1244s ok 537 /checksum/SHA1/165 1244s ok 538 /checksum/SHA1/166 1244s ok 539 /checksum/SHA1/167 1244s ok 540 /checksum/SHA1/168 1244s ok 541 /checksum/SHA1/169 1244s ok 542 /checksum/SHA1/170 1244s ok 543 /checksum/SHA1/171 1244s ok 544 /checksum/SHA1/172 1244s ok 545 /checksum/SHA1/173 1244s ok 546 /checksum/SHA1/174 1244s ok 547 /checksum/SHA1/175 1244s ok 548 /checksum/SHA1/176 1244s ok 549 /checksum/SHA1/177 1244s ok 550 /checksum/SHA1/178 1244s ok 551 /checksum/SHA1/179 1244s ok 552 /checksum/SHA1/180 1244s ok 553 /checksum/SHA1/181 1244s ok 554 /checksum/SHA1/182 1244s ok 555 /checksum/SHA1/183 1244s ok 556 /checksum/SHA1/string 1244s ok 557 /checksum/SHA1/bytes 1244s # Start of reset tests 1244s ok 558 /checksum/SHA1/reset/0 1244s ok 559 /checksum/SHA1/reset/1 1244s ok 560 /checksum/SHA1/reset/2 1244s ok 561 /checksum/SHA1/reset/3 1244s ok 562 /checksum/SHA1/reset/4 1244s ok 563 /checksum/SHA1/reset/5 1244s ok 564 /checksum/SHA1/reset/6 1244s ok 565 /checksum/SHA1/reset/7 1244s ok 566 /checksum/SHA1/reset/8 1244s ok 567 /checksum/SHA1/reset/9 1244s ok 568 /checksum/SHA1/reset/10 1244s ok 569 /checksum/SHA1/reset/11 1244s ok 570 /checksum/SHA1/reset/12 1244s ok 571 /checksum/SHA1/reset/13 1244s ok 572 /checksum/SHA1/reset/14 1244s ok 573 /checksum/SHA1/reset/15 1244s ok 574 /checksum/SHA1/reset/16 1244s ok 575 /checksum/SHA1/reset/17 1244s ok 576 /checksum/SHA1/reset/18 1244s ok 577 /checksum/SHA1/reset/19 1244s ok 578 /checksum/SHA1/reset/20 1244s ok 579 /checksum/SHA1/reset/21 1244s ok 580 /checksum/SHA1/reset/22 1244s ok 581 /checksum/SHA1/reset/23 1244s ok 582 /checksum/SHA1/reset/24 1244s ok 583 /checksum/SHA1/reset/25 1244s ok 584 /checksum/SHA1/reset/26 1244s ok 585 /checksum/SHA1/reset/27 1244s ok 586 /checksum/SHA1/reset/28 1244s ok 587 /checksum/SHA1/reset/29 1244s ok 588 /checksum/SHA1/reset/30 1244s ok 589 /checksum/SHA1/reset/31 1244s ok 590 /checksum/SHA1/reset/32 1244s ok 591 /checksum/SHA1/reset/33 1244s ok 592 /checksum/SHA1/reset/34 1244s ok 593 /checksum/SHA1/reset/35 1244s ok 594 /checksum/SHA1/reset/36 1244s ok 595 /checksum/SHA1/reset/37 1244s ok 596 /checksum/SHA1/reset/38 1244s ok 597 /checksum/SHA1/reset/39 1244s ok 598 /checksum/SHA1/reset/40 1244s ok 599 /checksum/SHA1/reset/41 1244s ok 600 /checksum/SHA1/reset/42 1244s ok 601 /checksum/SHA1/reset/43 1244s ok 602 /checksum/SHA1/reset/44 1244s ok 603 /checksum/SHA1/reset/45 1244s ok 604 /checksum/SHA1/reset/46 1244s ok 605 /checksum/SHA1/reset/47 1244s ok 606 /checksum/SHA1/reset/48 1244s ok 607 /checksum/SHA1/reset/49 1244s ok 608 /checksum/SHA1/reset/50 1244s ok 609 /checksum/SHA1/reset/51 1244s ok 610 /checksum/SHA1/reset/52 1244s ok 611 /checksum/SHA1/reset/53 1244s ok 612 /checksum/SHA1/reset/54 1244s ok 613 /checksum/SHA1/reset/55 1244s ok 614 /checksum/SHA1/reset/56 1244s ok 615 /checksum/SHA1/reset/57 1244s ok 616 /checksum/SHA1/reset/58 1244s ok 617 /checksum/SHA1/reset/59 1244s ok 618 /checksum/SHA1/reset/60 1244s ok 619 /checksum/SHA1/reset/61 1244s ok 620 /checksum/SHA1/reset/62 1244s ok 621 /checksum/SHA1/reset/63 1244s ok 622 /checksum/SHA1/reset/64 1244s ok 623 /checksum/SHA1/reset/65 1244s ok 624 /checksum/SHA1/reset/66 1244s ok 625 /checksum/SHA1/reset/67 1244s ok 626 /checksum/SHA1/reset/68 1244s ok 627 /checksum/SHA1/reset/69 1244s ok 628 /checksum/SHA1/reset/70 1244s ok 629 /checksum/SHA1/reset/71 1244s ok 630 /checksum/SHA1/reset/72 1244s ok 631 /checksum/SHA1/reset/73 1244s ok 632 /checksum/SHA1/reset/74 1244s ok 633 /checksum/SHA1/reset/75 1244s ok 634 /checksum/SHA1/reset/76 1244s ok 635 /checksum/SHA1/reset/77 1244s ok 636 /checksum/SHA1/reset/78 1244s ok 637 /checksum/SHA1/reset/79 1244s ok 638 /checksum/SHA1/reset/80 1244s ok 639 /checksum/SHA1/reset/81 1244s ok 640 /checksum/SHA1/reset/82 1244s ok 641 /checksum/SHA1/reset/83 1244s ok 642 /checksum/SHA1/reset/84 1244s ok 643 /checksum/SHA1/reset/85 1244s ok 644 /checksum/SHA1/reset/86 1244s ok 645 /checksum/SHA1/reset/87 1244s ok 646 /checksum/SHA1/reset/88 1244s ok 647 /checksum/SHA1/reset/89 1244s ok 648 /checksum/SHA1/reset/90 1244s ok 649 /checksum/SHA1/reset/91 1244s ok 650 /checksum/SHA1/reset/92 1244s ok 651 /checksum/SHA1/reset/93 1244s ok 652 /checksum/SHA1/reset/94 1244s ok 653 /checksum/SHA1/reset/95 1244s ok 654 /checksum/SHA1/reset/96 1244s ok 655 /checksum/SHA1/reset/97 1244s ok 656 /checksum/SHA1/reset/98 1244s ok 657 /checksum/SHA1/reset/99 1244s ok 658 /checksum/SHA1/reset/100 1244s ok 659 /checksum/SHA1/reset/101 1244s ok 660 /checksum/SHA1/reset/102 1244s ok 661 /checksum/SHA1/reset/103 1244s ok 662 /checksum/SHA1/reset/104 1244s ok 663 /checksum/SHA1/reset/105 1244s ok 664 /checksum/SHA1/reset/106 1244s ok 665 /checksum/SHA1/reset/107 1244s ok 666 /checksum/SHA1/reset/108 1244s ok 667 /checksum/SHA1/reset/109 1244s ok 668 /checksum/SHA1/reset/110 1244s ok 669 /checksum/SHA1/reset/111 1244s ok 670 /checksum/SHA1/reset/112 1244s ok 671 /checksum/SHA1/reset/113 1244s ok 672 /checksum/SHA1/reset/114 1244s ok 673 /checksum/SHA1/reset/115 1244s ok 674 /checksum/SHA1/reset/116 1244s ok 675 /checksum/SHA1/reset/117 1244s ok 676 /checksum/SHA1/reset/118 1244s ok 677 /checksum/SHA1/reset/119 1244s ok 678 /checksum/SHA1/reset/120 1244s ok 679 /checksum/SHA1/reset/121 1244s ok 680 /checksum/SHA1/reset/122 1244s ok 681 /checksum/SHA1/reset/123 1244s ok 682 /checksum/SHA1/reset/124 1244s ok 683 /checksum/SHA1/reset/125 1244s ok 684 /checksum/SHA1/reset/126 1244s ok 685 /checksum/SHA1/reset/127 1244s ok 686 /checksum/SHA1/reset/128 1244s ok 687 /checksum/SHA1/reset/129 1244s ok 688 /checksum/SHA1/reset/130 1244s ok 689 /checksum/SHA1/reset/131 1244s ok 690 /checksum/SHA1/reset/132 1244s ok 691 /checksum/SHA1/reset/133 1244s ok 692 /checksum/SHA1/reset/134 1244s ok 693 /checksum/SHA1/reset/135 1244s ok 694 /checksum/SHA1/reset/136 1244s ok 695 /checksum/SHA1/reset/137 1244s ok 696 /checksum/SHA1/reset/138 1244s ok 697 /checksum/SHA1/reset/139 1244s ok 698 /checksum/SHA1/reset/140 1244s ok 699 /checksum/SHA1/reset/141 1244s ok 700 /checksum/SHA1/reset/142 1244s ok 701 /checksum/SHA1/reset/143 1244s ok 702 /checksum/SHA1/reset/144 1244s ok 703 /checksum/SHA1/reset/145 1244s ok 704 /checksum/SHA1/reset/146 1244s ok 705 /checksum/SHA1/reset/147 1244s ok 706 /checksum/SHA1/reset/148 1244s ok 707 /checksum/SHA1/reset/149 1244s ok 708 /checksum/SHA1/reset/150 1244s ok 709 /checksum/SHA1/reset/151 1244s ok 710 /checksum/SHA1/reset/152 1244s ok 711 /checksum/SHA1/reset/153 1244s ok 712 /checksum/SHA1/reset/154 1244s ok 713 /checksum/SHA1/reset/155 1244s ok 714 /checksum/SHA1/reset/156 1244s ok 715 /checksum/SHA1/reset/157 1244s ok 716 /checksum/SHA1/reset/158 1244s ok 717 /checksum/SHA1/reset/159 1244s ok 718 /checksum/SHA1/reset/160 1244s ok 719 /checksum/SHA1/reset/161 1244s ok 720 /checksum/SHA1/reset/162 1244s ok 721 /checksum/SHA1/reset/163 1244s ok 722 /checksum/SHA1/reset/164 1244s ok 723 /checksum/SHA1/reset/165 1244s ok 724 /checksum/SHA1/reset/166 1244s ok 725 /checksum/SHA1/reset/167 1244s ok 726 /checksum/SHA1/reset/168 1244s ok 727 /checksum/SHA1/reset/169 1244s ok 728 /checksum/SHA1/reset/170 1244s ok 729 /checksum/SHA1/reset/171 1244s ok 730 /checksum/SHA1/reset/172 1244s ok 731 /checksum/SHA1/reset/173 1244s ok 732 /checksum/SHA1/reset/174 1244s ok 733 /checksum/SHA1/reset/175 1244s ok 734 /checksum/SHA1/reset/176 1244s ok 735 /checksum/SHA1/reset/177 1244s ok 736 /checksum/SHA1/reset/178 1244s ok 737 /checksum/SHA1/reset/179 1244s ok 738 /checksum/SHA1/reset/180 1244s ok 739 /checksum/SHA1/reset/181 1244s ok 740 /checksum/SHA1/reset/182 1244s ok 741 /checksum/SHA1/reset/183 1244s # End of reset tests 1244s # End of SHA1 tests 1244s # Start of SHA256 tests 1244s ok 742 /checksum/SHA256/0 1244s ok 743 /checksum/SHA256/1 1244s ok 744 /checksum/SHA256/2 1244s ok 745 /checksum/SHA256/3 1244s ok 746 /checksum/SHA256/4 1244s ok 747 /checksum/SHA256/5 1244s ok 748 /checksum/SHA256/6 1244s ok 749 /checksum/SHA256/7 1244s ok 750 /checksum/SHA256/8 1244s ok 751 /checksum/SHA256/9 1244s ok 752 /checksum/SHA256/10 1244s ok 753 /checksum/SHA256/11 1244s ok 754 /checksum/SHA256/12 1244s ok 755 /checksum/SHA256/13 1244s ok 756 /checksum/SHA256/14 1244s ok 757 /checksum/SHA256/15 1244s ok 758 /checksum/SHA256/16 1244s ok 759 /checksum/SHA256/17 1244s ok 760 /checksum/SHA256/18 1244s ok 761 /checksum/SHA256/19 1244s ok 762 /checksum/SHA256/20 1244s ok 763 /checksum/SHA256/21 1244s ok 764 /checksum/SHA256/22 1244s ok 765 /checksum/SHA256/23 1244s ok 766 /checksum/SHA256/24 1244s ok 767 /checksum/SHA256/25 1244s ok 768 /checksum/SHA256/26 1244s ok 769 /checksum/SHA256/27 1244s ok 770 /checksum/SHA256/28 1244s ok 771 /checksum/SHA256/29 1244s ok 772 /checksum/SHA256/30 1244s ok 773 /checksum/SHA256/31 1244s ok 774 /checksum/SHA256/32 1244s ok 775 /checksum/SHA256/33 1244s ok 776 /checksum/SHA256/34 1244s ok 777 /checksum/SHA256/35 1244s ok 778 /checksum/SHA256/36 1244s ok 779 /checksum/SHA256/37 1244s ok 780 /checksum/SHA256/38 1244s ok 781 /checksum/SHA256/39 1244s ok 782 /checksum/SHA256/40 1244s ok 783 /checksum/SHA256/41 1244s ok 784 /checksum/SHA256/42 1244s ok 785 /checksum/SHA256/43 1244s ok 786 /checksum/SHA256/44 1244s ok 787 /checksum/SHA256/45 1244s ok 788 /checksum/SHA256/46 1244s ok 789 /checksum/SHA256/47 1244s ok 790 /checksum/SHA256/48 1244s ok 791 /checksum/SHA256/49 1244s ok 792 /checksum/SHA256/50 1244s ok 793 /checksum/SHA256/51 1244s ok 794 /checksum/SHA256/52 1244s ok 795 /checksum/SHA256/53 1244s ok 796 /checksum/SHA256/54 1244s ok 797 /checksum/SHA256/55 1244s ok 798 /checksum/SHA256/56 1244s ok 799 /checksum/SHA256/57 1244s ok 800 /checksum/SHA256/58 1244s ok 801 /checksum/SHA256/59 1244s ok 802 /checksum/SHA256/60 1244s ok 803 /checksum/SHA256/61 1244s ok 804 /checksum/SHA256/62 1244s ok 805 /checksum/SHA256/63 1244s ok 806 /checksum/SHA256/64 1244s ok 807 /checksum/SHA256/65 1244s ok 808 /checksum/SHA256/66 1244s ok 809 /checksum/SHA256/67 1244s ok 810 /checksum/SHA256/68 1244s ok 811 /checksum/SHA256/69 1244s ok 812 /checksum/SHA256/70 1244s ok 813 /checksum/SHA256/71 1244s ok 814 /checksum/SHA256/72 1244s ok 815 /checksum/SHA256/73 1244s ok 816 /checksum/SHA256/74 1244s ok 817 /checksum/SHA256/75 1244s ok 818 /checksum/SHA256/76 1244s ok 819 /checksum/SHA256/77 1244s ok 820 /checksum/SHA256/78 1244s ok 821 /checksum/SHA256/79 1244s ok 822 /checksum/SHA256/80 1244s ok 823 /checksum/SHA256/81 1244s ok 824 /checksum/SHA256/82 1244s ok 825 /checksum/SHA256/83 1244s ok 826 /checksum/SHA256/84 1244s ok 827 /checksum/SHA256/85 1244s ok 828 /checksum/SHA256/86 1244s ok 829 /checksum/SHA256/87 1244s ok 830 /checksum/SHA256/88 1244s ok 831 /checksum/SHA256/89 1244s ok 832 /checksum/SHA256/90 1244s ok 833 /checksum/SHA256/91 1244s ok 834 /checksum/SHA256/92 1244s ok 835 /checksum/SHA256/93 1244s ok 836 /checksum/SHA256/94 1244s ok 837 /checksum/SHA256/95 1244s ok 838 /checksum/SHA256/96 1244s ok 839 /checksum/SHA256/97 1244s ok 840 /checksum/SHA256/98 1244s ok 841 /checksum/SHA256/99 1244s ok 842 /checksum/SHA256/100 1244s ok 843 /checksum/SHA256/101 1244s ok 844 /checksum/SHA256/102 1244s ok 845 /checksum/SHA256/103 1244s ok 846 /checksum/SHA256/104 1244s ok 847 /checksum/SHA256/105 1244s ok 848 /checksum/SHA256/106 1244s ok 849 /checksum/SHA256/107 1244s ok 850 /checksum/SHA256/108 1244s ok 851 /checksum/SHA256/109 1244s ok 852 /checksum/SHA256/110 1244s ok 853 /checksum/SHA256/111 1244s ok 854 /checksum/SHA256/112 1244s ok 855 /checksum/SHA256/113 1244s ok 856 /checksum/SHA256/114 1244s ok 857 /checksum/SHA256/115 1244s ok 858 /checksum/SHA256/116 1244s ok 859 /checksum/SHA256/117 1244s ok 860 /checksum/SHA256/118 1244s ok 861 /checksum/SHA256/119 1244s ok 862 /checksum/SHA256/120 1244s ok 863 /checksum/SHA256/121 1244s ok 864 /checksum/SHA256/122 1244s ok 865 /checksum/SHA256/123 1244s ok 866 /checksum/SHA256/124 1244s ok 867 /checksum/SHA256/125 1244s ok 868 /checksum/SHA256/126 1244s ok 869 /checksum/SHA256/127 1244s ok 870 /checksum/SHA256/128 1244s ok 871 /checksum/SHA256/129 1244s ok 872 /checksum/SHA256/130 1244s ok 873 /checksum/SHA256/131 1244s ok 874 /checksum/SHA256/132 1244s ok 875 /checksum/SHA256/133 1244s ok 876 /checksum/SHA256/134 1244s ok 877 /checksum/SHA256/135 1244s ok 878 /checksum/SHA256/136 1244s ok 879 /checksum/SHA256/137 1244s ok 880 /checksum/SHA256/138 1244s ok 881 /checksum/SHA256/139 1244s ok 882 /checksum/SHA256/140 1244s ok 883 /checksum/SHA256/141 1244s ok 884 /checksum/SHA256/142 1244s ok 885 /checksum/SHA256/143 1244s ok 886 /checksum/SHA256/144 1244s ok 887 /checksum/SHA256/145 1244s ok 888 /checksum/SHA256/146 1244s ok 889 /checksum/SHA256/147 1244s ok 890 /checksum/SHA256/148 1244s ok 891 /checksum/SHA256/149 1244s ok 892 /checksum/SHA256/150 1244s ok 893 /checksum/SHA256/151 1244s ok 894 /checksum/SHA256/152 1244s ok 895 /checksum/SHA256/153 1244s ok 896 /checksum/SHA256/154 1244s ok 897 /checksum/SHA256/155 1244s ok 898 /checksum/SHA256/156 1244s ok 899 /checksum/SHA256/157 1244s ok 900 /checksum/SHA256/158 1244s ok 901 /checksum/SHA256/159 1244s ok 902 /checksum/SHA256/160 1244s ok 903 /checksum/SHA256/161 1244s ok 904 /checksum/SHA256/162 1244s ok 905 /checksum/SHA256/163 1244s ok 906 /checksum/SHA256/164 1244s ok 907 /checksum/SHA256/165 1244s ok 908 /checksum/SHA256/166 1244s ok 909 /checksum/SHA256/167 1244s ok 910 /checksum/SHA256/168 1244s ok 911 /checksum/SHA256/169 1244s ok 912 /checksum/SHA256/170 1244s ok 913 /checksum/SHA256/171 1244s ok 914 /checksum/SHA256/172 1244s ok 915 /checksum/SHA256/173 1244s ok 916 /checksum/SHA256/174 1244s ok 917 /checksum/SHA256/175 1244s ok 918 /checksum/SHA256/176 1244s ok 919 /checksum/SHA256/177 1244s ok 920 /checksum/SHA256/178 1244s ok 921 /checksum/SHA256/179 1244s ok 922 /checksum/SHA256/180 1244s ok 923 /checksum/SHA256/181 1244s ok 924 /checksum/SHA256/182 1244s ok 925 /checksum/SHA256/183 1244s ok 926 /checksum/SHA256/string 1244s ok 927 /checksum/SHA256/bytes 1244s # Start of reset tests 1244s ok 928 /checksum/SHA256/reset/0 1244s ok 929 /checksum/SHA256/reset/1 1244s ok 930 /checksum/SHA256/reset/2 1244s ok 931 /checksum/SHA256/reset/3 1244s ok 932 /checksum/SHA256/reset/4 1244s ok 933 /checksum/SHA256/reset/5 1244s ok 934 /checksum/SHA256/reset/6 1244s ok 935 /checksum/SHA256/reset/7 1244s ok 936 /checksum/SHA256/reset/8 1244s ok 937 /checksum/SHA256/reset/9 1244s ok 938 /checksum/SHA256/reset/10 1244s ok 939 /checksum/SHA256/reset/11 1244s ok 940 /checksum/SHA256/reset/12 1244s ok 941 /checksum/SHA256/reset/13 1244s ok 942 /checksum/SHA256/reset/14 1244s ok 943 /checksum/SHA256/reset/15 1244s ok 944 /checksum/SHA256/reset/16 1244s ok 945 /checksum/SHA256/reset/17 1244s ok 946 /checksum/SHA256/reset/18 1244s ok 947 /checksum/SHA256/reset/19 1244s ok 948 /checksum/SHA256/reset/20 1244s ok 949 /checksum/SHA256/reset/21 1244s ok 950 /checksum/SHA256/reset/22 1244s ok 951 /checksum/SHA256/reset/23 1244s ok 952 /checksum/SHA256/reset/24 1244s ok 953 /checksum/SHA256/reset/25 1244s ok 954 /checksum/SHA256/reset/26 1244s ok 955 /checksum/SHA256/reset/27 1244s ok 956 /checksum/SHA256/reset/28 1244s ok 957 /checksum/SHA256/reset/29 1244s ok 958 /checksum/SHA256/reset/30 1244s ok 959 /checksum/SHA256/reset/31 1244s ok 960 /checksum/SHA256/reset/32 1244s ok 961 /checksum/SHA256/reset/33 1244s ok 962 /checksum/SHA256/reset/34 1244s ok 963 /checksum/SHA256/reset/35 1244s ok 964 /checksum/SHA256/reset/36 1244s ok 965 /checksum/SHA256/reset/37 1244s ok 966 /checksum/SHA256/reset/38 1244s ok 967 /checksum/SHA256/reset/39 1244s ok 968 /checksum/SHA256/reset/40 1244s ok 969 /checksum/SHA256/reset/41 1244s ok 970 /checksum/SHA256/reset/42 1244s ok 971 /checksum/SHA256/reset/43 1244s ok 972 /checksum/SHA256/reset/44 1244s ok 973 /checksum/SHA256/reset/45 1244s ok 974 /checksum/SHA256/reset/46 1244s ok 975 /checksum/SHA256/reset/47 1244s ok 976 /checksum/SHA256/reset/48 1244s ok 977 /checksum/SHA256/reset/49 1244s ok 978 /checksum/SHA256/reset/50 1244s ok 979 /checksum/SHA256/reset/51 1244s ok 980 /checksum/SHA256/reset/52 1244s ok 981 /checksum/SHA256/reset/53 1244s ok 982 /checksum/SHA256/reset/54 1244s ok 983 /checksum/SHA256/reset/55 1244s ok 984 /checksum/SHA256/reset/56 1244s ok 985 /checksum/SHA256/reset/57 1244s ok 986 /checksum/SHA256/reset/58 1244s ok 987 /checksum/SHA256/reset/59 1244s ok 988 /checksum/SHA256/reset/60 1244s ok 989 /checksum/SHA256/reset/61 1244s ok 990 /checksum/SHA256/reset/62 1244s ok 991 /checksum/SHA256/reset/63 1244s ok 992 /checksum/SHA256/reset/64 1244s ok 993 /checksum/SHA256/reset/65 1244s ok 994 /checksum/SHA256/reset/66 1244s ok 995 /checksum/SHA256/reset/67 1244s ok 996 /checksum/SHA256/reset/68 1244s ok 997 /checksum/SHA256/reset/69 1244s ok 998 /checksum/SHA256/reset/70 1244s ok 999 /checksum/SHA256/reset/71 1244s ok 1000 /checksum/SHA256/reset/72 1244s ok 1001 /checksum/SHA256/reset/73 1244s ok 1002 /checksum/SHA256/reset/74 1244s ok 1003 /checksum/SHA256/reset/75 1244s ok 1004 /checksum/SHA256/reset/76 1244s ok 1005 /checksum/SHA256/reset/77 1244s ok 1006 /checksum/SHA256/reset/78 1244s ok 1007 /checksum/SHA256/reset/79 1244s ok 1008 /checksum/SHA256/reset/80 1244s ok 1009 /checksum/SHA256/reset/81 1244s ok 1010 /checksum/SHA256/reset/82 1244s ok 1011 /checksum/SHA256/reset/83 1244s ok 1012 /checksum/SHA256/reset/84 1244s ok 1013 /checksum/SHA256/reset/85 1244s ok 1014 /checksum/SHA256/reset/86 1244s ok 1015 /checksum/SHA256/reset/87 1244s ok 1016 /checksum/SHA256/reset/88 1244s ok 1017 /checksum/SHA256/reset/89 1244s ok 1018 /checksum/SHA256/reset/90 1244s ok 1019 /checksum/SHA256/reset/91 1244s ok 1020 /checksum/SHA256/reset/92 1244s ok 1021 /checksum/SHA256/reset/93 1244s ok 1022 /checksum/SHA256/reset/94 1244s ok 1023 /checksum/SHA256/reset/95 1244s ok 1024 /checksum/SHA256/reset/96 1244s ok 1025 /checksum/SHA256/reset/97 1244s ok 1026 /checksum/SHA256/reset/98 1244s ok 1027 /checksum/SHA256/reset/99 1244s ok 1028 /checksum/SHA256/reset/100 1244s ok 1029 /checksum/SHA256/reset/101 1244s ok 1030 /checksum/SHA256/reset/102 1244s ok 1031 /checksum/SHA256/reset/103 1244s ok 1032 /checksum/SHA256/reset/104 1244s ok 1033 /checksum/SHA256/reset/105 1244s ok 1034 /checksum/SHA256/reset/106 1244s ok 1035 /checksum/SHA256/reset/107 1244s ok 1036 /checksum/SHA256/reset/108 1244s ok 1037 /checksum/SHA256/reset/109 1244s ok 1038 /checksum/SHA256/reset/110 1244s ok 1039 /checksum/SHA256/reset/111 1244s ok 1040 /checksum/SHA256/reset/112 1244s ok 1041 /checksum/SHA256/reset/113 1244s ok 1042 /checksum/SHA256/reset/114 1244s ok 1043 /checksum/SHA256/reset/115 1244s ok 1044 /checksum/SHA256/reset/116 1244s ok 1045 /checksum/SHA256/reset/117 1244s ok 1046 /checksum/SHA256/reset/118 1244s ok 1047 /checksum/SHA256/reset/119 1244s ok 1048 /checksum/SHA256/reset/120 1244s ok 1049 /checksum/SHA256/reset/121 1244s ok 1050 /checksum/SHA256/reset/122 1244s ok 1051 /checksum/SHA256/reset/123 1244s ok 1052 /checksum/SHA256/reset/124 1244s ok 1053 /checksum/SHA256/reset/125 1244s ok 1054 /checksum/SHA256/reset/126 1244s ok 1055 /checksum/SHA256/reset/127 1244s ok 1056 /checksum/SHA256/reset/128 1244s ok 1057 /checksum/SHA256/reset/129 1244s ok 1058 /checksum/SHA256/reset/130 1244s ok 1059 /checksum/SHA256/reset/131 1244s ok 1060 /checksum/SHA256/reset/132 1244s ok 1061 /checksum/SHA256/reset/133 1244s ok 1062 /checksum/SHA256/reset/134 1244s ok 1063 /checksum/SHA256/reset/135 1244s ok 1064 /checksum/SHA256/reset/136 1244s ok 1065 /checksum/SHA256/reset/137 1244s ok 1066 /checksum/SHA256/reset/138 1244s ok 1067 /checksum/SHA256/reset/139 1244s ok 1068 /checksum/SHA256/reset/140 1244s ok 1069 /checksum/SHA256/reset/141 1244s ok 1070 /checksum/SHA256/reset/142 1244s ok 1071 /checksum/SHA256/reset/143 1244s ok 1072 /checksum/SHA256/reset/144 1244s ok 1073 /checksum/SHA256/reset/145 1244s ok 1074 /checksum/SHA256/reset/146 1244s ok 1075 /checksum/SHA256/reset/147 1244s ok 1076 /checksum/SHA256/reset/148 1244s ok 1077 /checksum/SHA256/reset/149 1244s ok 1078 /checksum/SHA256/reset/150 1244s ok 1079 /checksum/SHA256/reset/151 1244s ok 1080 /checksum/SHA256/reset/152 1244s ok 1081 /checksum/SHA256/reset/153 1244s ok 1082 /checksum/SHA256/reset/154 1244s ok 1083 /checksum/SHA256/reset/155 1244s ok 1084 /checksum/SHA256/reset/156 1244s ok 1085 /checksum/SHA256/reset/157 1244s ok 1086 /checksum/SHA256/reset/158 1244s ok 1087 /checksum/SHA256/reset/159 1244s ok 1088 /checksum/SHA256/reset/160 1244s ok 1089 /checksum/SHA256/reset/161 1244s ok 1090 /checksum/SHA256/reset/162 1244s ok 1091 /checksum/SHA256/reset/163 1244s ok 1092 /checksum/SHA256/reset/164 1244s ok 1093 /checksum/SHA256/reset/165 1244s ok 1094 /checksum/SHA256/reset/166 1244s ok 1095 /checksum/SHA256/reset/167 1244s ok 1096 /checksum/SHA256/reset/168 1244s ok 1097 /checksum/SHA256/reset/169 1244s ok 1098 /checksum/SHA256/reset/170 1244s ok 1099 /checksum/SHA256/reset/171 1244s ok 1100 /checksum/SHA256/reset/172 1244s ok 1101 /checksum/SHA256/reset/173 1244s ok 1102 /checksum/SHA256/reset/174 1244s ok 1103 /checksum/SHA256/reset/175 1244s ok 1104 /checksum/SHA256/reset/176 1244s ok 1105 /checksum/SHA256/reset/177 1244s ok 1106 /checksum/SHA256/reset/178 1244s ok 1107 /checksum/SHA256/reset/179 1244s ok 1108 /checksum/SHA256/reset/180 1244s ok 1109 /checksum/SHA256/reset/181 1244s ok 1110 /checksum/SHA256/reset/182 1244s ok 1111 /checksum/SHA256/reset/183 1244s # End of reset tests 1244s # End of SHA256 tests 1244s # Start of SHA384 tests 1244s ok 1112 /checksum/SHA384/0 1244s ok 1113 /checksum/SHA384/1 1244s ok 1114 /checksum/SHA384/2 1244s ok 1115 /checksum/SHA384/3 1244s ok 1116 /checksum/SHA384/4 1244s ok 1117 /checksum/SHA384/5 1244s ok 1118 /checksum/SHA384/6 1244s ok 1119 /checksum/SHA384/7 1244s ok 1120 /checksum/SHA384/8 1244s ok 1121 /checksum/SHA384/9 1244s ok 1122 /checksum/SHA384/10 1244s ok 1123 /checksum/SHA384/11 1244s ok 1124 /checksum/SHA384/12 1244s ok 1125 /checksum/SHA384/13 1244s ok 1126 /checksum/SHA384/14 1244s ok 1127 /checksum/SHA384/15 1244s ok 1128 /checksum/SHA384/16 1244s ok 1129 /checksum/SHA384/17 1244s ok 1130 /checksum/SHA384/18 1244s ok 1131 /checksum/SHA384/19 1244s ok 1132 /checksum/SHA384/20 1244s ok 1133 /checksum/SHA384/21 1244s ok 1134 /checksum/SHA384/22 1244s ok 1135 /checksum/SHA384/23 1244s ok 1136 /checksum/SHA384/24 1244s ok 1137 /checksum/SHA384/25 1244s ok 1138 /checksum/SHA384/26 1244s ok 1139 /checksum/SHA384/27 1244s ok 1140 /checksum/SHA384/28 1244s ok 1141 /checksum/SHA384/29 1244s ok 1142 /checksum/SHA384/30 1244s ok 1143 /checksum/SHA384/31 1244s ok 1144 /checksum/SHA384/32 1244s ok 1145 /checksum/SHA384/33 1244s ok 1146 /checksum/SHA384/34 1244s ok 1147 /checksum/SHA384/35 1244s ok 1148 /checksum/SHA384/36 1244s ok 1149 /checksum/SHA384/37 1244s ok 1150 /checksum/SHA384/38 1244s ok 1151 /checksum/SHA384/39 1244s ok 1152 /checksum/SHA384/40 1244s ok 1153 /checksum/SHA384/41 1244s ok 1154 /checksum/SHA384/42 1244s ok 1155 /checksum/SHA384/43 1244s ok 1156 /checksum/SHA384/44 1244s ok 1157 /checksum/SHA384/45 1244s ok 1158 /checksum/SHA384/46 1244s ok 1159 /checksum/SHA384/47 1244s ok 1160 /checksum/SHA384/48 1244s ok 1161 /checksum/SHA384/49 1244s ok 1162 /checksum/SHA384/50 1244s ok 1163 /checksum/SHA384/51 1244s ok 1164 /checksum/SHA384/52 1244s ok 1165 /checksum/SHA384/53 1244s ok 1166 /checksum/SHA384/54 1244s ok 1167 /checksum/SHA384/55 1244s ok 1168 /checksum/SHA384/56 1244s ok 1169 /checksum/SHA384/57 1244s ok 1170 /checksum/SHA384/58 1244s ok 1171 /checksum/SHA384/59 1244s ok 1172 /checksum/SHA384/60 1244s ok 1173 /checksum/SHA384/61 1244s ok 1174 /checksum/SHA384/62 1244s ok 1175 /checksum/SHA384/63 1244s ok 1176 /checksum/SHA384/64 1244s ok 1177 /checksum/SHA384/65 1244s ok 1178 /checksum/SHA384/66 1244s ok 1179 /checksum/SHA384/67 1244s ok 1180 /checksum/SHA384/68 1244s ok 1181 /checksum/SHA384/69 1244s ok 1182 /checksum/SHA384/70 1244s ok 1183 /checksum/SHA384/71 1244s ok 1184 /checksum/SHA384/72 1244s ok 1185 /checksum/SHA384/73 1244s ok 1186 /checksum/SHA384/74 1244s ok 1187 /checksum/SHA384/75 1244s ok 1188 /checksum/SHA384/76 1244s ok 1189 /checksum/SHA384/77 1244s ok 1190 /checksum/SHA384/78 1244s ok 1191 /checksum/SHA384/79 1244s ok 1192 /checksum/SHA384/80 1244s ok 1193 /checksum/SHA384/81 1244s ok 1194 /checksum/SHA384/82 1244s ok 1195 /checksum/SHA384/83 1244s ok 1196 /checksum/SHA384/84 1244s ok 1197 /checksum/SHA384/85 1244s ok 1198 /checksum/SHA384/86 1244s ok 1199 /checksum/SHA384/87 1244s ok 1200 /checksum/SHA384/88 1244s ok 1201 /checksum/SHA384/89 1244s ok 1202 /checksum/SHA384/90 1244s ok 1203 /checksum/SHA384/91 1244s ok 1204 /checksum/SHA384/92 1244s ok 1205 /checksum/SHA384/93 1244s ok 1206 /checksum/SHA384/94 1244s ok 1207 /checksum/SHA384/95 1244s ok 1208 /checksum/SHA384/96 1244s ok 1209 /checksum/SHA384/97 1244s ok 1210 /checksum/SHA384/98 1244s ok 1211 /checksum/SHA384/99 1244s ok 1212 /checksum/SHA384/100 1244s ok 1213 /checksum/SHA384/101 1244s ok 1214 /checksum/SHA384/102 1244s ok 1215 /checksum/SHA384/103 1244s ok 1216 /checksum/SHA384/104 1244s ok 1217 /checksum/SHA384/105 1244s ok 1218 /checksum/SHA384/106 1244s ok 1219 /checksum/SHA384/107 1244s ok 1220 /checksum/SHA384/108 1244s ok 1221 /checksum/SHA384/109 1244s ok 1222 /checksum/SHA384/110 1244s ok 1223 /checksum/SHA384/111 1244s ok 1224 /checksum/SHA384/112 1244s ok 1225 /checksum/SHA384/113 1244s ok 1226 /checksum/SHA384/114 1244s ok 1227 /checksum/SHA384/115 1244s ok 1228 /checksum/SHA384/116 1244s ok 1229 /checksum/SHA384/117 1244s ok 1230 /checksum/SHA384/118 1244s ok 1231 /checksum/SHA384/119 1244s ok 1232 /checksum/SHA384/120 1244s ok 1233 /checksum/SHA384/121 1244s ok 1234 /checksum/SHA384/122 1244s ok 1235 /checksum/SHA384/123 1244s ok 1236 /checksum/SHA384/124 1244s ok 1237 /checksum/SHA384/125 1244s ok 1238 /checksum/SHA384/126 1244s ok 1239 /checksum/SHA384/127 1244s ok 1240 /checksum/SHA384/128 1244s ok 1241 /checksum/SHA384/129 1244s ok 1242 /checksum/SHA384/130 1244s ok 1243 /checksum/SHA384/131 1244s ok 1244 /checksum/SHA384/132 1244s ok 1245 /checksum/SHA384/133 1244s ok 1246 /checksum/SHA384/134 1244s ok 1247 /checksum/SHA384/135 1244s ok 1248 /checksum/SHA384/136 1244s ok 1249 /checksum/SHA384/137 1244s ok 1250 /checksum/SHA384/138 1244s ok 1251 /checksum/SHA384/139 1244s ok 1252 /checksum/SHA384/140 1244s ok 1253 /checksum/SHA384/141 1244s ok 1254 /checksum/SHA384/142 1244s ok 1255 /checksum/SHA384/143 1244s ok 1256 /checksum/SHA384/144 1244s ok 1257 /checksum/SHA384/145 1244s ok 1258 /checksum/SHA384/146 1244s ok 1259 /checksum/SHA384/147 1244s ok 1260 /checksum/SHA384/148 1244s ok 1261 /checksum/SHA384/149 1244s ok 1262 /checksum/SHA384/150 1244s ok 1263 /checksum/SHA384/151 1244s ok 1264 /checksum/SHA384/152 1244s ok 1265 /checksum/SHA384/153 1244s ok 1266 /checksum/SHA384/154 1244s ok 1267 /checksum/SHA384/155 1244s ok 1268 /checksum/SHA384/156 1244s ok 1269 /checksum/SHA384/157 1244s ok 1270 /checksum/SHA384/158 1244s ok 1271 /checksum/SHA384/159 1244s ok 1272 /checksum/SHA384/160 1244s ok 1273 /checksum/SHA384/161 1244s ok 1274 /checksum/SHA384/162 1244s ok 1275 /checksum/SHA384/163 1244s ok 1276 /checksum/SHA384/164 1244s ok 1277 /checksum/SHA384/165 1244s ok 1278 /checksum/SHA384/166 1244s ok 1279 /checksum/SHA384/167 1244s ok 1280 /checksum/SHA384/168 1244s ok 1281 /checksum/SHA384/169 1244s ok 1282 /checksum/SHA384/170 1244s ok 1283 /checksum/SHA384/171 1244s ok 1284 /checksum/SHA384/172 1244s ok 1285 /checksum/SHA384/173 1244s ok 1286 /checksum/SHA384/174 1244s ok 1287 /checksum/SHA384/175 1244s ok 1288 /checksum/SHA384/176 1244s ok 1289 /checksum/SHA384/177 1244s ok 1290 /checksum/SHA384/178 1244s ok 1291 /checksum/SHA384/179 1244s ok 1292 /checksum/SHA384/180 1244s ok 1293 /checksum/SHA384/181 1244s ok 1294 /checksum/SHA384/182 1244s ok 1295 /checksum/SHA384/183 1244s ok 1296 /checksum/SHA384/string 1244s ok 1297 /checksum/SHA384/bytes 1244s # Start of reset tests 1244s ok 1298 /checksum/SHA384/reset/0 1244s ok 1299 /checksum/SHA384/reset/1 1244s ok 1300 /checksum/SHA384/reset/2 1244s ok 1301 /checksum/SHA384/reset/3 1244s ok 1302 /checksum/SHA384/reset/4 1244s ok 1303 /checksum/SHA384/reset/5 1244s ok 1304 /checksum/SHA384/reset/6 1244s ok 1305 /checksum/SHA384/reset/7 1244s ok 1306 /checksum/SHA384/reset/8 1244s ok 1307 /checksum/SHA384/reset/9 1244s ok 1308 /checksum/SHA384/reset/10 1244s ok 1309 /checksum/SHA384/reset/11 1244s ok 1310 /checksum/SHA384/reset/12 1244s ok 1311 /checksum/SHA384/reset/13 1244s ok 1312 /checksum/SHA384/reset/14 1244s ok 1313 /checksum/SHA384/reset/15 1244s ok 1314 /checksum/SHA384/reset/16 1244s ok 1315 /checksum/SHA384/reset/17 1244s ok 1316 /checksum/SHA384/reset/18 1244s ok 1317 /checksum/SHA384/reset/19 1244s ok 1318 /checksum/SHA384/reset/20 1244s ok 1319 /checksum/SHA384/reset/21 1244s ok 1320 /checksum/SHA384/reset/22 1244s ok 1321 /checksum/SHA384/reset/23 1244s ok 1322 /checksum/SHA384/reset/24 1244s ok 1323 /checksum/SHA384/reset/25 1244s ok 1324 /checksum/SHA384/reset/26 1244s ok 1325 /checksum/SHA384/reset/27 1244s ok 1326 /checksum/SHA384/reset/28 1244s ok 1327 /checksum/SHA384/reset/29 1244s ok 1328 /checksum/SHA384/reset/30 1244s ok 1329 /checksum/SHA384/reset/31 1244s ok 1330 /checksum/SHA384/reset/32 1244s ok 1331 /checksum/SHA384/reset/33 1244s ok 1332 /checksum/SHA384/reset/34 1244s ok 1333 /checksum/SHA384/reset/35 1244s ok 1334 /checksum/SHA384/reset/36 1244s ok 1335 /checksum/SHA384/reset/37 1244s ok 1336 /checksum/SHA384/reset/38 1244s ok 1337 /checksum/SHA384/reset/39 1244s ok 1338 /checksum/SHA384/reset/40 1244s ok 1339 /checksum/SHA384/reset/41 1244s ok 1340 /checksum/SHA384/reset/42 1244s ok 1341 /checksum/SHA384/reset/43 1244s ok 1342 /checksum/SHA384/reset/44 1244s ok 1343 /checksum/SHA384/reset/45 1244s ok 1344 /checksum/SHA384/reset/46 1244s ok 1345 /checksum/SHA384/reset/47 1244s ok 1346 /checksum/SHA384/reset/48 1244s ok 1347 /checksum/SHA384/reset/49 1244s ok 1348 /checksum/SHA384/reset/50 1244s ok 1349 /checksum/SHA384/reset/51 1244s ok 1350 /checksum/SHA384/reset/52 1244s ok 1351 /checksum/SHA384/reset/53 1244s ok 1352 /checksum/SHA384/reset/54 1244s ok 1353 /checksum/SHA384/reset/55 1244s ok 1354 /checksum/SHA384/reset/56 1244s ok 1355 /checksum/SHA384/reset/57 1244s ok 1356 /checksum/SHA384/reset/58 1244s ok 1357 /checksum/SHA384/reset/59 1244s ok 1358 /checksum/SHA384/reset/60 1244s ok 1359 /checksum/SHA384/reset/61 1244s ok 1360 /checksum/SHA384/reset/62 1244s ok 1361 /checksum/SHA384/reset/63 1244s ok 1362 /checksum/SHA384/reset/64 1244s ok 1363 /checksum/SHA384/reset/65 1244s ok 1364 /checksum/SHA384/reset/66 1244s ok 1365 /checksum/SHA384/reset/67 1244s ok 1366 /checksum/SHA384/reset/68 1244s ok 1367 /checksum/SHA384/reset/69 1244s ok 1368 /checksum/SHA384/reset/70 1244s ok 1369 /checksum/SHA384/reset/71 1244s ok 1370 /checksum/SHA384/reset/72 1244s ok 1371 /checksum/SHA384/reset/73 1244s ok 1372 /checksum/SHA384/reset/74 1244s ok 1373 /checksum/SHA384/reset/75 1244s ok 1374 /checksum/SHA384/reset/76 1244s ok 1375 /checksum/SHA384/reset/77 1244s ok 1376 /checksum/SHA384/reset/78 1244s ok 1377 /checksum/SHA384/reset/79 1244s ok 1378 /checksum/SHA384/reset/80 1244s ok 1379 /checksum/SHA384/reset/81 1244s ok 1380 /checksum/SHA384/reset/82 1244s ok 1381 /checksum/SHA384/reset/83 1244s ok 1382 /checksum/SHA384/reset/84 1244s ok 1383 /checksum/SHA384/reset/85 1244s ok 1384 /checksum/SHA384/reset/86 1244s ok 1385 /checksum/SHA384/reset/87 1244s ok 1386 /checksum/SHA384/reset/88 1244s ok 1387 /checksum/SHA384/reset/89 1244s ok 1388 /checksum/SHA384/reset/90 1244s ok 1389 /checksum/SHA384/reset/91 1244s ok 1390 /checksum/SHA384/reset/92 1244s ok 1391 /checksum/SHA384/reset/93 1244s ok 1392 /checksum/SHA384/reset/94 1244s ok 1393 /checksum/SHA384/reset/95 1244s ok 1394 /checksum/SHA384/reset/96 1244s ok 1395 /checksum/SHA384/reset/97 1244s ok 1396 /checksum/SHA384/reset/98 1244s ok 1397 /checksum/SHA384/reset/99 1244s ok 1398 /checksum/SHA384/reset/100 1244s ok 1399 /checksum/SHA384/reset/101 1244s ok 1400 /checksum/SHA384/reset/102 1244s ok 1401 /checksum/SHA384/reset/103 1244s ok 1402 /checksum/SHA384/reset/104 1244s ok 1403 /checksum/SHA384/reset/105 1244s ok 1404 /checksum/SHA384/reset/106 1244s ok 1405 /checksum/SHA384/reset/107 1244s ok 1406 /checksum/SHA384/reset/108 1244s ok 1407 /checksum/SHA384/reset/109 1244s ok 1408 /checksum/SHA384/reset/110 1244s ok 1409 /checksum/SHA384/reset/111 1244s ok 1410 /checksum/SHA384/reset/112 1244s ok 1411 /checksum/SHA384/reset/113 1244s ok 1412 /checksum/SHA384/reset/114 1244s ok 1413 /checksum/SHA384/reset/115 1244s ok 1414 /checksum/SHA384/reset/116 1244s ok 1415 /checksum/SHA384/reset/117 1244s ok 1416 /checksum/SHA384/reset/118 1244s ok 1417 /checksum/SHA384/reset/119 1244s ok 1418 /checksum/SHA384/reset/120 1244s ok 1419 /checksum/SHA384/reset/121 1244s ok 1420 /checksum/SHA384/reset/122 1244s ok 1421 /checksum/SHA384/reset/123 1244s ok 1422 /checksum/SHA384/reset/124 1244s ok 1423 /checksum/SHA384/reset/125 1244s ok 1424 /checksum/SHA384/reset/126 1244s ok 1425 /checksum/SHA384/reset/127 1244s ok 1426 /checksum/SHA384/reset/128 1244s ok 1427 /checksum/SHA384/reset/129 1244s ok 1428 /checksum/SHA384/reset/130 1244s ok 1429 /checksum/SHA384/reset/131 1244s ok 1430 /checksum/SHA384/reset/132 1244s ok 1431 /checksum/SHA384/reset/133 1244s ok 1432 /checksum/SHA384/reset/134 1244s ok 1433 /checksum/SHA384/reset/135 1244s ok 1434 /checksum/SHA384/reset/136 1244s ok 1435 /checksum/SHA384/reset/137 1244s ok 1436 /checksum/SHA384/reset/138 1244s ok 1437 /checksum/SHA384/reset/139 1244s ok 1438 /checksum/SHA384/reset/140 1244s ok 1439 /checksum/SHA384/reset/141 1244s ok 1440 /checksum/SHA384/reset/142 1244s ok 1441 /checksum/SHA384/reset/143 1244s ok 1442 /checksum/SHA384/reset/144 1244s ok 1443 /checksum/SHA384/reset/145 1244s ok 1444 /checksum/SHA384/reset/146 1244s ok 1445 /checksum/SHA384/reset/147 1244s ok 1446 /checksum/SHA384/reset/148 1244s ok 1447 /checksum/SHA384/reset/149 1244s ok 1448 /checksum/SHA384/reset/150 1244s ok 1449 /checksum/SHA384/reset/151 1244s ok 1450 /checksum/SHA384/reset/152 1244s ok 1451 /checksum/SHA384/reset/153 1244s ok 1452 /checksum/SHA384/reset/154 1244s ok 1453 /checksum/SHA384/reset/155 1244s ok 1454 /checksum/SHA384/reset/156 1244s ok 1455 /checksum/SHA384/reset/157 1244s ok 1456 /checksum/SHA384/reset/158 1244s ok 1457 /checksum/SHA384/reset/159 1244s ok 1458 /checksum/SHA384/reset/160 1244s ok 1459 /checksum/SHA384/reset/161 1244s ok 1460 /checksum/SHA384/reset/162 1244s ok 1461 /checksum/SHA384/reset/163 1244s ok 1462 /checksum/SHA384/reset/164 1244s ok 1463 /checksum/SHA384/reset/165 1244s ok 1464 /checksum/SHA384/reset/166 1244s ok 1465 /checksum/SHA384/reset/167 1244s ok 1466 /checksum/SHA384/reset/168 1244s ok 1467 /checksum/SHA384/reset/169 1244s ok 1468 /checksum/SHA384/reset/170 1244s ok 1469 /checksum/SHA384/reset/171 1244s ok 1470 /checksum/SHA384/reset/172 1244s ok 1471 /checksum/SHA384/reset/173 1244s ok 1472 /checksum/SHA384/reset/174 1244s ok 1473 /checksum/SHA384/reset/175 1244s ok 1474 /checksum/SHA384/reset/176 1244s ok 1475 /checksum/SHA384/reset/177 1244s ok 1476 /checksum/SHA384/reset/178 1244s ok 1477 /checksum/SHA384/reset/179 1244s ok 1478 /checksum/SHA384/reset/180 1244s ok 1479 /checksum/SHA384/reset/181 1244s ok 1480 /checksum/SHA384/reset/182 1244s ok 1481 /checksum/SHA384/reset/183 1244s # End of reset tests 1244s # End of SHA384 tests 1244s # Start of SHA512 tests 1244s ok 1482 /checksum/SHA512/0 1244s ok 1483 /checksum/SHA512/1 1244s ok 1484 /checksum/SHA512/2 1244s ok 1485 /checksum/SHA512/3 1244s ok 1486 /checksum/SHA512/4 1244s ok 1487 /checksum/SHA512/5 1244s ok 1488 /checksum/SHA512/6 1244s ok 1489 /checksum/SHA512/7 1244s ok 1490 /checksum/SHA512/8 1244s ok 1491 /checksum/SHA512/9 1244s ok 1492 /checksum/SHA512/10 1244s ok 1493 /checksum/SHA512/11 1244s ok 1494 /checksum/SHA512/12 1244s ok 1495 /checksum/SHA512/13 1244s ok 1496 /checksum/SHA512/14 1244s ok 1497 /checksum/SHA512/15 1244s ok 1498 /checksum/SHA512/16 1244s ok 1499 /checksum/SHA512/17 1244s ok 1500 /checksum/SHA512/18 1244s ok 1501 /checksum/SHA512/19 1244s ok 1502 /checksum/SHA512/20 1244s ok 1503 /checksum/SHA512/21 1244s ok 1504 /checksum/SHA512/22 1244s ok 1505 /checksum/SHA512/23 1244s ok 1506 /checksum/SHA512/24 1244s ok 1507 /checksum/SHA512/25 1244s ok 1508 /checksum/SHA512/26 1244s ok 1509 /checksum/SHA512/27 1244s ok 1510 /checksum/SHA512/28 1244s ok 1511 /checksum/SHA512/29 1244s ok 1512 /checksum/SHA512/30 1244s ok 1513 /checksum/SHA512/31 1244s ok 1514 /checksum/SHA512/32 1244s ok 1515 /checksum/SHA512/33 1244s ok 1516 /checksum/SHA512/34 1244s ok 1517 /checksum/SHA512/35 1244s ok 1518 /checksum/SHA512/36 1244s ok 1519 /checksum/SHA512/37 1244s ok 1520 /checksum/SHA512/38 1244s ok 1521 /checksum/SHA512/39 1244s ok 1522 /checksum/SHA512/40 1244s ok 1523 /checksum/SHA512/41 1244s ok 1524 /checksum/SHA512/42 1244s ok 1525 /checksum/SHA512/43 1244s ok 1526 /checksum/SHA512/44 1244s ok 1527 /checksum/SHA512/45 1244s ok 1528 /checksum/SHA512/46 1244s ok 1529 /checksum/SHA512/47 1244s ok 1530 /checksum/SHA512/48 1244s ok 1531 /checksum/SHA512/49 1244s ok 1532 /checksum/SHA512/50 1244s ok 1533 /checksum/SHA512/51 1244s ok 1534 /checksum/SHA512/52 1244s ok 1535 /checksum/SHA512/53 1244s ok 1536 /checksum/SHA512/54 1244s ok 1537 /checksum/SHA512/55 1244s ok 1538 /checksum/SHA512/56 1244s ok 1539 /checksum/SHA512/57 1244s ok 1540 /checksum/SHA512/58 1244s ok 1541 /checksum/SHA512/59 1244s ok 1542 /checksum/SHA512/60 1244s ok 1543 /checksum/SHA512/61 1244s ok 1544 /checksum/SHA512/62 1244s ok 1545 /checksum/SHA512/63 1244s ok 1546 /checksum/SHA512/64 1244s ok 1547 /checksum/SHA512/65 1244s ok 1548 /checksum/SHA512/66 1244s ok 1549 /checksum/SHA512/67 1244s ok 1550 /checksum/SHA512/68 1244s ok 1551 /checksum/SHA512/69 1244s ok 1552 /checksum/SHA512/70 1244s ok 1553 /checksum/SHA512/71 1244s ok 1554 /checksum/SHA512/72 1244s ok 1555 /checksum/SHA512/73 1244s ok 1556 /checksum/SHA512/74 1244s ok 1557 /checksum/SHA512/75 1244s ok 1558 /checksum/SHA512/76 1244s ok 1559 /checksum/SHA512/77 1244s ok 1560 /checksum/SHA512/78 1244s ok 1561 /checksum/SHA512/79 1244s ok 1562 /checksum/SHA512/80 1244s ok 1563 /checksum/SHA512/81 1244s ok 1564 /checksum/SHA512/82 1244s ok 1565 /checksum/SHA512/83 1244s ok 1566 /checksum/SHA512/84 1244s ok 1567 /checksum/SHA512/85 1244s ok 1568 /checksum/SHA512/86 1244s ok 1569 /checksum/SHA512/87 1244s ok 1570 /checksum/SHA512/88 1244s ok 1571 /checksum/SHA512/89 1244s ok 1572 /checksum/SHA512/90 1244s ok 1573 /checksum/SHA512/91 1244s ok 1574 /checksum/SHA512/92 1244s ok 1575 /checksum/SHA512/93 1244s ok 1576 /checksum/SHA512/94 1244s ok 1577 /checksum/SHA512/95 1244s ok 1578 /checksum/SHA512/96 1244s ok 1579 /checksum/SHA512/97 1244s ok 1580 /checksum/SHA512/98 1244s ok 1581 /checksum/SHA512/99 1244s ok 1582 /checksum/SHA512/100 1244s ok 1583 /checksum/SHA512/101 1244s ok 1584 /checksum/SHA512/102 1244s ok 1585 /checksum/SHA512/103 1244s ok 1586 /checksum/SHA512/104 1244s ok 1587 /checksum/SHA512/105 1244s ok 1588 /checksum/SHA512/106 1244s ok 1589 /checksum/SHA512/107 1244s ok 1590 /checksum/SHA512/108 1244s ok 1591 /checksum/SHA512/109 1244s ok 1592 /checksum/SHA512/110 1244s ok 1593 /checksum/SHA512/111 1244s ok 1594 /checksum/SHA512/112 1244s ok 1595 /checksum/SHA512/113 1244s ok 1596 /checksum/SHA512/114 1244s ok 1597 /checksum/SHA512/115 1244s ok 1598 /checksum/SHA512/116 1244s ok 1599 /checksum/SHA512/117 1244s ok 1600 /checksum/SHA512/118 1244s ok 1601 /checksum/SHA512/119 1244s ok 1602 /checksum/SHA512/120 1244s ok 1603 /checksum/SHA512/121 1244s ok 1604 /checksum/SHA512/122 1244s ok 1605 /checksum/SHA512/123 1244s ok 1606 /checksum/SHA512/124 1244s ok 1607 /checksum/SHA512/125 1244s ok 1608 /checksum/SHA512/126 1244s ok 1609 /checksum/SHA512/127 1244s ok 1610 /checksum/SHA512/128 1244s ok 1611 /checksum/SHA512/129 1244s ok 1612 /checksum/SHA512/130 1244s ok 1613 /checksum/SHA512/131 1244s ok 1614 /checksum/SHA512/132 1244s ok 1615 /checksum/SHA512/133 1244s ok 1616 /checksum/SHA512/134 1244s ok 1617 /checksum/SHA512/135 1244s ok 1618 /checksum/SHA512/136 1244s ok 1619 /checksum/SHA512/137 1244s ok 1620 /checksum/SHA512/138 1244s ok 1621 /checksum/SHA512/139 1244s ok 1622 /checksum/SHA512/140 1244s ok 1623 /checksum/SHA512/141 1244s ok 1624 /checksum/SHA512/142 1244s ok 1625 /checksum/SHA512/143 1244s ok 1626 /checksum/SHA512/144 1244s ok 1627 /checksum/SHA512/145 1244s ok 1628 /checksum/SHA512/146 1244s ok 1629 /checksum/SHA512/147 1244s ok 1630 /checksum/SHA512/148 1244s ok 1631 /checksum/SHA512/149 1244s ok 1632 /checksum/SHA512/150 1244s ok 1633 /checksum/SHA512/151 1244s ok 1634 /checksum/SHA512/152 1244s ok 1635 /checksum/SHA512/153 1244s ok 1636 /checksum/SHA512/154 1244s ok 1637 /checksum/SHA512/155 1244s ok 1638 /checksum/SHA512/156 1244s ok 1639 /checksum/SHA512/157 1244s ok 1640 /checksum/SHA512/158 1244s ok 1641 /checksum/SHA512/159 1244s ok 1642 /checksum/SHA512/160 1244s ok 1643 /checksum/SHA512/161 1244s ok 1644 /checksum/SHA512/162 1244s ok 1645 /checksum/SHA512/163 1244s ok 1646 /checksum/SHA512/164 1244s ok 1647 /checksum/SHA512/165 1244s ok 1648 /checksum/SHA512/166 1244s ok 1649 /checksum/SHA512/167 1244s ok 1650 /checksum/SHA512/168 1244s ok 1651 /checksum/SHA512/169 1244s ok 1652 /checksum/SHA512/170 1244s ok 1653 /checksum/SHA512/171 1244s ok 1654 /checksum/SHA512/172 1244s ok 1655 /checksum/SHA512/173 1244s ok 1656 /checksum/SHA512/174 1244s ok 1657 /checksum/SHA512/175 1244s ok 1658 /checksum/SHA512/176 1244s ok 1659 /checksum/SHA512/177 1244s ok 1660 /checksum/SHA512/178 1244s ok 1661 /checksum/SHA512/179 1244s ok 1662 /checksum/SHA512/180 1244s ok 1663 /checksum/SHA512/181 1244s ok 1664 /checksum/SHA512/182 1244s ok 1665 /checksum/SHA512/183 1244s ok 1666 /checksum/SHA512/string 1244s ok 1667 /checksum/SHA512/bytes 1244s # Start of reset tests 1244s ok 1668 /checksum/SHA512/reset/0 1244s ok 1669 /checksum/SHA512/reset/1 1244s ok 1670 /checksum/SHA512/reset/2 1244s ok 1671 /checksum/SHA512/reset/3 1244s ok 1672 /checksum/SHA512/reset/4 1244s ok 1673 /checksum/SHA512/reset/5 1244s ok 1674 /checksum/SHA512/reset/6 1244s ok 1675 /checksum/SHA512/reset/7 1244s ok 1676 /checksum/SHA512/reset/8 1244s ok 1677 /checksum/SHA512/reset/9 1244s ok 1678 /checksum/SHA512/reset/10 1244s ok 1679 /checksum/SHA512/reset/11 1244s ok 1680 /checksum/SHA512/reset/12 1244s ok 1681 /checksum/SHA512/reset/13 1244s ok 1682 /checksum/SHA512/reset/14 1244s ok 1683 /checksum/SHA512/reset/15 1244s ok 1684 /checksum/SHA512/reset/16 1244s ok 1685 /checksum/SHA512/reset/17 1244s ok 1686 /checksum/SHA512/reset/18 1244s ok 1687 /checksum/SHA512/reset/19 1244s ok 1688 /checksum/SHA512/reset/20 1244s ok 1689 /checksum/SHA512/reset/21 1244s ok 1690 /checksum/SHA512/reset/22 1244s ok 1691 /checksum/SHA512/reset/23 1244s ok 1692 /checksum/SHA512/reset/24 1244s ok 1693 /checksum/SHA512/reset/25 1244s ok 1694 /checksum/SHA512/reset/26 1244s ok 1695 /checksum/SHA512/reset/27 1244s ok 1696 /checksum/SHA512/reset/28 1244s ok 1697 /checksum/SHA512/reset/29 1244s ok 1698 /checksum/SHA512/reset/30 1244s ok 1699 /checksum/SHA512/reset/31 1244s ok 1700 /checksum/SHA512/reset/32 1244s ok 1701 /checksum/SHA512/reset/33 1244s ok 1702 /checksum/SHA512/reset/34 1244s ok 1703 /checksum/SHA512/reset/35 1244s ok 1704 /checksum/SHA512/reset/36 1244s ok 1705 /checksum/SHA512/reset/37 1244s ok 1706 /checksum/SHA512/reset/38 1244s ok 1707 /checksum/SHA512/reset/39 1244s ok 1708 /checksum/SHA512/reset/40 1244s ok 1709 /checksum/SHA512/reset/41 1244s ok 1710 /checksum/SHA512/reset/42 1244s ok 1711 /checksum/SHA512/reset/43 1244s ok 1712 /checksum/SHA512/reset/44 1244s ok 1713 /checksum/SHA512/reset/45 1244s ok 1714 /checksum/SHA512/reset/46 1244s ok 1715 /checksum/SHA512/reset/47 1244s ok 1716 /checksum/SHA512/reset/48 1244s ok 1717 /checksum/SHA512/reset/49 1244s ok 1718 /checksum/SHA512/reset/50 1244s ok 1719 /checksum/SHA512/reset/51 1244s ok 1720 /checksum/SHA512/reset/52 1244s ok 1721 /checksum/SHA512/reset/53 1244s ok 1722 /checksum/SHA512/reset/54 1244s ok 1723 /checksum/SHA512/reset/55 1244s ok 1724 /checksum/SHA512/reset/56 1244s ok 1725 /checksum/SHA512/reset/57 1244s ok 1726 /checksum/SHA512/reset/58 1244s ok 1727 /checksum/SHA512/reset/59 1244s ok 1728 /checksum/SHA512/reset/60 1244s ok 1729 /checksum/SHA512/reset/61 1244s ok 1730 /checksum/SHA512/reset/62 1244s ok 1731 /checksum/SHA512/reset/63 1244s ok 1732 /checksum/SHA512/reset/64 1244s ok 1733 /checksum/SHA512/reset/65 1244s ok 1734 /checksum/SHA512/reset/66 1244s ok 1735 /checksum/SHA512/reset/67 1244s ok 1736 /checksum/SHA512/reset/68 1244s ok 1737 /checksum/SHA512/reset/69 1244s ok 1738 /checksum/SHA512/reset/70 1244s ok 1739 /checksum/SHA512/reset/71 1244s ok 1740 /checksum/SHA512/reset/72 1244s ok 1741 /checksum/SHA512/reset/73 1244s ok 1742 /checksum/SHA512/reset/74 1244s ok 1743 /checksum/SHA512/reset/75 1244s ok 1744 /checksum/SHA512/reset/76 1244s ok 1745 /checksum/SHA512/reset/77 1244s ok 1746 /checksum/SHA512/reset/78 1244s ok 1747 /checksum/SHA512/reset/79 1244s ok 1748 /checksum/SHA512/reset/80 1244s ok 1749 /checksum/SHA512/reset/81 1244s ok 1750 /checksum/SHA512/reset/82 1244s ok 1751 /checksum/SHA512/reset/83 1244s ok 1752 /checksum/SHA512/reset/84 1244s ok 1753 /checksum/SHA512/reset/85 1244s ok 1754 /checksum/SHA512/reset/86 1244s ok 1755 /checksum/SHA512/reset/87 1244s ok 1756 /checksum/SHA512/reset/88 1244s ok 1757 /checksum/SHA512/reset/89 1244s ok 1758 /checksum/SHA512/reset/90 1244s ok 1759 /checksum/SHA512/reset/91 1244s ok 1760 /checksum/SHA512/reset/92 1244s ok 1761 /checksum/SHA512/reset/93 1244s ok 1762 /checksum/SHA512/reset/94 1244s ok 1763 /checksum/SHA512/reset/95 1244s ok 1764 /checksum/SHA512/reset/96 1244s ok 1765 /checksum/SHA512/reset/97 1244s ok 1766 /checksum/SHA512/reset/98 1244s ok 1767 /checksum/SHA512/reset/99 1244s ok 1768 /checksum/SHA512/reset/100 1244s ok 1769 /checksum/SHA512/reset/101 1244s ok 1770 /checksum/SHA512/reset/102 1244s ok 1771 /checksum/SHA512/reset/103 1244s ok 1772 /checksum/SHA512/reset/104 1244s ok 1773 /checksum/SHA512/reset/105 1244s ok 1774 /checksum/SHA512/reset/106 1244s ok 1775 /checksum/SHA512/reset/107 1244s ok 1776 /checksum/SHA512/reset/108 1244s ok 1777 /checksum/SHA512/reset/109 1244s ok 1778 /checksum/SHA512/reset/110 1244s ok 1779 /checksum/SHA512/reset/111 1244s ok 1780 /checksum/SHA512/reset/112 1244s ok 1781 /checksum/SHA512/reset/113 1244s ok 1782 /checksum/SHA512/reset/114 1244s ok 1783 /checksum/SHA512/reset/115 1244s ok 1784 /checksum/SHA512/reset/116 1244s ok 1785 /checksum/SHA512/reset/117 1244s ok 1786 /checksum/SHA512/reset/118 1244s ok 1787 /checksum/SHA512/reset/119 1244s ok 1788 /checksum/SHA512/reset/120 1244s ok 1789 /checksum/SHA512/reset/121 1244s ok 1790 /checksum/SHA512/reset/122 1244s ok 1791 /checksum/SHA512/reset/123 1244s ok 1792 /checksum/SHA512/reset/124 1244s ok 1793 /checksum/SHA512/reset/125 1244s ok 1794 /checksum/SHA512/reset/126 1244s ok 1795 /checksum/SHA512/reset/127 1244s ok 1796 /checksum/SHA512/reset/128 1244s ok 1797 /checksum/SHA512/reset/129 1244s ok 1798 /checksum/SHA512/reset/130 1244s ok 1799 /checksum/SHA512/reset/131 1244s ok 1800 /checksum/SHA512/reset/132 1244s ok 1801 /checksum/SHA512/reset/133 1244s ok 1802 /checksum/SHA512/reset/134 1244s ok 1803 /checksum/SHA512/reset/135 1244s ok 1804 /checksum/SHA512/reset/136 1244s ok 1805 /checksum/SHA512/reset/137 1244s ok 1806 /checksum/SHA512/reset/138 1244s ok 1807 /checksum/SHA512/reset/139 1244s ok 1808 /checksum/SHA512/reset/140 1244s ok 1809 /checksum/SHA512/reset/141 1244s ok 1810 /checksum/SHA512/reset/142 1244s ok 1811 /checksum/SHA512/reset/143 1244s ok 1812 /checksum/SHA512/reset/144 1244s ok 1813 /checksum/SHA512/reset/145 1244s ok 1814 /checksum/SHA512/reset/146 1244s ok 1815 /checksum/SHA512/reset/147 1244s ok 1816 /checksum/SHA512/reset/148 1244s ok 1817 /checksum/SHA512/reset/149 1244s ok 1818 /checksum/SHA512/reset/150 1244s ok 1819 /checksum/SHA512/reset/151 1244s ok 1820 /checksum/SHA512/reset/152 1244s ok 1821 /checksum/SHA512/reset/153 1244s ok 1822 /checksum/SHA512/reset/154 1244s ok 1823 /checksum/SHA512/reset/155 1244s ok 1824 /checksum/SHA512/reset/156 1244s ok 1825 /checksum/SHA512/reset/157 1244s ok 1826 /checksum/SHA512/reset/158 1244s ok 1827 /checksum/SHA512/reset/159 1244s ok 1828 /checksum/SHA512/reset/160 1244s ok 1829 /checksum/SHA512/reset/161 1244s ok 1830 /checksum/SHA512/reset/162 1244s ok 1831 /checksum/SHA512/reset/163 1244s ok 1832 /checksum/SHA512/reset/164 1244s ok 1833 /checksum/SHA512/reset/165 1244s ok 1834 /checksum/SHA512/reset/166 1244s ok 1835 /checksum/SHA512/reset/167 1244s ok 1836 /checksum/SHA512/reset/168 1244s ok 1837 /checksum/SHA512/reset/169 1244s ok 1838 /checksum/SHA512/reset/170 1244s ok 1839 /checksum/SHA512/reset/171 1244s ok 1840 /checksum/SHA512/reset/172 1244s ok 1841 /checksum/SHA512/reset/173 1244s ok 1842 /checksum/SHA512/reset/174 1244s ok 1843 /checksum/SHA512/reset/175 1244s ok 1844 /checksum/SHA512/reset/176 1244s ok 1845 /checksum/SHA512/reset/177 1244s ok 1846 /checksum/SHA512/reset/178 1244s ok 1847 /checksum/SHA512/reset/179 1244s ok 1848 /checksum/SHA512/reset/180 1244s ok 1849 /checksum/SHA512/reset/181 1244s ok 1850 /checksum/SHA512/reset/182 1244s ok 1851 /checksum/SHA512/reset/183 1244s # End of reset tests 1244s # End of SHA512 tests 1244s # End of checksum tests 1244s ok - glib/checksum.test 1244s # Running test: glib/gobject-private.test 1244s TAP version 14 1244s # random seed: R02S4de8aff924d669bfd0f7eb1f000dfaad 1244s 1..3 1244s # Start of private tests 1244s ok 1 /private/instance 1244s ok 2 /private/derived-instance 1244s ok 3 /private/mixed-derived-instance 1244s # End of private tests 1244s ok - glib/gobject-private.test 1244s # Running test: glib/g-file.test 1244s TAP version 14 1244s # random seed: R02Sdd7452a47bee5330d68d4e661237e59f 1244s 1..8 1244s # Start of g-file tests 1244s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1244s ok 1 /g-file/test_g_file_new_null 1244s ok 2 /g-file/test_g_file_new_for_path 1244s ok 3 /g-file/test_g_file_new_for_uri 1244s ok 4 /g-file/test_g_file_dup 1244s ok 5 /g-file/test_g_file_get_parse_name_utf8 1244s file:///tmp/test-tmp-glib_g-file.test-ELIKZ2 1244s file:///tmp 1244s file:///tmp 1244s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1244s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1244s ok 6 /g-file/test_g_file_new_for_commandline_arg 1244s /dir1 /dir1/dir2/dir3/ 1244s /dir1/ /dir1/dir2/dir3/ 1244s /dir1 /dir1/dir2/dir3 1244s /dir1/ /dir1/dir2/dir3 1244s /tmp/ /something/ 1244s /dir1/dir2 /dir1/ 1244s //dir1/new //dir1/new/dir2/dir3 1244s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 1244s file:///dir1 file:///dir1/dir2/dir3/ 1244s file:///dir1/ file:///dir1/dir2/dir3/ 1244s file:///dir1 file:///dir1/dir2/dir3 1244s file:///dir1/ file:///dir1/dir2/dir3 1244s file:///tmp/ file:///something/ 1244s file:///dir1/dir2 file:///dir1/ 1244s file:////dir1/new file:////dir1/new/dir2/dir3 1244s 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 1244s ok 7 /g-file/test_g_file_has_prefix 1244s ok 8 /g-file/test_g_file_get_parent_child 1244s # End of g-file tests 1244s ok - glib/g-file.test 1244s # Running test: glib/cxx-11.test 1244s TAP version 14 1244s # random seed: R02Sfed3f5b2207d194600ccc28e2cbb59de 1244s 1..2 1244s # Start of gtask tests 1244s # 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. 1244s ok 1 /gtask/name 1244s # Start of name tests 1244s # 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. 1244s ok 2 /gtask/name/macro-wrapper 1244s # End of name tests 1244s # End of gtask tests 1244s ok - glib/cxx-11.test 1244s # Running test: glib/markup.test 1244s TAP version 14 1244s # random seed: R02Se8730686af4c550337636288373331f7 1244s 1..1 1244s # Start of markup tests 1244s ok 1 /markup/stack 1244s # End of markup tests 1244s ok - glib/markup.test 1244s # Running test: glib/bindinggroup.test 1244s TAP version 14 1244s # random seed: R02Sce38c7f876caa9c2c882293de17e0d92 1244s 1..11 1244s # Start of GObject tests 1244s # Start of BindingGroup tests 1244s ok 1 /GObject/BindingGroup/invalid 1244s ok 2 /GObject/BindingGroup/default 1244s ok 3 /GObject/BindingGroup/bidirectional 1244s ok 4 /GObject/BindingGroup/transform 1244s ok 5 /GObject/BindingGroup/transform-closures 1244s ok 6 /GObject/BindingGroup/same-object 1244s ok 7 /GObject/BindingGroup/weak-ref-source 1244s ok 8 /GObject/BindingGroup/weak-ref-target 1244s ok 9 /GObject/BindingGroup/properties 1244s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1244s ok 11 /GObject/BindingGroup/empty-closures 1244s # End of BindingGroup tests 1244s # End of GObject tests 1244s ok - glib/bindinggroup.test 1244s # Running test: glib/gthash.test 1244s TAP version 14 1244s # random seed: R02Sfb2b1f02979d9a3f28514a2f3e9b16bf 1244s 1..1 1244s # Start of gthash tests 1244s ok 1 /gthash/build-retrieve 1244s # End of gthash tests 1244s ok - glib/gthash.test 1244s # Running test: glib/network-address.test 1244s TAP version 14 1244s # random seed: R02S8a99e67f40621d32cd805180b59b449f 1244s 1..72 1244s # Start of network-address tests 1244s ok 1 /network-address/basic 1244s ok 2 /network-address/scope-id 1244s ok 3 /network-address/uri-scope-id 1244s ok 4 /network-address/to-string 1244s # Start of parse-host tests 1244s ok 5 /network-address/parse-host/0 1244s ok 6 /network-address/parse-host/1 1244s ok 7 /network-address/parse-host/2 1244s ok 8 /network-address/parse-host/3 1244s ok 9 /network-address/parse-host/4 1244s ok 10 /network-address/parse-host/5 1244s ok 11 /network-address/parse-host/6 1244s ok 12 /network-address/parse-host/7 1244s ok 13 /network-address/parse-host/8 1244s ok 14 /network-address/parse-host/9 1244s ok 15 /network-address/parse-host/10 1244s ok 16 /network-address/parse-host/11 1244s ok 17 /network-address/parse-host/12 1244s ok 18 /network-address/parse-host/13 1244s # End of parse-host tests 1244s # Start of parse-uri tests 1244s ok 19 /network-address/parse-uri/0 1244s ok 20 /network-address/parse-uri/1 1244s ok 21 /network-address/parse-uri/2 1244s ok 22 /network-address/parse-uri/3 1244s ok 23 /network-address/parse-uri/4 1244s ok 24 /network-address/parse-uri/5 1244s ok 25 /network-address/parse-uri/6 1244s ok 26 /network-address/parse-uri/7 1244s ok 27 /network-address/parse-uri/8 1244s ok 28 /network-address/parse-uri/9 1244s # End of parse-uri tests 1244s # Start of resolve-address tests 1244s # Input: 192.168.1.2 1244s ok 29 /network-address/resolve-address/0 1244s # Input: fe80::42 1244s ok 30 /network-address/resolve-address/1 1244s # Input: 192.168.1.2:80 1244s ok 31 /network-address/resolve-address/2 1244s # Input: [fe80::42] 1244s ok 32 /network-address/resolve-address/3 1244s # Input: [fe80::42]:80 1244s ok 33 /network-address/resolve-address/4 1244s # Input: 192.168.258 1244s ok 34 /network-address/resolve-address/5 1244s # Input: 192.11010306 1244s ok 35 /network-address/resolve-address/6 1244s # Input: 3232235778 1244s ok 36 /network-address/resolve-address/7 1244s # Input: 0300.0250.0001.0001 1244s ok 37 /network-address/resolve-address/8 1244s # Input: 0xC0.0xA8.0x01.0x02 1244s ok 38 /network-address/resolve-address/9 1244s # Input: 0xc0.0xa8.0x01.0x02 1244s ok 39 /network-address/resolve-address/10 1244s # Input: 0xc0a80102 1244s ok 40 /network-address/resolve-address/11 1244s # End of resolve-address tests 1244s # Start of loopback tests 1244s ok 41 /network-address/loopback/basic 1244s ok 42 /network-address/loopback/sync 1244s ok 43 /network-address/loopback/async 1244s # End of loopback tests 1244s # Start of localhost tests 1244s ok 44 /network-address/localhost/async 1244s ok 45 /network-address/localhost/sync 1244s # End of localhost tests 1244s # Start of happy-eyeballs tests 1244s ok 46 /network-address/happy-eyeballs/basic 1245s ok 47 /network-address/happy-eyeballs/parallel 1245s ok 48 /network-address/happy-eyeballs/slow-ipv4 1245s ok 49 /network-address/happy-eyeballs/slow-ipv6 1245s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 1246s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 1246s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 1246s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1246s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 1246s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1246s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 1246s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 1246s # /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. 1246s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1246s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 1246s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1246s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 1246s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1246s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 1246s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1246s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1246s ok 57 /network-address/happy-eyeballs/both-error 1246s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1246s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1246s ok 58 /network-address/happy-eyeballs/both-error-delays-1 1246s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1246s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1246s ok 59 /network-address/happy-eyeballs/both-error-delays-2 1246s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1246s ok 60 /network-address/happy-eyeballs/both-error-delays-3 1246s # End of happy-eyeballs tests 1246s # End of network-address tests 1246s # Start of gresolver tests 1246s # Start of resolve-address tests 1246s # Input: 192.168.1.2 1246s ok 61 /gresolver/resolve-address/0 1246s # Input: fe80::42 1246s ok 62 /gresolver/resolve-address/1 1246s # Input: 192.168.1.2:80 1246s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 1246s ok 63 /gresolver/resolve-address/2 1246s # Input: [fe80::42] 1246s # Error: Error resolving ?[fe80::42]?: Name or service not known 1246s ok 64 /gresolver/resolve-address/3 1246s # Input: [fe80::42]:80 1246s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 1246s ok 65 /gresolver/resolve-address/4 1246s # Input: 192.168.258 1246s # Error: Error resolving ?192.168.258?: Name or service not known 1246s ok 66 /gresolver/resolve-address/5 1246s # Input: 192.11010306 1246s # Error: Error resolving ?192.11010306?: Name or service not known 1246s ok 67 /gresolver/resolve-address/6 1246s # Input: 3232235778 1246s # Error: Error resolving ?3232235778?: Name or service not known 1246s ok 68 /gresolver/resolve-address/7 1246s # Input: 0300.0250.0001.0001 1246s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 1246s ok 69 /gresolver/resolve-address/8 1246s # Input: 0xC0.0xA8.0x01.0x02 1246s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 1246s ok 70 /gresolver/resolve-address/9 1246s # Input: 0xc0.0xa8.0x01.0x02 1246s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 1246s ok 71 /gresolver/resolve-address/10 1246s # Input: 0xc0a80102 1246s # Error: Error resolving ?0xc0a80102?: Name or service not known 1246s ok 72 /gresolver/resolve-address/11 1246s # End of resolve-address tests 1246s # End of gresolver tests 1246s ok - glib/network-address.test 1246s # Running test: glib/cache.test 1246s TAP version 14 1246s # random seed: R02Sc43053bc772f1411a72654090c7a5ab6 1246s 1..1 1246s # Start of cache tests 1246s ok 1 /cache/basic 1246s # End of cache tests 1246s ok - glib/cache.test 1246s # Running test: glib/cmph-bdz.test 1246s TAP version 14 1246s # random seed: R02S571f9cd8562e95f36b7d9ad5f9eaf9db 1246s 1..2 1246s # Start of cmph-bdz tests 1246s ok 1 /cmph-bdz/search 1246s ok 2 /cmph-bdz/search-packed 1246s # End of cmph-bdz tests 1246s ok - glib/cmph-bdz.test 1246s # Running test: glib/union-info.test 1246s TAP version 14 1246s # random seed: R02S6c377263e6fdeb1d43a98ae4f9c14901 1246s 1..2 1246s # Start of union-info tests 1246s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_Q003Z2/union-info/basic/.dirs/home 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_Q003Z2/union-info/basic/.dirs/cache 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_Q003Z2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_Q003Z2/union-info/basic/.dirs/system-config2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_Q003Z2/union-info/basic/.dirs/config 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_Q003Z2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_Q003Z2/union-info/basic/.dirs/system-data2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_Q003Z2/union-info/basic/.dirs/data 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_Q003Z2/union-info/basic/.dirs/state 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_Q003Z2/union-info/basic/.dirs/runtime 1246s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1246s # /union-info/basic summary: Test basic properties of GIUnionInfo 1246s ok 1 /union-info/basic 1246s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_Q003Z2/union-info/methods/.dirs/home 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_Q003Z2/union-info/methods/.dirs/cache 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_Q003Z2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_Q003Z2/union-info/methods/.dirs/system-config2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_Q003Z2/union-info/methods/.dirs/config 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_Q003Z2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_Q003Z2/union-info/methods/.dirs/system-data2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_Q003Z2/union-info/methods/.dirs/data 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_Q003Z2/union-info/methods/.dirs/state 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_Q003Z2/union-info/methods/.dirs/runtime 1246s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1246s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 1246s ok 2 /union-info/methods 1246s # End of union-info tests 1246s ok - glib/union-info.test 1246s # Running test: glib/keyfile.test 1246s TAP version 14 1246s # random seed: R02Sec447ce95ad69b10c5d9b5ad5a451162 1246s 1..36 1246s # Start of keyfile tests 1246s ok 1 /keyfile/line-ends 1246s ok 2 /keyfile/whitespace 1246s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1246s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 1246s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1246s ok 3 /keyfile/comments 1246s ok 4 /keyfile/listing 1246s ok 5 /keyfile/string 1246s ok 6 /keyfile/boolean 1246s ok 7 /keyfile/number 1246s ok 8 /keyfile/locale-string 1246s ok 9 /keyfile/lists 1246s ok 10 /keyfile/lists-set-get 1246s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 1246s ok 11 /keyfile/group-remove 1246s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 1246s ok 12 /keyfile/key-remove 1246s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 1246s ok 13 /keyfile/groups 1246s ok 14 /keyfile/duplicate-keys 1246s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 1246s ok 15 /keyfile/duplicate-groups 1246s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 1246s ok 16 /keyfile/duplicate-groups2 1246s ok 17 /keyfile/group-names 1246s ok 18 /keyfile/key-names 1246s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 1246s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 1246s ok 19 /keyfile/reload 1246s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 1246s ok 20 /keyfile/int64 1246s ok 21 /keyfile/load 1246s ok 22 /keyfile/save 1246s ok 23 /keyfile/load-fail 1246s ok 24 /keyfile/non-utf8 1246s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 1246s ok 25 /keyfile/page-boundary 1246s ok 26 /keyfile/ref 1246s ok 27 /keyfile/replace-value 1246s ok 28 /keyfile/list-separator 1246s ok 29 /keyfile/empty-string 1246s ok 30 /keyfile/limbo 1246s # Testing invalid encoding ?non-UTF-8? 1246s # Testing invalid encoding ?UTF? 1246s # Testing invalid encoding ?UTF-9? 1246s ok 31 /keyfile/utf8 1246s ok 32 /keyfile/roundtrip 1246s ok 33 /keyfile/bytes 1246s ok 34 /keyfile/get-locale 1246s ok 35 /keyfile/free-when-not-last-ref 1246s # Start of locale-string tests 1246s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 1246s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 1246s ok 36 /keyfile/locale-string/multiple-loads 1246s # End of locale-string tests 1246s # End of keyfile tests 1246s ok - glib/keyfile.test 1246s # Running test: glib/utils-isolated.test 1246s TAP version 14 1246s # random seed: R02Sb645b3ffd70fcac885dac16e969abb3a 1246s 1..11 1246s # Start of utils-isolated tests 1246s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/tmp-dir/.dirs/home 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/tmp-dir/.dirs/cache 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_3GL3Z2/utils-isolated/tmp-dir/.dirs/system-config2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/tmp-dir/.dirs/config 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_3GL3Z2/utils-isolated/tmp-dir/.dirs/system-data2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/tmp-dir/.dirs/data 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/tmp-dir/.dirs/state 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/tmp-dir/.dirs/runtime 1246s ok 1 /utils-isolated/tmp-dir 1246s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/home-dir/.dirs/home 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/home-dir/.dirs/cache 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_3GL3Z2/utils-isolated/home-dir/.dirs/system-config2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/home-dir/.dirs/config 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_3GL3Z2/utils-isolated/home-dir/.dirs/system-data2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/home-dir/.dirs/data 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/home-dir/.dirs/state 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/home-dir/.dirs/runtime 1246s ok 2 /utils-isolated/home-dir 1246s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-cache-dir/.dirs/home 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-cache-dir/.dirs/cache 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-cache-dir/.dirs/system-config2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-cache-dir/.dirs/config 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-cache-dir/.dirs/system-data2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-cache-dir/.dirs/data 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-cache-dir/.dirs/state 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-cache-dir/.dirs/runtime 1246s ok 3 /utils-isolated/user-cache-dir 1246s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/system-config-dirs/.dirs/home 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/system-config-dirs/.dirs/cache 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_3GL3Z2/utils-isolated/system-config-dirs/.dirs/system-config2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/system-config-dirs/.dirs/config 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_3GL3Z2/utils-isolated/system-config-dirs/.dirs/system-data2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/system-config-dirs/.dirs/data 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/system-config-dirs/.dirs/state 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/system-config-dirs/.dirs/runtime 1246s ok 4 /utils-isolated/system-config-dirs 1246s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-config-dir/.dirs/home 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-config-dir/.dirs/cache 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-config-dir/.dirs/system-config2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-config-dir/.dirs/config 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-config-dir/.dirs/system-data2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-config-dir/.dirs/data 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-config-dir/.dirs/state 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-config-dir/.dirs/runtime 1246s ok 5 /utils-isolated/user-config-dir 1246s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/system-data-dirs/.dirs/home 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/system-data-dirs/.dirs/cache 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_3GL3Z2/utils-isolated/system-data-dirs/.dirs/system-config2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/system-data-dirs/.dirs/config 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_3GL3Z2/utils-isolated/system-data-dirs/.dirs/system-data2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/system-data-dirs/.dirs/data 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/system-data-dirs/.dirs/state 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/system-data-dirs/.dirs/runtime 1246s ok 6 /utils-isolated/system-data-dirs 1246s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-data-dir/.dirs/home 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-data-dir/.dirs/cache 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-data-dir/.dirs/system-config2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-data-dir/.dirs/config 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-data-dir/.dirs/system-data2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-data-dir/.dirs/data 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-data-dir/.dirs/state 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-data-dir/.dirs/runtime 1246s ok 7 /utils-isolated/user-data-dir 1246s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-state-dir/.dirs/home 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-state-dir/.dirs/cache 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-state-dir/.dirs/system-config2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-state-dir/.dirs/config 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-state-dir/.dirs/system-data2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-state-dir/.dirs/data 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-state-dir/.dirs/state 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-state-dir/.dirs/runtime 1246s ok 8 /utils-isolated/user-state-dir 1246s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-runtime-dir/.dirs/home 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-runtime-dir/.dirs/cache 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-runtime-dir/.dirs/system-config2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-runtime-dir/.dirs/config 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-runtime-dir/.dirs/system-data2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-runtime-dir/.dirs/data 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-runtime-dir/.dirs/state 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/user-runtime-dir/.dirs/runtime 1246s ok 9 /utils-isolated/user-runtime-dir 1246s # Start of cleanup tests 1246s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/cleanup/handles-errors/.dirs/home 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/cleanup/handles-errors/.dirs/cache 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_3GL3Z2/utils-isolated/cleanup/handles-errors/.dirs/system-config2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/cleanup/handles-errors/.dirs/config 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_3GL3Z2/utils-isolated/cleanup/handles-errors/.dirs/system-data2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/cleanup/handles-errors/.dirs/data 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/cleanup/handles-errors/.dirs/state 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/cleanup/handles-errors/.dirs/runtime 1246s Unable to clean up temporary directory /tmp/test_utils-isolated_3GL3Z2/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 1246s Unable to clean up temporary directory /tmp/test_utils-isolated_3GL3Z2/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 1246s Unable to clean up temporary directory /tmp/test_utils-isolated_3GL3Z2/utils-isolated/cleanup/handles-errors: Directory not empty 1246s ok 10 /utils-isolated/cleanup/handles-errors 1246s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_3GL3Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_3GL3Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 1246s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_3GL3Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 1246s Unable to clean up temporary directory /tmp/test_utils-isolated_3GL3Z2/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 1246s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 1246s # End of cleanup tests 1246s # End of utils-isolated tests 1246s ok - glib/utils-isolated.test 1246s # Running test: glib/inet-address.test 1246s TAP version 14 1246s # random seed: R02S5ef33086c576c0cdae34f0dd0947c7c8 1246s 1..11 1246s # Start of inet-address tests 1246s ok 1 /inet-address/parse 1246s ok 2 /inet-address/any 1246s ok 3 /inet-address/loopback 1246s ok 4 /inet-address/bytes 1246s ok 5 /inet-address/property 1246s # End of inet-address tests 1246s # Start of socket-address tests 1246s ok 6 /socket-address/basic 1246s ok 7 /socket-address/to-string 1246s # End of socket-address tests 1246s # Start of address-mask tests 1246s ok 8 /address-mask/parse 1246s ok 9 /address-mask/property 1246s ok 10 /address-mask/equal 1246s ok 11 /address-mask/match 1246s # End of address-mask tests 1246s ok - glib/inet-address.test 1246s # Running test: glib/memory-output-stream.test 1246s TAP version 14 1246s # random seed: R02S628b13b851f1ef698932254be9ef99b0 1246s 1..10 1246s # Start of memory-output-stream tests 1246s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 1246s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 1246s ok 1 /memory-output-stream/truncate 1246s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 1246s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 1246s ok 2 /memory-output-stream/get-data-size 1246s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 1246s ok 3 /memory-output-stream/properties 1246s ok 4 /memory-output-stream/write-bytes 1246s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 1246s ok 5 /memory-output-stream/write-null 1246s ok 6 /memory-output-stream/writev 1246s ok 7 /memory-output-stream/writev_nonblocking 1246s ok 8 /memory-output-stream/steal_as_bytes 1246s # Start of seek tests 1246s ok 9 /memory-output-stream/seek/fixed 1246s ok 10 /memory-output-stream/seek/resizable 1246s # End of seek tests 1246s # End of memory-output-stream tests 1246s ok - glib/memory-output-stream.test 1246s # Running test: glib/cond.test 1246s TAP version 14 1246s # random seed: R02Sc0d0890271045f433fe2f7247ff060eb 1246s 1..4 1246s # Start of thread tests 1246s ok 1 /thread/cond1 1246s ok 2 /thread/cond2 1246s # Start of cond tests 1247s ok 3 /thread/cond/wait-until 1247s # slow test /thread/cond/wait-until executed in 1.02 secs 1247s # Start of wait-until tests 1247s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1247s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1248s # Executing: glib/cond.test 1248s ok 4 /thread/cond/wait-until/contended-and-interrupted 1248s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 1248s # End of wait-until tests 1248s # End of cond tests 1248s # End of thread tests 1248s ok - glib/cond.test 1248s # Running test: glib/socket-listener.test 1248s TAP version 14 1248s # random seed: R02Sb5c41a0d931806b2a40c13ec931b4582 1248s 1..1 1248s # Start of socket-listener tests 1248s ok 1 /socket-listener/event-signal 1248s # End of socket-listener tests 1248s ok - glib/socket-listener.test 1248s # Running test: glib/gdbus-bz627724.test 1248s TAP version 14 1248s # random seed: R02S2eb1ab0d039626f45715a38f7ffde696 1248s 1..1 1248s # Start of gdbus tests 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_0KGZZ2/gdbus/bz627724/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_0KGZZ2/gdbus/bz627724/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_0KGZZ2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_0KGZZ2/gdbus/bz627724/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_0KGZZ2/gdbus/bz627724/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_0KGZZ2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_0KGZZ2/gdbus/bz627724/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_0KGZZ2/gdbus/bz627724/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_0KGZZ2/gdbus/bz627724/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_0KGZZ2/gdbus/bz627724/.dirs/runtime 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1248s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1248s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1248s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1248s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1248s ok 1 /gdbus/bz627724 1248s # End of gdbus tests 1248s ok - glib/gdbus-bz627724.test 1248s # Running test: glib/autoptr-girepository.test 1248s TAP version 14 1248s # random seed: R02S3500fc6eb8a1eda694eed0a59d059bd3 1248s 1..24 1248s # Start of autoptr tests 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/repository/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/repository/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/repository/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/repository/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/repository/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/repository/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/repository/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/repository/.dirs/runtime 1248s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1248s ok 1 /autoptr/repository 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/typelib/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/typelib/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/typelib/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/typelib/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/typelib/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/typelib/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/typelib/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/typelib/.dirs/runtime 1248s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1248s ok 2 /autoptr/typelib 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/base-info/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/base-info/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/base-info/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/base-info/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/base-info/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/base-info/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/base-info/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/base-info/.dirs/runtime 1248s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1248s ok 3 /autoptr/base-info 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/arg-info/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/arg-info/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/arg-info/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/arg-info/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/arg-info/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/arg-info/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/arg-info/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/arg-info/.dirs/runtime 1248s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1248s ok 4 /autoptr/arg-info 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/callable-info/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/callable-info/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/callable-info/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/callable-info/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/callable-info/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/callable-info/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/callable-info/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/callable-info/.dirs/runtime 1248s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1248s ok 5 /autoptr/callable-info 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/callback-info/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/callback-info/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/callback-info/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/callback-info/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/callback-info/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/callback-info/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/callback-info/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/callback-info/.dirs/runtime 1248s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1248s ok 6 /autoptr/callback-info 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/constant-info/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/constant-info/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/constant-info/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/constant-info/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/constant-info/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/constant-info/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/constant-info/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/constant-info/.dirs/runtime 1248s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1248s ok 7 /autoptr/constant-info 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/enum-info/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/enum-info/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/enum-info/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/enum-info/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/enum-info/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/enum-info/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/enum-info/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/enum-info/.dirs/runtime 1248s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1248s ok 8 /autoptr/enum-info 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/field-info/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/field-info/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/field-info/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/field-info/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/field-info/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/field-info/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/field-info/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/field-info/.dirs/runtime 1248s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1248s ok 9 /autoptr/field-info 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/flags-info/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/flags-info/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/flags-info/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/flags-info/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/flags-info/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/flags-info/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/flags-info/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/flags-info/.dirs/runtime 1248s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1248s ok 10 /autoptr/flags-info 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/function-info/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/function-info/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/function-info/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/function-info/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/function-info/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/function-info/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/function-info/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/function-info/.dirs/runtime 1248s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1248s ok 11 /autoptr/function-info 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/interface-info/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/interface-info/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/interface-info/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/interface-info/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/interface-info/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/interface-info/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/interface-info/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/interface-info/.dirs/runtime 1248s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1248s ok 12 /autoptr/interface-info 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/object-info/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/object-info/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/object-info/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/object-info/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/object-info/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/object-info/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/object-info/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/object-info/.dirs/runtime 1248s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1248s ok 13 /autoptr/object-info 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/property-info/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/property-info/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/property-info/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/property-info/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/property-info/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/property-info/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/property-info/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/property-info/.dirs/runtime 1248s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1248s ok 14 /autoptr/property-info 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/registered-type-info/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/registered-type-info/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/registered-type-info/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/registered-type-info/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/registered-type-info/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/registered-type-info/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/registered-type-info/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/registered-type-info/.dirs/runtime 1248s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1248s ok 15 /autoptr/registered-type-info 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/signal-info/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/signal-info/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/signal-info/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/signal-info/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/signal-info/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/signal-info/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/signal-info/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/signal-info/.dirs/runtime 1248s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1248s ok 16 /autoptr/signal-info 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/struct-info/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/struct-info/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/struct-info/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/struct-info/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/struct-info/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/struct-info/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/struct-info/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/struct-info/.dirs/runtime 1248s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1248s ok 17 /autoptr/struct-info 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/type-info/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/type-info/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/type-info/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/type-info/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/type-info/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/type-info/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/type-info/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/type-info/.dirs/runtime 1248s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1248s ok 18 /autoptr/type-info 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/union-info/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/union-info/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/union-info/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/union-info/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/union-info/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/union-info/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/union-info/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/union-info/.dirs/runtime 1248s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1248s ok 19 /autoptr/union-info 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/value-info/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/value-info/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/value-info/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/value-info/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/value-info/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/value-info/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/value-info/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/value-info/.dirs/runtime 1248s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1248s ok 20 /autoptr/value-info 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/vfunc-info/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/vfunc-info/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/vfunc-info/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/vfunc-info/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1CEMZ2/autoptr/vfunc-info/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/vfunc-info/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/vfunc-info/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1CEMZ2/autoptr/vfunc-info/.dirs/runtime 1248s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1248s ok 21 /autoptr/vfunc-info 1248s # End of autoptr tests 1248s # Start of auto tests 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1CEMZ2/auto/arg-info/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/auto/arg-info/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1CEMZ2/auto/arg-info/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1CEMZ2/auto/arg-info/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1CEMZ2/auto/arg-info/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1CEMZ2/auto/arg-info/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/auto/arg-info/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1CEMZ2/auto/arg-info/.dirs/runtime 1248s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1248s ok 22 /auto/arg-info 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1CEMZ2/auto/type-info/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/auto/type-info/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_1CEMZ2/auto/type-info/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1CEMZ2/auto/type-info/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_1CEMZ2/auto/type-info/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1CEMZ2/auto/type-info/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/auto/type-info/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1CEMZ2/auto/type-info/.dirs/runtime 1248s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1248s ok 23 /auto/type-info 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_1CEMZ2/auto/function-invoker/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/auto/function-invoker/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_1CEMZ2/auto/function-invoker/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_1CEMZ2/auto/function-invoker/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_1CEMZ2/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_1CEMZ2/auto/function-invoker/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_1CEMZ2/auto/function-invoker/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_1CEMZ2/auto/function-invoker/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_1CEMZ2/auto/function-invoker/.dirs/runtime 1248s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1248s ok 24 /auto/function-invoker 1248s # End of auto tests 1248s ok - glib/autoptr-girepository.test 1248s # Running test: glib/debugcontroller.test 1248s TAP version 14 1248s # random seed: R02S7373a829d1564a5daa1bf2659fb18235 1248s 1..3 1248s # Start of debug-controller tests 1248s # Start of dbus tests 1248s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: Debug output enabled 1248s # GLib-GIO-DEBUG: Debug output disabled 1248s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1248s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1248s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1248s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1248s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1248s ok 1 /debug-controller/dbus/basic 1248s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1248s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1248s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1248s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1248s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1248s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1248s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1248s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1248s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1248s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1248s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1248s ok 2 /debug-controller/dbus/duplicate 1248s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1248s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 1248s # End of dbus tests 1248s # End of debug-controller tests 1248s ok - glib/debugcontroller.test 1248s # Running test: glib/error.test 1248s TAP version 14 1248s # random seed: R02Scafab38ee788c3121002ea705c2ce78d 1248s 1..3 1248s # Start of error tests 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_NYCNZ2/error/from-errno/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_NYCNZ2/error/from-errno/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_NYCNZ2/error/from-errno/.dirs/system-config1:/tmp/test_error_NYCNZ2/error/from-errno/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_NYCNZ2/error/from-errno/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_NYCNZ2/error/from-errno/.dirs/system-data1:/tmp/test_error_NYCNZ2/error/from-errno/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_NYCNZ2/error/from-errno/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_NYCNZ2/error/from-errno/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_NYCNZ2/error/from-errno/.dirs/runtime 1248s ok 1 /error/from-errno 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_NYCNZ2/error/from-file-error/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_NYCNZ2/error/from-file-error/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_NYCNZ2/error/from-file-error/.dirs/system-config1:/tmp/test_error_NYCNZ2/error/from-file-error/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_NYCNZ2/error/from-file-error/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_NYCNZ2/error/from-file-error/.dirs/system-data1:/tmp/test_error_NYCNZ2/error/from-file-error/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_NYCNZ2/error/from-file-error/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_NYCNZ2/error/from-file-error/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_NYCNZ2/error/from-file-error/.dirs/runtime 1248s ok 2 /error/from-file-error 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_NYCNZ2/error/from-win32-error/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_NYCNZ2/error/from-win32-error/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_NYCNZ2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_NYCNZ2/error/from-win32-error/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_NYCNZ2/error/from-win32-error/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_NYCNZ2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_NYCNZ2/error/from-win32-error/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_NYCNZ2/error/from-win32-error/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_NYCNZ2/error/from-win32-error/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_NYCNZ2/error/from-win32-error/.dirs/runtime 1248s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 1248s # End of error tests 1248s ok - glib/error.test 1248s # Running test: glib/object.test 1248s TAP version 14 1248s # random seed: R02S6d11ef62cacb688db216e1996d5f7d1c 1248s 1..2 1248s # Start of object tests 1248s # Start of constructor tests 1248s ok 1 /object/constructor/singleton 1248s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 1248s # End of constructor tests 1248s # End of object tests 1248s ok - glib/object.test 1248s # Running test: glib/gdbus-non-socket.test 1248s TAP version 14 1248s # random seed: R02S0135b9345aaad84d233d87976a2cded5 1248s 1..1 1248s # Start of gdbus tests 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_KO5MZ2/gdbus/non-socket/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_KO5MZ2/gdbus/non-socket/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_KO5MZ2/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_KO5MZ2/gdbus/non-socket/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_KO5MZ2/gdbus/non-socket/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_KO5MZ2/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_KO5MZ2/gdbus/non-socket/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_KO5MZ2/gdbus/non-socket/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_KO5MZ2/gdbus/non-socket/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_KO5MZ2/gdbus/non-socket/.dirs/runtime 1248s ok 1 /gdbus/non-socket 1248s # End of gdbus tests 1248s ok - glib/gdbus-non-socket.test 1248s # Running test: glib/basic-signals.test 1248s TAP version 14 1248s # random seed: R02Sfa204d911cf62531e27b9f280c5d4f26 1248s 1..1 1248s # Start of gobject tests 1248s ok 1 /gobject/basic-signals 1248s # End of gobject tests 1248s ok - glib/basic-signals.test 1248s # Running test: glib/singleton.test 1248s TAP version 14 1248s # random seed: R02S347d4eb03df1130971ff71b6e6bd7400 1248s 1..2 1248s # Start of gobject tests 1248s # Start of singleton tests 1248s ok 1 /gobject/singleton/construction 1248s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 1248s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 1248s ok 2 /gobject/singleton/construct-property 1248s # End of singleton tests 1248s # End of gobject tests 1248s ok - glib/singleton.test 1248s # Running test: glib/guuid.test 1248s TAP version 14 1248s # random seed: R02S3c97e0ca4ffcc228c4a4772df9bee9c8 1248s 1..2 1248s # Start of uuid tests 1248s ok 1 /uuid/string 1248s ok 2 /uuid/random 1248s # End of uuid tests 1248s ok - glib/guuid.test 1248s # Running test: glib/socket-service.test 1248s TAP version 14 1248s # random seed: R02S9fd9e1466611f60756868e127ad1500c 1248s 1..4 1248s # Start of socket-service tests 1248s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1248s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc43f6f033390 and GSocketClientAsyncConnectData 0xc43f6f02b630 1248s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1248s ok 1 /socket-service/start-stop 1248s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc43f6f034ef0 and GSocketClientAsyncConnectData 0xc43f6f034c90 1248s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1248s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1248s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc43f6f035400 for GSocketClientAsyncConnectData 0xc43f6f02b630 1248s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1248s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1248s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1248s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1248s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1248s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc43f6f036280 for GSocketClientAsyncConnectData 0xc43f6f034c90 1248s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1248s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1248s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1248s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1248s ok 2 /socket-service/read_write_async 1248s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc43f6f036d00 and GSocketClientAsyncConnectData 0xc43f6f0369b0 1248s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1248s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1248s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc43f6f036ca0 for GSocketClientAsyncConnectData 0xc43f6f0369b0 1248s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1248s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1248s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1248s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1248s ok 3 /socket-service/read_writev_async 1248s # Start of threaded tests 1248s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 1248s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc43f6f03a7e0 and GSocketClientAsyncConnectData 0xc43f6f02b630 1248s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1248s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1248s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc43f6f03a9b0 for GSocketClientAsyncConnectData 0xc43f6f02b630 1248s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1248s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1248s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1248s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1248s ok 4 /socket-service/threaded/712570 1248s # End of threaded tests 1248s # End of socket-service tests 1248s ok - glib/socket-service.test 1248s # Running test: glib/win32-appinfo.test 1248s TAP version 14 1248s # random seed: R02Sc0393df85e7f7a6f7f20a919b60ecba0 1248s 1..5 1248s # Start of appinfo tests 1248s ok 1 /appinfo/utf16-strfuncs 1248s ok 2 /appinfo/win32-extract-executable 1248s ok 3 /appinfo/win32-rundll32-fixup 1248s ok 4 /appinfo/win32-parse-filename 1248s ok 5 /appinfo/win32-utf16-conversion-fail 1248s # Start of subprocess tests 1248s # End of subprocess tests 1248s # End of appinfo tests 1248s ok - glib/win32-appinfo.test 1248s # Running test: glib/gdbus-peer.test 1248s TAP version 14 1248s # random seed: R02Saf137b9d39bbd4b01467e1778693085f 1248s 1..12 1248s # Start of gdbus tests 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/.dirs/runtime 1248s # Testing with unix:dir address 1248s # Testing with unix:tmpdir address 1248s # Testing with unix:path address 1248s ok 1 /gdbus/peer-to-peer 1248s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/delayed-message-processing/.dirs/home 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/delayed-message-processing/.dirs/cache 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_LXLKZ2/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_LXLKZ2/gdbus/delayed-message-processing/.dirs/system-config2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/delayed-message-processing/.dirs/config 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_LXLKZ2/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_LXLKZ2/gdbus/delayed-message-processing/.dirs/system-data2 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/delayed-message-processing/.dirs/data 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/delayed-message-processing/.dirs/state 1248s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_LXLKZ2/gdbus/delayed-message-processing/.dirs/runtime 1248s # Testing with unix:dir address 1249s ok 2 /gdbus/delayed-message-processing 1249s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 1249s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/nonce-tcp/.dirs/home 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/nonce-tcp/.dirs/cache 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_LXLKZ2/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_LXLKZ2/gdbus/nonce-tcp/.dirs/system-config2 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/nonce-tcp/.dirs/config 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_LXLKZ2/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_LXLKZ2/gdbus/nonce-tcp/.dirs/system-data2 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/nonce-tcp/.dirs/data 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/nonce-tcp/.dirs/state 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_LXLKZ2/gdbus/nonce-tcp/.dirs/runtime 1249s ok 3 /gdbus/nonce-tcp 1249s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/tcp-anonymous/.dirs/home 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/tcp-anonymous/.dirs/cache 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_LXLKZ2/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_LXLKZ2/gdbus/tcp-anonymous/.dirs/system-config2 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/tcp-anonymous/.dirs/config 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_LXLKZ2/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_LXLKZ2/gdbus/tcp-anonymous/.dirs/system-data2 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/tcp-anonymous/.dirs/data 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/tcp-anonymous/.dirs/state 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_LXLKZ2/gdbus/tcp-anonymous/.dirs/runtime 1249s ok 4 /gdbus/tcp-anonymous 1249s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/credentials/.dirs/home 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/credentials/.dirs/cache 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_LXLKZ2/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_LXLKZ2/gdbus/credentials/.dirs/system-config2 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/credentials/.dirs/config 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_LXLKZ2/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_LXLKZ2/gdbus/credentials/.dirs/system-data2 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/credentials/.dirs/data 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/credentials/.dirs/state 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_LXLKZ2/gdbus/credentials/.dirs/runtime 1249s ok 5 /gdbus/credentials 1249s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/codegen-peer-to-peer/.dirs/home 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/codegen-peer-to-peer/.dirs/cache 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_LXLKZ2/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_LXLKZ2/gdbus/codegen-peer-to-peer/.dirs/system-config2 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/codegen-peer-to-peer/.dirs/config 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_LXLKZ2/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_LXLKZ2/gdbus/codegen-peer-to-peer/.dirs/system-data2 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/codegen-peer-to-peer/.dirs/data 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/codegen-peer-to-peer/.dirs/state 1249s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_LXLKZ2/gdbus/codegen-peer-to-peer/.dirs/runtime 1249s # Testing with unix:dir address 1249s # Machine ID: 39cc09e9290c4598acff54d491f45294 1250s ok 6 /gdbus/codegen-peer-to-peer 1250s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 1250s # Start of peer-to-peer tests 1250s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/signals/.dirs/home 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/signals/.dirs/cache 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/signals/.dirs/system-config2 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/signals/.dirs/config 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/signals/.dirs/system-data2 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/signals/.dirs/data 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/signals/.dirs/state 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/signals/.dirs/runtime 1250s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 1250s # Testing with unix:dir address 1250s ok 7 /gdbus/peer-to-peer/signals 1250s # Start of invalid tests 1250s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/server/.dirs/home 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/server/.dirs/cache 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/server/.dirs/config 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/server/.dirs/data 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/server/.dirs/state 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/server/.dirs/runtime 1250s ok 8 /gdbus/peer-to-peer/invalid/server 1250s # Start of conn tests 1250s # Start of stream tests 1250s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 1250s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 1250s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 1250s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 1250s # End of stream tests 1250s # Start of addr tests 1250s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 1250s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 1250s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_LXLKZ2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 1250s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 1250s # End of addr tests 1250s # End of conn tests 1250s # End of invalid tests 1250s # End of peer-to-peer tests 1250s # End of gdbus tests 1250s ok - glib/gdbus-peer.test 1250s # Running test: glib/boxed.test 1250s TAP version 14 1250s # random seed: R02S90e39801c30346e23fcdc56e7d461bf1 1250s 1..27 1250s # Start of boxed tests 1250s ok 1 /boxed/define 1250s ok 2 /boxed/ownership 1250s ok 3 /boxed/closure 1250s ok 4 /boxed/date 1250s ok 5 /boxed/value 1250s ok 6 /boxed/string 1250s ok 7 /boxed/hashtable 1250s ok 8 /boxed/array 1250s ok 9 /boxed/ptrarray 1250s ok 10 /boxed/regex 1250s ok 11 /boxed/varianttype 1250s ok 12 /boxed/error 1250s ok 13 /boxed/datetime 1250s ok 14 /boxed/matchinfo 1250s ok 15 /boxed/keyfile 1250s ok 16 /boxed/mainloop 1250s ok 17 /boxed/maincontext 1250s ok 18 /boxed/source 1250s ok 19 /boxed/variantbuilder 1250s ok 20 /boxed/timezone 1250s ok 21 /boxed/pollfd 1250s ok 22 /boxed/markup 1250s ok 23 /boxed/thread 1250s ok 24 /boxed/checksum 1250s ok 25 /boxed/tree 1250s ok 26 /boxed/patternspec 1250s ok 27 /boxed/rand 1250s # End of boxed tests 1250s ok - glib/boxed.test 1250s # Running test: glib/unicode-encoding.test 1250s TAP version 14 1250s # random seed: R02Sf3335f73a0495e12b1772c686fa2a194 1250s 1..1 1250s # Start of unicode tests 1250s ok 1 /unicode/encoding 1250s # End of unicode tests 1250s ok - glib/unicode-encoding.test 1250s # Running test: glib/type.test 1250s TAP version 14 1250s # random seed: R02Sb735be923b0d403b96b4a93a4f453046 1250s 1..6 1250s # Start of type tests 1250s ok 1 /type/registration-serial 1250s ok 2 /type/interface-prerequisite 1250s ok 3 /type/interface-check 1250s ok 4 /type/next-base 1250s ok 5 /type/is-a 1250s # Invalid types can?t be queried. 1250s # Unclassed types can?t be queried. 1250s ok 6 /type/query 1250s # End of type tests 1250s ok - glib/type.test 1250s # Running test: glib/gdbus-method-invocation.test 1250s TAP version 14 1250s # random seed: R02S8cea0c917971e27891bdcaa1ab07815f 1250s 1..1 1250s # Start of gdbus tests 1250s # Start of method-invocation tests 1250s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_MTP3Z2/gdbus/method-invocation/return/.dirs/home 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_MTP3Z2/gdbus/method-invocation/return/.dirs/cache 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_MTP3Z2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_MTP3Z2/gdbus/method-invocation/return/.dirs/system-config2 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_MTP3Z2/gdbus/method-invocation/return/.dirs/config 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_MTP3Z2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_MTP3Z2/gdbus/method-invocation/return/.dirs/system-data2 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_MTP3Z2/gdbus/method-invocation/return/.dirs/data 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_MTP3Z2/gdbus/method-invocation/return/.dirs/state 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_MTP3Z2/gdbus/method-invocation/return/.dirs/runtime 1250s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # Calling org.freedesktop.DBus.Properties.Get 1250s # Calling org.freedesktop.DBus.Properties.Get 1250s # Calling org.freedesktop.DBus.Properties.Get 1250s # Calling org.freedesktop.DBus.Properties.Set 1250s # Calling org.freedesktop.DBus.Properties.GetAll 1250s # Calling org.example.Foo.WrongReturnType 1250s # Calling org.example.Foo.GetFDs 1250s # Calling org.example.Foo.GetFDs 1250s # Calling org.example.Foo.ReturnError 1250s # Calling org.example.Foo.CloseBeforeReturning 1250s ok 1 /gdbus/method-invocation/return 1250s # End of method-invocation tests 1250s # End of gdbus tests 1250s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1250s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1250s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1250s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1250s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1250s ok - glib/gdbus-method-invocation.test 1250s # Running test: glib/list.test 1250s TAP version 14 1250s # random seed: R02S49432c729dc4425863db46c4aae3da57 1250s 1..20 1250s # Start of list tests 1250s ok 1 /list/sort 1250s ok 2 /list/sort-with-data 1250s ok 3 /list/insert-before-link 1250s ok 4 /list/insert-sorted 1250s ok 5 /list/insert-sorted-with-data 1250s ok 6 /list/reverse 1250s ok 7 /list/nth 1250s ok 8 /list/concat 1250s ok 9 /list/remove 1250s ok 10 /list/remove-all 1250s ok 11 /list/first-last 1250s ok 12 /list/insert 1250s ok 13 /list/free-full 1250s ok 14 /list/copy 1250s ok 15 /list/copy-deep 1250s ok 16 /list/delete-link 1250s ok 17 /list/prepend 1250s ok 18 /list/position 1250s ok 19 /list/double-free 1250s # Start of sort tests 1250s ok 20 /list/sort/stable 1250s # End of sort tests 1250s # End of list tests 1250s ok - glib/list.test 1250s # Running test: glib/giomodule.test 1250s TAP version 14 1250s # random seed: R02S690c475104c35c8315b30d54426982e7 1250s 1..3 1250s # Start of giomodule tests 1250s ok 1 /giomodule/extension-point 1250s ok 2 /giomodule/module-scan-all 1250s ok 3 /giomodule/module-scan-all-with-scope 1250s # End of giomodule tests 1250s ok - glib/giomodule.test 1250s # Running test: glib/utf8-validate.test 1250s TAP version 14 1250s # random seed: R02Sa51a85c17fae70ed971c49db319534d7 1250s 1..216 1250s # Start of utf8 tests 1250s # Vector 0 1250s # Vector 1 1250s # Vector 2 1250s # Vector 3 1250s # Vector 4 1250s # Vector 5 1250s # Vector 6 1250s # Vector 7 1250s # Vector 8 1250s # Vector 9 1250s # Vector 10 1250s # Vector 11 1250s # Vector 12 1250s # Vector 13 1250s # Vector 14 1250s # Vector 15 1250s # Vector 16 1250s # Vector 17 1250s # Vector 18 1250s # Vector 19 1250s # Vector 20 1250s # Vector 21 1250s # Vector 22 1250s # Vector 23 1250s # Vector 24 1250s # Vector 25 1250s # Vector 26 1250s # Vector 27 1250s ok 1 /utf8/get-char-validated 1250s # Start of validate tests 1250s ok 2 /utf8/validate/0 1250s ok 3 /utf8/validate/1 1250s ok 4 /utf8/validate/2 1250s ok 5 /utf8/validate/3 1250s ok 6 /utf8/validate/4 1250s ok 7 /utf8/validate/5 1250s ok 8 /utf8/validate/6 1250s ok 9 /utf8/validate/7 1250s ok 10 /utf8/validate/8 1250s ok 11 /utf8/validate/9 1250s ok 12 /utf8/validate/10 1250s ok 13 /utf8/validate/11 1250s ok 14 /utf8/validate/12 1250s ok 15 /utf8/validate/13 1250s ok 16 /utf8/validate/14 1250s ok 17 /utf8/validate/15 1250s ok 18 /utf8/validate/16 1250s ok 19 /utf8/validate/17 1250s ok 20 /utf8/validate/18 1250s ok 21 /utf8/validate/19 1250s ok 22 /utf8/validate/20 1250s ok 23 /utf8/validate/21 1250s ok 24 /utf8/validate/22 1250s ok 25 /utf8/validate/23 1250s ok 26 /utf8/validate/24 1250s ok 27 /utf8/validate/25 1250s ok 28 /utf8/validate/26 1250s ok 29 /utf8/validate/27 1250s ok 30 /utf8/validate/28 1250s ok 31 /utf8/validate/29 1250s ok 32 /utf8/validate/30 1250s ok 33 /utf8/validate/31 1250s ok 34 /utf8/validate/32 1250s ok 35 /utf8/validate/33 1250s ok 36 /utf8/validate/34 1250s ok 37 /utf8/validate/35 1250s ok 38 /utf8/validate/36 1250s ok 39 /utf8/validate/37 1250s ok 40 /utf8/validate/38 1250s ok 41 /utf8/validate/39 1250s ok 42 /utf8/validate/40 1250s ok 43 /utf8/validate/41 1250s ok 44 /utf8/validate/42 1250s ok 45 /utf8/validate/43 1250s ok 46 /utf8/validate/44 1250s ok 47 /utf8/validate/45 1250s ok 48 /utf8/validate/46 1250s ok 49 /utf8/validate/47 1250s ok 50 /utf8/validate/48 1250s ok 51 /utf8/validate/49 1250s ok 52 /utf8/validate/50 1250s ok 53 /utf8/validate/51 1250s ok 54 /utf8/validate/52 1250s ok 55 /utf8/validate/53 1250s ok 56 /utf8/validate/54 1250s ok 57 /utf8/validate/55 1250s ok 58 /utf8/validate/56 1250s ok 59 /utf8/validate/57 1250s ok 60 /utf8/validate/58 1250s ok 61 /utf8/validate/59 1250s ok 62 /utf8/validate/60 1250s ok 63 /utf8/validate/61 1250s ok 64 /utf8/validate/62 1250s ok 65 /utf8/validate/63 1250s ok 66 /utf8/validate/64 1250s ok 67 /utf8/validate/65 1250s ok 68 /utf8/validate/66 1250s ok 69 /utf8/validate/67 1250s ok 70 /utf8/validate/68 1250s ok 71 /utf8/validate/69 1250s ok 72 /utf8/validate/70 1250s ok 73 /utf8/validate/71 1250s ok 74 /utf8/validate/72 1250s ok 75 /utf8/validate/73 1250s ok 76 /utf8/validate/74 1250s ok 77 /utf8/validate/75 1250s ok 78 /utf8/validate/76 1250s ok 79 /utf8/validate/77 1250s ok 80 /utf8/validate/78 1250s ok 81 /utf8/validate/79 1250s ok 82 /utf8/validate/80 1250s ok 83 /utf8/validate/81 1250s ok 84 /utf8/validate/82 1250s ok 85 /utf8/validate/83 1250s ok 86 /utf8/validate/84 1250s ok 87 /utf8/validate/85 1250s ok 88 /utf8/validate/86 1250s ok 89 /utf8/validate/87 1250s ok 90 /utf8/validate/88 1250s ok 91 /utf8/validate/89 1250s ok 92 /utf8/validate/90 1250s ok 93 /utf8/validate/91 1250s ok 94 /utf8/validate/92 1250s ok 95 /utf8/validate/93 1250s ok 96 /utf8/validate/94 1250s ok 97 /utf8/validate/95 1250s ok 98 /utf8/validate/96 1250s ok 99 /utf8/validate/97 1250s ok 100 /utf8/validate/98 1250s ok 101 /utf8/validate/99 1250s ok 102 /utf8/validate/100 1250s ok 103 /utf8/validate/101 1250s ok 104 /utf8/validate/102 1250s ok 105 /utf8/validate/103 1250s ok 106 /utf8/validate/104 1250s ok 107 /utf8/validate/105 1250s ok 108 /utf8/validate/106 1250s ok 109 /utf8/validate/107 1250s ok 110 /utf8/validate/108 1250s ok 111 /utf8/validate/109 1250s ok 112 /utf8/validate/110 1250s ok 113 /utf8/validate/111 1250s ok 114 /utf8/validate/112 1250s ok 115 /utf8/validate/113 1250s ok 116 /utf8/validate/114 1250s ok 117 /utf8/validate/115 1250s ok 118 /utf8/validate/116 1250s ok 119 /utf8/validate/117 1250s ok 120 /utf8/validate/118 1250s ok 121 /utf8/validate/119 1250s ok 122 /utf8/validate/120 1250s ok 123 /utf8/validate/121 1250s ok 124 /utf8/validate/122 1250s ok 125 /utf8/validate/123 1250s ok 126 /utf8/validate/124 1250s ok 127 /utf8/validate/125 1250s ok 128 /utf8/validate/126 1250s ok 129 /utf8/validate/127 1250s ok 130 /utf8/validate/128 1250s ok 131 /utf8/validate/129 1250s ok 132 /utf8/validate/130 1250s ok 133 /utf8/validate/131 1250s ok 134 /utf8/validate/132 1250s ok 135 /utf8/validate/133 1250s ok 136 /utf8/validate/134 1250s ok 137 /utf8/validate/135 1250s ok 138 /utf8/validate/136 1250s ok 139 /utf8/validate/137 1250s ok 140 /utf8/validate/138 1250s ok 141 /utf8/validate/139 1250s ok 142 /utf8/validate/140 1250s ok 143 /utf8/validate/141 1250s ok 144 /utf8/validate/142 1250s ok 145 /utf8/validate/143 1250s ok 146 /utf8/validate/144 1250s ok 147 /utf8/validate/145 1250s ok 148 /utf8/validate/146 1250s ok 149 /utf8/validate/147 1250s ok 150 /utf8/validate/148 1250s ok 151 /utf8/validate/149 1250s ok 152 /utf8/validate/150 1250s ok 153 /utf8/validate/151 1250s ok 154 /utf8/validate/152 1250s ok 155 /utf8/validate/153 1250s ok 156 /utf8/validate/154 1250s ok 157 /utf8/validate/155 1250s ok 158 /utf8/validate/156 1250s ok 159 /utf8/validate/157 1250s ok 160 /utf8/validate/158 1250s ok 161 /utf8/validate/159 1250s ok 162 /utf8/validate/160 1250s ok 163 /utf8/validate/161 1250s ok 164 /utf8/validate/162 1250s ok 165 /utf8/validate/163 1250s ok 166 /utf8/validate/164 1250s ok 167 /utf8/validate/165 1250s ok 168 /utf8/validate/166 1250s ok 169 /utf8/validate/167 1250s ok 170 /utf8/validate/168 1250s ok 171 /utf8/validate/169 1250s ok 172 /utf8/validate/170 1250s ok 173 /utf8/validate/171 1250s ok 174 /utf8/validate/172 1250s ok 175 /utf8/validate/173 1250s ok 176 /utf8/validate/174 1250s ok 177 /utf8/validate/175 1250s ok 178 /utf8/validate/176 1250s ok 179 /utf8/validate/177 1250s ok 180 /utf8/validate/178 1250s ok 181 /utf8/validate/179 1250s ok 182 /utf8/validate/180 1250s ok 183 /utf8/validate/181 1250s ok 184 /utf8/validate/182 1250s ok 185 /utf8/validate/183 1250s ok 186 /utf8/validate/184 1250s ok 187 /utf8/validate/185 1250s ok 188 /utf8/validate/186 1250s ok 189 /utf8/validate/187 1250s ok 190 /utf8/validate/188 1250s ok 191 /utf8/validate/189 1250s ok 192 /utf8/validate/190 1250s ok 193 /utf8/validate/191 1250s ok 194 /utf8/validate/192 1250s ok 195 /utf8/validate/193 1250s ok 196 /utf8/validate/194 1250s ok 197 /utf8/validate/195 1250s ok 198 /utf8/validate/196 1250s ok 199 /utf8/validate/197 1250s ok 200 /utf8/validate/198 1250s ok 201 /utf8/validate/199 1250s ok 202 /utf8/validate/200 1250s ok 203 /utf8/validate/201 1250s ok 204 /utf8/validate/202 1250s ok 205 /utf8/validate/203 1250s ok 206 /utf8/validate/204 1250s ok 207 /utf8/validate/205 1250s ok 208 /utf8/validate/206 1250s ok 209 /utf8/validate/207 1250s ok 210 /utf8/validate/208 1250s ok 211 /utf8/validate/209 1250s ok 212 /utf8/validate/210 1250s ok 213 /utf8/validate/211 1250s ok 214 /utf8/validate/212 1250s ok 215 /utf8/validate/213 1250s ok 216 /utf8/validate/214 1250s # End of validate tests 1250s # End of utf8 tests 1250s ok - glib/utf8-validate.test 1250s # Running test: glib/testfilemonitor.test 1250s TAP version 14 1250s # random seed: R02S2adbdc73c9fa4e896ea7a3deb23a691d 1250s 1..8 1250s # Start of monitor tests 1250s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1250s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1250s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1250s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1250s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1250s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1250s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1250s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1250s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1250s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1250s # Start of file tests 1250s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1250s # End of file tests 1250s # End of monitor tests 1250s ok - glib/testfilemonitor.test 1250s # Running test: glib/portal-support-flatpak-network-only.test 1250s TAP version 14 1250s # random seed: R02S1d0bba5f6da3c8d8380313298d5a9ff0 1250s 1..1 1250s # Start of portal-support tests 1250s # Start of flatpak tests 1250s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_4OI2Z2/portal-support/flatpak/network/.dirs/home 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_4OI2Z2/portal-support/flatpak/network/.dirs/cache 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_4OI2Z2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_4OI2Z2/portal-support/flatpak/network/.dirs/system-config2 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_4OI2Z2/portal-support/flatpak/network/.dirs/config 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_4OI2Z2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_4OI2Z2/portal-support/flatpak/network/.dirs/system-data2 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_4OI2Z2/portal-support/flatpak/network/.dirs/data 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_4OI2Z2/portal-support/flatpak/network/.dirs/state 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_4OI2Z2/portal-support/flatpak/network/.dirs/runtime 1250s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_4OI2Z2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 1250s ok 1 /portal-support/flatpak/network 1250s # End of flatpak tests 1250s # End of portal-support tests 1250s ok - glib/portal-support-flatpak-network-only.test 1250s # Running test: glib/gdbus-connection-slow.test 1250s TAP version 14 1250s # random seed: R02Sc377da90db719cb09d290847d93a6802 1250s 1..2 1250s # Start of gdbus tests 1250s # Start of connection tests 1250s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_10D2Z2/gdbus/connection/flush/.dirs/home 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_10D2Z2/gdbus/connection/flush/.dirs/cache 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_10D2Z2/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_10D2Z2/gdbus/connection/flush/.dirs/system-config2 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_10D2Z2/gdbus/connection/flush/.dirs/config 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_10D2Z2/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_10D2Z2/gdbus/connection/flush/.dirs/system-data2 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_10D2Z2/gdbus/connection/flush/.dirs/data 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_10D2Z2/gdbus/connection/flush/.dirs/state 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_10D2Z2/gdbus/connection/flush/.dirs/runtime 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1250s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1250s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1250s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1250s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1250s ok 1 /gdbus/connection/flush 1250s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_10D2Z2/gdbus/connection/large_message/.dirs/home 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_10D2Z2/gdbus/connection/large_message/.dirs/cache 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_10D2Z2/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_10D2Z2/gdbus/connection/large_message/.dirs/system-config2 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_10D2Z2/gdbus/connection/large_message/.dirs/config 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_10D2Z2/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_10D2Z2/gdbus/connection/large_message/.dirs/system-data2 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_10D2Z2/gdbus/connection/large_message/.dirs/data 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_10D2Z2/gdbus/connection/large_message/.dirs/state 1250s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_10D2Z2/gdbus/connection/large_message/.dirs/runtime 1250s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1250s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1250s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1250s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1250s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1250s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1251s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1251s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1251s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1251s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1251s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1251s ok 2 /gdbus/connection/large_message 1251s # End of connection tests 1251s # End of gdbus tests 1251s ok - glib/gdbus-connection-slow.test 1251s # Running test: glib/sandbox.test 1251s TAP version 14 1251s # random seed: R02S78b55c6d351e02cbb7e88a0f944d33fc 1251s 1..4 1251s # Start of sandbox tests 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_VT1VZ2/sandbox/none/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_VT1VZ2/sandbox/none/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_VT1VZ2/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_VT1VZ2/sandbox/none/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_VT1VZ2/sandbox/none/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_VT1VZ2/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_VT1VZ2/sandbox/none/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_VT1VZ2/sandbox/none/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_VT1VZ2/sandbox/none/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_VT1VZ2/sandbox/none/.dirs/runtime 1251s ok 1 /sandbox/none 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_VT1VZ2/sandbox/snap/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_VT1VZ2/sandbox/snap/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_VT1VZ2/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_VT1VZ2/sandbox/snap/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_VT1VZ2/sandbox/snap/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_VT1VZ2/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_VT1VZ2/sandbox/snap/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_VT1VZ2/sandbox/snap/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_VT1VZ2/sandbox/snap/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_VT1VZ2/sandbox/snap/.dirs/runtime 1251s # Created snap.yaml in /tmp/test_sandbox_VT1VZ2/snap/current/meta/snap.yaml 1251s ok 2 /sandbox/snap 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_VT1VZ2/sandbox/classic-snap/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_VT1VZ2/sandbox/classic-snap/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_VT1VZ2/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_VT1VZ2/sandbox/classic-snap/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_VT1VZ2/sandbox/classic-snap/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_VT1VZ2/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_VT1VZ2/sandbox/classic-snap/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_VT1VZ2/sandbox/classic-snap/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_VT1VZ2/sandbox/classic-snap/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_VT1VZ2/sandbox/classic-snap/.dirs/runtime 1251s # Created snap.yaml in /tmp/test_sandbox_VT1VZ2/snap/current/meta/snap.yaml 1251s ok 3 /sandbox/classic-snap 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_VT1VZ2/sandbox/flatpak/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_VT1VZ2/sandbox/flatpak/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_VT1VZ2/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_VT1VZ2/sandbox/flatpak/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_VT1VZ2/sandbox/flatpak/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_VT1VZ2/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_VT1VZ2/sandbox/flatpak/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_VT1VZ2/sandbox/flatpak/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_VT1VZ2/sandbox/flatpak/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_VT1VZ2/sandbox/flatpak/.dirs/runtime 1251s # Creating .flatpak-info in /tmp/test_sandbox_VT1VZ2/sandbox/flatpak/.dirs/runtime/.flatpak-info 1251s ok 4 /sandbox/flatpak 1251s # End of sandbox tests 1251s ok - glib/sandbox.test 1251s # Running test: glib/convert.test 1251s TAP version 14 1251s # random seed: R02Se7756e3b95c8edabedf812596c8b3e4d 1251s 1..14 1251s # Start of conversion tests 1251s ok 1 /conversion/no-conv 1251s ok 2 /conversion/iconv-state 1251s ok 3 /conversion/illegal-sequence 1251s ok 4 /conversion/byte-order 1251s ok 5 /conversion/unicode 1251s ok 6 /conversion/filename-utf8 1251s ok 7 /conversion/filename-display 1251s ok 8 /conversion/convert-embedded-nul 1251s # Start of locale-to-utf8 tests 1251s ok 9 /conversion/locale-to-utf8/embedded-nul 1251s # Start of embedded-nul tests 1251s # Start of subprocess tests 1251s # End of subprocess tests 1251s # End of embedded-nul tests 1251s # End of locale-to-utf8 tests 1251s # Start of locale-from-utf8 tests 1251s ok 10 /conversion/locale-from-utf8/embedded-nul 1251s # Start of embedded-nul tests 1251s # Start of subprocess tests 1251s # End of subprocess tests 1251s # End of embedded-nul tests 1251s # End of locale-from-utf8 tests 1251s # Start of filename-to-utf8 tests 1251s ok 11 /conversion/filename-to-utf8/embedded-nul 1251s # Start of embedded-nul tests 1251s # Start of subprocess tests 1251s # End of subprocess tests 1251s # End of embedded-nul tests 1251s # End of filename-to-utf8 tests 1251s # Start of filename-from-utf8 tests 1251s ok 12 /conversion/filename-from-utf8/embedded-nul 1251s # Start of embedded-nul tests 1251s # Start of subprocess tests 1251s # End of subprocess tests 1251s # End of embedded-nul tests 1251s # End of filename-from-utf8 tests 1251s # Start of filename-from-uri tests 1251s ok 13 /conversion/filename-from-uri/query-is-ignored 1251s ok 14 /conversion/filename-from-uri/fragment-is-ignored 1251s # End of filename-from-uri tests 1251s # End of conversion tests 1251s ok - glib/convert.test 1251s # Running test: glib/object-info.test 1251s TAP version 14 1251s # random seed: R02S84f8b376435988530c821b356c765264 1251s 1..2 1251s # Start of object-info tests 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_CHVWZ2/object-info/find-method-using-interfaces/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_CHVWZ2/object-info/find-method-using-interfaces/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_CHVWZ2/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_CHVWZ2/object-info/find-method-using-interfaces/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_CHVWZ2/object-info/find-method-using-interfaces/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_CHVWZ2/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_CHVWZ2/object-info/find-method-using-interfaces/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_CHVWZ2/object-info/find-method-using-interfaces/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_CHVWZ2/object-info/find-method-using-interfaces/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_CHVWZ2/object-info/find-method-using-interfaces/.dirs/runtime 1251s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1251s ok 1 /object-info/find-method-using-interfaces 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_CHVWZ2/object-info/find-vfunc-using-interfaces/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_CHVWZ2/object-info/find-vfunc-using-interfaces/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_CHVWZ2/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_CHVWZ2/object-info/find-vfunc-using-interfaces/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_CHVWZ2/object-info/find-vfunc-using-interfaces/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_CHVWZ2/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_CHVWZ2/object-info/find-vfunc-using-interfaces/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_CHVWZ2/object-info/find-vfunc-using-interfaces/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_CHVWZ2/object-info/find-vfunc-using-interfaces/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_CHVWZ2/object-info/find-vfunc-using-interfaces/.dirs/runtime 1251s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1251s ok 2 /object-info/find-vfunc-using-interfaces 1251s # End of object-info tests 1251s ok - glib/object-info.test 1251s # Running test: glib/appmonitor.test 1251s TAP version 14 1251s # random seed: R02S4d385bfae6374bf2fc0fa78364cf1c11 1251s 1..1 1251s # Start of monitor tests 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_I5JWZ2/monitor/app/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_I5JWZ2/monitor/app/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_I5JWZ2/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_I5JWZ2/monitor/app/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_I5JWZ2/monitor/app/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_I5JWZ2/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_I5JWZ2/monitor/app/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_I5JWZ2/monitor/app/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_I5JWZ2/monitor/app/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_I5JWZ2/monitor/app/.dirs/runtime 1251s # Using data directory: /tmp/test_appmonitor_I5JWZ2/monitor/app/.dirs/data 1251s ok 1 /monitor/app 1251s # End of monitor tests 1251s ok - glib/appmonitor.test 1251s # Running test: glib/gsocketclient-slow.test 1251s TAP version 14 1251s # random seed: R02S5e3a6692de82b3b90232e1e89d585b03 1251s 1..4 1251s # Start of socket-client tests 1251s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 1251s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1251s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb8b6429b12a0 and GSocketClientAsyncConnectData 0xb8b6429a9ba0 1251s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1251s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1251s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb8b6429b3180 for GSocketClientAsyncConnectData 0xb8b6429a9ba0 1251s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1251s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1251s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1251s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1251s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1251s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1251s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb8b6429b42e0 for GSocketClientAsyncConnectData 0xb8b6429a9ba0 1251s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1252s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1252s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1252s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 1252s ok 1 /socket-client/connection-fail 1252s # slow test /socket-client/connection-fail executed in 1.20 secs 1252s # Start of happy-eyeballs tests 1252s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb8b6429b6d60 and GSocketClientAsyncConnectData 0xb8b6429b4ee0 1252s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1252s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1252s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb8b6429b7600 for GSocketClientAsyncConnectData 0xb8b6429b4ee0 1252s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1252s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1252s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1252s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1252s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1252s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1252s ok 2 /socket-client/happy-eyeballs/slow 1252s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 1252s # Start of cancellation tests 1252s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb8b6429b8250 and GSocketClientAsyncConnectData 0xb8b6429b7290 1252s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1252s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 1252s ok 3 /socket-client/happy-eyeballs/cancellation/instant 1252s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb8b6429b6ca0 and GSocketClientAsyncConnectData 0xb8b6429b8500 1252s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1252s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1252s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb8b6429b8d90 for GSocketClientAsyncConnectData 0xb8b6429b8500 1252s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1253s # Executing: glib/gsocketclient-slow.test 1253s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1253s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1253s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1253s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1253s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 1253s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 1253s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 1253s # End of cancellation tests 1253s # End of happy-eyeballs tests 1253s # End of socket-client tests 1253s ok - glib/gsocketclient-slow.test 1253s # Running test: glib/g-file-info-filesystem-readonly.test 1253s TAP version 14 1253s # random seed: R02Sb1148fd36e6eb0f58cd4521799b30729 1253s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 1253s 1..2 1253s # Start of g-file-info-filesystem-readonly tests 1253s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1253s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1253s # End of g-file-info-filesystem-readonly tests 1253s ok - glib/g-file-info-filesystem-readonly.test 1253s # Running test: glib/io-channel.test 1253s TAP version 14 1253s # random seed: R02Sabf400d322916ddb222515f4a1d5ac68 1253s 1..2 1253s # Start of io-channel tests 1253s # Line one 1253s # 1253s # Line two 1253s # 1253s # Line three 1253s # 1253s # /* Hello */ 1253s # 1253s # \x1234\x567890\x6666 1253s # 1253s # read 62 bytes, wrote 62 bytes 1253s ok 1 /io-channel/read-write 1253s # Start of read-line tests 1253s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 1253s ok 2 /io-channel/read-line/embedded-nuls 1253s # End of read-line tests 1253s # End of io-channel tests 1253s ok - glib/io-channel.test 1253s # Running test: glib/gdbus-addresses.test 1253s TAP version 14 1253s # random seed: R02S63c3bb50278fbce8b54ca8d47c0ab2c8 1253s 1..9 1253s # Start of gdbus tests 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/empty-address/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/empty-address/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_5G5LZ2/gdbus/empty-address/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/empty-address/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_5G5LZ2/gdbus/empty-address/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/empty-address/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/empty-address/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/empty-address/.dirs/runtime 1253s ok 1 /gdbus/empty-address 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/unsupported-address/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/unsupported-address/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_5G5LZ2/gdbus/unsupported-address/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/unsupported-address/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_5G5LZ2/gdbus/unsupported-address/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/unsupported-address/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/unsupported-address/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/unsupported-address/.dirs/runtime 1253s ok 2 /gdbus/unsupported-address 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/address-parsing/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/address-parsing/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_5G5LZ2/gdbus/address-parsing/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/address-parsing/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_5G5LZ2/gdbus/address-parsing/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/address-parsing/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/address-parsing/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/address-parsing/.dirs/runtime 1253s ok 3 /gdbus/address-parsing 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/unix-address/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/unix-address/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_5G5LZ2/gdbus/unix-address/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/unix-address/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_5G5LZ2/gdbus/unix-address/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/unix-address/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/unix-address/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/unix-address/.dirs/runtime 1253s ok 4 /gdbus/unix-address 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/nonce-tcp-address/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/nonce-tcp-address/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_5G5LZ2/gdbus/nonce-tcp-address/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/nonce-tcp-address/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_5G5LZ2/gdbus/nonce-tcp-address/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/nonce-tcp-address/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/nonce-tcp-address/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/nonce-tcp-address/.dirs/runtime 1253s ok 5 /gdbus/nonce-tcp-address 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/tcp-address/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/tcp-address/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_5G5LZ2/gdbus/tcp-address/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/tcp-address/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_5G5LZ2/gdbus/tcp-address/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/tcp-address/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/tcp-address/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/tcp-address/.dirs/runtime 1253s ok 6 /gdbus/tcp-address 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/autolaunch-address/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/autolaunch-address/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_5G5LZ2/gdbus/autolaunch-address/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/autolaunch-address/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_5G5LZ2/gdbus/autolaunch-address/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/autolaunch-address/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/autolaunch-address/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/autolaunch-address/.dirs/runtime 1253s ok 7 /gdbus/autolaunch-address 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/mixed-address/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/mixed-address/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_5G5LZ2/gdbus/mixed-address/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/mixed-address/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_5G5LZ2/gdbus/mixed-address/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/mixed-address/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/mixed-address/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/mixed-address/.dirs/runtime 1253s ok 8 /gdbus/mixed-address 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/escape-address/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/escape-address/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_5G5LZ2/gdbus/escape-address/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/escape-address/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_5G5LZ2/gdbus/escape-address/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/escape-address/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/escape-address/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_5G5LZ2/gdbus/escape-address/.dirs/runtime 1253s ok 9 /gdbus/escape-address 1253s # End of gdbus tests 1253s ok - glib/gdbus-addresses.test 1253s # Running test: glib/gdbus-server-auth.test 1253s TAP version 14 1253s # random seed: R02S9f755eaecdc6be9825ba64dc351b81a7 1253s 1..9 1253s # Start of gdbus tests 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/.dirs/runtime 1253s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_EYDNZ2/gdbus-server-auth-DGDNZ2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1253s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_EYDNZ2/gdbus-server-auth-DGDNZ2/dbus-PBDN8NKf 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 13427 1253s ok 1 /gdbus/server-auth 1253s # Start of server-auth tests 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/abstract/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/abstract/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/abstract/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/abstract/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/abstract/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/abstract/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/abstract/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/abstract/.dirs/runtime 1253s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_EYDNZ2/gdbus-server-auth-WSWMZ2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1253s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_EYDNZ2/gdbus-server-auth-WSWMZ2/dbus-ICEEcJK6 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1253s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1253s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 13427 1253s ok 2 /gdbus/server-auth/abstract 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/tcp/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/tcp/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/tcp/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/tcp/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/tcp/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/tcp/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/tcp/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/tcp/.dirs/runtime 1253s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1253s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/anonymous/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/anonymous/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/anonymous/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/anonymous/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/anonymous/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/anonymous/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/anonymous/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/anonymous/.dirs/runtime 1253s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_EYDNZ2/gdbus-server-auth-C7SMZ2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1253s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_EYDNZ2/gdbus-server-auth-C7SMZ2/dbus-yOPmWvMb 1253s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 13427 1253s ok 4 /gdbus/server-auth/anonymous 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/external/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/external/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/external/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/external/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/external/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/external/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/external/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/external/.dirs/runtime 1253s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_EYDNZ2/gdbus-server-auth-MSWKZ2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1253s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_EYDNZ2/gdbus-server-auth-MSWKZ2/dbus-AEtouEhs 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 13427 1253s ok 5 /gdbus/server-auth/external 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/sha1/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/sha1/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/sha1/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/sha1/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/sha1/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/sha1/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/sha1/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/sha1/.dirs/runtime 1253s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_EYDNZ2/gdbus-server-auth-JZULZ2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1253s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1253s # Start of anonymous tests 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/anonymous/tcp/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/anonymous/tcp/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/anonymous/tcp/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/anonymous/tcp/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1253s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1253s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1253s # End of anonymous tests 1253s # Start of external tests 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/external/require-same-user/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/external/require-same-user/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/external/require-same-user/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/external/require-same-user/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/external/require-same-user/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1253s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_EYDNZ2/gdbus-server-auth-LMULZ2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1253s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_EYDNZ2/gdbus-server-auth-LMULZ2/dbus-uCXVUBuB 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 13427 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1253s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1253s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=13427,uid=1000,gid=1000 1253s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 13427 1253s ok 8 /gdbus/server-auth/external/require-same-user 1253s # End of external tests 1253s # Start of sha1 tests 1253s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/sha1/tcp/.dirs/home 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/sha1/tcp/.dirs/cache 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/sha1/tcp/.dirs/config 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/sha1/tcp/.dirs/data 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/sha1/tcp/.dirs/state 1253s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_EYDNZ2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1253s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1253s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1253s # End of sha1 tests 1253s # End of server-auth tests 1253s # End of gdbus tests 1253s ok - glib/gdbus-server-auth.test 1253s # Running test: glib/cxx-14.test 1253s TAP version 14 1253s # random seed: R02S40805a640602639e5bee993a956642f7 1253s 1..2 1253s # Start of gtask tests 1253s # 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. 1253s ok 1 /gtask/name 1253s # Start of name tests 1253s # 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. 1253s ok 2 /gtask/name/macro-wrapper 1253s # End of name tests 1253s # End of gtask tests 1253s ok - glib/cxx-14.test 1253s # Running test: glib/signals-refcount4.test 1253s TAP version 14 1253s # random seed: R02S6960d8c16cc67e36fda74cb6b4f8a191 1253s 1..1 1253s # Start of gobject tests 1253s # Start of refcount tests 1253s # init 0xb18f79e8f430 1253s # 1253s # init 0xb18f79e8f5d0 1253s # 1258s # Executing: glib/signals-refcount4.test 1258s # dispose 0xb18f79e8f430! 1258s # 1258s # dispose 0xb18f79e8f5d0! 1258s # 1258s ok 1 /gobject/refcount/signals 1258s # slow test /gobject/refcount/signals executed in 5.00 secs 1258s # End of refcount tests 1258s # End of gobject tests 1258s ok - glib/signals-refcount4.test 1258s # Running test: glib/throws.test 1258s TAP version 14 1258s # random seed: R02Sf1e7b878826716c13ec767c50da36a1e 1258s 1..3 1258s # Start of throws tests 1258s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_MLRJZ2/throws/invoke-gerror/.dirs/home 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_MLRJZ2/throws/invoke-gerror/.dirs/cache 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_MLRJZ2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_MLRJZ2/throws/invoke-gerror/.dirs/system-config2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_MLRJZ2/throws/invoke-gerror/.dirs/config 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_MLRJZ2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_MLRJZ2/throws/invoke-gerror/.dirs/system-data2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_MLRJZ2/throws/invoke-gerror/.dirs/data 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_MLRJZ2/throws/invoke-gerror/.dirs/state 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_MLRJZ2/throws/invoke-gerror/.dirs/runtime 1258s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1258s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 1258s ok 1 /throws/invoke-gerror 1258s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_MLRJZ2/throws/vfunc-can-throw-gerror/.dirs/home 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_MLRJZ2/throws/vfunc-can-throw-gerror/.dirs/cache 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_MLRJZ2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_MLRJZ2/throws/vfunc-can-throw-gerror/.dirs/system-config2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_MLRJZ2/throws/vfunc-can-throw-gerror/.dirs/config 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_MLRJZ2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_MLRJZ2/throws/vfunc-can-throw-gerror/.dirs/system-data2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_MLRJZ2/throws/vfunc-can-throw-gerror/.dirs/data 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_MLRJZ2/throws/vfunc-can-throw-gerror/.dirs/state 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_MLRJZ2/throws/vfunc-can-throw-gerror/.dirs/runtime 1258s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1258s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 1258s ok 2 /throws/vfunc-can-throw-gerror 1258s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_MLRJZ2/throws/callback-can-throw-gerror/.dirs/home 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_MLRJZ2/throws/callback-can-throw-gerror/.dirs/cache 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_MLRJZ2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_MLRJZ2/throws/callback-can-throw-gerror/.dirs/system-config2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_MLRJZ2/throws/callback-can-throw-gerror/.dirs/config 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_MLRJZ2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_MLRJZ2/throws/callback-can-throw-gerror/.dirs/system-data2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_MLRJZ2/throws/callback-can-throw-gerror/.dirs/data 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_MLRJZ2/throws/callback-can-throw-gerror/.dirs/state 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_MLRJZ2/throws/callback-can-throw-gerror/.dirs/runtime 1258s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1258s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 1258s ok 3 /throws/callback-can-throw-gerror 1258s # End of throws tests 1258s ok - glib/throws.test 1258s # Running test: glib/glistmodel.test 1258s TAP version 14 1258s # random seed: R02S2382cde38e87bd014dd5087c8be49e4a 1258s 1..18 1258s # Start of glistmodel tests 1258s # Start of store tests 1258s ok 1 /glistmodel/store/properties 1258s ok 2 /glistmodel/store/non-gobjects 1258s ok 3 /glistmodel/store/boundaries 1258s ok 4 /glistmodel/store/refcounts 1258s ok 5 /glistmodel/store/sorted 1258s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1258s ok 6 /glistmodel/store/splice-replace-middle 1258s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1258s ok 7 /glistmodel/store/splice-replace-all 1258s ok 8 /glistmodel/store/splice-noop 1258s ok 9 /glistmodel/store/splice-remove-multiple 1258s ok 10 /glistmodel/store/splice-add-multiple 1258s ok 11 /glistmodel/store/splice-wrong-type 1258s ok 12 /glistmodel/store/item-type 1258s ok 13 /glistmodel/store/remove-all 1258s ok 14 /glistmodel/store/sort 1258s ok 15 /glistmodel/store/get-item-cache 1258s ok 16 /glistmodel/store/items-changed 1258s ok 17 /glistmodel/store/past-end 1258s ok 18 /glistmodel/store/find 1258s # End of store tests 1258s # End of glistmodel tests 1258s ok - glib/glistmodel.test 1258s # Running test: glib/unicode.test 1258s TAP version 14 1258s # random seed: R02S30d531bf9bf6850af1e5a474d4e36dca 1258s 1..39 1258s # Start of unicode tests 1258s ok 1 /unicode/alnum 1258s ok 2 /unicode/alpha 1258s ok 3 /unicode/break-type 1258s ok 4 /unicode/canonical-decomposition 1258s ok 5 /unicode/casefold 1258s # Cannot set locale to lt_LT, skipping 1258s # Cannot set locale to lt_LT, skipping 1258s # Cannot set locale to lt_LT, skipping 1258s # Cannot set locale to lt_LT, skipping 1258s # Cannot set locale to lt_LT, skipping 1258s # Cannot set locale to lt_LT, skipping 1258s # Cannot set locale to lt_LT, skipping 1258s # Cannot set locale to lt_LT, skipping 1258s # Cannot set locale to lt_LT, skipping 1258s # Cannot set locale to lt_LT, skipping 1258s # Cannot set locale to lt_LT, skipping 1258s ok 6 /unicode/casemap_and_casefold 1258s ok 7 /unicode/cases 1258s ok 8 /unicode/character-type 1258s ok 9 /unicode/cntrl 1258s ok 10 /unicode/combining-class 1258s ok 11 /unicode/compose 1258s ok 12 /unicode/decompose 1258s ok 13 /unicode/decompose-tail 1258s ok 14 /unicode/defined 1258s ok 15 /unicode/digit 1258s ok 16 /unicode/digit-value 1258s ok 17 /unicode/fully-decompose-canonical 1258s ok 18 /unicode/fully-decompose-len 1258s ok 19 /unicode/normalization 1258s ok 20 /unicode/graph 1258s # Testing script Zyyy (code 1517910393) 1258s # Testing script Zinh (code 1516858984) 1258s # Testing script Zmth (code 1517122664) 1258s # Testing script Arab (code 1098015074) 1258s # Testing script Armn (code 1098018158) 1258s # Testing script Beng (code 1113943655) 1258s # Testing script Bopo (code 1114599535) 1258s # Testing script Cher (code 1130915186) 1258s # Testing script Copt (code 1131376756) 1258s # Testing script Cyrl (code 1132032620) 1258s # Testing script Dsrt (code 1148416628) 1258s # Testing script Deva (code 1147500129) 1258s # Testing script Ethi (code 1165256809) 1258s # Testing script Geor (code 1197830002) 1258s # Testing script Goth (code 1198486632) 1258s # Testing script Grek (code 1198679403) 1258s # Testing script Gujr (code 1198877298) 1258s # Testing script Guru (code 1198879349) 1258s # Testing script Hani (code 1214344809) 1258s # Testing script Hang (code 1214344807) 1258s # Testing script Hebr (code 1214603890) 1258s # Testing script Hira (code 1214870113) 1258s # Testing script Knda (code 1265525857) 1258s # Testing script Kana (code 1264676449) 1258s # Testing script Khmr (code 1265134962) 1258s # Testing script Laoo (code 1281453935) 1258s # Testing script Latn (code 1281455214) 1258s # Testing script Mlym (code 1298954605) 1258s # Testing script Mong (code 1299148391) 1258s # Testing script Mymr (code 1299803506) 1258s # Testing script Ogam (code 1332175213) 1258s # Testing script Ital (code 1232363884) 1258s # Testing script Orya (code 1332902241) 1258s # Testing script Runr (code 1383427698) 1258s # Testing script Sinh (code 1399418472) 1258s # Testing script Syrc (code 1400468067) 1258s # Testing script Taml (code 1415671148) 1258s # Testing script Telu (code 1415933045) 1258s # Testing script Thaa (code 1416126817) 1258s # Testing script Thai (code 1416126825) 1258s # Testing script Tibt (code 1416192628) 1258s # Testing script Cans (code 1130458739) 1258s # Testing script Yiii (code 1500080489) 1258s # Testing script Tglg (code 1416064103) 1258s # Testing script Hano (code 1214344815) 1258s # Testing script Buhd (code 1114990692) 1258s # Testing script Tagb (code 1415669602) 1258s # Testing script Brai (code 1114792297) 1258s # Testing script Cprt (code 1131442804) 1258s # Testing script Limb (code 1281977698) 1258s # Testing script Osma (code 1332964705) 1258s # Testing script Shaw (code 1399349623) 1258s # Testing script Linb (code 1281977954) 1258s # Testing script Tale (code 1415670885) 1258s # Testing script Ugar (code 1432838514) 1258s # Testing script Talu (code 1415670901) 1258s # Testing script Bugi (code 1114990441) 1258s # Testing script Glag (code 1198285159) 1258s # Testing script Tfng (code 1415999079) 1258s # Testing script Sylo (code 1400466543) 1258s # Testing script Xpeo (code 1483761007) 1258s # Testing script Khar (code 1265131890) 1258s # Testing script Zzzz (code 1517976186) 1258s # Testing script Bali (code 1113681001) 1258s # Testing script Xsux (code 1483961720) 1258s # Testing script Phnx (code 1349021304) 1258s # Testing script Phag (code 1349017959) 1258s # Testing script Nkoo (code 1315663727) 1258s # Testing script Kali (code 1264675945) 1258s # Testing script Lepc (code 1281716323) 1258s # Testing script Rjng (code 1382706791) 1258s # Testing script Sund (code 1400204900) 1258s # Testing script Saur (code 1398895986) 1258s # Testing script Cham (code 1130914157) 1258s # Testing script Olck (code 1332503403) 1258s # Testing script Vaii (code 1449224553) 1258s # Testing script Cari (code 1130459753) 1258s # Testing script Lyci (code 1283023721) 1258s # Testing script Lydi (code 1283023977) 1258s # Testing script Avst (code 1098281844) 1258s # Testing script Bamu (code 1113681269) 1258s # Testing script Egyp (code 1164409200) 1258s # Testing script Armi (code 1098018153) 1258s # Testing script Phli (code 1349020777) 1258s # Testing script Prti (code 1349678185) 1258s # Testing script Java (code 1247901281) 1258s # Testing script Kthi (code 1265920105) 1258s # Testing script Lisu (code 1281979253) 1258s # Testing script Mtei (code 1299473769) 1258s # Testing script Sarb (code 1398895202) 1258s # Testing script Orkh (code 1332898664) 1258s # Testing script Samr (code 1398893938) 1258s # Testing script Lana (code 1281453665) 1258s # Testing script Tavt (code 1415673460) 1258s # Testing script Batk (code 1113683051) 1258s # Testing script Brah (code 1114792296) 1258s # Testing script Mand (code 1298230884) 1258s # Testing script Cakm (code 1130457965) 1258s # Testing script Merc (code 1298494051) 1258s # Testing script Mero (code 1298494063) 1258s # Testing script Plrd (code 1349284452) 1258s # Testing script Shrd (code 1399353956) 1258s # Testing script Sora (code 1399812705) 1258s # Testing script Takr (code 1415670642) 1258s # Testing script Bass (code 1113682803) 1258s # Testing script Aghb (code 1097295970) 1258s # Testing script Dupl (code 1148547180) 1258s # Testing script Elba (code 1164730977) 1258s # Testing script Gran (code 1198678382) 1258s # Testing script Khoj (code 1265135466) 1258s # Testing script Sind (code 1399418468) 1258s # Testing script Lina (code 1281977953) 1258s # Testing script Mahj (code 1298229354) 1258s # Testing script Mani (code 1298230889) 1258s # Testing script Mend (code 1298493028) 1258s # Testing script Modi (code 1299145833) 1258s # Testing script Mroo (code 1299345263) 1258s # Testing script Nbat (code 1315070324) 1258s # Testing script Narb (code 1315009122) 1258s # Testing script Perm (code 1348825709) 1258s # Testing script Hmng (code 1215131239) 1258s # Testing script Palm (code 1348562029) 1258s # Testing script Pauc (code 1348564323) 1258s # Testing script Phlp (code 1349020784) 1258s # Testing script Sidd (code 1399415908) 1258s # Testing script Tirh (code 1416196712) 1258s # Testing script Wara (code 1466004065) 1258s # Testing script Ahom (code 1097363309) 1258s # Testing script Hluw (code 1215067511) 1258s # Testing script Hatr (code 1214346354) 1258s # Testing script Mult (code 1299541108) 1258s # Testing script Hung (code 1215655527) 1258s # Testing script Sgnw (code 1399287415) 1258s # Testing script Adlm (code 1097100397) 1258s # Testing script Bhks (code 1114139507) 1258s # Testing script Marc (code 1298231907) 1258s # Testing script Newa (code 1315272545) 1258s # Testing script Osge (code 1332963173) 1258s # Testing script Tang (code 1415671399) 1258s # Testing script Gonm (code 1198485101) 1258s # Testing script Nshu (code 1316186229) 1258s # Testing script Soyo (code 1399814511) 1258s # Testing script Zanb (code 1516334690) 1258s # Testing script Dogr (code 1148151666) 1258s # Testing script Gong (code 1198485095) 1258s # Testing script Rohg (code 1383032935) 1258s # Testing script Maka (code 1298230113) 1258s # Testing script Medf (code 1298490470) 1258s # Testing script Sogo (code 1399809903) 1258s # Testing script Sogd (code 1399809892) 1258s # Testing script Elym (code 1164736877) 1258s # Testing script Nand (code 1315008100) 1258s # Testing script Hmnp (code 1215131248) 1258s # Testing script Wcho (code 1466132591) 1258s # Testing script Chrs (code 1130918515) 1258s # Testing script Diak (code 1147756907) 1258s # Testing script Kits (code 1265202291) 1258s # Testing script Yezi (code 1499822697) 1258s # Testing script Cpmn (code 1131441518) 1258s # Testing script Ougr (code 1333094258) 1258s # Testing script Tnsa (code 1416524641) 1258s # Testing script Toto (code 1416590447) 1258s # Testing script Vith (code 1449751656) 1258s # Testing script Kawi (code 1264678761) 1258s # Testing script Nagm (code 1315006317) 1258s ok 21 /unicode/iso15924 1258s ok 22 /unicode/lower 1258s ok 23 /unicode/mark 1258s ok 24 /unicode/mirror 1258s ok 25 /unicode/print 1258s ok 26 /unicode/punctuation 1258s ok 27 /unicode/script 1258s ok 28 /unicode/space 1258s ok 29 /unicode/strdown 1258s ok 30 /unicode/strup 1258s ok 31 /unicode/turkish-strupdown 1258s ok 32 /unicode/title 1258s ok 33 /unicode/upper 1258s ok 34 /unicode/validate 1258s ok 35 /unicode/wide 1258s ok 36 /unicode/xdigit 1258s ok 37 /unicode/xdigit-value 1258s ok 38 /unicode/zero-width 1258s ok 39 /unicode/normalize 1258s # End of unicode tests 1258s ok - glib/unicode.test 1258s # Running test: glib/gdbus-names.test 1258s TAP version 14 1258s # random seed: R02S07261e7323b612efa90cefe884cd7e3b 1258s 1..10 1258s # Start of gdbus tests 1258s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/validate-names/.dirs/home 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/validate-names/.dirs/cache 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_XAFIZ2/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_XAFIZ2/gdbus/validate-names/.dirs/system-config2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/validate-names/.dirs/config 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_XAFIZ2/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_XAFIZ2/gdbus/validate-names/.dirs/system-data2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/validate-names/.dirs/data 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/validate-names/.dirs/state 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_XAFIZ2/gdbus/validate-names/.dirs/runtime 1258s ok 1 /gdbus/validate-names 1258s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-own-name/.dirs/home 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-own-name/.dirs/cache 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_XAFIZ2/gdbus/bus-own-name/.dirs/system-config2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-own-name/.dirs/config 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_XAFIZ2/gdbus/bus-own-name/.dirs/system-data2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-own-name/.dirs/data 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-own-name/.dirs/state 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-own-name/.dirs/runtime 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s ok 2 /gdbus/bus-own-name 1258s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name/.dirs/home 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name/.dirs/cache 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name/.dirs/system-config2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name/.dirs/config 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name/.dirs/system-data2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name/.dirs/data 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name/.dirs/state 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name/.dirs/runtime 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s ok 3 /gdbus/bus-watch-name 1258s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-auto-start/.dirs/home 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-auto-start/.dirs/cache 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-auto-start/.dirs/system-config2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-auto-start/.dirs/config 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-auto-start/.dirs/system-data2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-auto-start/.dirs/data 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-auto-start/.dirs/state 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-auto-start/.dirs/runtime 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s ok 4 /gdbus/bus-watch-name-auto-start 1258s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1258s dbus-daemon[13458]: [session uid=1000 pid=13458] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=13449 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 1258s # Acquired a message bus connection 1258s dbus-daemon[13458]: [session uid=1000 pid=13458] Successfully activated service 'org.gtk.GDBus.FakeService' 1258s # Acquired the name org.gtk.GDBus.FakeService 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 1258s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-closures/.dirs/home 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-closures/.dirs/cache 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-closures/.dirs/system-config2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-closures/.dirs/config 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-closures/.dirs/system-data2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-closures/.dirs/data 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-closures/.dirs/state 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-closures/.dirs/runtime 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s ok 6 /gdbus/bus-watch-name-closures 1258s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/home 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/config 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/data 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/state 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s ok 7 /gdbus/bus-watch-name-closures-auto-start 1258s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-different-context/.dirs/home 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-different-context/.dirs/cache 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-different-context/.dirs/system-config2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-different-context/.dirs/config 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-different-context/.dirs/system-data2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-different-context/.dirs/data 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-different-context/.dirs/state 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-watch-different-context/.dirs/runtime 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s ok 8 /gdbus/bus-watch-different-context 1258s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-unwatch-early/.dirs/home 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-unwatch-early/.dirs/cache 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_XAFIZ2/gdbus/bus-unwatch-early/.dirs/system-config2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-unwatch-early/.dirs/config 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_XAFIZ2/gdbus/bus-unwatch-early/.dirs/system-data2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-unwatch-early/.dirs/data 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-unwatch-early/.dirs/state 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_XAFIZ2/gdbus/bus-unwatch-early/.dirs/runtime 1258s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1258s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s ok 9 /gdbus/bus-unwatch-early 1258s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/escape-object-path/.dirs/home 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/escape-object-path/.dirs/cache 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_XAFIZ2/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_XAFIZ2/gdbus/escape-object-path/.dirs/system-config2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/escape-object-path/.dirs/config 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_XAFIZ2/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_XAFIZ2/gdbus/escape-object-path/.dirs/system-data2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/escape-object-path/.dirs/data 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_XAFIZ2/gdbus/escape-object-path/.dirs/state 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_XAFIZ2/gdbus/escape-object-path/.dirs/runtime 1258s ok 10 /gdbus/escape-object-path 1258s # End of gdbus tests 1258s ok - glib/gdbus-names.test 1258s # Running test: glib/markup-subparser.test 1258s TAP version 14 1258s # random seed: R02S8320c48681c39e9ee24c97988dcfd249 1258s 1..14 1258s # Start of glib tests 1258s # Start of markup tests 1258s # Start of subparser tests 1258s # Start of success tests 1258s ok 1 /glib/markup/subparser/success/0 1258s ok 2 /glib/markup/subparser/success/1 1258s ok 3 /glib/markup/subparser/success/2 1258s ok 4 /glib/markup/subparser/success/3 1258s ok 5 /glib/markup/subparser/success/4 1258s ok 6 /glib/markup/subparser/success/5 1258s ok 7 /glib/markup/subparser/success/6 1258s # End of success tests 1258s # Start of failure tests 1258s ok 8 /glib/markup/subparser/failure/0 1258s ok 9 /glib/markup/subparser/failure/1 1258s ok 10 /glib/markup/subparser/failure/2 1258s ok 11 /glib/markup/subparser/failure/3 1258s ok 12 /glib/markup/subparser/failure/4 1258s ok 13 /glib/markup/subparser/failure/5 1258s ok 14 /glib/markup/subparser/failure/6 1258s # End of failure tests 1258s # End of subparser tests 1258s # End of markup tests 1258s # End of glib tests 1258s ok - glib/markup-subparser.test 1258s # Running test: glib/value.test 1258s TAP version 14 1258s # random seed: R02S3c7dc7c680372b32392c9769622d3342 1258s 1..9 1258s # Start of value tests 1258s ok 1 /value/basic 1258s ok 2 /value/collection 1258s ok 3 /value/copying 1258s ok 4 /value/enum-transformation 1258s ok 5 /value/gtype 1258s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 1258s ok 6 /value/string 1258s # Next: GObject object in GValue of GObject to GValue of GObject 1258s # Next: GObject object in GValue of GObject to GValue of TestInterface 1258s # Next: GObject object in GValue of GObject to GValue of TestObjectA 1258s # Next: GObject object in GValue of GObject to GValue of TestObjectB 1258s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 1258s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 1258s # Next: TestObjectA object in GValue of GObject to GValue of GObject 1258s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 1258s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 1258s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 1258s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 1258s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 1258s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 1258s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 1258s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 1258s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 1258s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 1258s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 1258s # Next: TestObjectB object in GValue of GObject to GValue of GObject 1258s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 1258s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 1258s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 1258s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 1258s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 1258s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 1258s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 1258s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 1258s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 1258s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 1258s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 1258s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 1258s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 1258s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 1258s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 1258s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 1258s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 1258s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 1258s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 1258s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 1258s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 1258s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 1258s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 1258s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 1258s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 1258s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 1258s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 1258s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 1258s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 1258s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 1258s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 1258s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 1258s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 1258s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 1258s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 1258s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 1258s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 1258s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 1258s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 1258s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 1258s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 1258s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 1258s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 1258s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 1258s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 1258s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 1258s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 1258s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 1258s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 1258s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 1258s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 1258s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 1258s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 1258s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 1258s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 1258s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 1258s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 1258s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 1258s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 1258s ok 7 /value/transform-object 1258s # Start of array tests 1258s ok 8 /value/array/basic 1258s ok 9 /value/array/sort-with-data 1258s # End of array tests 1258s # End of value tests 1258s ok - glib/value.test 1258s # Running test: glib/portal-support-flatpak-gsettings-only.test 1258s TAP version 14 1258s # random seed: R02S8bec121a9d10f80fb428e349eab0a414 1258s 1..1 1258s # Start of portal-support tests 1258s # Start of flatpak tests 1258s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_Y3XRZ2/portal-support/flatpak/gsettings/.dirs/home 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_Y3XRZ2/portal-support/flatpak/gsettings/.dirs/cache 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_Y3XRZ2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_Y3XRZ2/portal-support/flatpak/gsettings/.dirs/system-config2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_Y3XRZ2/portal-support/flatpak/gsettings/.dirs/config 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_Y3XRZ2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_Y3XRZ2/portal-support/flatpak/gsettings/.dirs/system-data2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_Y3XRZ2/portal-support/flatpak/gsettings/.dirs/data 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_Y3XRZ2/portal-support/flatpak/gsettings/.dirs/state 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_Y3XRZ2/portal-support/flatpak/gsettings/.dirs/runtime 1258s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_Y3XRZ2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 1258s ok 1 /portal-support/flatpak/gsettings 1258s # End of flatpak tests 1258s # End of portal-support tests 1258s ok - glib/portal-support-flatpak-gsettings-only.test 1258s # Running test: glib/gio-tool.py.test 1258s TAP version 13 1258s ok 1 __main__.TestGioTool.test_help 1258s # tmpdir: /tmp/tmppa93xatm 1258s # gio: /usr/bin/gio 1258s # Running: ['/usr/bin/gio', '--help'] 1258s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1258s # Output: Usage: 1258s # gio COMMAND [ARGS…] 1258s # 1258s # Commands: 1258s # help Print help 1258s # version Print version 1258s # cat Concatenate files to standard output 1258s # copy Copy one or more files 1258s # info Show information about locations 1258s # launch Launch an application from a desktop file 1258s # list List the contents of locations 1258s # mime Get or set the handler for a mimetype 1258s # mkdir Create directories 1258s # monitor Monitor files and directories for changes 1258s # mount Mount or unmount the locations 1258s # move Move one or more files 1258s # open Open files with the default application 1258s # rename Rename a file 1258s # remove Delete one or more files 1258s # save Read from standard input and save 1258s # set Set a file attribute 1258s # trash Move files or directories to the trash 1258s # tree Lists the contents of locations in a tree 1258s # 1258s # Use “gio help COMMAND†to get detailed help. 1258s # Running: ['/usr/bin/gio', 'help'] 1258s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1258s # Output: Usage: 1258s # gio COMMAND [ARGS…] 1258s # 1258s # Commands: 1258s # help Print help 1258s # version Print version 1258s # cat Concatenate files to standard output 1258s # copy Copy one or more files 1258s # info Show information about locations 1258s # launch Launch an application from a desktop file 1258s # list List the contents of locations 1258s # mime Get or set the handler for a mimetype 1258s # mkdir Create directories 1258s # monitor Monitor files and directories for changes 1258s # mount Mount or unmount the locations 1258s # move Move one or more files 1258s # open Open files with the default application 1258s # rename Rename a file 1258s # remove Delete one or more files 1258s # save Read from standard input and save 1258s # set Set a file attribute 1258s # trash Move files or directories to the trash 1258s # tree Lists the contents of locations in a tree 1258s # 1258s # Use “gio help COMMAND†to get detailed help. 1258s ok 2 __main__.TestGioTool.test_info_non_default_attributes 1258s # tmpdir: /tmp/tmpeu71onzc 1258s # gio: /usr/bin/gio 1258s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpeu71onzc/tmp1489rxco'] 1258s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1258s # Output: uri: file:///tmp/tmpeu71onzc/tmp1489rxco 1258s # local path: /tmp/tmpeu71onzc/tmp1489rxco 1258s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 1258s # attributes: 1258s # standard::content-type: application/x-zerosize 1258s ok 3 __main__.TestGioTool.test_no_args 1258s # tmpdir: /tmp/tmpwp3an7a6 1258s # gio: /usr/bin/gio 1258s # Running: ['/usr/bin/gio'] 1258s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1258s 1..3 1258s ok - glib/gio-tool.py.test 1258s # Running test: glib/onceinit.test 1258s TAP version 14 1258s # random seed: R02S68cea977c3c8e84ba58038123ca58126 1258s 1..1 1258s # Start of thread tests 1259s ok 1 /thread/onceinit 1259s # End of thread tests 1259s ok - glib/onceinit.test 1259s # Running test: glib/gdbus-connection-flush.test 1259s TAP version 14 1259s # random seed: R02Sc8b817915d6397a0c91e2492df37bf45 1259s 1..2 1259s # Start of gdbus tests 1259s # Start of connection tests 1259s # Start of flush tests 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_ZJ2NZ2/gdbus/connection/flush/busy/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_ZJ2NZ2/gdbus/connection/flush/busy/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_ZJ2NZ2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_ZJ2NZ2/gdbus/connection/flush/busy/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_ZJ2NZ2/gdbus/connection/flush/busy/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_ZJ2NZ2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_ZJ2NZ2/gdbus/connection/flush/busy/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_ZJ2NZ2/gdbus/connection/flush/busy/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_ZJ2NZ2/gdbus/connection/flush/busy/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_ZJ2NZ2/gdbus/connection/flush/busy/.dirs/runtime 1259s ok 1 /gdbus/connection/flush/busy 1259s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_ZJ2NZ2/gdbus/connection/flush/idle/.dirs/home 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_ZJ2NZ2/gdbus/connection/flush/idle/.dirs/cache 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_ZJ2NZ2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_ZJ2NZ2/gdbus/connection/flush/idle/.dirs/system-config2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_ZJ2NZ2/gdbus/connection/flush/idle/.dirs/config 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_ZJ2NZ2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_ZJ2NZ2/gdbus/connection/flush/idle/.dirs/system-data2 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_ZJ2NZ2/gdbus/connection/flush/idle/.dirs/data 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_ZJ2NZ2/gdbus/connection/flush/idle/.dirs/state 1259s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_ZJ2NZ2/gdbus/connection/flush/idle/.dirs/runtime 1259s ok 2 /gdbus/connection/flush/idle 1259s # End of flush tests 1259s # End of connection tests 1259s # End of gdbus tests 1259s ok - glib/gdbus-connection-flush.test 1259s # Running test: glib/signals-refcount3.test 1259s TAP version 14 1259s # random seed: R02Sc2ba8a4c5998b5c0ffca7282f2f9f804 1259s 1..1 1259s # Start of gobject tests 1259s # Start of refcount tests 1259s # init 0xac2816e59430 1259s # 1259s # init 0xac2816e595d0 1259s # 1263s # Executing: glib/signals-refcount3.test 1264s # dispose 0xac2816e59430! 1264s # 1264s # dispose 0xac2816e595d0! 1264s # 1264s ok 1 /gobject/refcount/signals 1264s # slow test /gobject/refcount/signals executed in 5.00 secs 1264s # End of refcount tests 1264s # End of gobject tests 1264s ok - glib/signals-refcount3.test 1264s # Running test: glib/slist.test 1264s TAP version 14 1264s # random seed: R02Se008a8ba010aa7248e8153c0b069c8c8 1264s 1..14 1264s # Start of slist tests 1264s ok 1 /slist/sort 1264s ok 2 /slist/sort-with-data 1264s ok 3 /slist/insert-sorted 1264s ok 4 /slist/insert-sorted-with-data 1264s ok 5 /slist/reverse 1264s ok 6 /slist/nth 1264s ok 7 /slist/remove 1264s ok 8 /slist/remove-all 1264s ok 9 /slist/insert 1264s ok 10 /slist/position 1264s ok 11 /slist/concat 1264s ok 12 /slist/copy 1264s # Start of sort tests 1264s ok 13 /slist/sort/stable 1264s # End of sort tests 1264s # Start of copy tests 1264s ok 14 /slist/copy/deep 1264s # End of copy tests 1264s # End of slist tests 1264s ok - glib/slist.test 1264s # Running test: glib/types.test 1264s TAP version 14 1264s # random seed: R02Sbfcbbc7452096f2cb06178ac25f9284d 1264s 1..1 1264s # Start of types tests 1264s ok 1 /types/basic_types 1264s # End of types tests 1264s ok - glib/types.test 1264s # Running test: glib/gdbus-proxy.test 1264s TAP version 14 1264s # random seed: R02Sb06c282ec9235571a14835940eba1788 1264s 1..5 1264s # Start of gdbus tests 1264s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/.dirs/home 1264s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/.dirs/cache 1264s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/.dirs/system-config2 1264s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/.dirs/config 1264s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/.dirs/system-data2 1264s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/.dirs/data 1264s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/.dirs/state 1264s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/.dirs/runtime 1264s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s ok 1 /gdbus/proxy 1265s # slow test /gdbus/proxy executed in 1.73 secs 1265s # Start of proxy tests 1265s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/no-properties/.dirs/home 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/no-properties/.dirs/cache 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/no-properties/.dirs/system-config2 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/no-properties/.dirs/config 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/no-properties/.dirs/system-data2 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/no-properties/.dirs/data 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/no-properties/.dirs/state 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/no-properties/.dirs/runtime 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s ok 2 /gdbus/proxy/no-properties 1265s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/wellknown-noauto/.dirs/home 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/wellknown-noauto/.dirs/cache 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/wellknown-noauto/.dirs/system-config2 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/wellknown-noauto/.dirs/config 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/wellknown-noauto/.dirs/system-data2 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/wellknown-noauto/.dirs/data 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/wellknown-noauto/.dirs/state 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/wellknown-noauto/.dirs/runtime 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1265s ok 3 /gdbus/proxy/wellknown-noauto 1265s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/async/.dirs/home 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/async/.dirs/cache 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/async/.dirs/system-config2 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/async/.dirs/config 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/async/.dirs/system-data2 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/async/.dirs/data 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/async/.dirs/state 1265s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/async/.dirs/runtime 1265s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1267s ok 4 /gdbus/proxy/async 1267s # slow test /gdbus/proxy/async executed in 1.73 secs 1267s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/no-match-rule/.dirs/home 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/no-match-rule/.dirs/cache 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/no-match-rule/.dirs/system-config2 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/no-match-rule/.dirs/config 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/no-match-rule/.dirs/system-data2 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/no-match-rule/.dirs/data 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/no-match-rule/.dirs/state 1267s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_B2MYZ2/gdbus/proxy/no-match-rule/.dirs/runtime 1267s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 1267s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 1267s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1268s # Executing: glib/gdbus-proxy.test 1269s ok 5 /gdbus/proxy/no-match-rule 1269s # slow test /gdbus/proxy/no-match-rule executed in 1.73 secs 1269s # End of proxy tests 1269s # End of gdbus tests 1269s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1269s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1269s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1269s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1269s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1269s ok - glib/gdbus-proxy.test 1269s # Running test: glib/power-profile-monitor.test 1269s TAP version 14 1269s # random seed: R02S7557f6db2f45368018c5631c94d58c68 1269s 1..1 1269s # Start of power-profile-monitor tests 1269s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 1269s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 1269s ok 1 /power-profile-monitor/default 1269s # End of power-profile-monitor tests 1269s ok - glib/power-profile-monitor.test 1269s # Running test: glib/dir.test 1269s TAP version 14 1269s # random seed: R02Sd195a7b717017748f75436832ef090da 1269s 1..3 1269s # Start of dir tests 1269s ok 1 /dir/read 1269s ok 2 /dir/nonexisting 1269s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 1269s ok 3 /dir/refcounting 1269s # End of dir tests 1269s ok - glib/dir.test 1269s # Running test: glib/network-monitor-race.test 1269s TAP version 14 1269s # random seed: R02S4b839a7a41b5393389a97e49728f2245 1269s 1..1 1269s # Start of network-monitor tests 1269s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 1271s ok 1 /network-monitor/create-in-thread 1271s # slow test /network-monitor/create-in-thread executed in 2.16 secs 1271s # End of network-monitor tests 1271s ok - glib/network-monitor-race.test 1271s # Running test: glib/rcbox.test 1271s TAP version 14 1271s # random seed: R02S98e2e8a142f72a2203e99295b26922d3 1271s 1..8 1271s # Start of rcbox tests 1271s ok 1 /rcbox/new 1271s # global_point = 0xaf992568d8d0 1271s ok 2 /rcbox/release-full 1271s # global_point_a = 0xaf992568d8d0 1271s # global_point_b = 0xaf992568d890 1271s ok 3 /rcbox/dup 1271s ok 4 /rcbox/alignment 1271s # End of rcbox tests 1271s # Start of atomic-rcbox tests 1271s ok 5 /atomic-rcbox/new 1271s # global_point = 0xaf992568daa0 1271s ok 6 /atomic-rcbox/release-full 1271s # global_point_a = 0xaf992568daa0 1271s # global_point_b = 0xaf992568da60 1271s ok 7 /atomic-rcbox/dup 1271s ok 8 /atomic-rcbox/alignment 1271s # End of atomic-rcbox tests 1271s ok - glib/rcbox.test 1271s # Running test: glib/volumemonitor.test 1271s TAP version 14 1271s # random seed: R02Sc66042bfff5cb0678b68d89ca4dd7a84 1271s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1271s 1..3 1271s # Start of volumemonitor tests 1271s ok 1 /volumemonitor/connected_drives 1271s ok 2 /volumemonitor/volumes 1271s ok 3 /volumemonitor/mounts 1271s # End of volumemonitor tests 1271s ok - glib/volumemonitor.test 1271s # Running test: glib/genmarshal.py.test 1271s TAP version 13 1271s ok 1 __main__.TestGenmarshal.test_empty_list 1271s # tmpdir: /tmp/tmpkmempmog 1271s # genmarshal: /usr/bin/glib-genmarshal 1271s # /tmp/tmpkmempmog/tmpa67izfzy.list: 1271s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpkmempmog/tmpa67izfzy.list', '--header', '--quiet'] 1271s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1271s # 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. */ 1271s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1271s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1271s # 1271s # #include 1271s # 1271s # G_BEGIN_DECLS 1271s # 1271s # 1271s # G_END_DECLS 1271s # 1271s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1271s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpkmempmog/tmpa67izfzy.list', '--body', '--quiet'] 1271s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1271s # 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. */ 1271s # #include 1271s # 1271s # #ifdef G_ENABLE_DEBUG 1271s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1271s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1271s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1271s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1271s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1271s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1271s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1271s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1271s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1271s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1271s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1271s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1271s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1271s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1271s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1271s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1271s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1271s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1271s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1271s # #else /* !G_ENABLE_DEBUG */ 1271s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1271s # * Do not access GValues directly in your code. Instead, use the 1271s # * g_value_get_*() functions 1271s # */ 1271s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1271s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1271s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1271s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1271s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1271s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1271s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1271s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1271s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1271s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1271s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1271s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1271s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1271s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1271s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1271s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1271s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1271s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1271s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1271s # #endif /* !G_ENABLE_DEBUG */ 1271s ok 2 __main__.TestGenmarshal.test_help 1271s # tmpdir: /tmp/tmpmn9itrhw 1271s # genmarshal: /usr/bin/glib-genmarshal 1271s # Running: ['/usr/bin/glib-genmarshal', '--help'] 1271s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1271s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 1271s # [--internal] [--valist-marshallers] [-v] 1271s # [--g-fatal-warnings] [--include-header [HEADER]] 1271s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 1271s # [--prototypes] [--header] [--body] 1271s # [--stdinc | --nostdinc] [--quiet | --verbose] 1271s # [FILE ...] 1271s # 1271s # Generate signal marshallers for GObject 1271s # 1271s # positional arguments: 1271s # FILE Files with lists of marshallers to generate, or "-" 1271s # for standard input 1271s # 1271s # options: 1271s # -h, --help show this help message and exit 1271s # --prefix STRING Specify marshaller prefix 1271s # --output FILE Write output into the specified file 1271s # --skip-source Skip source location comments 1271s # --internal Mark generated functions as internal 1271s # --valist-marshallers Generate va_list marshallers 1271s # -v, --version Print version information, and exit 1271s # --g-fatal-warnings Make warnings fatal 1271s # --include-header [HEADER] 1271s # Include the specified header in the body 1271s # --pragma-once Use "pragma once" as the inclusion guard 1271s # -D CPP_DEFINES Pre-processor define 1271s # -U CPP_UNDEFINES Pre-processor undefine 1271s # --prototypes Generate the marshallers prototype in the C code 1271s # --header Generate C headers 1271s # --body Generate C code 1271s # --stdinc Include standard marshallers 1271s # --nostdinc Use standard marshallers 1271s # --quiet Only print warnings and errors 1271s # --verbose Be verbose, and include debugging information 1271s ok 3 __main__.TestGenmarshal.test_no_args 1271s # tmpdir: /tmp/tmps0_fqrpi 1271s # genmarshal: /usr/bin/glib-genmarshal 1271s # Running: ['/usr/bin/glib-genmarshal'] 1271s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1271s # Output: 1271s ok 4 __main__.TestGenmarshal.test_void_boolean 1271s # tmpdir: /tmp/tmpsbkpthgt 1271s # genmarshal: /usr/bin/glib-genmarshal 1271s # /tmp/tmpsbkpthgt/tmpy24mclhj.list: VOID:BOOLEAN 1271s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpsbkpthgt/tmpy24mclhj.list', '--header', '--quiet'] 1271s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1271s # 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. */ 1271s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1271s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1271s # 1271s # #include 1271s # 1271s # G_BEGIN_DECLS 1271s # 1271s # /* VOID:BOOLEAN (/tmp/tmpsbkpthgt/tmpy24mclhj.list:1) */ 1271s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 1271s # 1271s # 1271s # G_END_DECLS 1271s # 1271s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1271s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpsbkpthgt/tmpy24mclhj.list', '--body', '--quiet'] 1271s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1271s # 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. */ 1271s # #include 1271s # 1271s # #ifdef G_ENABLE_DEBUG 1271s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1271s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1271s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1271s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1271s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1271s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1271s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1271s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1271s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1271s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1271s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1271s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1271s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1271s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1271s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1271s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1271s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1271s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1271s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1271s # #else /* !G_ENABLE_DEBUG */ 1271s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1271s # * Do not access GValues directly in your code. Instead, use the 1271s # * g_value_get_*() functions 1271s # */ 1271s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1271s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1271s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1271s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1271s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1271s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1271s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1271s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1271s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1271s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1271s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1271s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1271s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1271s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1271s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1271s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1271s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1271s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1271s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1271s # #endif /* !G_ENABLE_DEBUG */ 1271s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 1271s # tmpdir: /tmp/tmpf7mwxq2j 1271s # genmarshal: /usr/bin/glib-genmarshal 1271s # /tmp/tmpf7mwxq2j/tmp9_9ou3id.list: VOID:BOOLEAN,INT64 1271s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpf7mwxq2j/tmp9_9ou3id.list', '--header', '--quiet'] 1271s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1271s # 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. */ 1271s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1271s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1271s # 1271s # #include 1271s # 1271s # G_BEGIN_DECLS 1271s # 1271s # /* VOID:BOOLEAN,INT64 (/tmp/tmpf7mwxq2j/tmp9_9ou3id.list:1) */ 1271s # extern 1271s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1271s # GValue *return_value, 1271s # guint n_param_values, 1271s # const GValue *param_values, 1271s # gpointer invocation_hint, 1271s # gpointer marshal_data); 1271s # 1271s # 1271s # G_END_DECLS 1271s # 1271s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1271s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpf7mwxq2j/tmp9_9ou3id.list', '--body', '--quiet'] 1271s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1271s # 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. */ 1271s # #include 1271s # 1271s # #ifdef G_ENABLE_DEBUG 1271s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1271s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1271s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1271s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1271s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1271s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1271s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1271s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1271s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1271s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1271s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1271s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1271s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1271s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1271s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1271s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1271s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1271s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1271s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1271s # #else /* !G_ENABLE_DEBUG */ 1271s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1271s # * Do not access GValues directly in your code. Instead, use the 1271s # * g_value_get_*() functions 1271s # */ 1271s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1271s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1271s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1271s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1271s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1271s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1271s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1271s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1271s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1271s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1271s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1271s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1271s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1271s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1271s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1271s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1271s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1271s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1271s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1271s # #endif /* !G_ENABLE_DEBUG */ 1271s # 1271s # /* VOID:BOOLEAN,INT64 (/tmp/tmpf7mwxq2j/tmp9_9ou3id.list:1) */ 1271s # void 1271s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1271s # GValue *return_value G_GNUC_UNUSED, 1271s # guint n_param_values, 1271s # const GValue *param_values, 1271s # gpointer invocation_hint G_GNUC_UNUSED, 1271s # gpointer marshal_data) 1271s # { 1271s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 1271s # gboolean arg1, 1271s # gint64 arg2, 1271s # gpointer data2); 1271s # GCClosure *cc = (GCClosure *) closure; 1271s # gpointer data1, data2; 1271s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 1271s # 1271s # g_return_if_fail (n_param_values == 3); 1271s # 1271s # if (G_CCLOSURE_SWAP_DATA (closure)) 1271s # { 1271s # data1 = closure->data; 1271s # data2 = g_value_peek_pointer (param_values + 0); 1271s # } 1271s # else 1271s # { 1271s # data1 = g_value_peek_pointer (param_values + 0); 1271s # data2 = closure->data; 1271s # } 1271s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 1271s # 1271s # callback (data1, 1271s # g_marshal_value_peek_boolean (param_values + 1), 1271s # g_marshal_value_peek_int64 (param_values + 2), 1271s # data2); 1271s # } 1271s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 1271s # tmpdir: /tmp/tmpwaxzswpx 1271s # genmarshal: /usr/bin/glib-genmarshal 1271s # /tmp/tmpwaxzswpx/tmpu6fmwk30.list: VOID:PARAM 1271s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpwaxzswpx/tmpu6fmwk30.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1271s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1271s # 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. */ 1271s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1271s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1271s # 1271s # G_BEGIN_DECLS 1271s # 1271s # /* VOID:PARAM (/tmp/tmpwaxzswpx/tmpu6fmwk30.list:1) */ 1271s # extern 1271s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1271s # GValue *return_value, 1271s # guint n_param_values, 1271s # const GValue *param_values, 1271s # gpointer invocation_hint, 1271s # gpointer marshal_data); 1271s # extern 1271s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1271s # GValue *return_value, 1271s # gpointer instance, 1271s # va_list args, 1271s # gpointer marshal_data, 1271s # int n_params, 1271s # GType *param_types); 1271s # 1271s # 1271s # G_END_DECLS 1271s # 1271s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1271s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpwaxzswpx/tmpu6fmwk30.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1271s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1271s # 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. */ 1271s # #ifdef G_ENABLE_DEBUG 1271s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1271s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1271s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1271s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1271s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1271s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1271s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1271s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1271s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1271s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1271s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1271s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1271s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1271s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1271s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1271s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1271s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1271s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1271s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1271s # #else /* !G_ENABLE_DEBUG */ 1271s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1271s # * Do not access GValues directly in your code. Instead, use the 1271s # * g_value_get_*() functions 1271s # */ 1271s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1271s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1271s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1271s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1271s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1271s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1271s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1271s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1271s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1271s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1271s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1271s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1271s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1271s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1271s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1271s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1271s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1271s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1271s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1271s # #endif /* !G_ENABLE_DEBUG */ 1271s # 1271s # /* VOID:PARAM (/tmp/tmpwaxzswpx/tmpu6fmwk30.list:1) */ 1271s # void 1271s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1271s # GValue *return_value G_GNUC_UNUSED, 1271s # guint n_param_values, 1271s # const GValue *param_values, 1271s # gpointer invocation_hint G_GNUC_UNUSED, 1271s # gpointer marshal_data) 1271s # { 1271s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1271s # gpointer arg1, 1271s # gpointer data2); 1271s # GCClosure *cc = (GCClosure *) closure; 1271s # gpointer data1, data2; 1271s # GMarshalFunc_VOID__PARAM callback; 1271s # 1271s # g_return_if_fail (n_param_values == 2); 1271s # 1271s # if (G_CCLOSURE_SWAP_DATA (closure)) 1271s # { 1271s # data1 = closure->data; 1271s # data2 = g_value_peek_pointer (param_values + 0); 1271s # } 1271s # else 1271s # { 1271s # data1 = g_value_peek_pointer (param_values + 0); 1271s # data2 = closure->data; 1271s # } 1271s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1271s # 1271s # callback (data1, 1271s # g_marshal_value_peek_param (param_values + 1), 1271s # data2); 1271s # } 1271s # 1271s # void 1271s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1271s # GValue *return_value G_GNUC_UNUSED, 1271s # gpointer instance, 1271s # va_list args, 1271s # gpointer marshal_data, 1271s # int n_params, 1271s # GType *param_types) 1271s # { 1271s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1271s # gpointer arg1, 1271s # gpointer data2); 1271s # GCClosure *cc = (GCClosure *) closure; 1271s # gpointer data1, data2; 1271s # GMarshalFunc_VOID__PARAM callback; 1271s # gpointer arg0; 1271s # va_list args_copy; 1271s # 1271s # va_copy (args_copy, args); 1271s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1271s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1271s # arg0 = g_param_spec_ref (arg0); 1271s # va_end (args_copy); 1271s # 1271s # 1271s # if (G_CCLOSURE_SWAP_DATA (closure)) 1271s # { 1271s # data1 = closure->data; 1271s # data2 = instance; 1271s # } 1271s # else 1271s # { 1271s # data1 = instance; 1271s # data2 = closure->data; 1271s # } 1271s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1271s # 1271s # callback (data1, 1271s # arg0, 1271s # data2); 1271s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1271s # g_param_spec_unref (arg0); 1271s # } 1272s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 1272s # tmpdir: /tmp/tmp36cux9zx 1272s # genmarshal: /usr/bin/glib-genmarshal 1272s # /tmp/tmp36cux9zx/tmpr5fa2qcd.list: VOID:STRING 1272s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp36cux9zx/tmpr5fa2qcd.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1272s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1272s # 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. */ 1272s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1272s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1272s # 1272s # G_BEGIN_DECLS 1272s # 1272s # /* VOID:STRING (/tmp/tmp36cux9zx/tmpr5fa2qcd.list:1) */ 1272s # extern 1272s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1272s # GValue *return_value, 1272s # guint n_param_values, 1272s # const GValue *param_values, 1272s # gpointer invocation_hint, 1272s # gpointer marshal_data); 1272s # extern 1272s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1272s # GValue *return_value, 1272s # gpointer instance, 1272s # va_list args, 1272s # gpointer marshal_data, 1272s # int n_params, 1272s # GType *param_types); 1272s # 1272s # 1272s # G_END_DECLS 1272s # 1272s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1272s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp36cux9zx/tmpr5fa2qcd.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1272s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1272s # 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. */ 1272s # #ifdef G_ENABLE_DEBUG 1272s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1272s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1272s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1272s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1272s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1272s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1272s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1272s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1272s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1272s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1272s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1272s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1272s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1272s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1272s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1272s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1272s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1272s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1272s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1272s # #else /* !G_ENABLE_DEBUG */ 1272s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1272s # * Do not access GValues directly in your code. Instead, use the 1272s # * g_value_get_*() functions 1272s # */ 1272s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1272s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1272s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1272s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1272s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1272s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1272s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1272s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1272s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1272s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1272s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1272s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1272s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1272s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1272s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1272s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1272s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1272s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1272s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1272s # #endif /* !G_ENABLE_DEBUG */ 1272s # 1272s # /* VOID:STRING (/tmp/tmp36cux9zx/tmpr5fa2qcd.list:1) */ 1272s # void 1272s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1272s # GValue *return_value G_GNUC_UNUSED, 1272s # guint n_param_values, 1272s # const GValue *param_values, 1272s # gpointer invocation_hint G_GNUC_UNUSED, 1272s # gpointer marshal_data) 1272s # { 1272s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1272s # gpointer arg1, 1272s # gpointer data2); 1272s # GCClosure *cc = (GCClosure *) closure; 1272s # gpointer data1, data2; 1272s # GMarshalFunc_VOID__STRING callback; 1272s # 1272s # g_return_if_fail (n_param_values == 2); 1272s # 1272s # if (G_CCLOSURE_SWAP_DATA (closure)) 1272s # { 1272s # data1 = closure->data; 1272s # data2 = g_value_peek_pointer (param_values + 0); 1272s # } 1272s # else 1272s # { 1272s # data1 = g_value_peek_pointer (param_values + 0); 1272s # data2 = closure->data; 1272s # } 1272s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1272s # 1272s # callback (data1, 1272s # g_marshal_value_peek_string (param_values + 1), 1272s # data2); 1272s # } 1272s # 1272s # void 1272s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1272s # GValue *return_value G_GNUC_UNUSED, 1272s # gpointer instance, 1272s # va_list args, 1272s # gpointer marshal_data, 1272s # int n_params, 1272s # GType *param_types) 1272s # { 1272s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1272s # gpointer arg1, 1272s # gpointer data2); 1272s # GCClosure *cc = (GCClosure *) closure; 1272s # gpointer data1, data2; 1272s # GMarshalFunc_VOID__STRING callback; 1272s # gpointer arg0; 1272s # va_list args_copy; 1272s # 1272s # va_copy (args_copy, args); 1272s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1272s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1272s # arg0 = g_strdup (arg0); 1272s # va_end (args_copy); 1272s # 1272s # 1272s # if (G_CCLOSURE_SWAP_DATA (closure)) 1272s # { 1272s # data1 = closure->data; 1272s # data2 = instance; 1272s # } 1272s # else 1272s # { 1272s # data1 = instance; 1272s # data2 = closure->data; 1272s # } 1272s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1272s # 1272s # callback (data1, 1272s # arg0, 1272s # data2); 1272s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1272s # g_free (arg0); 1272s # } 1272s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 1272s # tmpdir: /tmp/tmp_mec5fg5 1272s # genmarshal: /usr/bin/glib-genmarshal 1272s # /tmp/tmp_mec5fg5/tmp129a2esu.list: VOID:VARIANT 1272s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp_mec5fg5/tmp129a2esu.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1272s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1272s # 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. */ 1272s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1272s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1272s # 1272s # G_BEGIN_DECLS 1272s # 1272s # /* VOID:VARIANT (/tmp/tmp_mec5fg5/tmp129a2esu.list:1) */ 1272s # extern 1272s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1272s # GValue *return_value, 1272s # guint n_param_values, 1272s # const GValue *param_values, 1272s # gpointer invocation_hint, 1272s # gpointer marshal_data); 1272s # extern 1272s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1272s # GValue *return_value, 1272s # gpointer instance, 1272s # va_list args, 1272s # gpointer marshal_data, 1272s # int n_params, 1272s # GType *param_types); 1272s # 1272s # 1272s # G_END_DECLS 1272s # 1272s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1272s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp_mec5fg5/tmp129a2esu.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1272s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.7-3ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'arm64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-m1Eeq7MJcw,guid=caf6ba58666ce7ce88a548d7677b6dc7', 'AUTOPKGTEST_TESTBED_ARCH': 'arm64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.bJtNpb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.rUNxmdMWEW', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.TF7NpM/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.bJtNpb/wrapper.sh --artifacts=/tmp/autopkgtest.bJtNpb/installed-tests-artifacts --chdir=/tmp/autopkgtest.bJtNpb/build.D3s/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.bJtNpb/installed-tests-stderr --stdout=/tmp/autopkgtest.bJtNpb/installed-tests-stdout --tmp=/tmp/autopkgtest.bJtNpb/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.7-3ubuntu2 --make-executable=/tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests -- /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.bJtNpb/build.D3s/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.bJtNpb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1272s # 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. */ 1272s # #ifdef G_ENABLE_DEBUG 1272s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1272s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1272s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1272s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1272s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1272s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1272s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1272s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1272s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1272s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1272s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1272s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1272s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1272s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1272s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1272s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1272s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1272s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1272s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1272s # #else /* !G_ENABLE_DEBUG */ 1272s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1272s # * Do not access GValues directly in your code. Instead, use the 1272s # * g_value_get_*() functions 1272s # */ 1272s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1272s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1272s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1272s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1272s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1272s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1272s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1272s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1272s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1272s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1272s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1272s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1272s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1272s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1272s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1272s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1272s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1272s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1272s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1272s # #endif /* !G_ENABLE_DEBUG */ 1272s # 1272s # /* VOID:VARIANT (/tmp/tmp_mec5fg5/tmp129a2esu.list:1) */ 1272s # void 1272s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1272s # GValue *return_value G_GNUC_UNUSED, 1272s # guint n_param_values, 1272s # const GValue *param_values, 1272s # gpointer invocation_hint G_GNUC_UNUSED, 1272s # gpointer marshal_data) 1272s # { 1272s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1272s # gpointer arg1, 1272s # gpointer data2); 1272s # GCClosure *cc = (GCClosure *) closure; 1272s # gpointer data1, data2; 1272s # GMarshalFunc_VOID__VARIANT callback; 1272s # 1272s # g_return_if_fail (n_param_values == 2); 1272s # 1272s # if (G_CCLOSURE_SWAP_DATA (closure)) 1272s # { 1272s # data1 = closure->data; 1272s # data2 = g_value_peek_pointer (param_values + 0); 1272s # } 1272s # else 1272s # { 1272s # data1 = g_value_peek_pointer (param_values + 0); 1272s # data2 = closure->data; 1272s # } 1272s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1272s # 1272s # callback (data1, 1272s # g_marshal_value_peek_variant (param_values + 1), 1272s # data2); 1272s # } 1272s # 1272s # void 1272s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1272s # GValue *return_value G_GNUC_UNUSED, 1272s # gpointer instance, 1272s # va_list args, 1272s # gpointer marshal_data, 1272s # int n_params, 1272s # GType *param_types) 1272s # { 1272s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1272s # gpointer arg1, 1272s # gpointer data2); 1272s # GCClosure *cc = (GCClosure *) closure; 1272s # gpointer data1, data2; 1272s # GMarshalFunc_VOID__VARIANT callback; 1272s # gpointer arg0; 1272s # va_list args_copy; 1272s # 1272s # va_copy (args_copy, args); 1272s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1272s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1272s # arg0 = g_variant_ref_sink (arg0); 1272s # va_end (args_copy); 1272s # 1272s # 1272s # if (G_CCLOSURE_SWAP_DATA (closure)) 1272s # { 1272s # data1 = closure->data; 1272s # data2 = instance; 1272s # } 1272s # else 1272s # { 1272s # data1 = instance; 1272s # data2 = closure->data; 1272s # } 1272s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1272s # 1272s # callback (data1, 1272s # arg0, 1272s # data2); 1272s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1272s # g_variant_unref (arg0); 1272s # } 1272s 1..8 1272s ok - glib/genmarshal.py.test 1272s # Running test: glib/dbus-appinfo.test 1272s TAP version 14 1272s # random seed: R02S41567e4035716182769b0b5b17943381 1272s 1..3 1272s # Start of appinfo tests 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1272s ok 1 /appinfo/dbusappinfo 1272s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1272s dbus-daemon[13686]: [session uid=1000 pid=13686] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=13685 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 1272s # Acquired a message bus connection 1272s dbus-daemon[13686]: [session uid=1000 pid=13686] Successfully activated service 'org.freedesktop.portal.Documents' 1272s # Acquired the name org.freedesktop.portal.Documents 1272s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 1272s ok 2 /appinfo/flatpak-doc-export 1272s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 1272s ok 3 /appinfo/flatpak-missing-doc-export 1272s # End of appinfo tests 1272s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1272s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1272s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1272s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1272s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1272s # Lost the name org.freedesktop.portal.Documents 1272s ok - glib/dbus-appinfo.test 1272s # Running test: glib/gdbus-export.test 1272s TAP version 14 1272s # random seed: R02S973b2e042a5feb8b143d3d00204cfab5 1272s 1..6 1272s # Start of gdbus tests 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_LRPUZ2/gdbus/object-registration/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_LRPUZ2/gdbus/object-registration/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_LRPUZ2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_LRPUZ2/gdbus/object-registration/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_LRPUZ2/gdbus/object-registration/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_LRPUZ2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_LRPUZ2/gdbus/object-registration/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_LRPUZ2/gdbus/object-registration/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_LRPUZ2/gdbus/object-registration/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_LRPUZ2/gdbus/object-registration/.dirs/runtime 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s ok 1 /gdbus/object-registration 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_LRPUZ2/gdbus/object-registration-with-closures/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_LRPUZ2/gdbus/object-registration-with-closures/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_LRPUZ2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_LRPUZ2/gdbus/object-registration-with-closures/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_LRPUZ2/gdbus/object-registration-with-closures/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_LRPUZ2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_LRPUZ2/gdbus/object-registration-with-closures/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_LRPUZ2/gdbus/object-registration-with-closures/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_LRPUZ2/gdbus/object-registration-with-closures/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_LRPUZ2/gdbus/object-registration-with-closures/.dirs/runtime 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s ok 2 /gdbus/object-registration-with-closures 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_LRPUZ2/gdbus/registered-interfaces/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_LRPUZ2/gdbus/registered-interfaces/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_LRPUZ2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_LRPUZ2/gdbus/registered-interfaces/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_LRPUZ2/gdbus/registered-interfaces/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_LRPUZ2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_LRPUZ2/gdbus/registered-interfaces/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_LRPUZ2/gdbus/registered-interfaces/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_LRPUZ2/gdbus/registered-interfaces/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_LRPUZ2/gdbus/registered-interfaces/.dirs/runtime 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s ok 3 /gdbus/registered-interfaces 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_LRPUZ2/gdbus/async-properties/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_LRPUZ2/gdbus/async-properties/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_LRPUZ2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_LRPUZ2/gdbus/async-properties/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_LRPUZ2/gdbus/async-properties/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_LRPUZ2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_LRPUZ2/gdbus/async-properties/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_LRPUZ2/gdbus/async-properties/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_LRPUZ2/gdbus/async-properties/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_LRPUZ2/gdbus/async-properties/.dirs/runtime 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s ok 4 /gdbus/async-properties 1272s # Start of threaded-unregistration tests 1272s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_LRPUZ2/gdbus/threaded-unregistration/object/.dirs/home 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_LRPUZ2/gdbus/threaded-unregistration/object/.dirs/cache 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_LRPUZ2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_LRPUZ2/gdbus/threaded-unregistration/object/.dirs/system-config2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_LRPUZ2/gdbus/threaded-unregistration/object/.dirs/config 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_LRPUZ2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_LRPUZ2/gdbus/threaded-unregistration/object/.dirs/system-data2 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_LRPUZ2/gdbus/threaded-unregistration/object/.dirs/data 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_LRPUZ2/gdbus/threaded-unregistration/object/.dirs/state 1272s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_LRPUZ2/gdbus/threaded-unregistration/object/.dirs/runtime 1272s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1272s # /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 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1272s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # Executing: glib/gdbus-export.test 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (2 iterations with unregistration first, 998 with call first); skipping test 1273s # slow test /gdbus/threaded-unregistration/object executed in 1.29 secs 1273s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_LRPUZ2/gdbus/threaded-unregistration/subtree/.dirs/home 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_LRPUZ2/gdbus/threaded-unregistration/subtree/.dirs/cache 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_LRPUZ2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_LRPUZ2/gdbus/threaded-unregistration/subtree/.dirs/system-config2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_LRPUZ2/gdbus/threaded-unregistration/subtree/.dirs/config 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_LRPUZ2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_LRPUZ2/gdbus/threaded-unregistration/subtree/.dirs/system-data2 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_LRPUZ2/gdbus/threaded-unregistration/subtree/.dirs/data 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_LRPUZ2/gdbus/threaded-unregistration/subtree/.dirs/state 1273s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_LRPUZ2/gdbus/threaded-unregistration/subtree/.dirs/runtime 1273s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1273s # /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 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1273s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (5 iterations with unregistration first, 995 with call first); skipping test 1274s # slow test /gdbus/threaded-unregistration/subtree executed in 1.28 secs 1274s # End of threaded-unregistration tests 1274s # End of gdbus tests 1274s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1274s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1274s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1274s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1274s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1274s cleaning up pid 13701 1274s ok - glib/gdbus-export.test 1274s # Running test: glib/cxx-98.test 1274s TAP version 14 1274s # random seed: R02S5c6df8dffaf8c2889ffed7a04bc3572a 1274s 1..2 1274s # Start of gtask tests 1274s # 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. 1274s ok 1 /gtask/name 1274s # Start of name tests 1274s # 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. 1274s ok 2 /gtask/name/macro-wrapper 1274s # End of name tests 1274s # End of gtask tests 1274s ok - glib/cxx-98.test 1274s # Running test: glib/custom-dispatch.test 1274s TAP version 14 1274s # random seed: R02S951ae36857423d8d49176a9ac9881273 1274s 1..2 1274s # Start of properties tests 1274s # Start of custom-dispatch tests 1274s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 1274s ok 1 /properties/custom-dispatch/init 1274s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 1274s ok 2 /properties/custom-dispatch/set 1274s # End of custom-dispatch tests 1274s # End of properties tests 1274s ok - glib/custom-dispatch.test 1274s # Running test: glib/deprecated-properties.test 1274s TAP version 14 1274s # random seed: R02S0bfbe11bc79d4a6541239d2aa36b2aa3 1274s 1..3 1274s # Start of deprecated-properties tests 1274s ok 1 /deprecated-properties/construct 1274s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1274s ok 2 /deprecated-properties/default-construct 1274s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1274s ok 3 /deprecated-properties/set 1274s # End of deprecated-properties tests 1274s ok - glib/deprecated-properties.test 1274s # Running test: glib/portal-support-flatpak-none.test 1274s TAP version 14 1274s # random seed: R02Sfdd2ab221d0ed4e52efbcb5ea6fb7c9a 1274s 1..1 1274s # Start of portal-support tests 1274s # Start of flatpak tests 1274s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_YABSZ2/portal-support/flatpak/none/.dirs/home 1274s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_YABSZ2/portal-support/flatpak/none/.dirs/cache 1274s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_YABSZ2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_YABSZ2/portal-support/flatpak/none/.dirs/system-config2 1274s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_YABSZ2/portal-support/flatpak/none/.dirs/config 1274s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_YABSZ2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_YABSZ2/portal-support/flatpak/none/.dirs/system-data2 1274s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_YABSZ2/portal-support/flatpak/none/.dirs/data 1274s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_YABSZ2/portal-support/flatpak/none/.dirs/state 1274s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_YABSZ2/portal-support/flatpak/none/.dirs/runtime 1274s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_YABSZ2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 1274s ok 1 /portal-support/flatpak/none 1274s # End of flatpak tests 1274s # End of portal-support tests 1274s ok - glib/portal-support-flatpak-none.test 1274s # SUMMARY: total=319; passed=318; skipped=1; failed=0; user=187.8s; system=75.5s; maxrss=151216 1275s autopkgtest [05:51:16]: test installed-tests: -----------------------] 1276s autopkgtest [05:51:17]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1276s installed-tests PASS 1276s autopkgtest [05:51:17]: test closure-refcount: preparing testbed 1276s Reading package lists... 1277s Building dependency tree... 1277s Reading state information... 1277s Starting pkgProblemResolver with broken count: 0 1277s Starting 2 pkgProblemResolver with broken count: 0 1277s Done 1278s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1279s autopkgtest [05:51:20]: test closure-refcount: [----------------------- 1279s Running test: glib/closure-refcount.test 1279s TAP version 14 1279s # random seed: R02S99f03ace169ba88575c6f3e791e83b36 1279s 1..1 1279s # Start of closure tests 1279s ok 1 /closure/refcount # SKIP Known to be flaky on arm* (#880883, #917983) 1279s # End of closure tests 1279s PASS: glib/closure-refcount.test 1279s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3280 1279s autopkgtest [05:51:20]: test closure-refcount: -----------------------] 1280s autopkgtest [05:51:21]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1280s closure-refcount PASS 1280s autopkgtest [05:51:21]: test debugcontroller: preparing testbed 1280s Reading package lists... 1281s Building dependency tree... 1281s Reading state information... 1281s Starting pkgProblemResolver with broken count: 0 1281s Starting 2 pkgProblemResolver with broken count: 0 1281s Done 1282s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1283s autopkgtest [05:51:24]: test debugcontroller: [----------------------- 1283s Running test: glib/debugcontroller.test 1283s TAP version 14 1283s # random seed: R02S1302e8df9d0ebb64c2aff461185db01e 1283s 1..3 1283s # Start of debug-controller tests 1283s # Start of dbus tests 1283s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1283s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1283s # GLib-GIO-DEBUG: Debug output enabled 1283s # GLib-GIO-DEBUG: Debug output disabled 1283s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1283s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1283s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1283s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1283s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1283s ok 1 /debug-controller/dbus/basic 1283s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1283s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1283s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1283s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1283s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1283s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1283s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1283s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1283s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1283s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1283s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1283s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1283s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1283s ok 2 /debug-controller/dbus/duplicate 1283s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1283s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1283s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1283s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1283s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1283s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1283s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1283s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1283s # GLib-GIO-DEBUG: Debug output enabled 1283s # GLib-GIO-DEBUG: Debug output disabled 1283s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1283s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1283s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1283s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1283s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1283s ok 3 /debug-controller/dbus/properties 1283s # End of dbus tests 1283s # End of debug-controller tests 1283s PASS: glib/debugcontroller.test 1283s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5908 1283s autopkgtest [05:51:24]: test debugcontroller: -----------------------] 1284s debugcontroller PASS 1284s autopkgtest [05:51:25]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1284s autopkgtest [05:51:25]: test gdbus-server-auth: preparing testbed 1284s Reading package lists... 1284s Building dependency tree... 1284s Reading state information... 1285s Starting pkgProblemResolver with broken count: 0 1285s Starting 2 pkgProblemResolver with broken count: 0 1285s Done 1286s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1286s autopkgtest [05:51:27]: test gdbus-server-auth: [----------------------- 1287s Running test: glib/gdbus-server-auth.test 1287s TAP version 14 1287s # random seed: R02S5dbbc7cb5e7082841a057f9a949253a2 1287s 1..9 1287s # Start of gdbus tests 1287s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/.dirs/home 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/.dirs/cache 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/.dirs/system-config2 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/.dirs/config 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/.dirs/system-data2 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/.dirs/data 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/.dirs/state 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/.dirs/runtime 1287s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_IVJPZ2/gdbus-server-auth-DPJPZ2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1287s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_IVJPZ2/gdbus-server-auth-DPJPZ2/dbus-4F5BhDve 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16176 1287s ok 1 /gdbus/server-auth 1287s # Start of server-auth tests 1287s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/abstract/.dirs/home 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/abstract/.dirs/cache 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/abstract/.dirs/system-config2 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/abstract/.dirs/config 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/abstract/.dirs/system-data2 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/abstract/.dirs/data 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/abstract/.dirs/state 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/abstract/.dirs/runtime 1287s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_IVJPZ2/gdbus-server-auth-QSSNZ2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1287s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_IVJPZ2/gdbus-server-auth-QSSNZ2/dbus-2enF2Ljg 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16176 1287s ok 2 /gdbus/server-auth/abstract 1287s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/tcp/.dirs/home 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/tcp/.dirs/cache 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/tcp/.dirs/system-config2 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/tcp/.dirs/config 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/tcp/.dirs/system-data2 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/tcp/.dirs/data 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/tcp/.dirs/state 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/tcp/.dirs/runtime 1287s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1287s # Connectable address: tcp:host=127.0.0.1,port=46157 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1287s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1287s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1287s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1287s ok 3 /gdbus/server-auth/tcp 1287s # slow test /gdbus/server-auth/tcp executed in 0.87 secs 1287s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/anonymous/.dirs/home 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/anonymous/.dirs/cache 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/anonymous/.dirs/system-config2 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/anonymous/.dirs/config 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/anonymous/.dirs/system-data2 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/anonymous/.dirs/data 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/anonymous/.dirs/state 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/anonymous/.dirs/runtime 1287s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_IVJPZ2/gdbus-server-auth-BQEQZ2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1287s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_IVJPZ2/gdbus-server-auth-BQEQZ2/dbus-n56NCHWO 1287s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16176 1287s ok 4 /gdbus/server-auth/anonymous 1287s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/external/.dirs/home 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/external/.dirs/cache 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/external/.dirs/system-config2 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/external/.dirs/config 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/external/.dirs/system-data2 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/external/.dirs/data 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/external/.dirs/state 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/external/.dirs/runtime 1287s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_IVJPZ2/gdbus-server-auth-MEHRZ2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1287s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_IVJPZ2/gdbus-server-auth-MEHRZ2/dbus-Ryjt8iLd 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1287s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16176 1287s ok 5 /gdbus/server-auth/external 1287s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/sha1/.dirs/home 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/sha1/.dirs/cache 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/sha1/.dirs/system-config2 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/sha1/.dirs/config 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/sha1/.dirs/system-data2 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/sha1/.dirs/data 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/sha1/.dirs/state 1287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/sha1/.dirs/runtime 1287s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_IVJPZ2/gdbus-server-auth-1WERZ2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1287s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_IVJPZ2/gdbus-server-auth-1WERZ2/dbus-dbcNX5Jm 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16176 1287s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1287s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1287s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1287s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1287s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16176 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1288s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1288s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16176 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1288s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1288s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16176 1288s ok 6 /gdbus/server-auth/sha1 1288s # Start of anonymous tests 1288s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/anonymous/tcp/.dirs/home 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/anonymous/tcp/.dirs/config 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/anonymous/tcp/.dirs/data 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/anonymous/tcp/.dirs/state 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1288s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1288s # Connectable address: tcp:host=127.0.0.1,port=36947 1288s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1288s ok 7 /gdbus/server-auth/anonymous/tcp 1288s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.84 secs 1288s # End of anonymous tests 1288s # Start of external tests 1288s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/external/require-same-user/.dirs/home 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/external/require-same-user/.dirs/cache 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/external/require-same-user/.dirs/config 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/external/require-same-user/.dirs/data 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/external/require-same-user/.dirs/state 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1288s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_IVJPZ2/gdbus-server-auth-O7TIZ2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1288s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_IVJPZ2/gdbus-server-auth-O7TIZ2/dbus-CverGiye 1288s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16176 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16176 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16176 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16176 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16176 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16176 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16176 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16176 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16176 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16176 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16176 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16176 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16176 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16176 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16176 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16176 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16176 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16176 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16176 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16176 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1288s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16176,uid=1000,gid=1000 1288s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16176 1288s ok 8 /gdbus/server-auth/external/require-same-user 1288s # End of external tests 1288s # Start of sha1 tests 1288s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/sha1/tcp/.dirs/home 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/sha1/tcp/.dirs/cache 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/sha1/tcp/.dirs/config 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/sha1/tcp/.dirs/data 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/sha1/tcp/.dirs/state 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_IVJPZ2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1288s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1288s # Connectable address: tcp:host=127.0.0.1,port=36613 1288s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1288s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1288s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1288s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1288s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1288s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1288s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1288s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1288s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1288s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1288s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1288s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1288s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1288s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1288s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1289s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1289s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1289s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1289s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1289s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1289s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1289s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1289s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1289s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1289s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1289s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1289s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1289s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1289s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1289s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1289s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1289s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1289s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1289s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1289s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1289s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1289s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1289s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1289s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1289s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1289s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1289s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1289s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1289s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1289s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1289s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1289s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1289s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1289s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1289s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1289s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1289s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1289s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1289s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1289s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1289s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1289s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1289s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1289s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1289s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1289s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1289s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1289s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1289s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1289s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1289s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1289s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1289s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1289s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1289s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1289s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1289s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1289s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1289s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1289s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1289s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1289s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1289s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1289s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1289s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1289s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1289s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1289s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1289s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1289s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1289s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1289s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1289s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1289s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1289s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1289s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1289s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1289s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1289s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1289s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1289s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1289s ok 9 /gdbus/server-auth/sha1/tcp 1289s # slow test /gdbus/server-auth/sha1/tcp executed in 0.85 secs 1289s # End of sha1 tests 1289s # End of server-auth tests 1289s # End of gdbus tests 1289s PASS: glib/gdbus-server-auth.test 1289s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=8156 1290s autopkgtest [05:51:31]: test gdbus-server-auth: -----------------------] 1290s autopkgtest [05:51:31]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1290s gdbus-server-auth PASS 1291s autopkgtest [05:51:32]: test gdbus-threading: preparing testbed 1291s Reading package lists... 1291s Building dependency tree... 1291s Reading state information... 1291s Starting pkgProblemResolver with broken count: 0 1292s Starting 2 pkgProblemResolver with broken count: 0 1292s Done 1292s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1293s autopkgtest [05:51:34]: test gdbus-threading: [----------------------- 1293s Running test: glib/gdbus-threading.test 1293s TAP version 14 1293s # random seed: R02S7bbc5bf53469f8b597f7598d86a3212b 1293s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1293s 1..3 1293s # Start of gdbus tests 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_B9JRZ2/gdbus/delivery-in-thread/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_B9JRZ2/gdbus/delivery-in-thread/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_B9JRZ2/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_B9JRZ2/gdbus/delivery-in-thread/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_B9JRZ2/gdbus/delivery-in-thread/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_B9JRZ2/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_B9JRZ2/gdbus/delivery-in-thread/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_B9JRZ2/gdbus/delivery-in-thread/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_B9JRZ2/gdbus/delivery-in-thread/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_B9JRZ2/gdbus/delivery-in-thread/.dirs/runtime 1293s ok 1 /gdbus/delivery-in-thread 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_B9JRZ2/gdbus/method-calls-in-thread/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_B9JRZ2/gdbus/method-calls-in-thread/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_B9JRZ2/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_B9JRZ2/gdbus/method-calls-in-thread/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_B9JRZ2/gdbus/method-calls-in-thread/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_B9JRZ2/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_B9JRZ2/gdbus/method-calls-in-thread/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_B9JRZ2/gdbus/method-calls-in-thread/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_B9JRZ2/gdbus/method-calls-in-thread/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_B9JRZ2/gdbus/method-calls-in-thread/.dirs/runtime 1294s ok 2 /gdbus/method-calls-in-thread 1294s # slow test /gdbus/method-calls-in-thread executed in 0.87 secs 1294s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_B9JRZ2/gdbus/threaded-singleton/.dirs/home 1294s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_B9JRZ2/gdbus/threaded-singleton/.dirs/cache 1294s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_B9JRZ2/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_B9JRZ2/gdbus/threaded-singleton/.dirs/system-config2 1294s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_B9JRZ2/gdbus/threaded-singleton/.dirs/config 1294s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_B9JRZ2/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_B9JRZ2/gdbus/threaded-singleton/.dirs/system-data2 1294s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_B9JRZ2/gdbus/threaded-singleton/.dirs/data 1294s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_B9JRZ2/gdbus/threaded-singleton/.dirs/state 1294s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_B9JRZ2/gdbus/threaded-singleton/.dirs/runtime 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: refcount of 0xeb3a90006b40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1294s # GLib-GIO-DEBUG: refcount of 0xeb3a90006b40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1294s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: refcount of 0xeb3a90003b50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: refcount of 0xeb3a900017d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: refcount of 0xeb3a90006820 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: refcount of 0xeb3a90008380 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: refcount of 0xeb3a90008680 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: refcount of 0xeb3a90001de0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: refcount of 0xeb3a90001de0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: refcount of 0xeb3a90006a30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: refcount of 0xeb3a90003f60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: refcount of 0xeb3a900036e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: refcount of 0xeb3a900064b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1296s ok 3 /gdbus/threaded-singleton 1296s # slow test /gdbus/threaded-singleton executed in 1.51 secs 1296s # End of gdbus tests 1296s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1296s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1296s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1296s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1296s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1296s PASS: glib/gdbus-threading.test 1296s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=0.3s; maxrss=5756 1296s autopkgtest [05:51:37]: test gdbus-threading: -----------------------] 1297s autopkgtest [05:51:38]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1297s gdbus-threading PASS 1297s autopkgtest [05:51:38]: test gmenumodel: preparing testbed 1297s Reading package lists... 1297s Building dependency tree... 1297s Reading state information... 1298s Starting pkgProblemResolver with broken count: 0 1298s Starting 2 pkgProblemResolver with broken count: 0 1298s Done 1299s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1299s autopkgtest [05:51:40]: test gmenumodel: [----------------------- 1300s Running test: glib/gmenumodel.test 1300s TAP version 14 1300s # random seed: R02S3f4d8476aa498d92f7ebd955c2ba1b7c 1300s 1..15 1300s # Start of gmenu tests 1300s ok 1 /gmenu/equality 1300s # slow test /gmenu/equality executed in 0.60 secs 1301s ok 2 /gmenu/random 1301s # slow test /gmenu/random executed in 0.66 secs 1301s ok 3 /gmenu/attributes 1301s ok 4 /gmenu/links 1301s ok 5 /gmenu/mutable 1301s ok 6 /gmenu/convenience 1301s ok 7 /gmenu/menuitem 1301s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1301s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1301s ok 8 /gmenu/input-validation 1301s # Start of dbus tests 1301s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1302s ok 9 /gmenu/dbus/roundtrip 1302s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1302s ok 10 /gmenu/dbus/subscriptions 1303s ok 11 /gmenu/dbus/threaded 1303s # slow test /gmenu/dbus/threaded executed in 0.75 secs 1303s # Start of peer tests 1304s ok 12 /gmenu/dbus/peer/roundtrip 1304s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 1305s Executing: glib/gmenumodel.test 1305s ok 13 /gmenu/dbus/peer/subscriptions 1305s # End of peer tests 1305s # Start of export tests 1305s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1305s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1305s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1305s ok 14 /gmenu/dbus/export/error-handling 1305s # End of export tests 1305s # End of dbus tests 1305s # Start of attributes tests 1305s ok 15 /gmenu/attributes/iterate 1305s # End of attributes tests 1305s # End of gmenu tests 1305s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1305s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1305s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1305s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1305s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1305s PASS: glib/gmenumodel.test 1305s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.7s; system=0.1s; maxrss=23024 1305s autopkgtest [05:51:46]: test gmenumodel: -----------------------] 1305s gmenumodel PASS 1305s autopkgtest [05:51:46]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1306s autopkgtest [05:51:47]: test mainloop: preparing testbed 1306s Reading package lists... 1306s Building dependency tree... 1306s Reading state information... 1307s Starting pkgProblemResolver with broken count: 0 1307s Starting 2 pkgProblemResolver with broken count: 0 1307s Done 1307s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1308s autopkgtest [05:51:49]: test mainloop: [----------------------- 1308s Running test: glib/mainloop.test 1308s TAP version 14 1308s # random seed: R02S3c867da89285d74044c48b8643dd372e 1308s 1..45 1308s # Start of maincontext tests 1308s ok 1 /maincontext/basic 1308s # Add same-priority sources: 16 1308s # Find each source: 2 1308s # Remove in random order: 35 1308s ok 2 /maincontext/nsources_same_priority 1308s # Add different-priority sources: 17 1308s # Find each source: 2 1309s # Remove in random order: 39 1309s ok 3 /maincontext/nsources_different_priority 1309s # Add sources from threads: 170 1309s # Remove sources from threads: 32 1309s ok 4 /maincontext/nsources_threadpool 1309s ok 5 /maincontext/source_finalization 1309s # /maincontext/idle-once summary: Test g_idle_add_once() works 1309s ok 6 /maincontext/idle-once 1309s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1309s ok 7 /maincontext/timeout-once 1309s # Start of source_finalization_from_source tests 1309s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1309s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1309s ok 8 /maincontext/source_finalization_from_source/0 1309s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1309s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1309s ok 9 /maincontext/source_finalization_from_source/1 1309s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1309s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1309s ok 10 /maincontext/source_finalization_from_source/2 1309s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1309s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1309s ok 11 /maincontext/source_finalization_from_source/3 1309s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1309s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1309s ok 12 /maincontext/source_finalization_from_source/4 1309s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1309s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1309s ok 13 /maincontext/source_finalization_from_source/5 1309s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1309s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1309s ok 14 /maincontext/source_finalization_from_source/6 1309s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1309s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1309s ok 15 /maincontext/source_finalization_from_source/7 1309s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1309s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1309s ok 16 /maincontext/source_finalization_from_source/8 1309s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1309s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1309s ok 17 /maincontext/source_finalization_from_source/9 1309s # End of source_finalization_from_source tests 1309s # Start of source_finalization_from_dispatch tests 1309s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1309s ok 18 /maincontext/source_finalization_from_dispatch/0 1309s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1309s ok 19 /maincontext/source_finalization_from_dispatch/1 1309s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1309s ok 20 /maincontext/source_finalization_from_dispatch/2 1309s # End of source_finalization_from_dispatch tests 1309s # End of maincontext tests 1309s # Start of mainloop tests 1309s ok 21 /mainloop/basic 1309s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1309s ok 23 /mainloop/priorities 1309s ok 24 /mainloop/invoke 1309s # slow test /mainloop/invoke executed in 0.50 secs 1310s ok 25 /mainloop/child_sources 1310s # slow test /mainloop/child_sources executed in 1.19 secs 1313s ok 26 /mainloop/recursive_child_sources 1313s # slow test /mainloop/recursive_child_sources executed in 2.17 secs 1313s ok 27 /mainloop/recursive_loop_child_sources 1313s ok 28 /mainloop/swapping_child_sources 1313s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1313s ok 29 /mainloop/blocked_child_sources 1314s Executing: glib/mainloop.test 1314s ok 30 /mainloop/source_time 1314s # slow test /mainloop/source_time executed in 1.00 secs 1314s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1314s ok 31 /mainloop/overflow 1314s ok 32 /mainloop/ready-time 1314s # slow test /mainloop/ready-time executed in 0.50 secs 1314s ok 33 /mainloop/wakeup 1314s ok 34 /mainloop/remove-invalid 1314s ok 35 /mainloop/unref-while-pending 1315s ok 36 /mainloop/unix-fd 1315s # slow test /mainloop/unix-fd executed in 0.57 secs 1315s ok 37 /mainloop/unix-fd-source 1315s ok 38 /mainloop/source-unix-fd-api 1315s ok 39 /mainloop/wait 1315s ok 40 /mainloop/unix-file-poll 1315s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1315s ok 41 /mainloop/unix-fd-priority 1315s ok 42 /mainloop/nfds 1315s ok 43 /mainloop/steal-fd 1315s # Start of ownerless-polling tests 1315s ok 44 /mainloop/ownerless-polling/attach-first 1315s ok 45 /mainloop/ownerless-polling/pop-first 1315s # End of ownerless-polling tests 1315s # End of mainloop tests 1315s PASS: glib/mainloop.test 1315s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.7s; maxrss=15504 1315s autopkgtest [05:51:56]: test mainloop: -----------------------] 1316s mainloop PASS 1316s autopkgtest [05:51:57]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1316s autopkgtest [05:51:57]: test memory-monitor-dbus: preparing testbed 1316s Reading package lists... 1317s Building dependency tree... 1317s Reading state information... 1317s Starting pkgProblemResolver with broken count: 0 1317s Starting 2 pkgProblemResolver with broken count: 0 1317s Done 1318s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1319s autopkgtest [05:52:00]: test memory-monitor-dbus: [----------------------- 1319s Running test: glib/memory-monitor-dbus.test 1319s TAP version 13 1319s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1319s # Received memory warning signal, level 1319s # Received memory warning signal, level 1319s # Received memory warning signal, level 1319s 1..1 1319s PASS: glib/memory-monitor-dbus.test 1319s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.1s; maxrss=29236 1320s autopkgtest [05:52:01]: test memory-monitor-dbus: -----------------------] 1320s autopkgtest [05:52:01]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1320s memory-monitor-dbus PASS 1321s autopkgtest [05:52:02]: test socket: preparing testbed 1321s Reading package lists... 1321s Building dependency tree... 1321s Reading state information... 1322s Starting pkgProblemResolver with broken count: 0 1322s Starting 2 pkgProblemResolver with broken count: 0 1322s Done 1323s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1324s autopkgtest [05:52:05]: test socket: [----------------------- 1324s Running test: glib/socket.test 1324s TAP version 14 1324s # random seed: R02S6b55929a2cd5b3fe4a55cf277efe4aa9 1324s 1..28 1324s # Start of socket tests 1325s ok 1 /socket/ipv4_sync 1325s # slow test /socket/ipv4_sync executed in 1.00 secs 1326s ok 2 /socket/ipv4_async 1326s # slow test /socket/ipv4_async executed in 1.00 secs 1326s ok 3 /socket/ipv6_sync 1326s ok 4 /socket/ipv6_async 1326s ok 5 /socket/ipv6_v4mapped 1327s ok 6 /socket/close_graceful 1327s # slow test /socket/close_graceful executed in 1.00 secs 1327s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1327s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1327s ok 8 /socket/fd_reuse 1327s ok 9 /socket/address 1327s ok 10 /socket/unix-from-fd 1327s ok 11 /socket/unix-connection 1327s ok 12 /socket/unix-connection-ancillary-data 1327s ok 13 /socket/source-postmortem 1327s ok 14 /socket/read_write 1327s ok 15 /socket/read_writev 1327s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1327s ok 16 /socket/receive_bytes 1327s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1327s ok 17 /socket/receive_bytes_from 1327s # Start of ipv4_sync tests 1327s ok 18 /socket/ipv4_sync/datagram 1327s # Start of datagram tests 1328s ok 19 /socket/ipv4_sync/datagram/timeouts 1328s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1328s # End of datagram tests 1328s # End of ipv4_sync tests 1328s # Start of ipv6_sync tests 1328s ok 20 /socket/ipv6_sync/datagram 1328s # Start of datagram tests 1329s ok 21 /socket/ipv6_sync/datagram/timeouts 1329s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1329s # End of datagram tests 1329s # End of ipv6_sync tests 1329s # Start of reuse tests 1329s ok 22 /socket/reuse/tcp 1329s ok 23 /socket/reuse/udp 1329s # End of reuse tests 1329s # Start of get_available tests 1330s ok 24 /socket/get_available/datagram 1330s ok 25 /socket/get_available/stream 1330s # End of get_available tests 1330s # Start of credentials tests 1330s # Supported on this OS: GCredentials:linux-ucred:pid=0 1330s ok 26 /socket/credentials/tcp_client 1330s # Supported on this OS: GCredentials:linux-ucred:pid=0 1330s ok 27 /socket/credentials/tcp_server 1330s # Supported on this OS: GCredentials:linux-ucred:pid=18018,uid=1000,gid=1000 1330s ok 28 /socket/credentials/unix_socketpair 1330s # End of credentials tests 1330s # End of socket tests 1330s PASS: glib/socket.test 1330s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5476 1330s autopkgtest [05:52:11]: test socket: -----------------------] 1331s autopkgtest [05:52:12]: test socket: - - - - - - - - - - results - - - - - - - - - - 1331s socket PASS 1331s autopkgtest [05:52:12]: test testfilemonitor: preparing testbed 1331s Reading package lists... 1332s Building dependency tree... 1332s Reading state information... 1332s Starting pkgProblemResolver with broken count: 0 1332s Starting 2 pkgProblemResolver with broken count: 0 1332s Done 1333s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1334s autopkgtest [05:52:15]: test testfilemonitor: [----------------------- 1334s Running test: glib/testfilemonitor.test 1334s TAP version 14 1334s # random seed: R02S32ca6b164cac4bc6335f8125ea1bc255 1334s 1..8 1334s # Start of monitor tests 1334s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1334s # Using temporary directory: /tmp/gio-test-testfilemonitor_CLBZZ2 1334s # Using GFileMonitor GInotifyFileMonitor 1336s ok 1 /monitor/atomic-replace 1336s # slow test /monitor/atomic-replace executed in 2.00 secs 1336s # Using temporary directory: /tmp/gio-test-testfilemonitor_KN2YZ2 1336s # Using GFileMonitor GInotifyFileMonitor 1339s ok 2 /monitor/file-changes 1339s # slow test /monitor/file-changes executed in 2.50 secs 1339s # Using temporary directory: /tmp/gio-test-testfilemonitor_BOUPZ2 1339s # Using GFileMonitor GInotifyFileMonitor 1340s Executing: glib/testfilemonitor.test 1342s ok 3 /monitor/dir-monitor 1342s # slow test /monitor/dir-monitor executed in 3.51 secs 1342s # Using temporary directory: /tmp/gio-test-testfilemonitor_G0UYZ2 1342s # Using GFileMonitor GInotifyFileMonitor 1345s Executing: glib/testfilemonitor.test 1350s Executing: glib/testfilemonitor.test 1355s Executing: glib/testfilemonitor.test 1360s Executing: glib/testfilemonitor.test 1365s Executing: glib/testfilemonitor.test 1367s ok 4 /monitor/dir-not-existent 1367s # slow test /monitor/dir-not-existent executed in 25.02 secs 1367s # Using temporary directory: /tmp/gio-test-testfilemonitor_NZQZZ2 1367s # Using GFileMonitor 0 GInotifyFileMonitor 1367s # Using GFileMonitor 1 GInotifyFileMonitor 1369s ok 5 /monitor/cross-dir-moves 1369s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1369s # Using temporary directory: /tmp/gio-test-testfilemonitor_00UZZ2 1369s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 1369s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1369s ok 6 /monitor/finalize-in-callback 1369s # Using temporary directory: /tmp/gio-test-testfilemonitor_T7KZZ2 1369s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1369s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1369s ok 7 /monitor/root 1369s # Start of file tests 1369s # Using temporary directory: /tmp/gio-test-testfilemonitor_W4KZZ2 1369s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1369s # Running with hard link tests 1369s # Using GFileMonitor GInotifyFileMonitor 1370s Executing: glib/testfilemonitor.test 1373s # Event 0 at expected index 7 skipped because it is marked as optional 1373s # Event 2 at expected index 11 skipped because it is marked as optional 1373s ok 8 /monitor/file/hard-links 1373s # slow test /monitor/file/hard-links executed in 3.50 secs 1373s # End of file tests 1373s # End of monitor tests 1373s PASS: glib/testfilemonitor.test 1373s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5572 1373s autopkgtest [05:52:54]: test testfilemonitor: -----------------------] 1373s testfilemonitor PASS 1373s autopkgtest [05:52:54]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1374s autopkgtest [05:52:55]: test thread-pool-slow: preparing testbed 1374s Reading package lists... 1374s Building dependency tree... 1374s Reading state information... 1375s Starting pkgProblemResolver with broken count: 0 1375s Starting 2 pkgProblemResolver with broken count: 0 1375s Done 1375s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1376s autopkgtest [05:52:57]: test thread-pool-slow: [----------------------- 1376s Running test: glib/thread-pool-slow.test 1376s TAP version 14 1376s # random seed: R02Sb6f724f39d541e748dd01b3bc723d16c 1376s 1..7 1376s # Start of threadpool tests 1376s ok 1 /threadpool/functions 1377s ok 2 /threadpool/stop-unused 1377s # slow test /threadpool/stop-unused executed in 0.51 secs 1377s ok 3 /threadpool/pools 1377s # [unsorted] ===> pushed new thread with id:64, number of threads:1, unprocessed:1 1377s # [unsorted] ===> pushed new thread with id:8, number of threads:2, unprocessed:2 1377s # [unsorted] ===> pushed new thread with id:9, number of threads:3, unprocessed:3 1377s # [unsorted] ===> pushed new thread with id:63, number of threads:4, unprocessed:4 1377s # [unsorted] ===> pushed new thread with id:33, number of threads:5, unprocessed:5 1377s # [unsorted] ===> pushed new thread with id:55, number of threads:6, unprocessed:6 1377s # [unsorted] ===> pushed new thread with id:82, number of threads:7, unprocessed:7 1377s # [unsorted] ===> pushed new thread with id:83, number of threads:8, unprocessed:8 1377s # [unsorted] ===> pushed new thread with id:96, number of threads:9, unprocessed:0 1377s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:0 1377s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:1 1377s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:2 1377s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:3 1377s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:4 1377s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:5 1377s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:6 1377s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:7 1377s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:8 1377s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:9 1377s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:10 1377s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:11 1377s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:12 1377s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:13 1377s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:14 1377s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:15 1377s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:16 1377s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:17 1377s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:18 1377s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:19 1377s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:20 1377s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:21 1377s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:22 1377s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:23 1377s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:24 1377s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:25 1377s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:26 1377s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:27 1377s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:28 1377s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:29 1377s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:30 1377s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:31 1377s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:32 1377s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:33 1377s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:34 1377s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:35 1377s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:36 1377s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:37 1377s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:38 1377s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:39 1377s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:40 1377s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:41 1377s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:42 1377s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:43 1377s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:44 1377s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:45 1377s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:46 1377s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:47 1377s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:48 1377s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:49 1377s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:50 1377s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:51 1377s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:52 1377s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:53 1377s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:54 1377s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:55 1377s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:56 1377s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:57 1377s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:58 1377s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:59 1377s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:60 1377s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:61 1377s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:62 1377s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:63 1377s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:64 1377s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:65 1377s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:66 1377s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:67 1377s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:68 1377s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:69 1377s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:70 1377s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:71 1377s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:72 1377s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:73 1377s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:74 1377s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:75 1377s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:76 1377s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:77 1377s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:78 1377s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:79 1377s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:80 1377s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:81 1377s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:82 1377s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:83 1377s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:84 1377s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:85 1377s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:86 1377s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:87 1377s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:88 1377s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:89 1377s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:90 1377s ok 4 /threadpool/no-sort 1377s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:1 1377s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:2 1377s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:3 1377s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:4 1377s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:5 1377s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:6 1377s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:7 1377s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:8 1377s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:9 1377s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:10 1377s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:11 1377s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:12 1377s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:13 1377s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:14 1377s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:15 1377s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:16 1377s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:17 1377s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:18 1377s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:19 1377s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:20 1377s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:21 1377s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:22 1377s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:23 1377s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:24 1377s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:25 1377s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:26 1377s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:27 1377s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:28 1377s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:29 1377s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:30 1377s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:31 1377s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:32 1377s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:33 1377s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:34 1377s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:35 1377s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:36 1377s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:37 1377s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:38 1377s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:39 1377s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:40 1377s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:41 1377s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:42 1377s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:43 1377s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:44 1377s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:45 1377s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:46 1377s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:47 1377s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:48 1377s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:49 1377s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:50 1377s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:51 1377s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:52 1377s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:53 1377s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:54 1377s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:55 1377s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:56 1377s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:57 1377s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:58 1377s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:59 1377s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:60 1377s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:61 1377s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:62 1377s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:63 1377s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:64 1377s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:65 1377s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:66 1377s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:67 1377s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:68 1377s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:69 1377s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:70 1377s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:71 1377s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:72 1377s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:73 1377s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:74 1377s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:75 1377s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:76 1377s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:77 1377s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:78 1377s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:79 1377s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:80 1377s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:81 1377s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:82 1377s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:83 1377s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:84 1377s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:85 1377s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:86 1377s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:87 1377s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:88 1377s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:89 1377s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:90 1377s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:91 1377s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:92 1377s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:93 1377s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:94 1377s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:95 1377s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:96 1377s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:97 1377s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:98 1377s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:99 1377s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:100 1377s # Starting thread pool processing 1377s ok 5 /threadpool/sort 1377s ok 6 /threadpool/stop-unused-multiple 1377s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1377s # Pool idle thread count: 0, unprocessed jobs: 40 1378s # Pool idle thread count: 0, unprocessed jobs: 0 1378s # Pool idle thread count: 0, unprocessed jobs: 0 1378s # Pool idle thread count: 10, unprocessed jobs: 0 1378s # Pool idle thread count: 10, unprocessed jobs: 0 1379s # Pool idle thread count: 10, unprocessed jobs: 0 1379s # Pool idle thread count: 10, unprocessed jobs: 0 1379s # Pool idle thread count: 10, unprocessed jobs: 0 1379s # Pool idle thread count: 10, unprocessed jobs: 0 1380s # Pool idle thread count: 10, unprocessed jobs: 0 1380s # Pool idle thread count: 10, unprocessed jobs: 0 1380s # Pool idle thread count: 10, unprocessed jobs: 0 1380s # Pool idle thread count: 10, unprocessed jobs: 0 1381s # Pool idle thread count: 10, unprocessed jobs: 0 1381s # Pool idle thread count: 10, unprocessed jobs: 0 1381s # Pool idle thread count: 10, unprocessed jobs: 0 1381s # Pool idle thread count: 10, unprocessed jobs: 0 1382s Executing: glib/thread-pool-slow.test 1382s # Pool idle thread count: 10, unprocessed jobs: 0 1382s # Pool idle thread count: 10, unprocessed jobs: 0 1382s # Pool idle thread count: 10, unprocessed jobs: 0 1382s # Pool idle thread count: 10, unprocessed jobs: 0 1383s # Pool idle thread count: 10, unprocessed jobs: 0 1383s # Pool idle thread count: 10, unprocessed jobs: 0 1383s # Pool idle thread count: 10, unprocessed jobs: 0 1383s # Pool idle thread count: 10, unprocessed jobs: 0 1384s # Pool idle thread count: 10, unprocessed jobs: 0 1384s # Pool idle thread count: 10, unprocessed jobs: 0 1384s # Pool idle thread count: 10, unprocessed jobs: 0 1384s # Pool idle thread count: 10, unprocessed jobs: 0 1385s # Pool idle thread count: 10, unprocessed jobs: 0 1385s # Pool idle thread count: 10, unprocessed jobs: 0 1385s # Pool idle thread count: 10, unprocessed jobs: 0 1385s # Pool idle thread count: 10, unprocessed jobs: 0 1386s # Pool idle thread count: 10, unprocessed jobs: 0 1386s # Pool idle thread count: 10, unprocessed jobs: 0 1386s # Pool idle thread count: 10, unprocessed jobs: 2 1386s # Pool idle thread count: 10, unprocessed jobs: 2 1386s # Pool idle thread count: 8, unprocessed jobs: 0 1386s # Pool idle thread count: 8, unprocessed jobs: 0 1387s Executing: glib/thread-pool-slow.test 1387s # Pool idle thread count: 10, unprocessed jobs: 0 1387s # Pool idle thread count: 10, unprocessed jobs: 0 1387s # Pool idle thread count: 10, unprocessed jobs: 0 1387s # Pool idle thread count: 10, unprocessed jobs: 0 1388s # Pool idle thread count: 10, unprocessed jobs: 0 1388s # Pool idle thread count: 10, unprocessed jobs: 0 1388s # Pool idle thread count: 2, unprocessed jobs: 0 1388s # Pool idle thread count: 2, unprocessed jobs: 0 1389s # Pool idle thread count: 2, unprocessed jobs: 0 1389s # Pool idle thread count: 2, unprocessed jobs: 0 1389s # Pool idle thread count: 2, unprocessed jobs: 0 1389s # Pool idle thread count: 2, unprocessed jobs: 0 1390s # Pool idle thread count: 2, unprocessed jobs: 0 1390s # Pool idle thread count: 2, unprocessed jobs: 0 1390s # Pool idle thread count: 2, unprocessed jobs: 0 1390s # Pool idle thread count: 2, unprocessed jobs: 0 1391s # Pool idle thread count: 2, unprocessed jobs: 0 1391s # Pool idle thread count: 2, unprocessed jobs: 0 1391s # Pool idle thread count: 2, unprocessed jobs: 0 1391s # Pool idle thread count: 2, unprocessed jobs: 0 1392s Executing: glib/thread-pool-slow.test 1392s # Pool idle thread count: 2, unprocessed jobs: 0 1392s # Pool idle thread count: 2, unprocessed jobs: 0 1392s # Pool idle thread count: 2, unprocessed jobs: 0 1392s # Pool idle thread count: 2, unprocessed jobs: 0 1393s # Pool idle thread count: 2, unprocessed jobs: 0 1393s # Pool idle thread count: 2, unprocessed jobs: 0 1393s # Pool idle thread count: 2, unprocessed jobs: 0 1393s # Pool idle thread count: 2, unprocessed jobs: 0 1394s # Pool idle thread count: 2, unprocessed jobs: 0 1394s # Pool idle thread count: 2, unprocessed jobs: 0 1394s # Pool idle thread count: 2, unprocessed jobs: 0 1394s # Pool idle thread count: 2, unprocessed jobs: 0 1395s # Pool idle thread count: 2, unprocessed jobs: 0 1395s # Pool idle thread count: 2, unprocessed jobs: 0 1395s # Pool idle thread count: 2, unprocessed jobs: 0 1395s # Pool idle thread count: 2, unprocessed jobs: 0 1396s # Pool idle thread count: 2, unprocessed jobs: 0 1396s # Pool idle thread count: 2, unprocessed jobs: 0 1396s # Pool idle thread count: 2, unprocessed jobs: 0 1396s # Pool idle thread count: 2, unprocessed jobs: 0 1397s Executing: glib/thread-pool-slow.test 1397s ok 7 /threadpool/idle-time 1397s # slow test /threadpool/idle-time executed in 19.52 secs 1397s # End of threadpool tests 1397s PASS: glib/thread-pool-slow.test 1397s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=3888 1397s autopkgtest [05:53:18]: test thread-pool-slow: -----------------------] 1398s autopkgtest [05:53:19]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1398s thread-pool-slow PASS 1398s autopkgtest [05:53:19]: test threadtests: preparing testbed 1399s Reading package lists... 1399s Building dependency tree... 1399s Reading state information... 1399s Starting pkgProblemResolver with broken count: 0 1399s Starting 2 pkgProblemResolver with broken count: 0 1399s Done 1400s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1401s autopkgtest [05:53:22]: test threadtests: [----------------------- 1401s Running test: glib/threadtests.test 1401s TAP version 14 1401s # random seed: R02Se00b358e620d2acbffd86bbf06e49c40 1401s 1..5 1401s # Start of GObject tests 1401s ok 1 /GObject/threaded-object-init 1402s ok 2 /GObject/threaded-weak-ref 1402s # slow test /GObject/threaded-weak-ref executed in 0.68 secs 1402s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1402s # /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 1402s ok 3 /GObject/threaded-toggle-notify 1402s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1402s # Start of threaded-weak-ref tests 1402s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1402s # /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. 1402s ok 5 /GObject/threaded-weak-ref/on-finalization 1402s # End of threaded-weak-ref tests 1402s # End of GObject tests 1402s PASS: glib/threadtests.test 1402s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.4s; maxrss=3340 1402s autopkgtest [05:53:23]: test threadtests: -----------------------] 1403s autopkgtest [05:53:24]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1403s threadtests PASS 1404s autopkgtest [05:53:25]: test timeout: preparing testbed 1404s Reading package lists... 1404s Building dependency tree... 1404s Reading state information... 1405s Starting pkgProblemResolver with broken count: 0 1405s Starting 2 pkgProblemResolver with broken count: 0 1405s Done 1405s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1406s autopkgtest [05:53:27]: test timeout: [----------------------- 1406s Running test: glib/timeout.test 1406s TAP version 14 1406s # random seed: R02S444b79c950ab2fdfff6218bd7a7da291 1406s 1..5 1406s # Start of timeout tests 1406s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1409s ok 1 /timeout/seconds 1409s # slow test /timeout/seconds executed in 2.10 secs 1411s ok 2 /timeout/seconds-once 1411s # slow test /timeout/seconds-once executed in 2.10 secs 1411s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1412s Executing: glib/timeout.test 1413s ok 3 /timeout/weeks-overflow 1413s # slow test /timeout/weeks-overflow executed in 2.10 secs 1413s ok 4 /timeout/far-future-ready-time 1417s Executing: glib/timeout.test 1422s Executing: glib/timeout.test 1423s ok 5 /timeout/rounding 1423s # slow test /timeout/rounding executed in 9.91 secs 1423s # End of timeout tests 1423s PASS: glib/timeout.test 1423s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2864 1423s autopkgtest [05:53:44]: test timeout: -----------------------] 1423s autopkgtest [05:53:44]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1423s timeout PASS 1424s autopkgtest [05:53:45]: test timer: preparing testbed 1424s Reading package lists... 1424s Building dependency tree... 1424s Reading state information... 1425s Starting pkgProblemResolver with broken count: 0 1425s Starting 2 pkgProblemResolver with broken count: 0 1425s Done 1425s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1426s autopkgtest [05:53:47]: test timer: [----------------------- 1427s Running test: glib/timer.test 1427s TAP version 14 1427s # random seed: R02Sc65ff57f9057dae468feaeb63cd8ad31 1427s 1..10 1427s # Start of timer tests 1427s ok 1 /timer/basic 1427s ok 2 /timer/stop 1427s ok 3 /timer/continue 1427s ok 4 /timer/reset 1427s ok 5 /timer/is_active 1427s # End of timer tests 1427s # Start of timeval tests 1427s ok 6 /timeval/add 1427s ok 7 /timeval/from-iso8601 1427s ok 8 /timeval/to-iso8601 1427s # Start of to-iso8601 tests 1427s ok 9 /timeval/to-iso8601/overflow 1427s # End of to-iso8601 tests 1427s # End of timeval tests 1427s # Start of usleep tests 1427s ok 10 /usleep/with-zero-wait 1427s # End of usleep tests 1427s PASS: glib/timer.test 1427s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2936 1427s autopkgtest [05:53:48]: test timer: -----------------------] 1427s timer PASS 1427s autopkgtest [05:53:48]: test timer: - - - - - - - - - - results - - - - - - - - - - 1428s autopkgtest [05:53:49]: test 1065022-futureproofing: preparing testbed 1532s autopkgtest [05:55:33]: testbed dpkg architecture: arm64 1533s autopkgtest [05:55:34]: testbed apt version: 2.9.18 1533s autopkgtest [05:55:34]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1533s autopkgtest [05:55:34]: testbed release detected to be: plucky 1534s autopkgtest [05:55:35]: updating testbed package index (apt update) 1534s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 1535s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 1535s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 1535s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 1535s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [16.5 kB] 1535s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [749 kB] 1535s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 1535s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [99.2 kB] 1535s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [181 kB] 1535s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 1535s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [823 kB] 1535s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [22.5 kB] 1535s Fetched 2033 kB in 1s (2217 kB/s) 1536s Reading package lists... 1537s Reading package lists... 1538s Building dependency tree... 1538s Reading state information... 1538s Calculating upgrade... 1539s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1539s Reading package lists... 1539s Building dependency tree... 1539s Reading state information... 1540s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 1540s autopkgtest [05:55:41]: upgrading testbed (apt dist-upgrade and autopurge) 1540s Reading package lists... 1541s Building dependency tree... 1541s Reading state information... 1542s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1542s Starting 2 pkgProblemResolver with broken count: 0 1542s Done 1543s Entering ResolveByKeep 1543s 1544s The following packages will be upgraded: 1544s libselinux1 1544s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1544s Need to get 81.7 kB of archives. 1544s After this operation, 1024 B of additional disk space will be used. 1544s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libselinux1 arm64 3.7-3ubuntu2 [81.7 kB] 1544s Fetched 81.7 kB in 0s (293 kB/s) 1545s (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 ... 80185 files and directories currently installed.) 1545s Preparing to unpack .../libselinux1_3.7-3ubuntu2_arm64.deb ... 1545s Unpacking libselinux1:arm64 (3.7-3ubuntu2) over (3.7-3ubuntu1) ... 1545s Setting up libselinux1:arm64 (3.7-3ubuntu2) ... 1545s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1545s Reading package lists... 1546s Building dependency tree... 1546s Reading state information... 1546s Starting pkgProblemResolver with broken count: 0 1546s Starting 2 pkgProblemResolver with broken count: 0 1547s Done 1548s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1551s Reading package lists... 1551s Building dependency tree... 1551s Reading state information... 1552s Starting pkgProblemResolver with broken count: 0 1552s Starting 2 pkgProblemResolver with broken count: 0 1552s Done 1553s The following NEW packages will be installed: 1553s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1553s libdconf1 1553s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1553s Need to get 137 kB of archives. 1553s After this operation, 693 kB of additional disk space will be used. 1553s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libdconf1 arm64 0.40.0-4build2 [39.8 kB] 1554s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 dconf-service arm64 0.40.0-4build2 [26.9 kB] 1554s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 dconf-gsettings-backend arm64 0.40.0-4build2 [22.0 kB] 1554s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 dpkg-repack all 1.54 [11.2 kB] 1554s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 gsettings-desktop-schemas all 47.1-1ubuntu1 [36.9 kB] 1554s Fetched 137 kB in 0s (374 kB/s) 1554s Selecting previously unselected package libdconf1:arm64. 1554s (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 ... 80185 files and directories currently installed.) 1554s Preparing to unpack .../libdconf1_0.40.0-4build2_arm64.deb ... 1554s Unpacking libdconf1:arm64 (0.40.0-4build2) ... 1554s Selecting previously unselected package dconf-service. 1554s Preparing to unpack .../dconf-service_0.40.0-4build2_arm64.deb ... 1554s Unpacking dconf-service (0.40.0-4build2) ... 1554s Selecting previously unselected package dconf-gsettings-backend:arm64. 1554s Preparing to unpack .../dconf-gsettings-backend_0.40.0-4build2_arm64.deb ... 1554s Unpacking dconf-gsettings-backend:arm64 (0.40.0-4build2) ... 1554s Selecting previously unselected package dpkg-repack. 1554s Preparing to unpack .../dpkg-repack_1.54_all.deb ... 1554s Unpacking dpkg-repack (1.54) ... 1554s Selecting previously unselected package gsettings-desktop-schemas. 1554s Preparing to unpack .../gsettings-desktop-schemas_47.1-1ubuntu1_all.deb ... 1554s Unpacking gsettings-desktop-schemas (47.1-1ubuntu1) ... 1554s Setting up dpkg-repack (1.54) ... 1554s Setting up libdconf1:arm64 (0.40.0-4build2) ... 1554s Setting up dconf-service (0.40.0-4build2) ... 1554s Setting up dconf-gsettings-backend:arm64 (0.40.0-4build2) ... 1554s Setting up gsettings-desktop-schemas (47.1-1ubuntu1) ... 1554s Processing triggers for man-db (2.13.0-1) ... 1555s Processing triggers for libglib2.0-0t64:arm64 (2.82.4-1) ... 1555s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1563s autopkgtest [05:56:04]: test 1065022-futureproofing: [----------------------- 1564s + export DEBIAN_FRONTEND=noninteractive 1564s + n=0 1564s + failed=0 1564s + binary_package=libglib2.0-0t64 1564s + future_binary_package=libglib2.0-0xyz 1564s + pwd 1564s + srcdir=/tmp/autopkgtest.bJtNpb/build.D3s/src 1564s + mktemp -d 1564s + tmpdir=/tmp/tmp.rNj9HEDRFx 1564s + cd /tmp/tmp.rNj9HEDRFx 1564s + [ -e /tmp/autopkgtest.bJtNpb/build.D3s/src/debian/tests/manual/local-1065022.sources ] 1564s + dpkg-query -W dpkg-repack 1564s dpkg-repack 1.54 1564s + dpkg-repack --generate libglib2.0-0t64 1564s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1564s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.sqLOpF for libglib2.0-0t64 1564s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.sqLOpF ." 1564s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.sqLOpF/DEBIAN/control 1564s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.sqLOpF/DEBIAN/control 1564s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.sqLOpF/DEBIAN/control 1564s + 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.sqLOpF/DEBIAN/control 1564s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.sqLOpF libglib2.0-0xyz.deb 1564s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1567s + apt-get -y install ./libglib2.0-0xyz.deb 1567s Reading package lists... 1568s Building dependency tree... 1568s Reading state information... 1569s The following packages were automatically installed and are no longer required: 1569s apport-symptoms fwupd-signed jq libatasmart4 libbytesize-common libbytesize1 1569s libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 libgpgme11t64 1569s libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 1569s libprotobuf-c1 python3-apport python3-certifi python3-chardet 1569s python3-configobj python3-debconf python3-markdown-it python3-mdurl 1569s python3-openssl python3-problem-report python3-pygments python3-requests 1569s python3-rich python3-systemd python3-urllib3 1569s Use 'sudo apt autoremove' to remove them. 1569s The following additional packages will be installed: 1569s xdg-user-dirs 1569s Suggested packages: 1569s low-memory-monitor 1569s Recommended packages: 1569s shared-mime-info 1569s The following packages will be REMOVED: 1569s apport apport-core-dump-handler bolt cloud-init cloud-init-base 1569s dconf-gsettings-backend dconf-service fwupd gir1.2-girepository-2.0 1569s gir1.2-glib-2.0 gsettings-desktop-schemas libblockdev-crypto3 1569s libblockdev-fs3 libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3 1569s libblockdev-part3 libblockdev-swap3 libblockdev-utils3 libblockdev3 1569s libdconf1 libfwupd3 libgirepository-1.0-1 libglib2.0-0t64 libgudev-1.0-0 1569s libjcat1 libjson-glib-1.0-0 libmbim-glib4 libmbim-proxy libmm-glib0 1569s libnetplan1 libpolkit-agent-1-0 libpolkit-gobject-1-0 libqmi-glib5 1569s libqmi-proxy libqrtr-glib0 libudisks2-0 libvolume-key1 libxmlb2 1569s netplan-generator netplan.io networkd-dispatcher python3-dbus python3-gi 1569s python3-netplan shared-mime-info ubuntu-minimal udisks2 1569s The following NEW packages will be installed: 1569s libglib2.0-0xyz xdg-user-dirs 1569s 0 upgraded, 2 newly installed, 48 to remove and 0 not upgraded. 1569s Need to get 18.5 kB/1580 kB of archives. 1569s After this operation, 35.0 MB disk space will be freed. 1569s Get:1 /tmp/tmp.rNj9HEDRFx/libglib2.0-0xyz.deb libglib2.0-0xyz arm64 2.82.4-1 [1561 kB] 1569s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 xdg-user-dirs arm64 0.18-2 [18.5 kB] 1570s Fetched 18.5 kB in 0s (77.9 kB/s) 1570s (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 ... 80253 files and directories currently installed.) 1570s Removing bolt (0.9.8-1) ... 1571s Removing cloud-init (24.4-0ubuntu1) ... 1571s Removing cloud-init-base (24.4-0ubuntu1) ... 1572s Removing gsettings-desktop-schemas (47.1-1ubuntu1) ... 1572s Removing dconf-gsettings-backend:arm64 (0.40.0-4build2) ... 1572s Removing dconf-service (0.40.0-4build2) ... 1572s Removing fwupd (2.0.3-3) ... 1573s Removing networkd-dispatcher (2.2.4-1.1) ... 1573s Removing udisks2 (2.10.1-11ubuntu1) ... 1574s Removing libblockdev-crypto3:arm64 (3.2.1-1) ... 1574s Removing libblockdev-fs3:arm64 (3.2.1-1) ... 1574s Removing libblockdev-loop3:arm64 (3.2.1-1) ... 1574s Removing libblockdev-mdraid3:arm64 (3.2.1-1) ... 1574s Removing libblockdev-nvme3:arm64 (3.2.1-1) ... 1574s Removing libblockdev-part3:arm64 (3.2.1-1) ... 1574s Removing libblockdev-swap3:arm64 (3.2.1-1) ... 1574s Removing libblockdev3:arm64 (3.2.1-1) ... 1575s Removing libblockdev-utils3:arm64 (3.2.1-1) ... 1575s Removing libdconf1:arm64 (0.40.0-4build2) ... 1575s Removing libfwupd3:arm64 (2.0.3-3) ... 1575s Removing shared-mime-info (2.4-5) ... 1575s Removing python3-dbus (1.3.2-5build4) ... 1575s Removing libgudev-1.0-0:arm64 (1:238-5ubuntu1) ... 1575s Removing libjcat1:arm64 (0.2.0-2build3) ... 1575s Removing libjson-glib-1.0-0:arm64 (1.10.6+ds-1) ... 1575s Removing libqmi-proxy (1.35.6-1) ... 1575s Removing libqmi-glib5:arm64 (1.35.6-1) ... 1575s Removing libmbim-proxy (1.31.2-0ubuntu4) ... 1576s Removing libmbim-glib4:arm64 (1.31.2-0ubuntu4) ... 1576s Removing libmm-glib0:arm64 (1.23.4-0ubuntu2) ... 1576s Removing ubuntu-minimal (1.544) ... 1576s Removing netplan.io (1.1.1-1) ... 1576s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 1576s Removing python3-netplan (1.1.1-1) ... 1576s Removing netplan-generator (1.1.1-1) ... 1576s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 1576s Removing libnetplan1:arm64 (1.1.1-1) ... 1576s Removing libpolkit-agent-1-0:arm64 (125-2ubuntu1) ... 1576s Removing libpolkit-gobject-1-0:arm64 (125-2ubuntu1) ... 1576s Removing libqrtr-glib0:arm64 (1.2.2-1ubuntu4) ... 1576s Removing libudisks2-0:arm64 (2.10.1-11ubuntu1) ... 1576s Removing libvolume-key1:arm64 (0.3.12-8) ... 1577s Removing libxmlb2:arm64 (0.3.21-1) ... 1577s Removing apport (2.31.0-0ubuntu2) ... 1577s Removing apport-core-dump-handler (2.31.0-0ubuntu2) ... 1578s Removing python3-gi (3.50.0-3build1) ... 1578s Removing gir1.2-girepository-2.0:arm64 (1.82.0-3) ... 1578s Removing gir1.2-glib-2.0:arm64 (2.82.4-1) ... 1578s Removing libgirepository-1.0-1:arm64 (1.82.0-3) ... 1578s Removing libglib2.0-0t64:arm64 (2.82.4-1) ... 1578s Selecting previously unselected package xdg-user-dirs. 1578s (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 ... 79193 files and directories currently installed.) 1579s Preparing to unpack .../xdg-user-dirs_0.18-2_arm64.deb ... 1579s Unpacking xdg-user-dirs (0.18-2) ... 1579s Selecting previously unselected package libglib2.0-0xyz:arm64. 1579s Preparing to unpack .../libglib2.0-0xyz.deb ... 1579s Unpacking libglib2.0-0xyz:arm64 (2.82.4-1) ... 1579s Setting up xdg-user-dirs (0.18-2) ... 1579s Setting up libglib2.0-0xyz:arm64 (2.82.4-1) ... 1579s No schema files found: removed existing output file. 1579s Processing triggers for dbus (1.14.10-4ubuntu5) ... 1579s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1579s Processing triggers for man-db (2.13.0-1) ... 1580s not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1580s not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1580s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1580s + n=1 1580s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1580s + echo not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1580s + failed=1 1580s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1580s + n=2 1580s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1580s + echo not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1580s + failed=1 1580s not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1580s not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1580s not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1580s not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1580s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1580s + n=3 1580s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1580s + echo not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1580s + failed=1 1580s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1580s + n=4 1580s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1580s + echo not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1580s + failed=1 1580s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1580s + n=5 1580s + test -e /usr/lib/*/gio/modules/giomodule.cache 1580s + echo not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1580s + failed=1 1580s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1580s + n=6 1580s + test -s /usr/lib/*/gio/modules/giomodule.cache 1580s + echo not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1580s + failed=1 1580s + apt-get -y purge libglib2.0-0t64 1580s Reading package lists... 1581s Building dependency tree... 1581s Reading state information... 1582s The following packages were automatically installed and are no longer required: 1582s apport-symptoms fwupd-signed jq libatasmart4 libbytesize-common libbytesize1 1582s libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 libgpgme11t64 1582s libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 1582s libprotobuf-c1 python3-apport python3-certifi python3-chardet 1582s python3-configobj python3-debconf python3-markdown-it python3-mdurl 1582s python3-openssl python3-problem-report python3-pygments python3-requests 1582s python3-rich python3-systemd python3-urllib3 1582s Use 'sudo apt autoremove' to remove them. 1582s The following packages will be REMOVED: 1582s libglib2.0-0t64* 1582s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1582s After this operation, 0 B of additional disk space will be used. 1583s (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 ... 79228 files and directories currently installed.) 1583s Purging configuration files for libglib2.0-0t64:arm64 (2.82.4-1) ... 1583s not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1583s not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1583s not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1583s not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1583s not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1583s not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1583s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1583s + n=7 1583s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1583s + echo not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1583s + failed=1 1583s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1583s + n=8 1583s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1583s + echo not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1583s + failed=1 1583s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1583s + n=9 1583s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1583s + echo not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1583s + failed=1 1583s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1583s + n=10 1583s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1583s + echo not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1583s + failed=1 1583s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1583s + n=11 1583s + test -e /usr/lib/*/gio/modules/giomodule.cache 1583s + echo not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1583s + failed=1 1583s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1583s + n=12 1583s + test -s /usr/lib/*/gio/modules/giomodule.cache 1583s + echo not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1583s + failed=1 1583s + apt-get -y purge libglib2.0-0xyz 1583s Reading package lists... 1583s Building dependency tree... 1583s Reading state information... 1585s The following packages were automatically installed and are no longer required: 1585s apport-symptoms fwupd-signed jq libatasmart4 libatomic1 libbytesize-common 1585s libbytesize1 libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 1585s libglib2.0-data libgpgme11t64 libjq1 libjson-glib-1.0-common libnspr4 1585s libnss3 libnvme1t64 libonig5 libprotobuf-c1 python3-apport python3-certifi 1585s python3-chardet python3-configobj python3-debconf python3-markdown-it 1585s python3-mdurl python3-openssl python3-problem-report python3-pygments 1585s python3-requests python3-rich python3-systemd python3-urllib3 xdg-user-dirs 1585s Use 'sudo apt autoremove' to remove them. 1585s The following packages will be REMOVED: 1585s libglib2.0-0xyz* 1586s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1586s After this operation, 4898 kB disk space will be freed. 1586s (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 ... 79228 files and directories currently installed.) 1586s Removing libglib2.0-0xyz:arm64 (2.82.4-1) ... 1586s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1586s (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 ... 79203 files and directories currently installed.) 1586s Purging configuration files for libglib2.0-0xyz:arm64 (2.82.4-1) ... 1586s + ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1586s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1586s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1586s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1586s 1..16 1586s assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1586s + n=13 1586s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1586s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1586s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1586s + n=14 1586s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1586s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1586s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so 1586s + n=15 1586s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1586s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1586s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 1586s + n=16 1586s + test -e /usr/lib/*/gio/modules/giomodule.cache 1586s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1586s + echo 1..16 1586s + exit 1 1587s autopkgtest [05:56:28]: test 1065022-futureproofing: -----------------------] 1587s autopkgtest [05:56:28]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1587s 1065022-futureproofing FLAKY non-zero exit status 1 1587s autopkgtest [05:56:28]: @@@@@@@@@@@@@@@@@@@@ summary 1587s build PASS (superficial) 1587s build-static PASS (superficial) 1587s girepository-tools PASS (superficial) 1587s libgio-2.0-dev-bin PASS (superficial) 1587s libglib2.0-dev PASS (superficial) 1587s installed-tests PASS 1587s closure-refcount PASS 1587s debugcontroller PASS 1587s gdbus-server-auth PASS 1587s gdbus-threading PASS 1587s gmenumodel PASS 1587s mainloop PASS 1587s memory-monitor-dbus PASS 1587s socket PASS 1587s testfilemonitor PASS 1587s thread-pool-slow PASS 1587s threadtests PASS 1587s timeout PASS 1587s timer PASS 1587s 1065022-futureproofing FLAKY non-zero exit status 1 1595s nova [W] Using flock in prodstack6-arm64 1595s flock: timeout while waiting to get lock 1595s Creating nova instance adt-plucky-arm64-glib2.0-20250106-053000-juju-7f2275-prod-proposed-migration-environment-2-3cafd1be-66b1-45f6-ad6d-31b3b17e5b2f from image adt/ubuntu-plucky-arm64-server-20250106.img (UUID 0be70afa-891d-4967-bd77-8481ebe681bd)... 1595s nova [W] Timed out waiting for 2d10e6d9-ebcb-482d-b5e9-611b1e53d27f to get deleted. 1595s nova [W] Using flock in prodstack6-arm64 1595s Creating nova instance adt-plucky-arm64-glib2.0-20250106-053000-juju-7f2275-prod-proposed-migration-environment-2-3cafd1be-66b1-45f6-ad6d-31b3b17e5b2f from image adt/ubuntu-plucky-arm64-server-20250106.img (UUID 0be70afa-891d-4967-bd77-8481ebe681bd)... 1595s nova [W] Timed out waiting for da6e421a-7793-4512-be22-0711f2cc8862 to get deleted. 1595s nova [W] Using flock in prodstack6-arm64 1595s Creating nova instance adt-plucky-arm64-glib2.0-20250106-053000-juju-7f2275-prod-proposed-migration-environment-2-3cafd1be-66b1-45f6-ad6d-31b3b17e5b2f from image adt/ubuntu-plucky-arm64-server-20250106.img (UUID 0be70afa-891d-4967-bd77-8481ebe681bd)... 1595s nova [W] Timed out waiting for 440d29be-693c-4283-bd6e-041ed2ecf745 to get deleted. 1595s nova [W] Using flock in prodstack6-arm64 1595s Creating nova instance adt-plucky-arm64-glib2.0-20250106-053000-juju-7f2275-prod-proposed-migration-environment-2-3cafd1be-66b1-45f6-ad6d-31b3b17e5b2f from image adt/ubuntu-plucky-arm64-server-20250106.img (UUID 0be70afa-891d-4967-bd77-8481ebe681bd)... 1595s nova [W] Timed out waiting for 44cb2283-4382-48c2-a052-7955fbcad500 to get deleted. 1595s nova [W] Using flock in prodstack6-arm64 1595s Creating nova instance adt-plucky-arm64-glib2.0-20250106-053000-juju-7f2275-prod-proposed-migration-environment-2-3cafd1be-66b1-45f6-ad6d-31b3b17e5b2f from image adt/ubuntu-plucky-arm64-server-20250106.img (UUID 0be70afa-891d-4967-bd77-8481ebe681bd)... 1595s nova [W] Timed out waiting for d27cec34-bfd6-4bf5-b05d-b7aa228bb0a7 to get deleted. 1595s nova [W] Using flock in prodstack6-arm64 1595s Creating nova instance adt-plucky-arm64-glib2.0-20250106-053000-juju-7f2275-prod-proposed-migration-environment-2-3cafd1be-66b1-45f6-ad6d-31b3b17e5b2f from image adt/ubuntu-plucky-arm64-server-20250106.img (UUID 0be70afa-891d-4967-bd77-8481ebe681bd)... 1595s nova [W] Timed out waiting for 23481d87-fad4-419e-b5b4-34bc707b7866 to get deleted.